Skip to main content

P0304 Engine Code: Causes, Symptoms & How to Fix It

Key Takeaways

  • Ford, Toyota, Honda, Nissan, and GM all have bulletins that list a P0304 engine code, including a valvetrain check on GM V8s where cylinder 4 is an AFM cylinder.
  • Common symptoms include rough idling, hesitation, reduced power, hard starting, increased fuel consumption, and a flashing Check Engine Light.
  • Test the spark plug, ignition coil, injector, wiring, air supply, and compression in a logical order before replacing parts.

What Does the P0304 Engine Code Mean? Everything You Need to Know for a Quick Diagnosis

The P0304 engine code reads “Cylinder 4 Misfire Detected.” The PCM sets this code when it detects irregular crankshaft-speed changes during the combustion cycle, indicating that cylinder 4 is not producing its expected torque. 

The fault can result from incomplete or unstable combustion, even when the engine continues running.

Top symptoms include rough idling, hesitation, reduced power, and a flashing or steady Check Engine Light. The most common causes are a worn spark plug, a failing ignition coil, or damaged ignition wiring. A quick fix is to swap the cylinder 4 coil with another cylinder and replace the part that shows the misfire.

The table below provides a quick overview of the P0304 engine code and key diagnostic details.

P0304 at a glanceDetails
DefinitionP0304 cylinder 4 misfire detected
What it meansThe PCM detected irregular crankshaft-speed changes during the combustion cycle, indicating that cylinder 4 is not producing its expected torque.
Common causesWorn spark plug, failing ignition coil, or damaged ignition wiring.
First checkCheck the cylinder 4 spark plug, coil, connector, and wiring.
Quick fixSwap the cylinder 4 coil with another cylinder. If the misfire moves, replace the coil. If it stays, inspect and replace the plug, then retest. 
Can you drive?Avoid driving with a flashing Check Engine Light. Diagnose and repair the misfire promptly.

What Causes the P0304 Code?

The P0304 code can result from an interruption in ignition spark, fuel delivery, cylinder compression, air supply, or control signals specific to cylinder 4. Diagnosing the fault requires testing the ignition coil, spark plug, fuel injector, intake vacuum integrity, mechanical cylinder compression, and electrical circuits in order of likelihood.

Faulty spark plug or ignition coil in cylinder 4

A worn, fouled, cracked, or incorrectly gapped spark plug can weaken the spark in cylinder 4. Oil or coolant contamination may also cause the plug to misfire.

A failing ignition coil, damaged coil boot, loose connector, or poor electrical terminal can create the same symptom.

Clogged or malfunctioning fuel injector

A restricted injector may not deliver enough fuel to cylinder 4. A stuck-open injector can create an overly rich mixture, foul the spark plug, or cause poor combustion.

Vacuum leaks or intake manifold problems

A vacuum leak near cylinder 4 can create a lean mixture that affects that cylinder more than the others. Possible sources include a damaged intake manifold gasket, a cracked vacuum hose, a leaking PCV connection, or a deteriorated throttle-body gasket.

Check fuel trims at idle and under load. A large positive fuel-trim correction at idle that improves at higher RPM can support a vacuum-leak diagnosis, but always interpret fuel-trim data with other test results.

Low compression or internal engine damage

Cylinder 4 may misfire when it cannot build adequate compression. Possible causes include a burned valve, worn piston rings, a damaged piston, a failed head gasket, or incorrect valve clearance.

Faulty wiring, sensor signals, or engine timing issues

Open circuits, high resistance, poor grounds, or damaged wiring can interrupt the ignition or injector signal. Faulty crankshaft or camshaft sensor signals may also disrupt ignition timing and fuel delivery.

Timing-chain or timing-belt problems can cause valve timing errors and multiple misfire codes. Follow the vehicle-specific wiring diagrams and service procedures before replacing a control module or sensor.

How Serious Is the P0304 Engine Code?

The severity of a P0304 code depends on whether the misfire is active, intermittent, or severe enough to trigger a flashing Check Engine Light. 

A steady light usually indicates a stored or intermittent fault. The vehicle may remain drivable, but you should still diagnose the misfire soon. A flashing light generally indicates an active misfire severe enough to overheat and damage the catalytic converter.

How to Diagnose the P0304 Code

Diagnosing a P0304 code requires a step-by-step process of elimination, starting with scan tool data and progressing through physical component testing.

Save stored, pending, and history codes before clearing anything. Review engine speed, load, coolant temperature, fuel trims, misfire counters, and the conditions present when the code set.

Check for codes such as P0300, P0301, P0302, P0303, fuel-trim codes, injector codes, and camshaft or crankshaft correlation codes. These can change the diagnostic order.

Use Mode $06 data or cylinder-specific misfire counters when available.

Inspect the cylinder 4 spark plug and ignition coil

Confirm the cylinder layout using the vehicle’s service information. Inspect the cylinder 4 spark plug, boot, coil, connector, and wiring for:

  • Fouling, wear, cracks, or incorrect gap
  • Oil or coolant contamination
  • Carbon tracking on the boot
  • Damaged insulation
  • Loose, pushed-back, or corroded terminals
  • Moisture or evidence of arcing

If the component design allows it, swap the cylinder 4 coil or spark plug with another cylinder. Clear the codes, run the vehicle under the same conditions, and check whether the misfire moves.

Test fuel injector operation and electrical connections

Check for injector pulse, power supply, ground control, and proper connector fit. Compare cylinder 4’s injector current pattern or resistance with the other injectors when the manufacturer’s procedure permits this test.

If the injector is receiving the correct electrical signal, check for mechanical restriction or leakage. Do not assume an injector is faulty solely because the cylinder is misfiring.

Perform engine compression and leak-down tests

Disable fuel and ignition as required by the service procedure. Test all cylinders under the same conditions and compare cylinder 4 with the others.

Low compression requires further investigation. Perform a leak-down test to determine whether the loss is through the intake valve, exhaust valve, piston rings, head gasket, or another internal component.

Check for vacuum leaks and abnormal engine sensor readings

Inspect the intake manifold, vacuum hoses, PCV system, throttle body, and nearby gaskets. Use an approved smoke test when a visual inspection does not identify the leak.

Review manifold absolute pressure (MAP), mass airflow (MAF), oxygen sensor, air-fuel ratio sensor, coolant temperature, and fuel-trim data. Compare sensor readings with the vehicle’s specifications and the conditions under which the misfire occurs.

How to Fix the P0304 Engine Code

How do I fix code P0304? Repair or replace the specific component that failed during diagnostic testing. Resolution typically involves replacing the cylinder 4 spark plug or ignition coil, cleaning or replacing the fuel injector, repairing a localized intake vacuum leak, or addressing mechanical valve and compression faults.

Replace a worn spark plug or defective ignition coil

Replace the spark plug if it is worn, damaged, contaminated, or incorrectly gapped. Use the specified plug type and torque.

Replace the ignition coil or boot if the misfire follows the component during a swap test or if testing confirms a coil fault. Inspect the connector and wiring at the same time.

Clean or replace a faulty fuel injector

Clean a restricted injector using an approved service procedure when testing confirms a flow problem. Replace the injector if it is electrically defective, leaking, mechanically stuck, or outside the manufacturer’s specifications.

After installation, check for fuel leaks and complete any required injector coding or relearn procedure.

Repair intake leaks and damaged electrical connections

Replace leaking intake gaskets, cracked hoses, or damaged PCV components. Repair wiring with the correct terminals, wire gauge, routing, and protection.

Fix low compression and internal engine problems

Internal repairs may include valve work, valve-clearance adjustment, head-gasket replacement, timing-component repair, or engine repair. Confirm the mechanical cause with compression, leak-down, valve-timing, or visual inspection results before disassembling the engine.

Clear the trouble code and verify the repair

Clear the DTCs after completing the repair. Perform the required drive cycle or road test while monitoring misfire counters, fuel trims, oxygen or air-fuel sensor activity, and engine performance.

Rescan the vehicle after the road test. Confirm that the code does not return and that the readiness monitors can complete normally.

How Much Does It Cost to Fix the P0304 Code?

Fixing a P0304 code typically costs between $50 and $500 for basic ignition repairs, but can range from $150 to over $3,000 depending on whether the root cause is electrical, fuel-related, or internal mechanical damage.

The table below outlines typical repair paths, estimated costs, and factors that influence total pricing.

Repair pathTypical total range (USD)What changes the cost
Diagnostic testing$100 – $200Shop hourly rate, depth of testing required (such as advanced scope or compression testing vs. a basic scan).
Spark plug replacement$50 – $250Engine layout accessibility, plug type (such as iridium or platinum), and whether replacing one plug or a full set.
Ignition coil replacement$100 – $500OEM vs. aftermarket parts, single coil vs. coil pack replacement, labor difficulty.
Wiring or connector repair$150 – $900Extent of harness damage, location of fault, connector replacement complexity.
Vacuum-leak repair$150 – $900Source of leak (simple vacuum hose vs. intake manifold gasket replacement).
Injector cleaning or replacement$250 – $1,000Cleaning service vs. full replacement, direct injection (GDI) vs. port injection parts cost.
Compression or internal engine repair$1,000 – $3,000+Nature of damage (head gasket, valves, timing components, or full engine overhaul/replacement).

P0304 vs. Other Engine Misfire Codes

P0304 points to cylinder 4 only, while P0300 means random or multiple misfires, and P0301 to P0303 name the other cylinders. Reading these diagnostic trouble codes (DTCs) together shows whether the fault is local to cylinder 4 or shared.

The table below compares P0304 with other engine misfire codes and their diagnostic implications.

DTCPrimary focusDiagnostic implication
P0300Random / Multiple MisfireShared fault (fuel pressure, vacuum leak, EGR, main power/ground, timing).
P0301 – P0303Cylinders 1, 2, or 3 MisfireIsolated to that cylinder’s components.
P0304Cylinder 4 MisfireLocalized to cylinder 4 (plug, coil, injector, valve train, or runner-specific air leak).

Interpreting misfire counters and Mode $06 data

Relying solely on active DTCs can be misleading. A PCM may set a single P0304 code even if other cylinders misfire below the threshold needed to trigger additional codes. Real-time misfire counters and Mode $06 results show the pattern more clearly.

  • Isolated High Counts on Cylinder 4: If cylinder 4 shows thousands of misfires while all other cylinders remain near zero, start with cylinder 4-specific components, but stay alert for shared ignition, fuel, air, or mechanical faults.
  • Companion Misfires Across Cylinders: If cylinder 4 exhibits the highest count, but cylinders 2 or 3 also show minor activity, suspect a systemic fault that affects cylinder 4 most severely due to intake manifold design, fuel rail end-of-line pressure drop, or localized heat buildup.
  • Adjacent Cylinder Activity (such as P0303 and P0304): Misfires affecting adjacent cylinders may point to a shared mechanical or induction problem, including a possible head-gasket issue. Confirm the cause with compression, leak-down, cooling-system, and intake-system tests.

Manufacturer-Specific Causes & Solutions for P0304 Engine Code

Manufacturer-specific causes of a P0304 code stem from differences in engine design, firing order, cylinder-numbering layouts, and known pattern failures across brands. Check the vehicle-specific technical service bulletins (TSBs) and OEM procedures, such as those in Identifix Direct-Hit®, before testing.

P0304 Ford

A P0304 Ford code on a 1.5L, 2.0L, or 2.3L EcoBoost may mean engine damage. Ford bulletin 25-2074 covers P0301 through P0304 on the 2023–2025 Escape, 2024–2025 Mustang, 2025 Bronco, Explorer, and Ranger, and the Lincoln Corsair and Nautilus. It starts with a spark plug check. 

If any plug is damaged, it moves to the battery terminals, PCM grounds, and a borescope inspection of the pistons before compression and leakage tests.

On 2020 F-53 motorhome chassis with the 7.3L engine built on or before September 28, 2020, Ford bulletin 20-2370 traces the same codes to damaged spark plug wires. The fix is to trim the passenger-side air baffle and replace all eight wires.

P0304 Toyota

A P0304 Toyota code after a cold start may come from the exhaust valve lash adjusters rather than ignition parts. Toyota bulletin T-SB-0010-24 lists P0304 for the 2.5L A25A-FKS engine in 2021–2022 Avalon, 2018–2024 Camry, and 2019–2024 RAV4 models that misfire after a cold soak with coolant between 14°F and 41°F.

If compression, ignition, injector resistance, and the fuel system all pass, replace every exhaust-side hydraulic lash adjuster. Toyota covers the repair under its 5-year/60,000-mile powertrain warranty.

P0304 Honda

A P0304 Honda code on a 2018–2022 Accord with the 2.0L engine has a software fix.

Honda bulletin 23-026 covers P0300 through P0304 and P0172 on these cars and calls for an oil change (oil only, not the filter), a Programmed Fuel Injection (PGM-FI) software update, and a reset of the throttle position learned values followed by the PCM idle learn.

P0304 Nissan

A P0304 Nissan code that sets during a cold-start warm-up on a 2022 Pathfinder (R53), with no drivability complaint, points to the engine control module (ECM) software.

Nissan bulletin NTB22-069A has you confirm the ECM part number and reprogram the ECM only if it matches the bulletin’s list.

P0304 Chevy

A P0304 Chevy misfire on a V8 with Active Fuel Management (AFM) calls for a valvetrain check, because cylinder 4 is one of the four cylinders AFM deactivates (1, 4, 6, and 7).

GM bulletin 19-NA-219 covers 2002–2018 GM V6 and V8 pushrod engines and names a collapsed AFM lifter, a worn cam lobe or lifter roller, a sticking valve, valve leakage, or a broken valve spring when standard diagnosis finds nothing. On AFM engines built before 2017, commanding AFM on with a scan tool unlatches those lifters. If the tick noise stops, the valvetrain on those cylinders is the likely source.

How to Prevent the P0304 Code From Returning

Preventing a recurring P0304 code means following the manufacturer’s recommended maintenance intervals for spark plug replacement, fluid service, and intake inspection. Timely servicing prevents premature coil failure, carbon buildup, fuel injector clogging, and air leaks.

During routine service:

  • Inspect ignition coils, boots, connectors, and wiring for heat or oil damage.
  • Repair vacuum leaks as soon as fuel-trim symptoms appear.
  • Address oil-consumption and coolant-loss problems promptly.
  • Maintain the correct fuel pressure and use quality replacement injectors.
  • Investigate rough running instead of repeatedly clearing the code.

Diagnose the Cause Before Replacing Parts

A P0304 code indicates a cylinder 4 misfire, but it doesn’t identify the failed component. Review scan data, then test the ignition, fuel, air, electrical, and mechanical systems in a logical sequence.

Use Identifix Direct-Hit® to access verified diagnostic procedures, confirmed fixes, and vehicle-specific repair information to diagnose misfires more efficiently.

Frequently Asked Questions

Can P0304 cause the engine to shut off while driving?

Yes. A severe cylinder 4 misfire can reduce engine power, cause stalling, or prevent the engine from restarting. The risk is higher when a major fuel, ignition, timing, or compression problem causes the misfire.

Why does P0304 appear only during acceleration?

Acceleration increases cylinder pressure and engine load, which requires a stronger ignition spark and more consistent fuel delivery. A weak coil, worn plug, restricted injector, lean condition, or low compression may only become noticeable under load.

Can swapping ignition coils help identify the cause of P0304?

Yes. If the misfire moves with the coil, it points to the coil; if it stays on cylinder 4, it points to the plug, injector, wiring, or compression. The cylinder 4 spark plug and ignition coil step above explains how to run the swap.

Can P0304 occur without noticeable engine shaking?

Yes. A mild or intermittent misfire may not produce an obvious vibration, especially at higher engine speeds. Scan data, Mode $06 results, fuel trims, and misfire counters can identify a problem before the symptom becomes noticeable.

References

Identifix is the leading provider of automotive repair shop solutions and sevices designed to improve shop profitability and repair outcomes.

Share this article
Schedule a demo
×

We Want To Hear From You

Request a demo and see how we can improve your business.

"*" indicates required fields

×

Direct-Hit® DIY

Direct-Hit ® DIY is specifically designed for personal vehicle owners or hobbyists. It gives you access to professional repair information for 1 vehicle. Specify your make and model and buy now.

 
BUY NOW