G20 / G21 · 2019–2022

BMW M340i xDrive G20 / G21 · 374 hp · B58B30B (2019–2022)

The M340i xDrive G20 / G21 (2019–2022) produces 275 kW (374 hp). M Performance model sold from November 2019 as saloon and Touring, with a First Edition limited to 340 units per body style. BMW specifies 6.5 l of oil per change.

Choose an engine

Identify the car and prepare its maintenance

Technical specifications

Fuel
Petrol
Power
374 PS / 275 kW
Displacement
2 998 cm³
Torque
500 Nm
Cylinders
6
Engine code
B58B30B
Period covered
2019–2022
Documented market
Europe

Transmission

  • Automatic · 8 speeds

Figures apply to the cited configuration and market; equipment and transmissions may vary by production date.

Specification source : [2] BMW Group [3] BMW Group [4] BMW Group [5] BMW Group

What sets this version apart

275 kW (374 hp) and 500 Nm: straight-six petrol engine of 2,998 cc, engine code B58B30B according to ADAC. Period: 08/2019–06/2022 (ADAC dates). One page for the G20 saloon and the G21 Touring. Eight-speed Steptronic automatic. xDrive all-wheel drive as standard. 0–100 km/h in 4.4 s and 250 km/h for the saloon according to BMW (03/2019 sheet). M Performance model sold from November 2019 as saloon and Touring, with a First Edition limited to 340 units per body style.

Source : [2] [4] [3] [5] [7] [8]

Engine oil: quantity and checks

Oil-change quantity published by BMW: 6.5 l (03/2019, 10/2019 specification sheets, “Engine oil” line, footnote “oil change”). Approvals and viscosities: see the engine block below. The G20 handbook (2019–2022) describes electronic measurement: monitoring while driving (a value is available after about 30 minutes) and a detailed measurement with the car level, engine warm, selector in N or P, via CAR › Vehicle status › Engine oil level. Only top up when the message appears, by the quantity shown, without additives.

Source : [2] [4] [6]

48-volt mild hybrid and emissions control

48-volt mild hybrid: 8 kW (11 hp) starter-generator according to BMW; ADAC lists this version as a mild hybrid from 11/2020. Nothing to plug in; the 48-volt battery is a workshop matter. Petrol particulate filter according to ADAC; emissions standard Euro 6d-TEMP → Euro 6d-ISC-FCM. The G20 handbook (2019–2022) notes that 30i and 40i engines have two cooling circuits: check both expansion tanks with the engine cold.

Source : [7] [8] [6] [2] [4] [3] [5]

What the service indicator tracks

Condition Based Service calculates each due date from actual use; details appear in CAR › Vehicle status › Service requirements, together with the service history. The data are also stored in the key. BMW’s regular maintenance covers engine oil, brake fluid, a vehicle check, air filter, cabin microfilter and spark plugs. Brake fluid and, where applicable, oil and microfilter also depend on time; periods with the battery disconnected are not counted, so have the workshop update them. Neither the handbook nor BMW sets a mileage: the reference is the displayed date, which must not be exceeded.

Source : [6] [1]

Recalls to check

ADAC lists for the 2019–2022 G20/G21: July 2026 (production 07/2020–02/2026) and February 2026 (05/2020–10/2024), wear deposits in the starter relay that can cause a short circuit and fire, starter replaced; October 2025 (09/2015–09/2021), starter relay insufficiently sealed against water, same remedy; May 2022 (01/2022–03/2022), faulty gas generator in the front belt pretensioners, belts checked and replaced if needed. Not every car built in a period is affected: have the VIN checked.

Source : [7] [8]

Preparing the service

Note the output (275 kW) and first-registration date on the registration certificate, then the due dates in the service requirements menu. Hand over the key used on the last drive: it holds the service data. Ask for 6.5 l of a BMW-approved oil for this engine. Have the VIN checked for the recalls listed by ADAC and make sure the work is entered in the electronic service history.

Source : [6] [2] [7]

BMW B58 petrol engine (3.0 l, six-cylinder)

This applies to every car fitted with the B58 engine.

What the B58 is

Inline six-cylinder petrol engine of 2,998 cc (82 mm bore, 94.6 mm stroke, 11:1 compression) with twin-scroll turbocharger, direct injection, double VANOS, a closed-deck crankcase and indirect charge-air cooling integrated into the intake. BMW places it in the same modular family as the B38, B48 and B57, and launched it in mid-July 2015 in the F30 340i (240 kW/326 PS and 450 Nm according to ADAC, which codes it B58B30A). BMW designates the version in the facelifted 2 Series M240i (2017) as B58B30M0. In 2021 the G42 M240i xDrive Coupé quotes 275 kW (374 hp) and 500 Nm from the same displacement.

Source : [9] [13] [10] [11]

Engine oil

BMW handbooks only list oils for topping up and leave the oil change to a qualified workshop; the list depends on the handbook edition. 5 Series G30 handbook (VI/20): BMW Longlife-04, -12 FE or -17 FE+, in SAE 0W-20, 5W-20, 0W-30, 5W-30, 0W-40 or 5W-40; otherwise up to 1 litre of ACEA C2 or C3. 2 Series Coupé G42 handbook (VI/22): BMW Longlife-12 FE or -17 FE+, in SAE 0W-20 or 0W-30 only; otherwise up to 1 litre of ACEA C2 or C5. No additives. Quantities published by BMW: 6.5 l for the B58B30M0 of the M240i (2017, “filling quantity”) and 7.2 l for an oil change on the G42 M240i xDrive Coupé (2021). No quantity is sourced here for other installations.

Source : [14] [12] [10] [11]

Timing drive

Chain, on the transmission side, confirmed by ADAC. According to BMW’s training document it is two-part: a lower chain drives an intermediate shaft, which passes the drive to the upper camshaft chain; the oil pump has its own chain and the tensioners are hydraulic with spring preload. The inertia of the transmission reduces the torsional vibrations acting on the chain. The sources consulted give no replacement interval.

Source : [9] [13]

What changed over the years

2015: launch in the F30 340i, replacing the N55 (2,979 cc, 225 kW); Euro 6b according to ADAC. 2017: facelifted 2 Series, M240i with B58B30M0. 2021: G42 M240i xDrive Coupé, 275 kW (374 hp) and 500 Nm, Euro 6d. The sources consulted do not detail the internal changes between these versions, so nothing more should be inferred.

Source : [9] [13] [10] [11]

Maintenance and records

Engine oil

Due date calculated by CBS

Change the oil at the date the car displays, without exceeding it: the G20 handbook warns that oil changed too late increases engine wear. Between changes, only add the quantity the message asks for, using an approved oil and no additives.

Source [6]

Other maintenance items — petrol and plug-in hybrids

As the service requirement dictates

BMW lists as regular maintenance: brake fluid, a vehicle check to BMW specifications, air filter, cabin microfilter and spark plugs. Each item is triggered by the service requirement the car calculates.

Source [1]

Time-based items

Calendar-based (CBS)

Brake fluid and, where applicable, engine oil and the microfilter/activated-carbon filter also depend on time. Periods with the battery disconnected are not taken into account: have the workshop update these items. The handbook gives no period.

Source [6]

Questions about this version (5)

Which engine powers the 374 hp M340i xDrive G20 / G21?

A straight-six petrol engine of 2,998 cc, code B58B30B according to ADAC, 08/2019–06/2022. The engine block below covers approved oils, timing drive and the history of this family.

Source : [2] [4] [3] [5] [7] [8]

How much oil does the M340i xDrive take at an oil change?

Oil-change quantity published by BMW: 6.5 l (03/2019, 10/2019 specification sheets, “Engine oil” line, footnote “oil change”). This is a service quantity: check the electronic level afterwards.

Source : [2] [4]

What is the type-approval fuel consumption?

7.9 l/100 km combined WLTP for the saloon according to ADAC. The figure depends on wheels and options; the Touring uses slightly more.

Source : [7] [8]

Which recalls should be checked on this M340i xDrive?

ADAC lists for the 2019–2022 G20/G21: July 2026 (production 07/2020–02/2026) and February 2026 (05/2020–10/2024), wear deposits in the starter relay that can cause a short circuit and fire, starter replaced; October 2025 (09/2015–09/2021), starter relay insufficiently sealed against water, same remedy; May 2022 (01/2022–03/2022), faulty gas generator in the front belt pretensioners, belts checked and replaced if needed. Not every car built in a period is affected: have the VIN checked.

Source : [7] [8]

Is it available as a Touring and with xDrive?

Yes for the G21 Touring, which shares this page with the G20 saloon. xDrive all-wheel drive as standard.

Source : [2] [4] [3] [5] [7] [8]

Documentary sources

  1. [1] BMW Service Inclusive — Die Leistungen (bmw.de, archived 15/04/2026)

    BMW AG · DE · Germany · Section “Die Leistungen von BMW Service Inclusive” · Accessed 08/10/2026

  2. [2] BMW Technical specifications — The all-new BMW 3 Series Sedan, valid from 03/2019

    BMW Group · EN · Europe (ACEA) · 320i, 320i xDrive, 330i, 330i xDrive, M340i xDrive, 318d, 320d, 320d xDrive, 330d, 330d xDrive: “Engine oil”, footnote “Oil change”; output, torque, 0–100 km/h, top speed · Accessed 08/10/2026

  3. [3] BMW Media information 10/2019 — The new BMW M340i xDrive Touring celebrates its market launch

    BMW Group · EN · Europe (German base data) · p. 1 (M340i xDrive Sedan and Touring, First Edition, from November 2019) · Accessed 08/10/2026

  4. [4] BMW Technical specifications 10/2019 — The new BMW M340i xDrive Touring

    BMW Group · EN · Europe (ACEA) · pp. 1–2; “Engine oil”, footnote 1) “Oil change”; output, torque, performance · Accessed 08/10/2026

  5. [5] BMW Technical specifications 05/2022 — The new BMW 3 Series Sedan

    BMW Group · EN · Europe (ACEA) · pp. 1–30 (scanned sheet, read by OCR); “Engine oil”, footnote 1) “Oil change volume”; outputs, 48V starter-generator, performance, WLTP · Accessed 08/10/2026

  6. [6] BMW 3er Limousine (G20) Betriebsanleitung, Baujahr 2019–2022 (online copy)

    BMW AG (online copy: Kfz-Handbuch.de) · DE · Germany · pp. 167–168 (Servicebedarf, Service Historie), 312 (Einfahren), 366–368 (AdBlue), 369–372 (Motoröl, Ölmessung, Kühlmittel), 375–376 (Condition Based Service, Service Historie), 404 (Füllmengen) · Accessed 08/10/2026

  7. [7] ADAC Autokatalog — BMW M340i xDrive Steptronic Sport (08/19 – 09/20)

    ADAC · DE · Germany · Technische Daten: Motorart, Motorcode, Leistung, Drehmoment, Hubraum, Nockenwellensteuerung, Antriebsart, Getriebe, Modellstart/-ende, Schadstoffklasse, Abgasreinigung, Messwerte Hersteller; Rückrufe & Mängel · Accessed 08/10/2026

  8. [8] ADAC Autokatalog — BMW M340i Touring xDrive Steptronic Sport (11/20 – 06/22)

    ADAC · DE · Germany · Technische Daten: Motorart, Motorcode, Leistung, Drehmoment, Hubraum, Nockenwellensteuerung, Antriebsart, Getriebe, Modellstart/-ende, Schadstoffklasse, Abgasreinigung, Messwerte Hersteller; Rückrufe & Mängel · Accessed 08/10/2026

  9. [9] BMW Technical training — B58 Engine

    BMW of North America — Technical training (archive.org copy) · EN · USA · Information status April 2015 · §1.2 Modular design · §1.3 Technical data (engine oil specification) · §2.2.4 Chain drive · Accessed 08/10/2026

  10. [10] BMW UK Technical data — 2 Series Coupé LCI [F22LCI]

    BMW Group UK · EN · United Kingdom · Effective production week 44/2017 · engine type (B58B30M0, B47D20U0, B47D20O0, B47D20T0), gearbox, “Engine oil (filling quantity)” · M2 Coupé LCI · Accessed 08/10/2026

  11. [11] BMW Technical specifications 07/2021 — BMW 2 Series Coupé (220i, M240i xDrive, 220d)

    BMW Group · EN · Europe (ACEA) · pp. 1–6; “Engine oil”, footnote 2) “Oil change”; 48V mild hybrid output and battery (220d); consumption WLTP combined · Accessed 08/10/2026

  12. [12] BMW 2er Coupé (G42) Betriebsanleitung, Sach-Nr. 01405A5E757 – VI/22 (online copy)

    BMW AG (online copy: Kfz-Handbuch.de) · DE · Germany · pp. 157–158 (Servicebedarf), 260–261 (Einfahren, Partikelfilter), 278 (Segeln), 311–315 (Kraftstoff, AdBlue), 316–321 (Motoröl, Kühlmittel), 322–323 (CBS, Service Historie), 326–328 (Batterie, Mild-Hybrid), 347–351 (Gewichte, Anhängelasten) · Accessed 08/10/2026

  13. [13] ADAC — BMW Série 3, fiche technique lci340i

    ADAC · DE · Europe / Allemagne · Technische Daten : moteur, puissance, cylindrée, distribution et dates ; périmètre européen documenté. · Accessed 08/10/2026

  14. [14] BMW 5er Limousine (G30) Betriebsanleitung, Sach-Nr. 01405A11307 – VI/20 (online copy)

    BMW AG · DE · Germany · pp. 405–406: Motorölsorten zum Nachfüllen, geeignete und alternative Motorölsorten, Viskositätsklassen (Fußnote zu Longlife-12 FE und Dieselmotoren 25d/35d/40d/50d) · Accessed 08/10/2026

We use cookies to measure audience and improve your experience. Learn more