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

BMW M140i F20/F21 B58

The BMW M140i belongs to the F20/F21 1 Series generation, built approximately 2016–2019. It uses the B58, a 3.0L turbocharged inline-six petrol engine. Covered body styles are 5-door Hatchback and 3-door Hatchback. Depending on the variant, it was offered with rear-wheel drive or xDrive all-wheel drive, paired with a manual gearbox or the eight-speed Steptronic automatic. Engine management is expected to come from the BMW DME 8.6 family; confirm the exact ECU hardware and software from the vehicle.

About the BMW M140i F20/F21

The BMW M140i is the six-cylinder performance model of the F20/F21 1 Series, built as the five-door F20 and the three-door F21. Both body styles use the B58B30M0, the first-generation version of BMW’s 3.0-litre B58 inline-six. Depending on the market, the rear-wheel-drive M140i was joined by an M140i xDrive.

The M140i was offered with a six-speed manual or an eight-speed automatic, and that choice shapes how a calibration handles torque delivery. On automatic cars the transmission software is considered alongside the engine. The B58B30M0 is managed by a BMW DME 8.6 family control unit, but exact ECU hardware and software should be confirmed from the vehicle before a calibration file is prepared.

When you request a file, tell us whether your car is an F20 or F21, which gearbox it has and whether it is rear-wheel drive or xDrive. Include the production date, a read of the current DME software, the fuel grade you normally use and any intake, exhaust or cooling upgrades, along with details of earlier tuning.

Model & Generation Context

Engine family

B58

Exact revision is production-date and vehicle-specific

Displacement

3.0L

Production

c. 2016–2019

Approximate; confirm the build date from the vehicle

Fuel Type

Petrol

Supported Model Variants

BMW M140i

Engine: B58

Production: c. 2016–2019

Chassis: F20, F21 · 5-door Hatchback, 3-door Hatchback

Drivetrain: RWD, xDrive

Engine Platform

ECU & Transmission Context

BMW DME 8.6 ECU

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.

Eight-speed Steptronic

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 B58 before ordering a file.
  • The exact engine revision is production-date and vehicle-specific; it is not inferred from the model name.
  • BMW DME generation and exact ECU hardware/software variant depend on the vehicle and production version.
  • Scan for stored fault codes and resolve existing issues before any calibration work.
  • Gearbox type varies on this model; note whether the car is manual or automatic when submitting a file.

Available Service Paths

Related Resources

BMW B58 File Service

Order a file for your BMW M140i

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