P0521 Code: Engine Oil Pressure Sensor/Switch Circuit Range/Performance
The P0521 code means the oil pressure sensor or switch gives a reading that is electrically valid but does not match what the computer expects. The oil pressure reading cannot be trusted. Check the oil level and confirm the real pressure with a mechanical gauge before you blame the sensor.
- Severity
- High
- Can I keep driving?
- Yes, but with caution
- Estimated cost
- $20 to $250
- Difficulty
- Medium
- System
- Computer and Outputs
- Applies to
- All OBD2 vehicles
On this page
What the P0521 code means
The oil pressure sensor warns the driver (red light or gauge) and, on many modern engines, reports to the computer so it can protect the engine or control the variable oil pump and the variable valve timing.
The sensor gets a 5 V reference and a ground from the computer and returns a signal between about 0.5 and 4.5 V. A range or performance fault, which is what the P0521 code reports, means the sensor is reading but reading wrong, or that there is a real abnormal condition.
Before you blame the sensor, always check the oil level and, if there is any doubt, measure the real pressure with a mechanical gauge. A sensor that shows low pressure may be telling the truth, and driving without pressure destroys an engine in minutes. The sensor profile pages cover how to test one.
This kind of fault rarely shows up with a multimeter, because everything looks electrically correct. You have to compare what the part says against reality: with a gauge, a thermometer, a tachometer, or by commanding the component with the scan tool and seeing whether the physical result matches the command.
P0521 code symptoms
- Check engine light on.
- Oil pressure reading that cannot be trusted.
- Oil light on or flashing.
- Pressure gauge at zero or jumping around.
Likely causes of the P0521 code
- Degraded or out-of-calibration sensor. It gives believable readings that are wrong.
- A real abnormal condition. The system really is running outside normal.
- High resistance in the connector. Corrosion shifts the reading.
- Damaged or blocked port, hose or reluctor wheel, depending on the type of sensor.
How to diagnose the P0521 code step by step
- Read the sensor value on the scan tool and compare it with what you expect.
- Inspect the connector for corrosion, water or loose pins.
- Check the supply and ground with the key on: the reference should be correct, with less than 0.1 V of voltage drop on the ground.
- Measure the signal with the connector plugged in and watch whether it changes with the condition.
- Do a wiggle test on the harness with the scan tool in graph mode.
- Check the continuity of each wire to the computer (under 1 ohm).
- Check the oil level.
- Measure the real pressure with a mechanical gauge at the sensor port.
How to fix the P0521 code
- Repair the connector or the wiring.
- Replace the sensor if the tests confirm it is bad.
- Correct the real condition if there is one.
- Clear the codes and verify with a road test.
Technical reference data
- Approximate pressure with a hot engine: 1 to 2 bar (about 15 to 29 psi) at idle and 3 to 5 bar (about 44 to 73 psi) at 3,000 rpm.
- Reference of 5 V, with a signal of about 0.5 to 4.5 V.
- These values are a general guide: check the manufacturer data for your vehicle.
Brand-specific notes
The sensor often leaks oil through its connector, so look for oil inside the plug before you condemn the wiring.
P0521 on GM
Oil leaking past the sensor into the connector is a typical failure on GM vehicles.
P0521 on Ford
Oil leaking past the sensor into the connector is a typical failure on Ford vehicles.
P0521 on Hyundai
Oil leaking past the sensor into the connector is a typical failure on Hyundai vehicles.
Questions about the P0521 code
There are no questions about this code yet. Tell us about your case: vehicle, symptoms and what you have already checked.