P0304 on a Mazda: Causes, Fixes & Repair Cost

🟠 Moderate severity · drivable

A steady light usually means you can drive a short distance, but a flashing light means the misfire is severe — pull over and get the Mazda towed.

What P0304 means on a Mazda

On a Mazda, P0304 means the engine computer found that cylinder 4 is misfiring — it is not burning fuel on schedule. Mazda's SkyActiv engines run high compression and monitor each cylinder closely, so the computer can pinpoint the exact cylinder. The fault is almost always in cylinder 4's own spark plug, ignition coil, or fuel injector.

Is P0304 common on Mazdas?

P0304 shows up on Mazdas with coil-on-plug ignition, especially the Mazda3, Mazda6, and CX-5. Worn spark plugs and failing ignition coils are the usual causes; on SkyActiv engines spark plugs are typically due around 75,000 miles. A faulty fuel injector is less common but possible on direct-injection models.

Commonly reported on: Mazda3, Mazda6, CX-5, CX-9.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Replace the spark plugsYes$50–150
Replace the cylinder 4 ignition coilYes$60–180
Swap the coil with another cylinder to confirm the fault before buying a new oneYes$10–30
Replace the fuel injector on cylinder 4Mechanic$250–600

Frequently asked questions

Can I drive my Mazda with a P0304 code?
Only if the light is steady and the engine runs okay. A flashing light means a severe misfire, so stop driving to protect the catalytic converter.
What usually causes P0304 on a Mazda?
A worn spark plug or a failing ignition coil on cylinder 4. On high-mileage SkyActiv engines, the plugs and coils tend to wear out together.
How much does it cost to fix P0304 on a Mazda?
Spark plugs run about $50 to $150 and a single coil about $60 to $180. An injector replacement costs more, usually $250 to $600.

Other common Mazda codes

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

P0304 on other brands

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

Looking for the full (non-brand-specific) guide? See the P0304 code page →

Browse all Mazda codes: Mazda hub →

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