Mazda P0304 Error Code: How to Fix It

Medium 2-4 hours High Severity Verified June 2026
Error Code
P0304
Brand
Mazda
Product Type
automotive
Severity
High
DIY Difficulty
Medium
Estimated Fix Time
2-4 hours
The P0304 error code indicates a misfire in cylinder 4 of your Mazda engine. This means the air-fuel mixture in cylinder 4 isn't igniting properly, causing rough idling, reduced power, and potential engine damage if left untreated.
Ad

Tools You'll Need

How to Fix Error Code P0304

  1. Scan and Clear Codes

    Ensure the engine is off and the parking brake is engaged before connecting the scanner.
  2. Inspect Spark Plug for Cylinder 4

    Allow the engine to cool completely before removing spark plugs to prevent burns and thread damage.
  3. Test Ignition Coil

  4. Check Fuel Injector

    Keep hands and tools away from moving engine parts while the engine is running.
  5. Perform Compression Test

    Disable the fuel system and ignition system before performing compression test.
  6. Clean Carbon Buildup (2.5L Skyactiv)

    Follow all chemical cleaner instructions carefully and ensure proper ventilation.
  7. Check Engine Timing

    Timing system repairs require precise alignment - consider professional service for complex timing issues.

Parts You May Need

Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Engine oil and filter
Check Price on Amazon
Top engine cleaner
Check Price on Amazon
Ad

When to Call a Professional

Call a professional mechanic if compression test shows low readings (indicating internal engine damage), if timing chain issues are suspected, or if carbon cleaning doesn't resolve the misfire. Complex fuel system problems and engine internal repairs require specialized equipment and expertise.

Frequently Asked Questions

Can I drive my Mazda with P0304 code?
You should avoid driving with P0304 as it can damage the catalytic converter and cause further engine problems. If you must drive, do so gently and get it diagnosed immediately.
How much does it cost to fix P0304 in a Mazda?
Repair costs vary: spark plug replacement ($20-100), ignition coil ($150-300), fuel injector cleaning ($100-200), or carbon cleaning ($300-800). Severe engine damage can cost $2000+.
Why do Mazda 2.5L engines get P0304 frequently?
Mazda's direct injection 2.5L Skyactiv engines are prone to carbon buildup on intake valves, which can cause misfires. Regular carbon cleaning every 30,000-50,000 miles helps prevent this issue.
Will P0304 code clear itself?
The P0304 code may clear temporarily but will return if the underlying misfire issue isn't fixed. The engine computer needs several drive cycles without misfires to permanently clear the code.
What causes cylinder 4 to misfire more than others?
Cylinder 4 location can make it more susceptible to heat buildup, carbon deposits, or fuel delivery issues depending on engine design. It's not necessarily more prone - any cylinder can develop misfires.