BMW 5er-Reihe G30/G31/F90 540d, 320 PS, 8-speed automatic, all-wheel drive (2017–2020)

Power
320 PS (235 kW)
Engine codes
B57D30B
Gearbox
8-speed automatic
Production years
2017–2020
Running cost per month
€660
Fuel
Diesel
Median price
€25,980
Reliability
3/5
DIY
2/5

Research for this car

Known issues for this car

IssueAffectsTypical kmRepair costSource
530e high-voltage battery recall530e built 20 January to 18 September 2020Not statedNo confirmed priceGeneration guide
Oil lossEngine not named; firmenauto says it shows on the newest carsNot statedNo confirmed priceGeneration guide
iDrive, phone link and assistant faultsAll G30 and G31Not statedNo confirmed priceGeneration guide
Active bonnet faultsAll 5 SeriesNot statedNo confirmed priceGeneration guide
Panoramic roof and interior creaksCars with panoramic roofNot statedNo confirmed priceGeneration guide
Harsh, delayed or jerky shiftsAll 8HP cars, worst with old fluid60,000 to 120,000 km350 to 650 USD fluid service (US, 2026)Gearbox guide
Valve body and solenoid faultsAll 8HP cars100,000 to 200,000 km without fluid changes1,800 to 2,800 USD mechatronic exchange (US, 2026)Gearbox guide
Clutch packs and bushings wearAll 8HP cars, worst on first-generation 8HP45 and 8HP70Not statedNo confirmed priceGearbox guide
Torque converter shudderAll 8HP cars180,000 to 300,000 kmNo confirmed priceGearbox guide
Connector sleeve leakAll 8HP carsAbout 129,000 to 209,000 km700 to 1,500 USD sleeve seal repair (US, 2026)Gearbox guide
Oil pan, filter and cooler-line leaksAll 8HP carsFrom 150,000 kmNo confirmed price; the pan comes with the oil serviceGearbox guide

Before you buy this car

From the generation guide

  1. 530e battery recall. If the car is a 530e built from 20 January to 18 September 2020, ask the dealer for proof that the battery recall was done. Bad result: no record of the battery work. The battery can short circuit and catch fire.
  2. Oil level. Check the oil on the dipstick when the engine is cold, and again after a drive. Ask for the record of oil top-ups. Bad result: oil added between services. No scanner is needed.
  3. iDrive and assistants. On a test drive, pair a phone, use the navigation and try the parking assist. A scanner reads stored faults. Bad result: screen dropouts, a phone that will not connect, or false tyre pressure warnings.
  4. Active bonnet. Drive for a while on a motorway. Bad result: a bonnet that trembles, or a bonnet warning on the dashboard.
  5. Panoramic roof and rear seat. Open and close the roof in cold weather and listen for creaks. Sit in the rear and check the seatbelt buckles and seat folding for rattles. Bad result: creaks, a roof that jams, or rattles on a cold start.
  6. Starter recall. Mostly facelift cars. For a car built from July 2020, check the VIN for KBA reference 16790R. Bad result: an open campaign. The fix is a starter replacement.

From the gearbox guide

  1. Read the gearbox fault memory with a BMW-capable scanner. Bad result: pressure or solenoid codes such as 4F84, 4F87, P189C or P0748, or a past limp mode.
  2. Ask for fluid and filter invoices. Bad result: no fluid change by 80,000 to 120,000 km, or a change without an adaptation reset.
  3. Drive the car from cold and select Drive and Reverse. Bad result: a hard 1-2 shift, or a delay of 1-3 seconds before the gear engages.
  4. Drive 15 minutes in town, then under load. Bad result: jerky 2-3 shifts, flaring, slipping or a burnt smell.
  5. Hold a steady light throttle at low speed. Bad result: a shudder or vibration, which points to the torque converter lock-up clutch.
  6. Look under the car on a lift. Bad result: oil at the wiring connector on the case, on the plastic pan or on the cooler lines.

Running costs

Operational€211
Workshop€201
Fixed costs (tax, insurance)€248
Total per month€660
New-car depreciation (not included)€168

ADAC figures for 15,000 km a year over 60 months

Market

Listings on mobile.de in this generation with this fuel, gearbox and power.

Find offers on mobile.de

Listings
183
25th percentile
€21,500
Median price
€25,980
75th percentile
€29,900
Median mileage
158,500 km
Median first registration
2018
Dealer share
72.7%

Check a listing

Prices by first registration

First registrationListingsMedian priceMedian mileage
202026€27,590159,000 km
201956€27,999138,000 km
201873€22,999174,000 km
201728€24,999157,099 km

Medians only for years with at least 5 listings. Many cars are first registered after production ends, so years can run past the build years.

Price history

MonthListingsMedian priceMiddle halfMedian mileage
Nov 2026183€25,980€21,500 – €29,900158,500 km
Oct 2026183€25,980€21,500 – €29,900158,500 km

Median asking price at the last snapshot of each month.

ADAC versions

All 32 ADAC versions
VersionPowerBodyDoorsProduction yearsRunning cost per month
540d xDrive Steptronic320 PSSaloon42017–2018€618
540d Sport Line xDrive Steptronic320 PSSaloon42017–2018€647
540d Luxury Line xDrive Steptronic320 PSSaloon42017–2018€647
540d M Sportpaket xDrive Steptronic320 PSSaloon42017–2018€696
540d xDrive Steptronic320 PSSaloon42018€635
540d Sport Line xDrive Steptronic320 PSSaloon42018€668
540d Luxury Line xDrive Steptronic320 PSSaloon42018€668
540d M Sportpaket xDrive Steptronic320 PSSaloon42018€710
540d xDrive Steptronic320 PSSaloon42018–2019€666
540d Sport Line xDrive Steptronic320 PSSaloon42018–2019€702
540d Luxury Line xDrive Steptronic320 PSSaloon42018–2019€702
540d M Sportpaket xDrive Steptronic320 PSSaloon42018–2019€751
540d xDrive Steptronic320 PSSaloon42019–2020€663
540d Sport Line xDrive Steptronic320 PSSaloon42019–2020€692
540d Luxury Line xDrive Steptronic320 PSSaloon42019–2020€692
540d M Sportpaket xDrive Steptronic320 PSSaloon42019–2020€737
540d Touring xDrive Steptronic320 PSEstate52017–2018€581
540d Touring Sport Line xDrive Steptronic320 PSEstate52017–2018€610
540d Touring Luxury Line xDrive Steptronic320 PSEstate52017–2018€610
540d Touring M Sportpaket xDrive Steptronic320 PSEstate52017–2018€658
540d Touring xDrive Steptronic320 PSEstate52018€598
540d Touring Sport Line xDrive Steptronic320 PSEstate52018€630
540d Touring Luxury Line xDrive Steptronic320 PSEstate52018€630
540d Touring M Sportpaket xDrive Steptronic320 PSEstate52018€672
540d Touring xDrive Steptronic320 PSEstate52018–2019€632
540d Touring Sport Line xDrive Steptronic320 PSEstate52018–2019€668
540d Touring Luxury Line xDrive Steptronic320 PSEstate52018–2019€668
540d Touring M Sportpaket xDrive Steptronic320 PSEstate52018–2019€710
540d Touring xDrive Steptronic320 PSEstate52019–2020€622
540d Touring Sport Line xDrive Steptronic320 PSEstate52019–2020€651
540d Touring Luxury Line xDrive Steptronic320 PSEstate52019–2020€651
540d Touring M Sportpaket xDrive Steptronic320 PSEstate52019–2020€693