The BMW X2 18i in the first X2 generation (F39, built 2017–2023) was built with one engine, the B38B15A: a 1.5 L petrol inline-3 with 140 hp.
This guide tells you which engine your X2 18i has, what goes wrong with it, what a replacement costs from our stock and what else to plan for when you fit one.
- Generation: first X2, 2017–2023
- Body styles: F39 (SAC)
- Engines: B38B15A
- Output: 140 hp
- Replacement engines in stock: 18 from 901,00 €

Which engine is in your X2 18i?
| Engine code | Built | Power | Torque | Type |
|---|---|---|---|---|
| B38B15A | 2015–2024 | 140 hp | 220 Nm | 1.5 L petrol inline-3, turbocharged |
B38B15A in the X2 18i
The B38B15A was used in the F39 X2 18i, built 2015–2024. It is a 1.5 L turbocharged petrol inline-3 with 140 hp and 220 Nm.
Reading the code: B marks a B-series code, BMW's modular engine family introduced from 2013 with 500 cc per cylinder; 38 is the family number; B stands for petrol, longitudinal installation for rear-drive and xDrive cars; 15 is the capacity in decilitres, so 1.5 litres; A identifies the version or output stage.
X2 18i engines by model year
| Model year | Engine |
|---|---|
| 2017 | B38B15A (140 hp) |
| 2018 | B38B15A (140 hp) |
| 2019 | B38B15A (140 hp) |
| 2020 | B38B15A (140 hp) |
| 2021 | B38B15A (140 hp) |
| 2022 | B38B15A (140 hp) |
| 2023 | B38B15A (140 hp) |
The X2 18i kept the same engine for the whole F39 run, which makes ordering simple: any unit with the same code fits, subject to the gearbox, drive type and sump.
Other cars with the same engine as the X2 18i
A replacement engine does not have to come from another X2 18i. These models left the factory with the same engine code, so a unit from any of them is a candidate donor once the sump, mounts and ancillaries are matched to your car.
B38B15A: BMW F48 X1 18i.
How to confirm your engine code
The X2 18i only used the B38B15A, but the exact version can still change with the build date, gearbox and market. Send us the last seven characters of the VIN and we read the engine code from BMW's records, or look for the code stamped on the block. How to find your BMW engine code.
Known X2 18i engine problems
The B38B15A in the X2 18i shares the known weak points of the B38 family. Full B38 guide.
| Known fault | What to check |
|---|---|
| Coolant leaks | Check for coolant loss. |
| Ignition coils | Read misfire counters. |
| Engine mounts | Check mounts in the car. |
| Carbon build-up | Borescope inspection. |
Coolant leaks. Thermostat housings and coolant pipes leak.
Ignition coils. Coils fail and cause misfires.
Engine mounts. Three-cylinder vibration finishes mounts.
Carbon build-up. Intake valves carbon up over time.
Symptoms to watch for on the X2 18i
Rattle for a few seconds after a cold start. The classic sign of a weak timing chain tensioner or stretched chain. It must be checked quickly: a chain that jumps a tooth can bend valves.
Rattle or whine from the gearbox end. On engines with the timing chain at the rear, a rattle or whine from the back of the engine is the warning sign of chain stretch or guide wear.
Whistle, loss of boost or limp mode. A split charge pipe, a sticking wastegate or worn turbo bearings. Check the pipes first, then the turbo shaft for play.
Poor low-down torque and uneven idle. VANOS seals or solenoids. The engine may run well at high revs but feel flat and lumpy at low speed.
Limp mode with a Valvetronic fault. The Valvetronic motor, its eccentric shaft sensor or the wiring. The engine runs on a reduced throttle until it is repaired.
Long cranking before the engine starts. On direct-injection engines, a weak high-pressure fuel pump or leaking injector lets pressure drop when the engine is off.
Looking after the X2 18i engine
- Oil: 0W-20 or 0W-30 BMW Longlife-17 FE+ or 01, about 4.25 litres.
- Service interval: Oil every 15,000 km or yearly.
- Timing drive: Timing chain at the rear (gearbox end).
- Workshop notes: Front-drive (B38A) and rear-drive (B38B) versions are not interchangeable without changes.
Buying a used engine for the X2 18i: 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.
- 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.
- Sump, oil pickup and drive variants. Rear-drive, xDrive and front-drive cars can use different sumps, oil pickups and engine mounts even with the same engine code. Check that the sump matches your subframe and front axle.
- 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.
- Warranty terms in writing. Read what the warranty covers, how long it runs and what fitting conditions apply. Most warranties require a qualified workshop, new fluids and filters, and replacement of the cooling parts that caused the original failure.
- 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.
BMW X2 18i replacement engine cost
Our X2 18i engine stock runs to 18 units, priced from 901,00 € to 4.236,00 € with a median of 2.250,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.
X2 18i engine prices by model year
| Model years | Units | From | Median | To |
|---|---|---|---|---|
| 2005–2009 | 1 | 2.105,00 € | 2.105,00 € | 2.105,00 € |
| 2010–2014 | 4 | 913,00 € | 2.693,00 € | 2.890,00 € |
| 2015–2019 | 8 | 901,00 € | 2.250,00 € | 4.236,00 € |
| 2020–2024 | 1 | 3.144,00 € | 3.144,00 € | 3.144,00 € |
Engines from 2005–2009 have a median of 2.105,00 €, while units from 2020–2024 sit at 3.144,00 €. Newer engines usually cost more because they come from younger donor cars with lower mileage and later updates.
X2 18i engine prices by mileage
| Donor mileage | Units | From | Median |
|---|---|---|---|
| under 50,000 km | 1 | 2.250,00 € | 2.250,00 € |
| 50,000 to 100,000 km | 4 | 913,00 € | 2.568,00 € |
| 100,000 to 150,000 km | 1 | 2.217,00 € | 2.217,00 € |
| over 150,000 km | 3 | 901,00 € | 1.171,00 € |
Mileage matters less than history on a well-maintained BMW engine, but it is a useful guide. A low-mileage unit from a younger car gives you more life for a modest premium.
3 of these come from F39 donor cars, priced from 1.352,00 € to 3.204,00 €. An engine from the same body is the most direct swap because the sump, mounts and ancillaries already match.
On top of the engine, budget for the workshop's labour and the parts that are best replaced while the engine is out: engine mounts, the rear main seal, cooling parts, a clutch or converter seal, fluids and filters.
Replacement engines in stock for the X2 18i
These X2 18i units are in our Hamburg yard right now. Each listing shows real photographs of the engine you receive, its mileage and what is fitted.
BMW 118i F40 B38B15A Engine 2019 · 178,000 km1.171,00 €
BMW F48 X1 18i B38B15A Complete Engine1.343,00 €
Used BMW X1 18i 2018 B38B15A F48 Engine2.707,00 €
BMW X2 18i F39 B38B15A Engine 2018 · 121,000 km2.217,00 €
BMW F39 X2 18i B38B15A Complete Engine1.352,00 €
BMW B38B15A Engine1.400,00 €BMW 118i F40 B38B15A Engine 2019 · 178,000 km — 1.171,00 €, reduced from 1.750,00 €. It comes from a 2019 donor car with 178,000 km, and 7 units are available. Ask the desk for compression figures or extra photographs before you order.
BMW F48 X1 18i B38B15A Complete Engine — 1.343,00 €, reduced from 1.850,00 €. It comes from a recorded donor car, and 21 units are available. Ask the desk for compression figures or extra photographs before you order.
Used BMW X1 18i 2018 B38B15A F48 Engine — 2.707,00 €, reduced from 3.600,00 €. It comes from a 2018 donor car, and 19 units are available. We can confirm fitment against your VIN the same day.
BMW X2 18i F39 B38B15A Engine 2018 · 121,000 km — 2.217,00 €, reduced from 3.200,00 €. It comes from a 2018 donor car with 121,000 km, and 24 units are available. Ask the desk for compression figures or extra photographs before you order.
BMW F39 X2 18i B38B15A Complete Engine — 1.352,00 €, reduced from 1.850,00 €. It comes from a recorded donor car, and 16 units are available. Ask the desk for compression figures or extra photographs before you order.
BMW B38B15A Engine — 1.400,00 €, reduced from 1.850,00 €. It comes from a recorded donor car, and 26 units are available. We can confirm fitment against your VIN the same day.
Will it fit my X2 18i?
Will the B38B15A fit my BMW F39 X2 18i?
The B38B15A is the original engine for the BMW F39 X2 18i, which makes it the straightforward choice. The first X2 was built 2017–2023, and the B38B15A was produced 2015–2024, so check that your car's build date falls inside that window. Confirm the drive type (front-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 F39 X2 18i?
We have 3 B38B15A engines from F39 donor cars, priced from 1.352,00 € to 3.204,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.
Engine swaps and upgrades for the X2 18i
These engines were fitted to other versions of the F39 at the factory, which makes them the most practical upgrades: the body was designed around them and many parts are shared.
Can I fit the B47C20 in my X2 18i?
It is a full conversion: the B47C20 runs on diesel and the B38B15A on petrol, so the fuel system, wiring, engine control unit, instrument coding and usually the gearbox change too. The gain is 50 hp and 180 Nm. In Germany and most of Europe an engine swap must be inspected and registered.
Can I fit the B48A20 in my X2 18i?
It is a conversion rather than a replacement: the B48A20 is an inline-4 and your B38B15A an inline-3, so mounts, sump, cooling, exhaust, wiring and the engine control unit all change. The gain is 52 hp and 60 Nm. In Germany and most of Europe an engine swap must be inspected and registered.
Fitting a replacement engine in the X2 18i
- Inspect or replace the timing chain parts. Look at the guides and tensioner. On high-mileage engines, replacing them now costs far less than doing it later.
- Replace the rear timing chain if in doubt. On engines with the chain at the gearbox end, chain work needs the engine out. If the history is unknown, replace the chain, guides and tensioner before fitting.
- Prepare the turbo. Fit new oil feed and return seals, clean the intercooler and pipes of any oil or debris from the old engine, and prime the turbo with oil before starting.
- Reset VANOS adaptations. Clear the VANOS adaptations so the ECU learns the camshaft positions of the new engine.
- Teach the Valvetronic limit stops. Run the Valvetronic learning routine so the ECU knows the eccentric shaft limits.
- Fill with the right oil and prime it. Fill with new oil of the correct specification and a new filter. Crank with the fuel and ignition disabled until oil pressure builds.
- Coding and adaptations. On modern BMWs, the engine ECU must be matched to the car's immobiliser (CAS, FEM or BDC). Reset adaptations, register the battery and clear faults with diagnostic software.
- First start and leak check. Start the engine, let it idle and watch oil pressure, temperature and fault codes. Check for leaks and bleed the cooling system.
- First 1,000 km. Drive gently for the first few hundred kilometres, vary the engine speed and avoid full load. Change the oil and filter after about 1,000 km to remove any assembly debris.
The full fitting and first-start procedure.
Delivery, warranty and payment
Before an X2 18i engine leaves our Hamburg yard it is drained of oil and coolant, every opening is sealed, and it is strapped to a pallet and wrapped. We send photographs of the packed unit and the tracking details.
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.
All F39 engines · B38 engine guide · BMW X2 18i engines for sale · Send us your VIN





