Skip to content
MotorFiable

OtherGeneric OBD-II codeUrgency: As soon as possible

Code P0521: oil pressure: sensor signal out of range

P0521 means: engine oil pressure sensor or switch circuit: range or performance outside what is expected.[1][2][3] The control unit compares the signal from the oil pressure sensor (or switch) with the one it expects given how the engine is running. TaT describes the P0521 as a plausibility fault: the measured value is within the electrical range, but it is not consistent with what is expected. Autodoc Club says the signal falls outside the expected parameters or does not match the real engine conditions, and CarParts.com says the reading is higher or lower than anticipated. Modern cars use sensors that give a variable voltage depending on the pressure (not a simple on/off switch), and that information is also used to manage, for example, variable valve timing or a variable-displacement oil pump.[1][2][3][4]

System
Other
Urgency
As soon as possible
Stop the car as soon as it is safe to do so
Possible causes
8
sorted from most to least likely
Type
Generic
The same on all makes

14 sourcesHow we work

What code P0521 means

The control unit compares the signal from the oil pressure sensor (or switch) with the one it expects given how the engine is running. TaT describes the P0521 as a plausibility fault: the measured value is within the electrical range, but it is not consistent with what is expected. Autodoc Club says the signal falls outside the expected parameters or does not match the real engine conditions, and CarParts.com says the reading is higher or lower than anticipated. Modern cars use sensors that give a variable voltage depending on the pressure (not a simple on/off switch), and that information is also used to manage, for example, variable valve timing or a variable-displacement oil pump.[1][2][3][4]

The most important point: the code does not distinguish between a faulty sensor and genuinely low oil pressure. TroubleCodes.net explains, in its P0520 entry, that the control unit detects either genuinely low oil pressure or a fault in the switch or its circuit; AutoDTCs summarises it the same way for the P0521, with genuinely low pressure or a fault in the sensor or circuit. That is why you must check it before dismissing the warning as harmless.[5][6]

How to tell a faulty sensor from genuinely low pressure, according to the sources: first the oil level and condition are checked; if the red oil warning light is on, the engine is making noises or the engine warning light is flashing, you must act as if the pressure really were low; and the definitive test is to measure the pressure with a mechanical gauge and compare it with the manufacturer's figure. Rick's sums it up like this: if the pressure is good, the sensor is bad; TroubleCodes.net adds that if the gauge shows normal pressure and the code persists, the fault lies in the sensor or its wiring and not in the lubrication system.[2][4][7][8]

It is a generic OBD-II code (it starts with P0), so it means the same on any make; what changes from one engine to another is the normal pressure and the criteria under which it is triggered.[9]

Original definition (SAE J2012): Engine Oil Pressure Sensor/Switch Circuit Range/Performance[1][2][3]

Codes from the same family

They indicate the same problem in a specific cylinder, bank or sensor. Causes, symptoms and diagnosis are those on this page.

  • P0521Engine oil pressure sensor or switch circuit: range or performance outside what is expected.
  • P0520Engine oil pressure sensor or switch circuit: malfunction.[2][6][10]
  • P0522Engine oil pressure sensor or switch circuit: low voltage.[2][11]
  • P0523Engine oil pressure sensor or switch circuit: high voltage.[2][12]

Causes of P0521 and its family

From most to least likely, according to the sources.

  1. 1Low oil level, through consumption or a leak: it is the first cause given by most sources and the first thing to check.[1][2][4][5][7]
  2. 2Faulty oil pressure sensor or switch. Autodoc Club puts it first; other sources place it after the oil level.[1][2][4][5][7][13]
  3. 3Degraded, contaminated or incorrect-viscosity oil, or oil with sludge.[1][2][4][5][7]
  4. 4Blocked oil filter, or one that is wrong for that engine.[1][2][4][13]
  5. 5Worn or faulty oil pump, or blocked passages and pump strainer.[1][2][4][5][7][13]
  6. 6Internal engine wear that lowers the pressure.[1][4][5]
  7. 7Sensor wiring or connectors damaged by heat, corroded or with excessive resistance in the signal, 5 V supply or earth circuit.[1][2][4][5][7]
  8. 8Faulty control unit or software problems: an uncommon cause.[1][4]

Symptoms

How to diagnose P0521

In order: from the most likely and cheapest to check to the most expensive.

  1. 1First of all, check the oil level with the dipstick and the condition of the oil, and look for leaks under the engine. It is the cheapest check and the most likely cause.[1][2][7][8]
  2. 2Note how the fault presents itself. If the red oil warning light comes on, the engine warning light flashes or the engine makes abnormal noises, stop the engine and call for recovery: do not treat it as a simple sensor fault.[4][7][8]
  3. 3Read all the stored codes and the scan tool data: check whether the code is active with the engine warm and whether there are others from the same circuit (P0520, P0522 or P0523). As an example from one manufacturer, AutoDTCs describes a code that sets when the reading drops below the calibrated minimum at 1,250 rpm with the engine warm.[1][5]
  4. 4Check that the oil is of the viscosity the manufacturer specifies and that the filter is the correct one and properly fitted.[2][7]
  5. 5Do the test that settles it: fit a mechanical oil pressure gauge and compare the actual pressure with the manufacturer's figure, at idle and at around 3,000 rpm. If the pressure is good, the fault is in the sensor or the wiring; if it is low, there is a real lubrication problem (level, pump, wear) and the car must not be driven. TroubleCodes.net warns that a pressure that barely meets the minimum is a sign of engine wear, not of a faulty sensor.[2][6][7]
  6. 6Only if the actual pressure is correct, check the sensor wiring and connector (heat, deterioration, corrosion) and measure the resistance and voltage of the signal, 5 V and earth circuits. In the P0522, Autodoc Club gives 0.5 to 4.5 V as the normal range for the sensor signal.[5][7][11]
  7. 7Replace the sensor only when the actual pressure is correct and its readings are out of specification; then clear the code and check that it does not return.[2][6][7]

Can I keep driving with P0521?

As soon as possible

The P0521 may be just a faulty sensor, but the code cannot tell you, and genuinely low oil pressure can destroy the engine: AutoDTCs speaks of bearing damage within minutes. That is why the sources that give an opinion advise against continuing to drive until you know: Autodoc Club says you should not keep driving; TroubleCodes.net, that the car should not be driven until the cause is found and that you must stop immediately if the engine warning light flashes or an abnormal noise appears; AutoDTCs, that you should not drive until the pressure has been confirmed with a gauge; CarParts.com, that if the oil and engine warning lights come on together you must stop and call for recovery; and RACE, that with the red light you must stop the car as soon as possible and switch off the engine, because of the risk of seizure. The sources are not entirely unanimous: Autodoc Club, for the P0523 (high signal), allows short trips, with a quick repair and stopping immediately if there are noises, and AutoDTCs points out that if only the sensor is failing, the car shows no other symptoms. Until the actual pressure has been measured, treat it as if it were genuinely low.[1][4][5][7][8][12]

Documented faults related to P0521

Known faults of specific engines and cars, with their repair cost, the affected years and their sources.

Engine sensors: the most serious faults by engine and car

All faults with the engine sensors (29)

Oil consumption: the most serious faults by engine and car

All faults with oil consumption (48)

Big-end bearings and pistons: the most serious faults by engine and car

All faults with the big-end bearings and pistons (13)

P0521 by make

Documented faults that can trigger P0521 in each make's engines and cars.

Frequently asked questions

Can I drive with the P0521 code?

The prudent answer is not to, until you know whether the oil pressure is genuinely low. Autodoc Club says you should not keep driving, TroubleCodes.net that the car should not be driven until the cause is found, and RACE that with the red oil warning light you must stop the car and switch off the engine to avoid seizure. If the oil warning light is on, the engine warning light is flashing or the engine is making noises, stop immediately and call for recovery.[1][4][7][8]

How do I know whether it is the sensor or whether the oil pressure is really low?

The code alone does not say. Start with the oil level and condition; a red oil warning light, engine noises or a flashing engine warning light point to genuinely low pressure. The definitive test is to measure the pressure with a mechanical gauge and compare it with the manufacturer's value: if it is correct, the fault is in the sensor or its wiring; if not, it is a lubrication problem.[2][4][7][8]

What is the difference between the P0520, P0521, P0522 and P0523?

All four refer to the oil pressure sensor or switch circuit. The P0520 is a malfunction of the circuit, the P0521 is range or performance outside what is expected, the P0522 is low voltage and the P0523 is high voltage. All of them can be due either to the sensor or to genuinely abnormal pressure, and the Autodoc Club entries recommend not continuing to drive, except for the P0523.[1][2][6][10][11][12]

What does the yellow or red oil warning light mean?

According to RACE, the red light indicates a serious pressure problem and means you must stop the vehicle as soon as possible and switch off the engine; the yellow one usually warns of a low oil level, and lets you continue a short distance to reach a safe place and check the level soon. The oil warning light not coming on does not guarantee that the pressure is normal: AutoDTCs notes that it may or may not come on with this code.[5][8]

Does the P0521 mean the same on all makes?

Yes. Codes starting with P0 are generic OBD-II codes and have the same definition for all manufacturers; what changes is the normal pressure of each engine and the criteria under which the code is triggered.[9]

Will I pass the MOT with code P0521?

If the code has switched on the engine warning light, no: with that light on, the inspection records a serious defect, and on Euro 5 and Euro 6 cars the ITV (Spain's roadworthiness inspection, similar to the MOT) also reads the OBD diagnostic system. Repair the fault before you go; clearing the code just before the inspection does not help either, because it counts as a serious defect.[14]

Not sure what is wrong with your car? Describe what you notice in the symptom diagnosis or see all fault codes.

Sources

Every fact on this page links to its source. If you find an error, let us know.

  1. Código de avería P0521 - guía paso a paso para su diagnóstico y resoluciónAutodoc Club · Technical documentation · consulted 4 October 2026 · in Spanish
  2. Generic OBD-II P codes: P0500-P0599Rick's Free Auto Repair Advice · Other source · consulted 4 October 2026
  3. P0521 - Engine Oil Pressure Sensor/Switch Range/PerformanceThe Automotive Technician (TaT) · Technical documentation · consulted 4 October 2026
  4. P0521 Code: Engine Oil Pressure Sensor/Switch Range/PerformanceCarParts.com · Technical documentation · consulted 4 October 2026
  5. P0521 – Engine Oil Pressure Sensor/Switch Range/PerformanceAutoDTCs · Technical documentation · published July 2026 · consulted 4 October 2026
  6. P0520 – Engine Oil Pressure Sensor/Switch – Circuit MalfunctionTroubleCodes.net (BAT Auto) · Technical documentation · consulted 4 October 2026
  7. P0521 – Engine Oil Pressure Sensor/Switch - Range/Performance ProblemTroubleCodes.net (BAT Auto) · Technical documentation · consulted 4 October 2026
  8. ¿Qué es el testigo de aceite y cuáles son sus causas?RACE · Motoring press · published 26 May 2026 · consulted 4 October 2026 · in Spanish
  9. On-board diagnosticsWikipedia · Other source · consulted 4 October 2026
  10. Código de avería P0520 - guía paso a paso para su diagnóstico y resoluciónAutodoc Club · Technical documentation · consulted 4 October 2026 · in Spanish
  11. Código de avería P0522 - guía paso a paso para su diagnóstico y resoluciónAutodoc Club · Technical documentation · consulted 4 October 2026 · in Spanish
  12. Código OBD2 P0523: causas, síntomas y cómo corregirloAutodoc Club · Technical documentation · consulted 4 October 2026 · in Spanish
  13. Baja presión del aceite del motor: ¿por qué motivos aparece esta avería?RACE · Motoring press · consulted 4 October 2026 · in Spanish
  14. Desmontando mitos: ¿puede pasar mi coche la ITV con el testigo de «avería motor» encendido?Diariomotor · Motoring press · published 8 March 2021 · consulted 2 October 2026 · in Spanish