P0521: Engine Oil Pressure Sensor/Switch A Range/Performance

Updated November 21, 2026

The engine computer compares the oil pressure sensor reading with what it expects for the engine's speed and temperature. P0521 means the reading doesn't make sense, for example pressure that's too low, too high, or doesn't change with RPM. Unlike a circuit code, this can be caused by real low oil pressure, so it should be taken seriously until a faulty sensor is proven.

COMPZA may earn a commission when you buy through links on this page, at no extra cost to you. How we make money.

🔧 Want to check this yourself? An OBD2 scanner reads the code; models with live data also show the sensor readings used in the checks below. See code readers and scanners from $24.99 ↓ · Which scanner do I need?

Common causes

Code meanings can vary slightly by manufacturer. Use these as a starting point and confirm with your vehicle's service information or a mechanic before replacing parts.

Symptoms

Is it safe to drive?

Check the oil level right away. If the oil pressure warning light is on, the gauge reads low, or the engine is ticking or knocking, shut it off and don't drive it; have it towed, because running without oil pressure can destroy the engine within minutes. If the oil level is correct, the engine sounds normal and only the check engine light is on, drive gently and get oil pressure checked soon.

How to check it with a scanner

  1. Plug an OBD2 scanner into the port under the dashboard and read all stored codes and the freeze-frame data (the conditions when the code set).
  2. With the engine off and cool, check the oil level and condition, and find out when the oil was last changed.
  3. If the oil is low or overdue, change the oil and filter with the viscosity your owner's manual specifies, then clear the code and see whether it returns.
  4. In live data, watch the oil pressure reading at idle and as RPM rises; a reading that doesn't change at all points toward the sensor.
  5. A shop should confirm actual oil pressure with a mechanical gauge before you replace the sensor. That test needs the engine running, so if you watch, keep hands clear of belts and the fan.
  6. After a repair, clear the code and drive normally for a few days to confirm it doesn't come back.

A basic code reader shows the code; scanners with live data let you watch sensor readings, which is what you need for most of the checks above. See OBD2 scanners under $100.

Code readers and scanners in stock

From partner stores' live product feeds. Check that the tool covers your vehicle's make, model and year on the retailer's page before you buy.

Affiliate links. AUTELOnline prices updated Dec 4, 5:23 PM EST · LAUNCH X431 Online prices updated Dec 4, 5:35 PM EST.

Use the oil viscosity and specification listed in your owner's manual; the wrong oil can set this code on some engines.

Search eBay for your vehicle

Affiliate links: COMPZA may earn a commission from qualifying eBay purchases at no extra cost to you. Add your vehicle in eBay's parts finder to see parts that fit.

Questions

What does P0521 mean?

P0521 is the generic OBD2 code for "Engine Oil Pressure Sensor/Switch A Range/Performance." The engine computer compares the oil pressure sensor reading with what it expects for the engine's speed and temperature. P0521 means the reading doesn't make sense, for example pressure that's too low, too high, or doesn't change with RPM. Unlike a circuit code, this can be caused by real low oil pressure, so it should be taken seriously until a faulty sensor is proven.

Is it safe to drive with P0521?

Check the oil level right away. If the oil pressure warning light is on, the gauge reads low, or the engine is ticking or knocking, shut it off and don't drive it; have it towed, because running without oil pressure can destroy the engine within minutes. If the oil level is correct, the engine sounds normal and only the check engine light is on, drive gently and get oil pressure checked soon.

How do I check P0521 myself?

Read the code and freeze-frame data with an OBD2 scanner, then: With the engine off and cool, check the oil level and condition, and find out when the oil was last changed. If the oil is low or overdue, change the oil and filter with the viscosity your owner's manual specifies, then clear the code and see whether it returns. In live data, watch the oil pressure reading at idle and as RPM rises; a reading that doesn't change at all points toward the sensor. A shop should confirm actual oil pressure with a mechanical gauge before you replace the sensor. That test needs the engine running, so if you watch, keep hands clear of belts and the fan.

Related codes

📬 Get the weekly deals email

One email a week with the best current deals from our partner stores: home, kitchen, tech, car and gifts. No spam, unsubscribe anytime.

Emails include affiliate links; COMPZA may earn a commission at no extra cost to you. See our privacy policy.