BMW M340i G20
2019-presentLast reviewed: March 2026 · How this report is builtMarch 2026
2019-present · 3.0L B58 turbocharged inline-6 (374 hp / 387 hp LCI)
BMW's M Performance flagship of the G20 3 Series, bridging the gap between the regular 330i and the full M3. The B58 inline-six is widely considered one of BMW's most reliable modern engines, delivering 374 hp (387 hp post-LCI) through the smooth ZF 8HP transmission. Popular with enthusiasts who want near-M3 performance with lower running costs and better daily drivability.
B58 engine is robust and proven
ZF 8HP gearbox is very smooth
Coolant system has plastic weak points
Expensive run-flat tires on 19-inch
Buy if: You want a fast, refined daily driver with a proven inline-six and can budget for BMW-level maintenance costs.
Avoid if: You want minimal maintenance costs or cannot handle occasional expensive cooling system repairs.
Expected Annual Maintenance Costs
Known Issues most common first
Plastic housing and gasket deteriorate from heat cycling, causing coolant and oil leaks · more· less
The B58 engine uses a plastic oil filter housing that is prone to cracking and gasket failure after 80,000-120,000 km. Intense engine heat degrades the housing material and the rubber gasket. When the housing cracks, coolant can leak rapidly, causing overheating within minutes. Common symptom: milky sludge under the oil cap, indicating coolant mixing with oil. BMW dealers charge around 1,500-2,000 for the repair (includes intake manifold removal). Independent shops can do it for 600-900. Aftermarket aluminum housing upgrades are available and recommended for long-term durability. This issue affects all B-series engines (B48 and B58) and BMW faces a class-action lawsuit over the defect.
Plastic coolant vent lines and hose connectors crack from heat cycling · more· less
Beyond the oil filter housing, the B58 has other coolant system weak points. The plastic coolant vent line running from the cylinder head to the expansion tank can crack. The hose connector behind the heat management module is also prone to failure due to hydrolysis and repeated heat cycles. Some owners report mysterious coolant loss with no visible puddles underneath the car. Coolant cap O-rings can also degrade, causing slow evaporation. Check coolant level weekly on B58 engines. Individual repairs cost 400-800 at an independent shop, but if multiple coolant components fail, the combined bill can reach 1,200 or more.
Solenoid O-rings degrade from heat, causing rough idle and reduced performance · more· less
The B58 VANOS system uses solenoids whose internal O-rings degrade due to high temperatures and wear. Symptoms include rough idle, sluggish throttle response, reduced power, and occasionally a check engine light with VANOS-related codes. This typically appears after 100,000-150,000 km. The solenoids themselves are relatively inexpensive (50-100 each) and accessible without lifting the engine, unlike older BMW engines. Febi or Pierburg replacement solenoids are recommended over BMW OEM parts, which are actually less durable. A competent independent shop charges 200-400 for the job. BMW dealers charge up to 600.
Electric water pump fails typically between 100,000-150,000 km · more· less
The B58 uses an electric water pump that can fail due to internal wear and bearing degradation. Failures most commonly occur between 100,000 and 150,000 km, though some owners have reported issues as early as 60,000 km. Symptoms include overheating, coolant warning light, and poor cabin heating. When the pump fails, the engine can overheat rapidly, so pull over immediately. The integrated design (pump + thermostat housing) makes the part expensive at around 400-500 for the component alone. Labor is significant due to the pump's location deep in the engine bay. Independent shop cost: 800-1,000. BMW dealer: 1,200-1,400.
Gasket degrades from heat cycles, causing oil seepage onto exhaust components · more· less
The valve cover gasket on the B58 engine degrades over time due to constant heat cycling. Leaks typically start appearing around 100,000-150,000 km. Oil seeps from under the valve cover onto hot exhaust components, producing a noticeable burning oil smell. Left unattended, the leak worsens and can contaminate other components. On the B58, the intake manifold must be partially removed for access, increasing labor time. Independent shop cost: 600-800. BMW dealer: 1,000-1,200. This is a standard wear item on BMW inline-six engines and not a sign of neglect if caught at normal mileage intervals.
Hydraulic engine mounts wear prematurely, causing vibration and clunking · more· less
The G20 M340i uses hydraulic engine mounts that are known to wear out earlier than expected, often before 100,000 km. The 374 hp inline-six produces significant torque, which stresses the mounts during hard acceleration. Symptoms include increased vibration at idle, clunking during gear changes, and a generally harsher feel. Worn mounts are common on aggressively driven examples. OEM mounts cost around 150-200 each, with a pair needed. Labor is 2-4 hours. Independent shop cost: 500-700. BMW dealer: 900-1,200. Upgraded performance mounts are available but transmit more NVH into the cabin.
Infotainment system freezes, CarPlay disconnects, ConnectedDrive failures · more· less
This is a widespread issue affecting the vast majority of G20 models with iDrive 7 (pre-LCI cars from 2019-2022). Common symptoms include the infotainment screen freezing, Apple CarPlay randomly disconnecting, ConnectedDrive services failing, and the touchscreen becoming unresponsive. BMW has released multiple software updates but no comprehensive fix exists. Workaround: hold the volume knob for 20-30 seconds to force a soft reboot. A BMW software update costs around 150-200 in labor. LCI models (2022+) with iDrive 8 are generally better but not entirely immune. This is annoying rather than mechanically serious.
Starter relay wear can cause overheating and fire risk; covered by recall · more· less
BMW issued a global recall affecting approximately 575,000 vehicles, including certain G20 3 Series models produced between July 2020 and July 2022. The starter motor's magnetic switch can develop metallic material buildup from repeated start cycles, potentially causing a short circuit and localized overheating. In rare cases, this can lead to a fire while driving. BMW dealers replace the entire starter motor free of charge under the recall. Verify completion with any BMW dealer using the VIN. This is a safety-critical recall that must be confirmed as completed before purchasing any affected vehicle.
Robust engine with known cooling system weak points
The B58 inline-six is widely regarded as one of BMW's most reliable modern engines, and many M340i examples reach high mileage with proper maintenance. The main recurring concern is the plastic cooling system components (oil filter housing, vent lines, water pump) which all tend to need attention between 80,000 and 150,000 km. These are well-understood problems with established repair procedures. Beyond the cooling system, the M340i shares typical G20 electronics quirks (iDrive freezes) and normal wear items. Pre-LCI models (2019-2022) are more prone to infotainment glitches. Sticking to the maintenance schedule, using quality oil, and monitoring coolant levels closely will prevent most serious problems.
Pre-Purchase Inspection Checklist
-
Service history
Complete BMW dealer or specialist records essential. The B58 engine relies on regular oil changes with the correct specification. Verify intervals were maintained.
-
Cold start
Start the engine completely cold. Listen for any unusual noises during the first 30 seconds. The B58 should start smoothly with minimal rattle.
-
Test drive
Drive for at least 30 minutes including highway speeds. Check for smooth gear changes, no vibration at idle, and proper boost response.
-
Tires and brakes
Check tread depth and tire age. Run-flat tires on the M340i are expensive to replace. Inspect M Sport brake pads and disc wear.
-
Check coolant level and condition
Open the coolant reservoir and check the level. Low coolant or milky/brown appearance indicates oil filter housing or head gasket issues. Check under the oil cap for emulsion.
-
Scan for fault codes (OBD-II)
The B58 and G20 electronics generate many codes. Check for VANOS, coolant, and iDrive-related faults. Cleared codes with recent patterns indicate hidden problems.
-
Inspect under the engine for oil leaks
Look at the valve cover area and oil filter housing for oil residue. Some seepage is normal on high-mileage examples, but active dripping indicates imminent repair.
Recalls and Technical Service Bulletins
Starter motor overheating / fire risk (production July 2020 - July 2022)
Critical - verify completed
Steering gear tie rod fracture risk (production Oct 2018 - July 2019)
Verify completed
Rearview camera display malfunction (various 2019-2021 production)
Verify completed
Seat belt warning audio failure (various 2019-2022 production)
Verify completed
Contact a BMW dealer with the VIN to verify all recalls have been completed. The starter motor recall (2020-2022 production) is particularly critical due to fire risk.
Warranty Status
Factory warranty (2 years, from Nov 2016: 3 years with 2+1)
Expired on most used M340i models
Extended warranty
Available through BMW dealers and third parties
Rust perforation warranty (12 years)
Active on all M340i models produced from 2019
Most used M340i models are outside their original factory warranty. BMW extended the warranty to 3 years (2+1 program) from November 2016, so all M340i models qualify for 3 years from first registration. Extended warranty packages are available through BMW dealers. The 12-year rust perforation warranty remains active on all G20 models.
How this report is built · Suggest a correction
This report is for informational purposes only and does not constitute professional advice. Estimates may be inaccurate. Always have a qualified specialist inspect the vehicle before purchase. We accept no liability for decisions made based on this information.