Common Mazda Codes: Meanings, Causes and First Checks
7 min read · by Nicole Bennett · Last updated: November 14, 2026
The common Mazda codes most owners see are P0171 and P2187 for a lean mixture, P0300 for misfires, P0420 for catalytic converter efficiency, and P0455 for a large EVAP leak. Several of them trace back to a small vacuum leak or a cooling problem.
Mazda codes are standard OBD-II codes, so the code names the system involved. The cause depends on the model, especially the difference between the naturally aspirated and turbo engines.
What the common Mazda codes have in common
Most Mazda codes in the list below point to air leaks, fuel vapor leaks, or temperature readings that never reach their normal range. These three groups cover most of the codes owners ask about. See our common Lexus codes guide for another Japanese brand.
The table summarizes the codes covered in the Mazda guide at Carcodefinder, with the first check for each one.
| Code | Meaning | First check |
|---|---|---|
| P0012 | Intake cam timing over-retarded, bank 1 | Oil level, oil condition and VVT control valve |
| P0116 | Coolant temperature sensor range or performance | Thermostat, then sensor and connector |
| P0126 | Coolant temperature too low for stable operation | Thermostat stuck partly open |
| P0171 | System too lean, bank 1 | Boost leaks, MAF sensor, fuel pump |
| P0300 | Random or multiple cylinder misfire | Spark plugs, coils, intake valve carbon |
| P0420 | Catalyst efficiency below threshold, bank 1 | Downstream oxygen sensor and exhaust leaks |
| P0451 | EVAP pressure sensor range or performance | Tank pressure sensor and canister vent valve |
| P0455 | EVAP large leak | Gas cap, then purge valve and hoses |
| P2096 | Post-catalyst fuel trim too lean, bank 1 | Rear oxygen sensor and exhaust leaks |
| P2187 | System too lean at idle, bank 1 | Intake gasket, PCV hoses and throttle body |
Lean codes: P0171, P2096 and P2187
P0171 means the computer sees too much air for the fuel on bank 1. The Mazda guide at Carcodefinder links it to a boost leak on the Mazda6 2.5 liter turbo, a dirty or failing airflow sensor, or a weak fuel pump.
P2187 is a lean reading that appears at idle. The guide names a vacuum leak at the intake manifold gasket or the PCV system, cracked intake runner vacuum lines, or a dirty throttle body as the usual causes. P2096 is different, because it measures the fuel trim after the catalytic converter. A failing rear oxygen sensor, a small exhaust leak before the converter, or a converter that is losing efficiency can set it.

A vacuum leak can cause both P0171 and P2187, so start with the hoses. Look for cracks and loose clamps on the intake side, then check the PCV hose and the vacuum lines to the intake runners.
The KBB page on P0171 says a scanner can help pinpoint where the air and fuel problem occurs, and it advises against replacing an oxygen or air-fuel sensor right away. Read the fuel trims and the freeze frame data first, then decide on the next step.
- Read the fuel trims on bank 1 and note whether the reading changes at idle or under load.
- Inspect the intake gasket area, PCV hose and runner vacuum lines for cracks.
- Clean the throttle body and the airflow sensor, then compare the idle reading with the specification for your model.
- Test the fuel pump pressure only after the air side checks pass.
Misfire and cam timing codes on Mazda engines
P0300 is a random misfire across more than one cylinder. The cause depends on the engine. Worn spark plugs are the most common starting point, while direct-injection engines such as the CX-9 2.5 liter turbo can build up carbon on the intake valves. On older MX-5 models, a failing ignition coil is the usual culprit.
P0012 means the intake cam is more retarded than the computer commands. The guide ties it to low or dirty oil, a failed VVT oil control valve, or a worn VVT actuator on turbo models that have missed oil changes. Oil condition is the first thing to check, because it affects every timing component.

Owners who see P0012 should check the oil level and the change interval before buying a new valve or actuator. Dirty oil can cause the same reading as a failed part, so a fresh oil change is a cheap test.
Temperature and EVAP codes: P0126, P0116, P0420, P0451 and P0455
P0126 and P0116 both point to a coolant temperature problem. In the Mazda guide, P0126 usually means the thermostat is stuck partly open, which is most noticeable in cold weather. P0116 can have the same thermostat cause, but it can also come from a faulty coolant temperature sensor or corroded connectors on the MX-5 Miata.
P0420 is the catalytic converter efficiency code. The guide says it usually appears between 120,000 and 180,000 miles, and it advises checking the downstream oxygen sensor and exhaust leaks before buying a converter.
P0455 and P0451 concern the fuel vapor system. P0455 is a large leak, and the first causes are a loose, missing or cracked gas cap. P0451 points to the fuel tank pressure sensor, a stuck canister vent valve or a kinked EVAP hose. Check the gas cap first, because it is the simplest fix.
How to read Mazda codes with a scanner
A basic reader gives the code, but live data shows whether the problem is still happening. Compare readings while the engine is warm and while it is idling, because some codes only set under one condition.
- Write down the code, the mileage and the freeze frame data.
- Check coolant temperature and fuel trims while the engine is warm.
- Repair the confirmed cause, clear the code and drive the car to see whether it returns.
If a code returns with the same freeze frame data, the repair did not address the fault, so return to the test that first pointed to the cause. The same routine applies in our common Toyota engine codes guide.
What repairs cost and when to see a shop
Repair cost depends on the part the tests confirm. The sources used here did not give verified prices, so this article does not state a figure. Ask the shop for a written estimate that names the tested part.
Gas cap checks, visible hose inspections and an oil level check can be done at home. Fuel pressure tests and any work on the timing system are better left to a shop with the right tools. Our common Mitsubishi codes guide covers another brand with similar checks.
Frequently Asked Questions
What is the most common Mazda code?
Lean codes such as P0171 and P2187 appear often on Mazda models, and the Carcodefinder guide lists them among the common codes. The causes include boost leaks, vacuum leaks and dirty airflow sensors, so the engine type matters.
Can a thermostat cause a Mazda code?
Yes. The guide says a thermostat stuck partly open can set P0126, and the same fault can also trigger P0116. A cold engine that takes too long to warm up is a common sign of the problem.
Does P0420 mean the converter needs replacing?
Not always. The guide advises checking the downstream oxygen sensor and exhaust leaks first. A converter is worn out only after those checks have been ruled out.
Can low oil cause a Mazda timing code?
The guide links P0012 to low or dirty oil, along with a failed VVT oil control valve and a worn VVT actuator. Checking the oil level and condition is the first step, before any part is replaced.
If a Mazda code returns after the first repair, look at the test that first pointed to the cause before you replace the next part. Many of these codes share the same root cause, such as a vacuum leak or low oil.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0038 Mazda: Find the Oxygen Sensor Heater Circuit Fault
LearnU0100 Mazda CX-5: Diagnose Lost PCM Communication and Find the Cause
LearnP0300 Mazda CX-5: Find the Cause of Random Engine Misfires
LearnP0101 Mazda CX-5: Find the Airflow Fault and Fix It
LearnP0113 Mazda CX-5: Find the Fault and Restore Accurate Air Readings
LearnAutomotive Emissions Statistics: What the Numbers Show