Buy now, pay later with Klarna — available on all tuning packages
B58 Gen 2Saloons & Coupés

M340i G20/G21

The M340i is the car this whole engine family is built around: the single most popular B58 Gen 2 chassis worldwide, xDrive as standard in most markets, and about as close as you can get to M3 performance without paying M3 money. Samuel tunes more of these than any other B58 Gen 2 car, and the map is proven across a huge range of builds.

300350400450500550 Power · bhp Stock · 374 bhp Stage 3 · 550+ bhp Stage 2 · 480 bhp Stage 1 · 440 bhp 345×1000 rpm
M340i G20/G21
Stock374 bhp · 500 Nm
Platform ceiling1000+ bhp
4WD in-house dyno100+ B58s tunedKlarna available
  1. 1Stage
  2. 2Options
  3. 3Book
Choose your stage

Dyno tuned: we validate and refine your map on our in-house 4WD dyno. Stage 3 is dyno only.

Add options — all optional, pick as many as you like
Tuning Platform
Map Options
Fuel
Gearbox
ECU
Your details

This is the full price for the package as configured. We’ll confirm the exact spec for your car before any work starts — if anything changes, we’ll adjust the balance either way.

Card, Apple Pay or Klarna — secure Stripe checkout, right here. Your slot is confirmed the moment payment completes.

Estimated total£499
Specs & Stages

M340i G20/G21 at a Glance

Engine
B58 Gen 2
Body styles
G20 Saloon · G21 Touring
Chassis codes
G20 / G21
Production
2019–present
Drivetrain
xDrive (RWD in some markets)
Gearbox
8-speed ZF automatic
Stock output
374 bhp · 500 Nm
Tuning ceiling
~1000 bhp on the right hardware
StageTargetPrice
Stage 1440 bhp · 680 Nm£399 · £499 dyno
Stage 2480 bhp · 700 Nm£399 · £499 dyno
Stage 2+Power and torque confirmed on our dyno for your car£399 · £499 dyno
Stage 3, Hybrid Turbo550-1000 bhp depending on spec£1,000 dyno only
Stage 3, Big Turbo Kit550-1000 bhp depending on specPOA
  • Stage 1No hardware required
  • Stage 2Downpipe (OPF delete if 2018+) + intake
  • Stage 2+Hardware confirmed with you before booking
  • Stage 3, Hybrid TurboDownpipe + OPF delete + intake + hybrid turbo
  • Stage 3, Big Turbo KitDownpipe + OPF delete + intake + fuel pump (Dorsche/Spool or similar) + full-frame turbo + port injection if applicable
The Car

The M340i on the B58 Gen 2

The G20 saloon and G21 Touring M340i, on sale since 2019, is BMW's M-Performance take on the 3 Series, running the B58 Gen 2 with 374 bhp and 500 Nm from the factory through the ZF 8HP, with xDrive fitted as standard across most markets. It's the most popular single chassis running the B58 Gen 2 anywhere in the world, which means it's also the most thoroughly proven platform for tuning in this whole family, with far more real-world builds behind the calibration than any of its stablemates. Saloon and Touring share the identical drivetrain and respond to the same map. For a lot of buyers the M340i sits as the sensible answer to "I want M3 performance without M3 money", and tuning only widens that gap.

Tuning

Tuning the M340i

As the most popular B58 Gen 2 chassis on the road, the M340i's tuning path is the most extensively proven in this entire family, built on more real-world logs and feedback than any other car here. 374 bhp and 500 Nm climbs to 440 bhp and 680 Nm at Stage 1, £399 (£499 dyno tuned) and a remap alone, and with xDrive putting that torque down through all four wheels, the increase translates into traction most rear-drive cars on this engine can't match. Add a downpipe (OPF delete on 2018-onward cars) and an upgraded intake and Stage 2 reaches 480 bhp and 700 Nm for £399 (£499 dyno tuned) on top of parts; at this point the M340i is genuinely encroaching on the performance territory BMW's own M cars occupy. Turbo hardware is what opens the ceiling from here: a hybrid turbo build or a full big turbo kit, alongside the fuel pump and port injection upgrades a build calls for, reach 550-1000 bhp depending on spec, figures that put a tuned M340i well past what any factory M3 makes stock. Every stage is calibrated by Samuel on the in-house 4WD dyno, with Stage 1 and Stage 2 fully reversible to the factory file.

Stage By Stage

Stage by stage

Stage 1

The M340i's Stage 1 is a straightforward remap, £399 (£499 dyno tuned), no hardware, lifting 374 bhp and 500 Nm to 440 bhp and 680 Nm. With standard-fit xDrive putting all that extra torque down through four driven wheels rather than two, the M340i converts this stage into real acceleration more consistently than most of the rear-drive cars sharing the same engine and figures.

Stage 2

A downpipe (with OPF delete on 2018-onward cars) and an upgraded intake bring the M340i's Stage 2 map to 480 bhp and 700 Nm for £399 (£499 dyno tuned) on top of parts. Given how popular this chassis is, this stage in particular has been logged and refined against more real-world M340i builds than any other B58 Gen 2 car in Samuel's records, and it's the point where most owners describe the car as feeling genuinely M-car quick.

Stage 3, Hybrid Turbo

A hybrid turbo, fitted alongside the downpipe, OPF delete and intake, takes the M340i into the 550-1000 bhp bracket depending on spec, for £1,000 on top of hardware. With xDrive as standard, this is one of the strongest cars in the whole family to run big power through, since traction rarely becomes the limiting factor the way it can on a rear-drive-only build.

Stage 3, Big Turbo Kit

POA, because every build is different: the M340i's outright ceiling comes from a full big turbo kit, upgraded fuel pump and port injection where the build needs it, on top of the downpipe, OPF delete and intake, reaching 550-1000 bhp depending on spec. As the most-built car on this engine, the M340i's big turbo route benefits from the widest base of proven setups in the family, though the final parts list and target figure are still worked out individually with Samuel for every build.

FAQs

Common Questions

How much power does a Stage 1 M340i make?
Stage 1 on the M340i, a £399 (£499 dyno tuned) remap with no parts fitted, takes the car from 374 bhp and 500 Nm to 440 bhp and 680 Nm. As BMW's most popular B58 Gen 2 chassis anywhere, this particular jump has been logged and refined against more real-world builds than on any other car in this family.
Which M340i variants and body shapes does this cover?
This covers the G20 saloon and G21 Touring M340i, on sale since 2019, both sharing the identical B58 Gen 2 drivetrain and xDrive system. Saloon and estate run the same Stage 1 through Stage 3 map with no differences in the tune between them.
What hardware do I need for Stage 2 on the M340i?
Stage 2 on the M340i needs a downpipe (OPF delete on 2018-onward cars) and an upgraded intake, £399 (£499 dyno tuned) on top of parts, and this exact hardware combination has been logged against more real-world M340i builds than any other car in the family.
What's the tuning ceiling on the M340i?
550-1000 bhp depending on spec is the M340i's ceiling, reached via a hybrid turbo or full big turbo kit plus the fuel and injection hardware a build of that size calls for. Numbers well past what a factory M3 makes stock, with standard xDrive helping put it all down.
How is my tune delivered, and is it reversible?
Given how many M340i builds Samuel has behind him, delivery is a well-worn process: a dyno session at the Manchester workshop or a remote build from your own logs, flashed through Bootmod3 or MHD. Reverting Stage 1 or Stage 2 to the factory file takes seconds through either app, so there's no risk in trying a stage.
Will tuning my M340i affect the warranty?
Given how popular this chassis is, plenty of M340i owners have already worked out the routine: a remap is detectable against BMW's factory-approved calibration during a service or claim, but because it's fully reversible, flashing back to stock beforehand avoids any issue and takes only a few minutes.
Engine & Platform

The B58 Gen 2 engine

The B58 Gen 2 is BMW's revised single-turbo 3.0-litre straight-six, the update to the B58 that's been running through the marque's six-cylinder range since 2015. Gen 2 arrived from 2018/2019 depending on model, bringing a closed-deck block, a twin-scroll turbocharger, and a factory calibration that pushes more power and torque out of the same basic architecture than the Gen 1 cars saw from the factory. Most Gen 2 cars run BMW's MG1CS003 ECU, and on later, OPF-equipped models the exhaust gains a petrol particulate filter that Stage 2 and above typically remove alongside the standard downpipe.

Across this family the same engine, gearbox (ZF's 8HP automatic in every car here) and ECU turn up in saloons, estates, coupes, convertibles, Gran Coupes, SUVs, a roadster and a Toyota. That shared hardware is why the tuning story is consistent: Stage 1 is a pure remap using the stock turbo, injectors and fuelling system, and gets every car in this family to roughly 440 bhp and 680 Nm with no parts needed. Stage 2 adds a downpipe (with OPF delete where fitted) and an intake to feed the extra airflow, landing around 480 bhp and 700 Nm. Beyond that, the ceiling is set by hardware rather than software: a hybrid turbo upgrade or a full big turbo kit, alongside a fuel pump upgrade and, where applicable, port injection, is what takes these cars into the 550-1000 bhp bracket, with the final number depending on the exact spec built.

Every stage is calibrated by Samuel on the in-house 4WD dyno at the Manchester workshop, using the car's own logs rather than an off-the-shelf file, and every Stage 1 and Stage 2 map is fully reversible.

Platform compatibility

Bootmod3 (BM3): Bootmod3 is the primary platform Samuel uses for B58 Gen 2 calibration. It's app-based, self-flash, and supports everything from an off-the-shelf Stage 1 map through to a fully custom file built around your specific hardware, with data logging built in for the tuning process itself.

MHD: MHD is the other route Samuel actually calibrates on for BMW-badged B58 Gen 2 cars (it isn't available for the Toyota Supra). Like BM3 it's a self-flash phone app, and Samuel builds custom maps on it exactly as he does on BM3, so the choice mostly comes down to which app you'd rather run day to day.

MG Flasher: There's no verified MG Flasher support for the B58 Gen 2 in Samuel's build data, so it isn't currently a route offered on this engine. If that changes, this section will be updated rather than guessed at.

xHP: The B58 Gen 2 in this family runs behind the ZF 8HP automatic, and xHP gearbox tuning is a worthwhile companion to an engine remap: it sharpens shift response and raises the transmission's torque limits to suit the extra power, and Samuel can advise on it alongside your ECU package.

Further Reading

Guides for This Vehicle

The Process

How We Tune Your M340i G20/G21

Scroll through each stage — your Bapro dyno report fills in as we work, from the first health check to the final validated power run.

117Dyno Report M340i G20/G21 · B58 Gen 2
Health CheckChecking…
ECU Backup—
Baseline—
Map—
Peak Result—
Power (bhp)—
2kRPM7k
Pending

Calibration and dyno runs are repeated over several passes until the numbers are right.

01

Health Check & Diagnostics

Full vehicle scan and mechanical health check before any work begins.

02

Baseline Power Run

Stock power and torque measured on the four-wheel-drive dyno.

03

ECU Read & Backup

Original calibration read from the ECU and safely backed up.

04

Custom Calibration

Repeated

A bespoke map written for your specific vehicle and goals.

05

Dyno Runs & Live Logging

Repeated

Repeated pulls with live data logging to validate and refine the map.

06

Final Run, Road Test & Printout

Confirmation run, road test and a before/after dyno printout.

More Packages

Related Builds

Get In Touch

Questions Before You Book?

Not sure which stage or method suits your car? Send us a message and we’ll talk it through.