BMW 540i2017–20233.0L Straight-Six Turbo (B58)

BMW 540i Engine Replacement —Compare Prices &
Get Quotes

Get quotes today from trusted UK BMW 5 Series specialists. Compare reconditioned, rebuilt and used B58 3.0-litre turbo engines — supply & fit available nationwide.

  • Supply &Fit Available
  • 12-MonthWarranty
  • NationwideDelivery
  • 20+Specialists

BMW 540i Engines — from £3,500 to £10,500Common code: B58B30

  • Instant Quotes
  • No Obligation
  • 100% Free
  • Reconditioned
  • Rebuilt
  • Used
  • Supply & Fit Available
  • UK-Wide Network

The 540i Through Time — Era Map

One generation. One era. One guide to reliability, costs and what really matters.

Era Note

One engine throughout this badge's history — no era ambiguity.

Why use this era map?

Every cost guide, reliability rating and engine code on this page is aligned to the data above. This keeps everything consistent and trustworthy.

  • Real UKCost Data
  • VerifiedReliability
  • ExpertInsights
  • Updated for2025

BMW 540i Engine Replacement Costs

  • Supply Only£4,500 – £8,000
  • Fitted (Indie)£5,800 – £9,500
  • Warranty12–24 months
  • Best ForMost owners — best cost/warranty balance

Figures above reflect the B58 3.0-litre turbo petrol engine. Used B58 engines typically sit in the £5,000–£8,000+ band. Newer B58 engines often sit in the £5,500–£7,500 band.

Labour estimate: Fitting a 540i engine typically takes 12–16 hours at £70–£100/hr (independent) or £120–£180/hr (London/SE dealer).

Compare 540i engine prices from UK specialists

Common Problems With BMW 540i Engines

1. Oil Filter Housing Leaks

  • Symptoms: Oil spots under the car, burning oil smell from the engine bay, low oil level warning, visible oil residue around the oil filter housing area, coolant loss without visible external leaks (indicating internal seal failure causing oil and coolant to mix).

  • Typical Mileage: 60,000–100,000 miles (around 8 years)

  • Repair Cost: £500–£1,200 (oil filter housing replacement)【PLACEHOLDER — confirm vs cost sheet】

  • Replacement Cost: N/A — repair only

  • Urgency: Immediate — if oil and coolant mix, catastrophic engine failure can occur

Our recommendation:

The B58's oil filter housing is made of brittle plastic and is prone to cracking and leaking. If the housing fails internally, oil and coolant can mix — a potentially catastrophic failure. Many owners of older B58s have experienced a leaky oil filter housing. If you notice oil spots or a burning smell, have the oil filter housing inspected promptly. An aftermarket metal housing upgrade is available for a permanent fix.

Ready to Compare?

Get Matched With a Vetted BMW Specialist

20+ vetted BMW specialists, every 540i B58 era covered, with a 12-month warranty as standard.

Get My Free 540i Engine Quotes Now

540i — Repair, Buy, or Replace?

Not every issue means a new engine.Here’s what can be repaired, when it makes sense, and what to check before you buy.

Can It Be Repaired?

ProblemRepairable? · Typical Cost

Oil filter housing leak

Yes£500 – £1,200

Well-understood fix; aftermarket metal housing available

PCV diaphragm failure

Yes£200 – £500

Affordable repair kit; far cheaper than valve cover replacement

Water pump failure

Yes£400 – £900

Straightforward fix; upgraded parts available

Thermostat failure

Yes£300 – £600

Often replaced with water pump

VANOS solenoid wear

Yes£200 – £500

Simple repair; part of routine maintenance

Buying This 540i? Check These First

Buy if:

  • Full BMW service history with evidence of regular oil changes using BMW LL-01 approved oil — frequent oil services every 5k miles are ideal
  • Oil filter housing inspected or replaced with upgraded metal unit
  • Cooling system service records (water pump, thermostat replaced)
  • No rough idle, whistling, or smoke on startup

Avoid if:

  • Oil leaks with no documented oil filter housing inspection or replacement
  • Coolant loss with no cooling system service records
  • Rough idle or whistling from the engine (PCV diaphragm warning)
  • Engine warning light with no diagnosis

Closing verdict

The 540i's B58 is one of BMW's finest modern engines — a genuinely robust, powerful, and tunable straight-six that represents a significant step forward from the N55. It's not bulletproof — oil filter housing leaks, PCV diaphragm issues, and water pump failures are the price of entry — but these are well-understood, manageable fixes. The closed-deck block design, forged internals, and better cooling make it far more robust than many have expected. Buy on documented history, not on faith. A well-maintained 540i is a £25,000–£40,000 future classic; a neglected one is a £7,000 engine replacement waiting to happen.

Don’t Guess. Compare.

Get real quotes from vetted UK specialists and make the right call for your 540i.

Compare 540i engine prices before you buy
  • 20+ Vetted SpecialistsUK Network
  • 12-Month Warrantyas Standard
  • Nationwide Delivery& Collection
  • Transparent PricingNo Hidden Fees
  • Thousands of 540iOwners Helped

Buying Checklist

Before you buy a used BMW 540i (or before you commit to an engine replacement), check these:

  1. 1. Cold Start

    Listen for rough idle, whistling, or smoke (PCV diaphragm warning)

  2. 2. Service History

    Including the B58 era (2017–2023) and confirmed oil-change intervals using BMW LL-01 approved oil — ideally every 5k miles

  3. 3. Oil Leak Check

    Any history of oil leaks? (oil filter housing is a known weak point)

  4. 4. Coolant Check

    Any history of coolant loss or water pump/thermostat replacement?

  5. 5. Smoke Check

    White or blue smoke on startup can indicate PCV or turbo issues

  6. 6. VANOS Operation

    Any hesitation, rough idle, or loss of power? (VANOS solenoid warning)

  7. 7. Engine Warning Light

    Have codes been read? Any unresolved VANOS, cooling system, or PCV issues?

  8. 8. MOT History

    Check for emissions-related failures

Why this matters

A 10-minute check now can save you thousands later. The right 540i is a superb long-term car — the wrong one can be expensive fast.

Engine Codes

This table's rows match Section 1B's Era Map exactly.

B58B30 (3.0L Straight-Six Turbo)

B58B30 (3.0L Straight-Six Turbo)

Years
2017–2023
Power
340 PS (250 kW) @ 5,500 rpm · 450 Nm @ 1,380–5,200 rpm
2025 Enquiries
—(pattern data)
Avg. Recon Cost
£4,500–£8,000[PLACEHOLDER]

Technical SpecsB58B30

Displacement
2,998 cc
Cylinders
Straight-6, 4 valves per cylinder, DOHC
Compression Ratio
11.0:1
Fuel System
Direct injection
Turbocharger
Single twin-scroll turbocharger with air-to-liquid intercooler
Valvetrain
VALVETRONIC with Double VANOS
Compare 540i engine prices for your BMWGet quotes from trusted UK specialists in minutes.

Market Intelligence

Real data from thousands of 540i enquiries in 2025.

Most Common FailureOil filter housing leaks

The B58's most notable weakness

Average Enquiry Mileage

55,000–85,000

miles

[PATTERN DATA]

Average Replacement Cost

£4,500–£8,000

reconditioned, supply only

[PLACEHOLDER]

Most Requested Engine Code

B58B30

[PATTERN DATA]

Peak Enquiry Season

Winter

Cold starts expose PCV and cooling system issues

[PATTERN DATA]

Regional Demand

London
20%
South East
18%
North West
12%
Other Regions
50%
[PATTERN DATA]

Regional Demand Breakdown

20%London18%South East12%North West50%Other Regions

Frequently Asked Questions

Disclaimer: All prices are indicative UK market ranges based on historical quote data from our network of engine specialists.
Actual costs vary by variant, engine code, damage severity and workshop location. Use our free comparison tool to get tailored quotes.
Every engine supplied through EnginesMarket carries a minimum 12-month unlimited-mileage warranty — always confirm terms with your chosen supplier.

Why UK BMW 540i Owners Trust BMWEngines.uk

  • Trusted 540i B58 Suppliers

    every garage and engine rebuilder in our network is vetted, rated and reviewed by real 540i owners, as part of the Engine Finders network, covering the entire G30 B58 era from 2017 to 2023.

  • Compare 540i Engine Replacement Companies

    see prices, warranty terms and supply & fit options side-by-side before you commit, across every 5 Series that left the factory with this powerful 3.0-litre straight-six.

  • UK Engine Replacement Services for 540i

    supply-only or full supply & fit available nationwide, covering the full G30 production run — and we're vetted across every era of this badge.

Find the best BMW 540i engine replacement UK drivers rely on.

Compare prices from trusted specialists on EnginesMarket today and get your 5 Series back on the road with confidence.

Compare BMW 540i Engine Prices Now