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

BMW 340i F30/F31/F34 B58

The BMW 340i belongs to the F30/F31/F34 3 Series generation, built approximately 2015–2019. It uses the B58, a 3.0L turbocharged inline-six petrol engine. Covered body styles are Sedan, Touring and Gran Turismo. Depending on the variant, it was offered with rear-wheel drive or xDrive all-wheel drive. BMW's US technical data lists the F30 Sedan 340i and 340i xDrive with a six-speed manual or the eight-speed Steptronic automatic; gearbox availability for the Touring and Gran Turismo varies by market. 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 340i F30/F31/F34

The BMW 340i is the six-cylinder petrol model of the F30/F31/F34 3 Series, built as the F30 Sedan, the F31 Touring and the F34 Gran Turismo, with 340i and 340i xDrive versions offered according to body and market. It uses the B58B30M0, which BMW introduced in US-version 340i models from mid-July 2015.

The B58B30M0 is controlled by BMW DME 8.6, a different engine management platform from the one BMW used with the N55. Gearbox and drivetrain combinations were not the same for every body and market, so both the DME and the transmission are identified on the vehicle before a calibration is prepared.

For a 340i file request, send the production date, the market the car was originally supplied to, the current DME software, transmission type and drivetrain. Fuel grade, upgraded parts and any earlier calibration also help us choose the correct starting point.

Model & Generation Context

Engine family

B58

Exact revision is production-date and vehicle-specific

Displacement

3.0L

Production

c. 2015–2019

Approximate; confirm the build date from the vehicle

Fuel Type

Petrol

Supported Model Variants

BMW 340i

Also sold as 340i xDrive

Engine: B58

Production: c. 2015–2019

Chassis: F30, F31, F34 · Sedan, Touring, Gran Turismo

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

Six-speed manual listed for the F30 Sedan (US technical data); not every body or market offered it. Confirm 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 340i

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