P0521 on a Subaru: Causes, Fixes & Repair Cost

๐ŸŸ  Moderate severity ยท drivable

Check the oil level before driving, and stop the engine immediately if the oil pressure warning stays on.

What P0521 means on a Subaru

On a Subaru, P0521 means the oil pressure sensor is reporting a reading outside the range the engine computer expects. The sensor sits on top of the boxer engine near the alternator and can fail or develop a small leak. Subaru's computer sets the code when the pressure reading does not track engine speed the way it should.

Is P0521 common on Subarus?

P0521 shows up on older Subarus, especially Outbacks and Foresters with EJ and FB engines, where the oil pressure sensor is a known wear item and a leaking sensor is common because it sits in a hot, oily spot. Subaru engines also have a reputation for oil consumption, so the oil level should be checked whenever this code appears.

Commonly reported on: Outback, Forester, Impreza, Crosstrek.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Replace the oil pressure sensorYes$70โ€“200
Check and top up the engine oilYes$10โ€“50
Verify real oil pressure with a manual gaugeMechanic$80โ€“200

Frequently asked questions

Can I drive my Subaru with a P0521 code?
Only after checking the oil level and making sure the oil pressure warning is off. If the warning stays on, stop the engine and get it towed.
Is the oil pressure sensor a common failure on Subarus?
Yes. The sensor on EJ and FB engines is a known wear item, and it often fails or leaks as it ages, which sets P0521 even when oil pressure is normal.
How much does it cost to fix P0521 on a Subaru?
The sensor usually costs about $70โ€“$200 with parts and labor. Verifying real oil pressure with a gauge first runs about $80โ€“$200.

Other common Subaru codes

P0420
P0420 on a Subaru
P0171
P0171 on a Subaru
P0300
P0300 on a Subaru
P0456
P0456 on a Subaru
P0430
P0430 on a Subaru
P0128
P0128 on a Subaru
P0455
P0455 on a Subaru
P0174
P0174 on a Subaru

P0521 on other brands

Toyota
P0521 on a Toyota
Honda
P0521 on a Honda
Ford
P0521 on a Ford
Chevy
P0521 on a Chevy
Nissan
P0521 on a Nissan
BMW
P0521 on a BMW
Mercedes-Benz
P0521 on a Mercedes-Benz
Volkswagen
P0521 on a Volkswagen
Hyundai
P0521 on a Hyundai
Mazda
P0521 on a Mazda
Jeep
P0521 on a Jeep
GMC
P0521 on a GMC
Lexus
P0521 on a Lexus
Volvo
P0521 on a Volvo

Looking for the full (non-brand-specific) guide? See the P0521 code page โ†’

Browse all Subaru codes: Subaru hub โ†’

Updated 2026-08. This page is informational and not a substitute for professional diagnosis.