P0521 on a Mercedes-Benz: Causes, Fixes & Repair Cost
๐ Moderate severity ยท drivable
Drive only after checking the oil level, and stop immediately if the oil pressure warning comes on, since real low pressure can damage the engine.
What P0521 means on a Mercedes-Benz
On a Mercedes-Benz, P0521 means the oil pressure sensor's signal is out of the expected range for the current engine speed. The sensor's reading is compared against engine conditions, and the computer flags the code when they don't line up. Many Mercedes engines use an integrated oil pressure and level monitoring system, so electrical faults in that area can set this code.
Is P0521 common on Mercedes-Benzs?
P0521 is most often seen on older C-Class and E-Class models with the M271 and M272 engines, where the oil pressure sensor can fail or develop a small leak. It is less common on newer models with updated monitoring systems. Mercedes technicians verify real oil pressure with a gauge because a genuine low-pressure condition is far more serious than a bad sensor.
Commonly reported on: C-Class, E-Class, GLK, GLC.
Symptoms
- Check engine light on
- Oil pressure warning appears on the dash
- Small oil leak near the sensor
- Engine runs normally otherwise
Common causes
- most common: Faulty 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
How to fix it
| Fix | DIY? | Typical cost |
|---|---|---|
| Replace the oil pressure sensor | Yes | $120โ300 |
| Repair the sensor wiring or connector | Yes | $30โ200 |
| Have real oil pressure verified with a manual gauge | Mechanic | $100โ250 |
Frequently asked questions
Other common Mercedes-Benz codes
P0521 on other brands
Looking for the full (non-brand-specific) guide? See the P0521 code page โ
Browse all Mercedes-Benz codes: Mercedes-Benz hub โ
Updated 2026-08. This page is informational and not a substitute for professional diagnosis.