Create your free account and get 10 bonus questions when you confirm your email. No card needed. Create free account

Try it free

P0521: Oil pressure: range/perf

Engine Oil Pressure Sensor Circuit Range/Performance

Severity: high

Updated: 1 Dec 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.

What it means

Code P0521 indicates that the engine control module (ECM/PCM) has detected that the signal from the engine oil pressure sensor is not consistent with what is expected. According to SAE J2012 / ISO 15031-6, it refers to the range or performance of the engine oil pressure sensor circuit. The ECU compares the reading with values expected by the manufacturer, which may depend on engine speed, oil temperature and load. If the reading stays outside the plausible band for a set period of time, the code is stored. It does not always mean the actual pressure is low: it may be caused by a faulty sensor, a wiring problem or genuinely insufficient pressure.

Can I keep driving?

Only as far as you need to, and gently.

This fault can cause serious damage or affect safety. Avoid motorways, heavy loads and high revs, and have it diagnosed as soon as possible. If the engine shakes, loses power or a red light comes on, stop where it is safe.

If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.

Got P0521? Ask about your car

Tell us your car and what you notice: we answer right here, no account needed.

How the ECU detects it

The ECU continuously compares the sensor signal with values expected for the operating conditions. The fault is confirmed if the discrepancy persists for a set period of time. The exact conditions, thresholds and confirmation times depend on the manufacturer and the software version: consult the workshop manual for your engine.

Symptoms

  • Oil pressure or engine fault warning light on.
  • Oil pressure reading fluctuating or inconsistent on the instrument cluster, if the vehicle has one.
  • Rough idle or engine stalling at idle in some cases.
  • Loss of power or limp mode on vehicles that limit performance.
  • In some cases there are no noticeable symptoms and only the code appears.

Common causes

  • Faulty oil pressure sensor or one whose reading has drifted.
  • Sensor connector or wiring with corrosion, loose contact or moisture.
  • Low oil level or very degraded oil causing abnormal readings.
  • Genuinely low oil pressure due to a worn oil pump, a blocked filter or a stuck pressure relief valve.
  • Oil leaks that reduce pressure in the circuit.
  • Problem with the earth or 5 V supply to the sensor in the wiring harness.
  • ECU fault, which is uncommon, after ruling out everything else.

What to check

  • Check the oil level and condition with the dipstick; see whether it is below the minimum, very dark or contains traces of water.
  • Visually inspect the sensor connector and the nearby wiring harness: look for bare wires, loose connectors or rust.
  • Look for visible oil leaks around the engine, the filter and the sensor itself.
  • Read the live oil pressure data with a scan tool and compare it with the pressure shown by a mechanical gauge, if the vehicle has a port for one.
  • Measure the sensor's reference voltage and earth with a multimeter, according to the manufacturer's wiring diagram.
  • Check the sensor's resistance or signal with the engine off and running, and compare it with the specifications.
  • Fit a mechanical gauge to the oil pressure test port to verify the actual pressure at different engine speeds.
  • If the actual pressure is low, check the oil pump, the relief valve and the condition of the sump and bearings.
  • Only after ruling out all of the above, consider replacing the ECU, after confirming there are no pending software updates.

Common diagnostic mistakes

  • Replacing the sensor without first measuring the actual pressure with a mechanical gauge.
  • Relying only on the scan tool reading without checking the oil level and condition.
  • Ignoring a small oil leak, which may be the real cause of the low pressure.
  • Replacing the ECU without having ruled out the sensor's wiring and earth.
  • Thinking that, once the code is cleared, the problem has gone, when it may return as soon as the same conditions recur.

Typical repairs

From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.

  • Top up the oil level with the recommended type and check for visible leaks.
  • Clean or repair the sensor connector and replace damaged wiring.
  • Replace the oil pressure sensor.
  • Change the oil filter and the oil if it is degraded.
  • Repair leaks at gaskets, seals or plugs in the lubrication circuit.
  • Check or replace the oil pressure regulator valve.
  • Replace the oil pump if the actual pressure is outside specification.
  • Repair internal engine damage caused by lack of lubrication, in the most serious case.

Frequently asked questions

Can I keep driving with code P0521 and the oil pressure light on?

It is not advisable to keep driving. If the oil pressure light also comes on, there may be genuinely insufficient pressure, which can cause serious engine damage in a short time. Pull over somewhere safe, stop the engine and check the oil level with the dipstick. Do not restart if the level is low without topping up with the correct type of oil. Take the vehicle to a garage as soon as possible and avoid driving more than absolutely necessary.

Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).

General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.

Related codes

  • P0520 Indicates a fault in the oil pressure sensor circuit, whereas P0521 points to the range or performance of the reading.
  • P0522 Signals a low voltage in the oil pressure sensor circuit, and usually points to wiring or earth.
  • P0523 Signals a high voltage in the oil pressure sensor circuit, with possible causes in the wiring or in the sensor itself.

More codes: speed, idle control and auxiliary inputs

All OBD codes in English