P0521 on a BMW: Causes, Fixes & Repair Cost

๐ŸŸ  Moderate severity ยท drivable

Drive only after checking the oil level and verifying real oil pressure, because actual low pressure can destroy a BMW engine quickly.

What P0521 means on a BMW

On a BMW, P0521 means the oil pressure sensor is sending a signal that doesn't match what the engine computer expects at the current RPM. A failing sensor often reads erratically or out of range even when real oil pressure is fine. On many BMW engines the sensor sits near the oil filter housing and can fail or leak as it ages.

Is P0521 common on BMWs?

P0521 shows up on BMWs with N-series and earlier engines, where the oil pressure sensor is a known wear item, and it's most often seen on higher-mileage 3 Series and 5 Series cars. Because real low oil pressure can wreck the engine, BMW shops confirm the actual pressure with a manual gauge before blaming the sensor.

Commonly reported on: 3 Series, 5 Series, X3, X5.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Replace the oil pressure sensorYes$80โ€“250
Repair damaged wiring or the sensor connectorYes$20โ€“150
Have actual oil pressure verified with a manual gaugeMechanic$100โ€“200

Frequently asked questions

Can I drive my BMW with a P0521 code?
Only after checking the oil level and confirming the engine has real oil pressure. If the oil pressure warning stays on, stop the engine and get it towed.
Is the oil pressure sensor a common failure on BMWs?
Yes. The sensor on many BMW engines is a known wear item, and it can fail or leak with age, which sets P0521 even when oil pressure is fine.
How much does it cost to fix P0521 on a BMW?
Replacing the sensor usually runs about $80โ€“$250, plus an hour or two of labor at a shop. Confirming real oil pressure with a gauge adds about $100โ€“$200.

Other common BMW codes

P0420
P0420 on a BMW
P0171
P0171 on a BMW
P0300
P0300 on a BMW
P0456
P0456 on a BMW
P0430
P0430 on a BMW
P0128
P0128 on a BMW
P0455
P0455 on a BMW
P0174
P0174 on a BMW

P0521 on other brands

Toyota
P0521 on a Toyota
Honda
P0521 on a Honda
Ford
P0521 on a Ford
Chevy
P0521 on a Chevy
Nissan
P0521 on a Nissan
Mercedes-Benz
P0521 on a Mercedes-Benz
Volkswagen
P0521 on a Volkswagen
Hyundai
P0521 on a Hyundai
Subaru
P0521 on a Subaru
Mazda
P0521 on a Mazda
Jeep
P0521 on a Jeep
GMC
P0521 on a GMC
Lexus
P0521 on a Lexus
Volvo
P0521 on a Volvo

Looking for the full (non-brand-specific) guide? See the P0521 code page โ†’

Browse all BMW codes: BMW hub โ†’

Updated 2026-08. This page is informational and not a substitute for professional diagnosis.