The BMW B58 engine is the reason half the cars in our workshop exist. Since 2015 this 3.0L turbocharged inline-six has powered everything from the F30 340i to the Toyota GR Supra, and it has quietly become the most tuner-friendly engine BMW builds. But "B58" is not one engine, and it is not even a clean three-step line. It is a family that forked: the original B58, a luxury and SUV branch, an "M Performance" branch, and finally a heavily updated hybrid generation that pulls the range back together. Which one sits in your engine bay changes your cooling behaviour under load, your fueling headroom, and how we get into your ECU.
At RPM Tuning we flash, datalog, and build B58s every week, so this guide is the complete picture: where the engine came from, why its single twin-scroll turbo matters, how the generations actually branched (including the B58C that most guides skip entirely), and what each version realistically makes when tuned.
From N55 to B58: Why This Engine Exists
The B58 is the direct successor to the N55, BMW's first single-turbo inline-six of the modern era. The N55 was a good engine, but it had known soft spots under high load (fueling limits, heat management, and the infamous crank hub issue on its S55 cousin) that made tuners cautious. The B58 was a clean-sheet answer built on BMW's modular 500cc-per-cylinder architecture, shared with the B48 four-cylinder and B38 three-cylinder.
What BMW got right from day one:
- Closed-deck aluminium block: far more rigid than an open-deck design, which is why stock-internals B58s tolerate big power
- Forged crankshaft and stout rods: an overbuilt bottom end in an era of built-to-a-budget engines
- Integrated water-to-air charge cooler inside the intake manifold: short charge path, fast response
- A single twin-scroll turbocharger: on every generation, from 2015 to today
That last point matters because the old internet folklore gets it wrong constantly. No B58 has ever been a twin-turbo engine, and none of them run a plain single-scroll housing either. All generations use one twin-scroll turbo. If someone tells you a later B58 "gained twin-scroll" over the original, they are repeating a myth.
The "Modern 2JZ" Reputation
Enthusiasts call the B58 the modern 2JZ, and the comparison is earned. Like Toyota's legendary 3.0L turbo six from the Mk4 Supra, the B58 is over-engineered from the factory and safely makes far more than its rated output on stock internals. Toyota clearly agreed: the A90/J29 GR Supra 3.0 runs a B58, which is about the strongest third-party endorsement an engine can get.
The difference from the 2JZ era: you do not need a garage full of parts to unlock it. A flash tune alone transforms the car, and the aftermarket (hybrid turbos, intakes, downpipes, flex-fuel kits) is deep and mature.
Why Twin-Scroll Matters (And Why It Is Not a Twin Turbo)
A twin-scroll turbocharger is a single turbo with a divided turbine housing. The exhaust manifold pairs cylinders so their pulses never fight each other: on a four-cylinder like the B48, cylinders 1 and 4 feed one scroll and 2 and 3 feed the other. On the B58's inline-six the same principle applies with the cylinders grouped into two sets of three by firing order, so each scroll receives evenly spaced exhaust pulses. The result is better scavenging, less back-pressure, and noticeably faster spool.
A true twin-turbo setup uses two separate turbochargers. BMW's N54 ran a parallel twin-turbo layout with each turbo fed by three cylinders, and the N54, for the record, was BMW's return to turbocharged inline-sixes, not its first turbo engine (the 2002 Turbo and the M102/M106 turbo 745i came decades earlier). The N54 made great power but carried extra weight, plumbing, heat, and failure points. With the N55, BMW switched to one twin-scroll turbo, kept roughly all of the performance, and shed the complexity. The B58 carries that philosophy forward, while BMW reserves multi-turbo layouts, including hot-vee twin-turbo arrangements, for its N63/S63 V8s, where displacement demands the airflow.
For tuning, twin-scroll is a gift: one turbo means simpler upgrades, easier heat management, and quick spool that survives even large hybrid turbo swaps.
Decoding the Engine Code
Before the generations make sense, the engine code helps. BMW uses an 8-character code, for example B58B30M0, and each character means something specific:
- Character 1 (B): BMW modular engine family.
- Character 2 (5): cylinder count in BMW's scheme, where 5 denotes the six-cylinder. So "B58" is a six.
- Character 3 (8 or 6): emissions and build class. 8 = standard turbo engine, 6 = SULEV (super ultra low emission). Both are turbocharged, direct-injected and Valvetronic.
- Character 4 (A or B): orientation, not generation. A = transverse (front-wheel-drive layouts), B = longitudinal (rear-wheel-drive and xDrive). The six-cylinder B58 is always longitudinal.
- Characters 5 to 6 (30): displacement, 3.0 litres (20 would be 2.0).
- Character 7: output class. On the B58 you will see M = Mittel (medium) and O = Obere (upper), the two rungs BMW actually uses on this engine.
- Character 8: revision (0 = original, then 1, 2, and so on).
So B58B30M0, M1, O1 and M2 are not random: the 7th character tells you medium versus upper output, and the last digit tells you the revision. Keep that in mind, because it maps directly onto the branches below.
The B58 Family Tree: A Fork, Not a Straight Line
Here is the part almost every guide gets wrong, including older versions of this one. The B58 did not march in a tidy B58, then TU, then TU2 line. The original engine forked into two parallel branches for several years, and only the newest generation reunites the range. Read it as a family tree:
- B58 / B58A (original, 2016): the clean-sheet N55 successor.
- The fork: B58A then split into B58C, the non-M luxury and SUV "40i" branch, and B58D (the B58TU), the "M Performance" branch, built in parallel.
- B58N (the B58TU2, 2023+): a big overhaul that becomes the single engine rolling out across the whole range.
The single most useful takeaway for a buyer or tuner: the "M Performance" cars (M240i, M340i, M440i, Z4 M40i, X3/X4 M40i) run the B58D/TU with a traditional exhaust manifold and upper output, while the non-M luxury and SUV "40i" cars (540i, 740i, 840i, X5/X6/X7 40i) run the B58C with an internal exhaust manifold, split cooling, and, later, mild-hybrid assist. They are not the same engine spec, even though the badge maths ("40i") looks similar.
B58 / B58A (2016): The Original
Code B58B30M0. The first B58 launched making roughly 322 to 340 hp at the crank depending on market, with 200-bar direct injection and the integrated charge cooler. It immediately out-performed its ratings and proved the closed-deck block could take serious abuse.
B58A vehicles (F-chassis and early G-chassis):
- F22 M240i, F30 340i, F32 440i
- Early G-chassis 540i, 740i and 840i
- 2019 G01 X3 M40i and G02 X4 M40i (early cars)
Tuning note: the 200-bar high-pressure fuel system is the original engine's main ceiling. Stage 1 and Stage 2 are no problem, but big E85 or high-boost builds run out of injector duty earlier than the later engines, so fueling upgrades enter the conversation sooner.
B58C (2018 to 2020): The Luxury and SUV Branch (and Early Supra)
Code B58B30M1, the "medium" output engine, and the odd duck of the family. The B58C powered BMW's non-M "40i" cars: the G30 540i, G12 740i, G14 840i, G05 X5 40i, G06 X6 40i and G07 X7 40i. It also powered the first Toyota GR Supra 3.0 (the 2019 launch and the 2020 to 2022 cars) at 335 hp.
What makes it distinctive:
- Internal (integrated) exhaust manifold: a single 2-into-1 manifold cast into the coolant-jacketed cylinder head. It cuts exhaust temperature, protects the catalyst, and helps the engine warm up faster. There was never a four-cylinder equivalent (no "B46C"), and BMW abandoned this internal manifold for the M Performance branch.
- Split Cooling System: separate coolant zones for the cylinder head and turbo (always cooled) versus the engine block (flow can be reduced or cut, for example during warm-up), managed by a Heat Management Module that integrates the water pump and thermostat.
- Lighter crankshaft (roughly 2.3 lb lighter than the original) and a simpler single-piece timing chain in place of the earlier two-piece dual-chain arrangement.
This is the crucial correction most guides miss: the early Supra 3.0 and the M Performance "M40i" cars did not share an identical engine. The 2020 to 2022 Supra 3.0 ran the B58C at 335 hp with the internal manifold, while the US Z4 M40i ran the upper-output B58D at 382 hp from the start. They only converged on the B58D from the 2023 Supra onward.
B58D / B58TU (2019+): The M Performance Branch
Code B58B30O1, the "upper" output engine at 382 hp, and the version we see most in the workshop. This is the "M Performance" branch, and it is really more an evolution of the original B58A than of the B58C: it uses a traditional exhaust manifold, not the B58C internal one.
B58D / B58TU vehicles:
- G42 M240i, G20 M340i, G22/G26 M440i
- G29 Z4 M40i
- G01 X3 M40i, G02 X4 M40i
- Toyota GR Supra 3.0 (2023+, 382 hp)
The B58D launched as a non-hybrid engine. From 2021, BMW added a 48V mild-hybrid version (more on that below) to the 3, 4, X3 and X4 M Performance cars. On the tuning side, most 2019+ cars carry the Bosch MG1 DME, which is encrypted from the factory and needs a one-time bench unlock before OBD flashing. We coordinate Femto unlocking in-house.
With 382 hp and mature Bootmod3/MHD support, the B58D is the sweet spot of the platform: huge stock-turbo headroom, flex-fuel-friendly hardware, and a deep parts catalogue.
B58N / B58TU2 (2023+): The Hybrid Overhaul That Reunites the Range
Code B58B30M2. The B58N is the current generation and a genuine overhaul, not a quiet emissions patch. Its two headline changes:
- A new VANOS system for revised cam control.
- An advanced 48V mild-hybrid with limited electric drive: an electric motor packaged inside the ZF 8HP transmission (the "8HP60XMH"), giving short bursts of full-electric crawl at low speed on top of the belt-driven assist.
Rollout came in two waves: 2023+ on the 5 and 7 Series and the X5/X6/X7 (for example the G60 540i, G70 740i and the G05 LCI), then 2025+ on the 3 and 4 Series and X3 (the G20 LCI M340i, G22 LCI M440i and the G45 X3 M50). This is the generation that finally pulls the luxury and M Performance lines back onto one engine.
One correction worth repeating, because the internet (and frankly, an older version of this article) keeps getting it wrong: the G87 M2 does not use a B58 of any kind. The M2, like the M3 and M4, runs the S58, BMW M's related but substantially different high-performance engine. The M240i is the B58 car in the 2 Series range.
The Mild-Hybrid Systems, Explained
The 48V hardware trips a lot of owners up, so here is the plain version. There are two distinct systems, and neither is the same as the plug-in "50e" PHEV (that car has floor battery cells and is a different animal entirely).
- v1.5 (2021+, on B58C and B58D): a 48V battery plus a beefed-up belt-driven starter-generator (around 14kW). It adds low-load assist (coasting, a brief boost off the line) and lets the engine switch off in some low-load situations. There is no electric drive through the transmission, and a 12V battery with a backup starter stays in place.
- v2.2 (2023+, on B58N/TU2): keeps the belt-driven starter-generator idea and adds an electric motor inside the ZF 8HP for limited full-electric crawl at low speed (parking, pulling away). It also adds switchable rocker arms that lock valves closed during engine-off for efficiency.
For tuning, the mild-hybrid does not change the core recipe, but it does mean more electronics between you and the crankshaft, and later software to work with. The fundamentals (single twin-scroll turbo, closed-deck block) carry straight through.
Cooling and Mechanical Changes on the Later Engines
A few mechanical themes run through the B58C, B58D and B58N and are worth knowing before you build one:
- Split Cooling System with the Heat Management Module, introduced on the C and D engines: the head and turbo are always cooled, while block flow can be reduced during warm-up. This is the verified cooling story on the later engines, and it matters far more than any single "charge cooler" tweak.
- Lighter crankshaft (roughly 2.3 lb lighter) on the C and D.
- Single-piece timing chain replacing the earlier two-piece dual-chain setup, with matching VANOS cam gears and serpentine belt changes, on the C, D and N.
- Fuel injector spray pattern and pressure specified per variant. BMW revised the injectors across the family; the exact figures vary by engine, so we confirm from the DME rather than quoting a single number.
B58 Generation Comparison
| Engine | B58 / B58A | B58C | B58D (B58TU) | B58N (B58TU2) |
|---|---|---|---|---|
| Code | B58B30M0 | B58B30M1 | B58B30O1 | B58B30M2 |
| Era | 2016+ | 2018 to 2020 | 2019+ | 2023+ |
| Output class | Original (approx 322 to 340 hp) | Medium (335 hp) | Upper (382 hp) | Upper, mild-hybrid |
| Branch | Clean-sheet original | Luxury and SUV "40i" | "M Performance" | Range-wide reunion |
| Example chassis | F30 340i, F22 M240i, early 540i/740i | G30 540i, G05 X5 40i, 2020 to 2022 Supra 3.0 | G20 M340i, G29 Z4 M40i, 2023+ Supra | G60 540i, G70 740i, G20 LCI M340i |
| Exhaust manifold | Traditional | Internal (integrated in head) | Traditional | Traditional |
| Key tech | Closed deck, single twin-scroll | Split cooling, internal manifold | Split cooling, upper output, later 48V | New VANOS, 48V + electric drive in ZF8 |
| Turbocharger | Single twin-scroll | Single twin-scroll | Single twin-scroll | Single twin-scroll |
| ECU access | OBD flash (most cars) | Bench/Femto unlock (MG1) | Bench/Femto unlock (MG1) | Bench/Femto unlock |
What Each Generation Makes When Tuned
Using the M340i's 382 hp as the baseline, here is the kind of gain we see on customer cars running RON 97. These are crank estimates, since they are quoted against BMW's rated crank output rather than wheel figures:
- Stage 1 (tune only): roughly +60 to +80 hp at the crank, the single best value upgrade on any B58
- Stage 2 (tune + downpipe + intake): roughly +100 to +130 hp at the crank, with sharper spool and a proper soundtrack
- Stage 3 (hybrid turbo + fueling + supporting mods): 550 to 650 hp at the crank on the stock block
- Built motor: 700+ hp at the crank for the committed
The original 200-bar cars follow the same path with slightly earlier fueling limits; the B58C, B58D and B58N carry the most headroom. If you are deciding how far to go, start with our Stage 1 vs Stage 2 vs Stage 3 pillar guide, and read our downpipes explained guide before choosing catless versus sportscat: check local regulations before going catless. If you also run a four-cylinder BMW, our B48 engine blueprint covers that platform in the same depth. You can browse our full range of B58 tuning packages here.
Two practical notes: first, the charge cooler and split-cooling system on any generation will still heat-soak in sustained hard use, so a cooling upgrade pays off, and our cooling upgrades are a smart early add. A quality intake helps the same fight. Second, a dealer software update can silently overwrite your tune, so tell your service centre the car is tuned, or WhatsApp us before your next service visit.
FAQ
What is the B58C, and why do most guides skip it?
The B58C (code B58B30M1) is the medium-output branch used in non-M luxury and SUV "40i" cars (540i, 740i, 840i, X5/X6/X7 40i) and the 2020 to 2022 Supra 3.0. It uses an internal exhaust manifold cast into the head plus split cooling, and it was built in parallel with the M Performance B58D rather than before or after it, which is why linear "B58, TU, TU2" guides leave it out.
Do the Supra 3.0 and Z4 M40i use the same B58?
Not until 2023. The 2020 to 2022 Supra 3.0 ran the B58C (335 hp, internal manifold), while the US Z4 M40i always used the upper-output B58D (382 hp). From the 2023 Supra onward they share the B58D.
Is the B58TU2 just an emissions update?
No. The B58TU2 (B58N) is a real overhaul: a new VANOS system and an advanced 48V mild-hybrid with an electric motor inside the ZF 8HP for limited low-speed electric drive, plus switchable rocker arms. It is more than the calibration tweak people assume.
Does the G87 M2 have a B58?
No, the G87 M2 uses the S58, BMW M's high-performance engine also found in the M3 and M4. The M240i is the B58 car in the 2 Series range.
How do I know which B58 I have?
Badge and chassis are the quick guide: M Performance "M40i/M240i/M340i/M440i" cars run the upper-output B58D (or the B58N on the newest cars), while non-M "540i/740i/840i/X5-7 40i" cars run the B58C or B58N. We confirm the exact variant from the VIN and DME before any tune.
Is the B58 a twin-turbo engine?
No. Every B58 branch uses a single twin-scroll turbocharger, one turbo with a divided housing. BMW's last twin-turbo inline-six was the N54.
Ready to Tune Your BMW?
Whether you are running an original 340i, a B58C 540i, a B58D M340i or Supra, or a fresh B58N hybrid, we have mapped the safe path for every branch of the family. RPM Tuning builds and tunes these cars every week, from Stage 1 flash tunes to full turbo builds, and we publish real dyno numbers, not promises.
WhatsApp us for a consultation, or follow the builds on Instagram and YouTube.