The B58B30TU is a 3.0 L petrol inline-6 from BMW's B58 family, built 2018–2026 and rated at 374 hp and 500 Nm. It powered the BMW G20 M340i, BMW G30 540i, BMW G05 X5 40i and BMW G42 M240i.
This guide is about the B58B30TU specifically: its specification, the cars that use it, how it differs from the other B58 versions, what to check, prices from our stock and fitment answers for each model. For the history of the whole family, read our B58 guide.
- Capacity and layout: 3.0 L, inline-6, turbocharged
- Output: 374 hp and 500 Nm
- Production: 2018–2026
- Fitted to: 4 models across 4 chassis generations
- In our stock: 5 units from 5.024,00 € — B58B30TU engines for sale

B58B30TU specifications
| Item | Value |
|---|---|
| Engine code | B58B30TU |
| Family | B58 |
| Capacity | 3.0 L |
| Layout | Inline-6 |
| Fuel | Petrol |
| Aspiration | Turbocharged |
| Power | 374 hp |
| Torque | 500 Nm |
| Specific output | 125 hp per litre |
| Production | 2018–2026 |
| Models | 4 |
Built from 2018 to 2026, the B58B30TU displaces 3.0 L in an inline-6 layout and is turbocharged. It produces 374 hp and 500 Nm on petrol. That is about 125 hp and 167 Nm per litre, a high specific output that reflects a performance-focused design. Within the B58 family, it is the most powerful version, while the B58B30 (340 hp) and B58B30M0 (340 hp) are milder. It was fitted to the BMW G20 M340i, BMW G30 540i, BMW G05 X5 40i and BMW G42 M240i.
What the code B58B30TU means
- B marks a B-series code, BMW's modular engine family introduced from 2013 with 500 cc per cylinder.
- 58 is the family number.
- B stands for petrol, longitudinal installation for rear-drive and xDrive cars.
- 30 is the capacity in decilitres, so 3.0 litres.
- TU identifies the technical update.
Which BMW models use the B58B30TU
| Model | Generation | Built |
|---|---|---|
| BMW G20 M340i | seventh 3 Series | 2018– |
| BMW G30 540i | seventh 5 Series | 2016–2023 |
| BMW G05 X5 40i | fourth X5 | 2018– |
| BMW G42 M240i | second 2 Series coupé | 2021– |
In the G20 seventh 3 Series (2018–), the B58B30TU powered the M340i. We have 1 B58B30TU unit from G20 donor cars. All G20 engines
In the G30 seventh 5 Series (2016–2023), the B58B30TU powered the 540i. We have 1 B58B30TU unit from G30 donor cars. All G30 engines
In the G05 fourth X5 (2018–), the B58B30TU powered the X5 40i. We have 1 B58B30TU unit from G05 donor cars. All G05 engines
In the G42 second 2 Series coupé (2021–), the B58B30TU powered the M240i. We have 1 B58B30TU unit from G42 donor cars.
B58B30TU compared with other B58 versions
| Code | Capacity | Power | Torque | Years |
|---|---|---|---|---|
| B58B30 | 3.0 L | 340 hp | 500 Nm | 2015–2026 |
| B58B30M0 | 3.0 L | 340 hp | 450 Nm | 2016–2023 |
| B58B30TU | 3.0 L | 374 hp | 500 Nm | 2018–2026 |
| B58B30M1 | 3.0 L | 374 hp | 500 Nm | 2019–2026 |
B58B30TU or B58B30M1?
The B58B30M1 has the same 374 hp as the B58B30TU, from the same 3.0 L, and was built 2019–2026. Versions of the same size share the block and most mounting points, but the turbo or intake, injectors, software and sometimes the sump differ. Fitting one in place of the other usually means transferring parts and coding the engine control unit, so the simplest choice is the code your car left the factory with.
B58B30TU or B58B30M0?
The B58B30M0 has 34 hp less than the B58B30TU (340 against 374 hp), from the same 3.0 L, and was built 2016–2023. Versions of the same size share the block and most mounting points, but the turbo or intake, injectors, software and sometimes the sump differ. Fitting one in place of the other usually means transferring parts and coding the engine control unit, so the simplest choice is the code your car left the factory with.
B58B30TU or B58B30?
The B58B30 has 34 hp less than the B58B30TU (340 against 374 hp), from the same 3.0 L, and was built 2015–2026. Versions of the same size share the block and most mounting points, but the turbo or intake, injectors, software and sometimes the sump differ. Fitting one in place of the other usually means transferring parts and coding the engine control unit, so the simplest choice is the code your car left the factory with.
Common B58B30TU problems
The B58B30TU shares its weak points with the rest of the B58 family. These are the faults to check on a used unit and on your own engine. The full explanation of each is in the B58 guide.
| Known fault | What to check |
|---|---|
| Coolant leaks | Check for coolant loss. |
| Oil filter housing | Check below the housing. |
| PCV valve | Look for oil in the intake. |
Coolant leaks. Expansion tanks and coolant lines leak.
B58B30TU maintenance
- 0W-30 BMW Longlife-01 or 17 FE+, about 6.5 litres.
- Oil every 15,000 km or yearly.
- Timing chain at the rear (gearbox end).
Will the B58B30TU fit my car?
Will the B58B30TU fit my BMW G20 M340i?
For the BMW G20 M340i, the B58B30TU is the factory engine and the one to order. The seventh 3 Series was built 2018–, and the B58B30TU was produced 2018–2026, so check that your car's build date falls inside that window. Confirm the drive type (rear-drive or xDrive), the gearbox (manual or automatic) and the emissions standard, because these can change the sump, the flywheel and the software. Send us the VIN and we check all of it for you.
How much is a replacement engine for a BMW G20 M340i?
We have 1 B58B30TU engine from G20 donor cars, priced from 8.132,00 €. Delivery to your door is included, and the engine carries a 12-month warranty when fitted by a qualified workshop. Add fitting labour and the parts you replace at the same time — seals, cooling parts and mounts — to estimate the total.
Will the B58B30TU fit my BMW G30 540i?
Yes, the BMW G30 540i left the factory with the B58B30TU, so a B58B30TU from another car is the direct replacement. The seventh 5 Series was built 2016–2023, and the B58B30TU was produced 2018–2026, so check that your car's build date falls inside that window. Confirm the drive type (rear-drive or xDrive), the gearbox (manual or automatic) and the emissions standard, because these can change the sump, the flywheel and the software. Send us the VIN and we check all of it for you.
How much is a replacement engine for a BMW G30 540i?
We have 1 B58B30TU engine from G30 donor cars, priced from 8.124,00 €. Delivery to your door is included, and the engine carries a 12-month warranty when fitted by a qualified workshop. Add fitting labour and the parts you replace at the same time — seals, cooling parts and mounts — to estimate the total.
Will the B58B30TU fit my BMW G05 X5 40i?
For the BMW G05 X5 40i, the B58B30TU is the factory engine and the one to order. The fourth X5 was built 2018–, and the B58B30TU was produced 2018–2026, so check that your car's build date falls inside that window. Confirm the drive type (rear-drive or xDrive), the gearbox (manual or automatic) and the emissions standard, because these can change the sump, the flywheel and the software. Send us the VIN and we check all of it for you.
How much is a replacement engine for a BMW G05 X5 40i?
We have 1 B58B30TU engine from G05 donor cars, priced from 8.133,00 €. Delivery to your door is included, and the engine carries a 12-month warranty when fitted by a qualified workshop. Add fitting labour and the parts you replace at the same time — seals, cooling parts and mounts — to estimate the total.
Will the B58B30TU fit my BMW G42 M240i?
For the BMW G42 M240i, the B58B30TU is the factory engine and the one to order. The second 2 Series coupé was built 2021–, and the B58B30TU was produced 2018–2026, so check that your car's build date falls inside that window. Confirm the drive type (rear-drive or xDrive), the gearbox (manual or automatic) and the emissions standard, because these can change the sump, the flywheel and the software. Send us the VIN and we check all of it for you.

How much is a replacement engine for a BMW G42 M240i?
We have 1 B58B30TU engine from G42 donor cars, priced from 8.142,00 €. Delivery to your door is included, and the engine carries a 12-month warranty when fitted by a qualified workshop. Add fitting labour and the parts you replace at the same time — seals, cooling parts and mounts — to estimate the total.
B58B30TU prices
Across 5 B58B30TU units in our stock today, prices start at 5.024,00 € and reach 8.142,00 €. The median — the price in the middle of the range — is 8.132,00 €.
Prices depend on the exact version, the donor's mileage, how complete the engine is and the demand for that code. Higher-output versions, low mileage and dressed engines with turbo, injectors and ancillaries cost more; long blocks and higher mileage cost less.
B58B30TU engines in stock
Here is a selection of B58B30TU engines currently on our shelves, photographed in the yard. Click any of them for the full photographs, mileage and specification.
BMW G42 M240i B58B30TU Engine, Premium Grade8.142,00 €
BMW G05 X5 40i B58B30TU Engine, Premium Grade8.133,00 €
BMW G30 540i B58B30TU Engine, Premium Grade8.124,00 €BMW G42 M240i B58B30TU Engine, Premium Grade — 8.142,00 €, reduced from 8.720,00 €. It comes from a recorded donor car, and 17 units are available. We can confirm fitment against your VIN the same day.
BMW G05 X5 40i B58B30TU Engine, Premium Grade — 8.133,00 €, reduced from 8.720,00 €. It comes from a recorded donor car, and 29 units are available. The listing shows every side of the engine and the fitted parts.
BMW G30 540i B58B30TU Engine, Premium Grade — 8.124,00 €, reduced from 8.720,00 €. It comes from a recorded donor car, and 20 units are available. We can confirm fitment against your VIN the same day.
Buying a used B58B30TU: checklist
- Confirm the exact engine code. Read the code stamped on the block and compare it with the code for your car. Send us the last seven characters of the VIN and we confirm the match before anything is paid.
- List of what is fitted. Engines are sold with different ancillaries: some have the turbo, injectors, manifolds, alternator and starter, others are long blocks. Agree the list in writing so you know which parts must come from your old engine.
- Gearbox and flywheel match. Manual and automatic engines differ at the flywheel or flexplate, and sometimes at the crankshaft spigot. Make sure the engine you buy matches your gearbox or that you transfer the right parts.
- Look at the oil and coolant. Clean oil without metal particles and coolant without oil are good signs. Milky oil, oily coolant or a burnt smell mean the engine needs further checks before it is fitted.
- Ask how the donor car was damaged. Most good used engines come from cars with body damage. A front-end impact can crack sensors, the timing cover or the sump; a rear or side impact usually leaves the engine untouched. The yard records the damage on each unit.
- Turbocharger shaft play and oil. Rotate the compressor wheel by hand. A small amount of side play is normal; in-and-out play or wheel contact with the housing is not. Oil pooled in the intake or intercooler pipes points to worn seals.
- Timing chain noise. Listen for a rattle at the front of the engine for the first seconds after a cold start. On an engine that cannot be run, look at the chain guides through the oil filler or with the valve cover off.
- Gearbox-end timing chain. On this engine the timing chain sits at the gearbox end, so replacing it normally means removing the engine. If the chain has not been replaced, the time to do it is before the engine goes into your car.
- VANOS operation. Rough idle, a rattle from the front of the head and a loss of torque at low revs point to VANOS seals or solenoids. These are serviceable parts and are easier to renew with the engine out.
- Double VANOS units and solenoids. Ask for the adaptation values or fault history if the engine was running. Solenoids are inexpensive and are often replaced as a matter of course on a used engine.
- Valvetronic motor and eccentric shaft sensor. The Valvetronic motor and its sensor cause limp-mode faults when they fail. Inspect the connector and the seal around the motor for oil.
- Injectors and high-pressure fuel pump. Direct-injection engines rely on high-pressure pumps and precise injectors. Ask whether the injectors are original or updated and whether there were fuel pressure faults.
Questions about the B58B30TU
What is in the B58 BMW complete conversion with engine kit?
The B58 BMW complete conversion with engine kit includes: Inspected B58B30 long engine, compression recorded; BMW E46 engine mounts and brackets; Adapter plate, clutch and flywheel; Wiring patch loom and ECU bridge; Intercooler pipes, radiator hoses and downpipe; Fitting notes and torque sheet.
It is made for the BMW E46, BMW E36 and BMW E90 (1998–2013), and replaces the M54, N52 and N55. Gearbox set-ups we support are the ZF 8HP and ZF GS6-53.
This kit costs about 7.370 € to 9.840 €, depending on the exact listing. It includes an inspected B58B30 engine, so you get everything from one place.
Shipping is a flat 249 € per order. It is added once at checkout and printed on the invoice, so there is no extra fee later. If you are not sure which kit you need, tell us your vehicle, its year and its current engine and gearbox. We help for free.
See all B58 BMW Conversion Kits · Conversion guide
How much is a replacement B58B30M1 engine for a BMW G01 X3 M40i?
A used B58B30M1 for the BMW G01 X3 M40i costs from about 5.200 € to 7.950 € in our yard. The price depends on the year, the mileage and the parts that come with the engine.
Shipping is a flat 249 € per order. It is added once at checkout and printed on the invoice, so there is no extra fee later. Inside the EU there is no import duty. Outside the EU, the receiver pays local duty and VAT.
A replacement engine is often much cheaper than rebuilding a damaged one, and much faster. The B58B30M1 you buy is photographed and checked in Hamburg before it is listed.
Eligible engines come with a 12 months warranty from the delivery date. It covers internal mechanical failure under normal use and correct fitting by a qualified mechanic or workshop. Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
Can you check if a B58B30M1 fits my car with my VIN?
Yes, and it is free. Send the 17-character VIN of your car and, if you have it, the gearbox code. We check the engine family, the build year window and the parts your car needs.
For the B58B30M1, we confirm that your car was built with this code or with a version that can take it. BMW used it in the BMW G20 M340i, BMW G22 M440i, BMW G30 M550i, BMW G01 X3 M40i and BMW G05 X5 xDrive40i and more.
We only reserve an engine once the match is confirmed, so you never pay for the wrong unit. You can reach the Hamburg desk by email at autowerkeengines@gmail.com, or by phone and WhatsApp on +49 15510 030835, Monday to Friday, 9:00 to 16:00 CET.
You can also use the VIN check on our site. It reads the year, the make, the model and the engine from the public vehicle register.
See all B58 Engines · Search B58B30M1 in the shop
Will the B58B30M1 engine fit my BMW G01 X3 M40i?
Yes, if your BMW G01 X3 M40i was built with the B58B30M1. BMW used this 3.0 liter (2,998 cc) petrol engine with 275 kW (374 HP) in the G01 X3 M40i from about 2019 to 2026.
Some G01 X3 M40i cars were built with a different engine: the B58B30. These look alike from the outside, so check the code on your engine or send us your VIN.
Your car has all-wheel drive or is an X model, so the sump, the oil pickup and some brackets can differ from the rear-drive cars. Tell us the full model so we send the right set-up.
Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
Will the B58B30M1 engine fit my BMW G42 M240i?
Yes, if your BMW G42 M240i was built with the B58B30M1. BMW used this 3.0 liter (2,998 cc) petrol engine with 275 kW (374 HP) in the G42 M240i from about 2019 to 2026.
In our records the B58B30M1 is the engine for the G42 M240i, which makes the match simple. Still, check the code on your old engine or send us your VIN.
Also tell us if your G42 has a manual or an automatic gearbox. The flywheel or the flex plate and some sensors depend on it.
Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
What should I replace when I fit a used B58B30M1 engine?
A used engine lasts longest when it starts life in your car with fresh fluids and new seals. Fit a new oil filter and fresh oil of the grade BMW lists for this engine, and refill the coolant with the correct BMW antifreeze mix. Change the drive belt, the thermostat and the water pump seals if they look tired, because they are cheap while the engine is out. Use new gaskets for the exhaust manifold, the intake and the sump plug, and check every hose clip before the first start.
Look at the engine mounts and the clutch or the torque converter while the engine is out. Old mounts can crack a new engine's brackets, and a worn clutch is much easier to change now.
Before the first start, turn the engine over without fuel until the oil pressure light goes out. Then let it idle, check for leaks, and drive gently for the first few hundred kilometres.
The warranty asks for fitting by a qualified mechanic and the correct oil, coolant and filters. Keep your receipts in case you ever need to make a claim.
See all B58 Engines · Search B58B30M1 in the shop

Will the B58B30M1 engine fit my BMW G20 M340i?
Yes, if your BMW G20 M340i was built with the B58B30M1. BMW used this 3.0 liter (2,998 cc) petrol engine with 275 kW (374 HP) in the G20 M340i from about 2019 to 2026.
In our records the B58B30M1 is the engine for the G20 M340i, which makes the match simple. Still, check the code on your old engine or send us your VIN.
Also tell us if your G20 has a manual or an automatic gearbox. The flywheel or the flex plate and some sensors depend on it.
Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
Will the B58B30M1 engine fit my BMW G30 M550i?
Yes, if your BMW G30 M550i was built with the B58B30M1. BMW used this 3.0 liter (2,998 cc) petrol engine with 275 kW (374 HP) in the G30 M550i from about 2019 to 2026.
Some G30 M550i cars were built with a different engine: the N63B44T3. These look alike from the outside, so check the code on your engine or send us your VIN.
Also tell us if your G30 has a manual or an automatic gearbox. The flywheel or the flex plate and some sensors depend on it.
Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
Can I put a BMW M57 / N57 / B58 engine in my BMW E90?
Yes. We sell conversion kits that fit the BMW M57 / N57 / B58 into the BMW E90. The kit replaces the Getrag 5-speed and GM 5L40, and works with the ZF 8HP, ZF GS6-53 and DCT.
You can buy the full package with an engine, or only the parts you need: gearbox conversion, transfer case adapter, clutch and flywheel and propshaft.
A swap like this needs a skilled workshop. Mounts, the adapter, the wiring and the engine computer, the cooling and the exhaust all have to work together. Check your local road rules for engine swaps before you start.
Tell us your BMW E90's year and current set-up, and we suggest the right parts. You can reach the Hamburg desk by email at autowerkeengines@gmail.com, or by phone and WhatsApp on +49 15510 030835, Monday to Friday, 9:00 to 16:00 CET.
See all BMW Gearbox Conversion Kits · Conversion guide
What is in the B58 BMW wiring and ecu kit?
The B58 BMW wiring and ecu kit includes: B58B30 patch loom for the BMW E46; ECU bridge connector; Immobiliser bypass or coded ECU; Sensor pinout sheet; Fuse and relay map.
It is made for the BMW E46, BMW E36 and BMW E90 (1998–2013), and replaces the M54, N52 and N55. Gearbox set-ups we support are the ZF 8HP and ZF GS6-53.
This kit costs about 500 € to 820 €, depending on the exact listing. The engine is not included, so you can use your own B58B30 or buy one from our yard.
Shipping is a flat 249 € per order. It is added once at checkout and printed on the invoice, so there is no extra fee later. If you are not sure which kit you need, tell us your vehicle, its year and its current engine and gearbox. We help for free.
See all B58 BMW Conversion Kits · Conversion guide
How much is a replacement B58B30M1 engine for a BMW G20 M340i?
A used B58B30M1 for the BMW G20 M340i costs from about 5.200 € to 7.950 € in our yard. The price depends on the year, the mileage and the parts that come with the engine.
Shipping is a flat 249 € per order. It is added once at checkout and printed on the invoice, so there is no extra fee later. Inside the EU there is no import duty. Outside the EU, the receiver pays local duty and VAT.
A replacement engine is often much cheaper than rebuilding a damaged one, and much faster. The B58B30M1 you buy is photographed and checked in Hamburg before it is listed.
Eligible engines come with a 12 months warranty from the delivery date. It covers internal mechanical failure under normal use and correct fitting by a qualified mechanic or workshop. Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
See all B58 Engines · Search B58B30M1 in the shop
Which years were BMW B58 engines made?
BMW built the B58 engines we list from about 2015 to 2026. The B58B30 ran from 2015 to 2020. The B58B30M1 ran from 2019 to 2026.
They went into chassis F30, G30, G11, G05, G01, G20, G22 and G42. The exact year of a car matters, because BMW sometimes changed the engine version or its parts in the middle of a model's life.
Each listing in our yard names the engine year, so you can match it to the build date of your car.
Not sure? Send us your VIN and your gearbox code. We match the engine family, the year window and the parts on the engine before anything is reserved, and the check is free.
Delivery, warranty and payment
Every B58B30TU we sell is drained, sealed at each opening, strapped to a heat-treated pallet and shrink-wrapped before it leaves Hamburg. You receive photographs of the packed engine and a tracking number.
Delivery is door to door and included in the price. Most European addresses receive the engine within five to ten working days; Germany and its neighbours are usually faster.
A 12-month warranty covers eligible internal failure when the engine is fitted by a qualified workshop with new fluids and filters. You can pay by card, bank transfer or crypto and receive the invoice by email straight away.
B58 engine guide · B58B30TU engines for sale · All B58 engines · Send us your VIN






