New tuners get 20% OFF first 5 orders — Register now!

BMW 3 Series G20/G21 B47 Diesel Models

This page covers the BMW 318d and 320d from the G20/G21 3 Series generation, built approximately 2019–present. Every variant on this page uses the B47, a 2.0L turbocharged diesel inline-four engine. Covered body styles are Sedan and Touring. Depending on the variant, it was offered with rear-wheel drive or xDrive all-wheel drive, paired with a manual gearbox or an automatic gearbox. Engine management is by a BMW DDE; identify the exact ECU hardware and software from the vehicle before ordering a file.

Model & Generation Context

Engine family

B47

Exact revision is production-date and vehicle-specific

Displacement

2.0L

Production

c. 2019–present

Approximate; confirm the build date from the vehicle

Fuel Type

Diesel

Supported Model Variants

BMW 318d

Engine: B47

Production: c. 2019–present

Chassis: G20, G21 · Sedan, Touring

Drivetrain: RWD, xDrive

BMW 320d

Engine: B47

Production: c. 2019–present

Chassis: G20, G21 · Sedan, Touring

Drivetrain: RWD, xDrive

Engine Platform

ECU & Transmission Context

BMW DDE — identify from vehicle

Read the ECU hardware and software numbers from the vehicle before ordering a file.

Manual gearbox

Gearbox specification is vehicle-specific; confirm it from the vehicle order data.

Automatic gearbox

Gearbox specification is vehicle-specific; confirm it from the vehicle order data.

Identification & Pre-Tuning Checks

  • Confirm the engine code on the vehicle matches the B47 before ordering a file.
  • The exact engine revision is production-date and vehicle-specific; it is not inferred from the model name.
  • Identify the BMW DDE and its exact hardware and software version from the vehicle; it is not inferred from the model name.
  • Scan for stored fault codes and resolve existing issues before any calibration work.
  • Check the condition of the DPF, EGR system and, where fitted, the AdBlue (SCR) system.
  • Gearbox type varies on this model; note whether the car is manual or automatic when submitting a file.

Available Service Paths

Related Resources

BMW B47 File Service

Order a file for your BMW 3 Series

Prepare the original ECU file, vehicle details, fuel and hardware setup before opening a file request.

Open File Service Portal

Original ECU File

Read via OBD, Bench or Boot

Vehicle Details

Model, year and specification

Fuel Information

Fuel type and octane rating

ECU Identification

Hardware and software version