P0520: Engine Oil Pressure Sensor/Switch A Circuit

Updated November 21, 2026

The oil pressure sensor (or switch) tells the engine computer and the dashboard whether the engine has oil pressure. P0520 means the computer found an electrical problem in that sensor's circuit, such as a missing, shorted or out-of-range signal. The code itself is about the sensor circuit, but while it's set you can't trust the oil pressure gauge or warning light, so real low oil pressure has to be ruled out.

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 until real oil pressure has been confirmed; have it towed if needed, 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, get it 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 on the dipstick.
  3. Scan for other codes; several sensor codes at once suggest a shared reference or ground problem.
  4. With the engine off, find the oil pressure sensor (usually on the block, oil filter housing or near the oil filter) and inspect the connector and wiring for damage, corrosion or oil inside the connector.
  5. A shop can confirm actual oil pressure with a mechanical gauge in place of the sensor. That 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.

Some engines have both an oil pressure switch for the warning light and a separate sensor for the gauge; make sure you replace the one the code refers to.

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 P0520 mean?

P0520 is the generic OBD2 code for "Engine Oil Pressure Sensor/Switch A Circuit." The oil pressure sensor (or switch) tells the engine computer and the dashboard whether the engine has oil pressure. P0520 means the computer found an electrical problem in that sensor's circuit, such as a missing, shorted or out-of-range signal. The code itself is about the sensor circuit, but while it's set you can't trust the oil pressure gauge or warning light, so real low oil pressure has to be ruled out.

Is it safe to drive with P0520?

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 until real oil pressure has been confirmed; have it towed if needed, 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, get it checked soon.

How do I check P0520 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 on the dipstick. Scan for other codes; several sensor codes at once suggest a shared reference or ground problem. With the engine off, find the oil pressure sensor (usually on the block, oil filter housing or near the oil filter) and inspect the connector and wiring for damage, corrosion or oil inside the connector. A shop can confirm actual oil pressure with a mechanical gauge in place of the sensor. That 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.