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

BMW M240i F22/F23 B58

The BMW M240i belongs to the F22/F23 2 Series Coupé & Convertible generation, built approximately 2016–2021. It uses the B58, a 3.0L turbocharged inline-six petrol engine. Covered body styles are Coupé and Convertible. 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 M240i F22/F23

The BMW M240i is the six-cylinder model of the F22/F23 2 Series, sold as the two-door F22 Coupé and the F23 Convertible. In Coupé and Convertible form alike, it uses the B58B30M0, the first-generation B58 inline-six.

Both body styles were offered with manual and automatic gearboxes. xDrive availability depended on body and market; in Canada’s 2020 model-year Coupé range, for example, the M240i xDrive came with the automatic only. Drivetrain and gearbox both influence which calibration base suits a car, and the DME hardware and software should be read from the vehicle before work begins.

With an M240i request, please state whether the car is a Coupé or Convertible, rear-wheel drive or xDrive, and manual or automatic. Add the build date, current software version, your usual fuel octane and any hardware or software changes already made.

Model & Generation Context

Engine family

B58

Exact revision is production-date and vehicle-specific

Displacement

3.0L

Production

c. 2016–2021

Approximate; confirm the build date from the vehicle

Fuel Type

Petrol

Supported Model Variants

BMW M240i

Engine: B58

Production: c. 2016–2021

Chassis: F22, F23 · Coupé, Convertible

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 M240i

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