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
- Check engine light on
- Oil pressure warning flickers or stays on
- Small oil leak near the oil filter housing
- Engine otherwise runs normally
Common causes
- most common: Faulty or worn oil pressure sensor
- common: Damaged wiring or connector at the sensor
- common: Low oil level or wrong oil viscosity
- rare: Worn oil pump or clogged oil pickup screen
How to fix it
| Fix | DIY? | Typical cost |
|---|---|---|
| Replace the oil pressure sensor | Yes | $80โ250 |
| Repair damaged wiring or the sensor connector | Yes | $20โ150 |
| Have actual oil pressure verified with a manual gauge | Mechanic | $100โ200 |
Frequently asked questions
Other common BMW codes
P0521 on other brands
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.