Short answer: In the US, the B58 is in the BMW 340i, 440i, M240i, 540i, 640i GT, 740i, X3 M40i and X4 M40i (Gen 1), then the M340i, M440i, G42 M240i, Z4 M40i, X5/X6/X7 40i, 840i and every Toyota GR Supra 3.0 (Gen 2). The INEOS Grenadier petrol has one too. From 2023, the 740i, X7, X5, X6 and 540i moved to Gen 3. Outside the US, add the M140i and the Morgan Plus Six.
Parts and tunes in this guide are for off-road / competition use only. Not legal for use on public roads in the United States, including California.
I'm Gleb Blekher, owner of B58 Racing in Dallas, TX. Both of my own B58 builds were Gen 1. The question we get most often isn't "what should I buy?" It's "does my car even have a B58, and which one?" This page answers that. The years below are the ones our car picker and VIN lookup use, so they match the fitment you see on every part.
How the B58 generations work
BMW's B58 is a 3.0-liter turbocharged inline-six. It has come in three main generations:
- Gen 1 (B58B30M0): about 2015–2019, F-chassis cars and early G-chassis cars.
- Gen 2 (B58TU: B58B30M1 and B58B30O1): the 2018 technical update. 350 bar fuel, single timing chain, split cooling. The M1 makes 335 hp and the O1 makes 382 hp.
- Gen 3 (B58B30M2): from 2022, with port injection added. Many earlier parts don't fit.
Generation decides which charge pipe, fuel pump, turbo and plugs fit. The full breakdown is in our B58 Gen 1 vs Gen 2 guide.
BMW B58 cars sold in the US
Gen 1 (B58B30M0)
| Car | Chassis | Years |
|---|---|---|
| 340i | F30/F31/F34 | 2016–2019 |
| 440i | F32/F33/F36 | 2017–2020 |
| M240i | F22/F23 | 2016–2021 |
| 540i | G30/G31 | 2017–2019 |
| 640i GT | G32 | 2018–2019 |
| 740i | G11/G12 | 2016–2019 |
| X3 M40i | G01 | 2018–2019 |
| X4 M40i | G02 | 2019 |
Two cars here catch people out. The F22 M240i kept the Gen 1 engine all the way through 2021, long after other models updated. And the 2017–2019 G30 540i is a G-chassis car with a Gen 1 engine. Shop by "G-series" alone and you'll order the wrong parts.
Gen 2 (B58TU: B58B30M1 / B58B30O1)
| Car | Chassis | Years | Engine code |
|---|---|---|---|
| M340i | G20/G21 | 2019+ | B58B30O1 |
| M440i | G22/G23/G26 | 2021+ | B58B30O1 |
| M240i | G42 | 2022+ | B58B30O1 |
| Z4 M40i | G29 | 2019+ | B58B30O1 (US) |
| X3 M40i | G01 | 2020+ | B58B30O1 |
| X4 M40i | G02 | 2020+ | B58B30O1 |
| 540i | G30/G31 | 2020–2023 | B58B30M1 |
| 740i | G11/G12 | 2020–2022 | B58B30M1 |
| X5 xDrive40i | G05 | 2019–2023 | B58B30M1 |
| X6 xDrive40i | G06 | 2020–2023 | B58B30M1 |
| X7 xDrive40i | G07 | 2019–2022 | B58B30M1 |
| 840i | G14/G15/G16 | 2019+ | B58B30M1 |
The rule of thumb: the "M" models (M340i, M440i, M240i, X3/X4 M40i, Z4 M40i) get the 382 hp O1. The luxury 40i models get the 335 hp M1. The Z4 M40i uses the O1 in the US and the M1 in markets under EU emissions rules.
Gen 3 (B58B30M2)
These cars have a B58, but it's the newest version. Our car picker doesn't list Gen 3 yet, so check each part's fitment line before you order.
| Car | Chassis | Years |
|---|---|---|
| 740i | G70 | 2023+ |
| X7 xDrive40i | G07 (facelift) | 2023+ |
| X5 xDrive40i | G05 (facelift) | 2024+ |
| X6 xDrive40i | G06 (facelift) | 2024+ |
| 540i | G60 | 2024+ |
| X3 M50 | G45 | 2025+ |
Toyota GR Supra 3.0
| Car | Chassis | Years | Generation |
|---|---|---|---|
| GR Supra 3.0 | A90/A91 | 2020+ | Gen 2, every car |
Every GR Supra 3.0 is a B58, and every one is Gen 2. In the US, 2020 cars made 335 hp and 2021+ cars made 382 hp. Toyota's 2026 MkV Final Edition keeps 382 hp in the US. The higher-output Final Edition went to other markets. The GR Supra 2.0 is a different engine (a four-cylinder), so B58 parts don't apply.
Head type matters on the Supra too. Forum reports say 2020 cars are "2-port" and 2021+ cars are "6-port," and upgrade turbos are made for one or the other. Start with the A90 Supra mods guide.
INEOS Grenadier (petrol)
| Car | Body | Years |
|---|---|---|
| INEOS Grenadier | Station Wagon / Quartermaster | 2023+ |
In the US, the Grenadier comes only with the BMW B58 petrol six, rated at about 282 hp. Other markets also get a diesel. The Grenadier's B58 is packaged very differently from a BMW or Supra, so intakes, downpipes and charge pipes for those cars don't carry over. On our site, a part fits the Grenadier only if it's listed for the Grenadier, like the Rival 4x4 rear differential skid plate.
Plug-in hybrids with a B58
BMW also pairs the B58 with an electric motor. These cars aren't in our car picker, and their hybrid hardware changes a lot of fitment, so ask us before ordering.
| Car | Chassis | US years | Generation |
|---|---|---|---|
| X5 xDrive45e | G05 | 2021–2023 | Gen 2 (B58B30M1, detuned) |
| 745e xDrive | G12 | From 2019 (facelift) | B58 |
| X5 xDrive50e | G05 (facelift) | 2024+ | Gen 3 (B58B30M2) |
| 550e xDrive | G60 | 2024+ | B58 |
| 750e xDrive | G70 | 2024+ | B58 |
Notable B58 cars outside the US
| Car | Market | Years | Notes |
|---|---|---|---|
| BMW M140i (F20/F21) | Europe and others | 2016–2019 | Gen 1 hatchback, never sold in the US |
| BMW 545e xDrive (G30) | Europe and others | 2021–2023 | Plug-in hybrid, not sold in the US |
| Morgan Plus Six | UK and Europe | 2019–2025 | Morgan says it isn't sold in the US |
| Morgan Supersport | UK and Europe | 2025+ | US version uses a BMW four-cylinder instead |
| Toyota GR Supra Final Edition (higher output) | Europe and Japan | 2025–2026 | Higher-output B58, not the US car |
Cars people think have a B58 (but don't)
- BMW M2, M3, M4, X3 M, X4 M (G8X, F9X): these use the twin-turbo S58. It's related to the B58 but uses different parts. See our S58 parts page and the S58 mods guide.
- F-chassis 335i, 435i, M235i and the F87 M2: these came before the B58 and use earlier six-cylinder engines.
- 330i, 430i, 230i, M235i Gran Coupe, Z4 sDrive30i, GR Supra 2.0: four-cylinder engines.
How to confirm your engine
- Run your VIN. A BMW VIN decoder or your build sheet shows the engine code. B58B30M0 is Gen 1, B58B30M1 or B58B30O1 is Gen 2, and B58B30M2 is Gen 3.
- Don't trust the badge alone. A "540i" can be Gen 1, Gen 2 or Gen 3 depending on year. Changeover dates vary by market and build month, so treat model year as a starting point, not proof.
- Check the throttle body flange if you're under the hood. One parts maker notes Gen 1 uses a three-bolt flange and Gen 2 a two-bolt one. That's why charge pipes don't swap.
- Use our tools. Shop by your car to filter parts, or send us your VIN and we'll check it for you.
Once you know your engine, see the best B58 mods, in order, the M340i and M440i mods guide, or browse downpipes, charge pipes and fueling. Before you buy a used one, read B58 common problems.
FAQ
What cars have the B58 engine?
In the US: the BMW 340i, 440i, M240i, M340i, M440i, 540i, 640i GT, 740i, 840i, X3 M40i, X4 M40i, X5/X6/X7 40i, Z4 M40i, the X3 M50, the Toyota GR Supra 3.0 and the INEOS Grenadier petrol. Some BMW plug-in hybrids use it too.
Does the Toyota Supra have a BMW engine?
Yes. The GR Supra 3.0 uses the BMW B58, and every one is Gen 2. The GR Supra 2.0 uses a four-cylinder instead.
Is the 540i a B58?
Yes, since 2017. The 2017–2019 G30 540i is Gen 1, the 2020–2023 car is Gen 2, and the 2024+ G60 540i is Gen 3.
Is the B58 in the M3 or M4?
No. The G80 M3 and G82 M4 use the S58, a related but different twin-turbo engine. Parts are not interchangeable.
What engine does the INEOS Grenadier have?
In the US, the Grenadier has the BMW B58 3.0-liter turbo six, rated at about 282 hp. It's the only engine offered there.
Sources
- Engine codes, outputs and applications: Wikipedia, BMW B58
- 2025 M340i engine change: BMW Group PressClub USA, the new 2025 BMW 3 Series
- US Supra Final Edition output: Toyota pressroom, GR Supra MkV Final Edition, Autoguide first drive
- Grenadier US engine and output: Edmunds, INEOS, Consumer Guide, 2024 Grenadier
- Morgan Plus Six not sold in the US: Morgan Motor USA FAQ
- Morgan Supersport engines: The Drive, Jalopnik
- 745e inline-six and US launch: Wards, Green Car Reports
- X5 xDrive45e US years: Edmunds, 2023 X5 xDrive45e, Cars.com, 2021 X5 PHEV
- 545e not sold in the US: BMWBlog, 545e
- 550e, 750e and X5 50e inline-six PHEVs: BMWBlog, BMW hybrid lineup in the US
- Throttle body flange: OneFastShop Gen 1 charge pipe
- Supra 2-port vs 6-port (forum report): SupraMKV forum
