Blog · 2026-11-10
How to fix P0300 and P0304 error codes for Hyundai Accent 2009?
Stefan Bogdanescu
Founder & Senior Architect
Diagnosing P0300 and P0304 on a 2009 Hyundai Accent: A Technical Breakdown
When your OBDII scanner lights up with P0300 and P0304, it is signaling two distinct but related issues within the ignition system of your 1.6L engine. P0300 denotes a random/multiple misfire, while P0304 specifically points to a cylinder 4 misfire. The combination suggests that cylinder 4 is consistently failing, triggering the general "random" code as a byproduct of the system detecting widespread irregularity.
From an engineering perspective, this is not merely an "engine light on" warning; it is a diagnostic constraint problem. The engine control unit (ECU) monitors crankshaft and camshaft position sensors to verify combustion events. When the ECU detects that cylinder 4 is not firing at the expected interval, it logs P0304. Because this single failure disrupts the harmonic balance and exhaust flow so significantly, the system eventually flags the broader P0300 code as well.
To resolve this on a 2009 Hyundai Accent with a 1.6L DOHC engine, you must approach the diagnosis systematically. Misfire codes are often categorized by their source: fuel, air, spark, or compression. Ignoring the specific cylinder designation (P0304) and replacing parts randomly is an inefficient allocation of resources.
Spark Plug and Wire Integrity
The most common culprit for a single-cylinder misfire is the ignition source. On the 1.6L Accent, this usually involves either a failing spark plug or a degraded spark plug wire/coil pack. If your vehicle uses individual coil-on-plug units (common for this era), cylinder 4's specific coil is likely weak or internally shorted.
If you are inspecting the hardware, look for signs of arcing, oil contamination, or excessive carbon buildup on the terminals. A standard diagnostic step is to swap the coil pack from cylinder 4 with a known good one from cylinder 1 or 3. If the misfire code clears and moves to the new cylinder's number (e.g., P0301), you have successfully isolated the faulty component without needing a compression test yet.
Fuel Delivery Verification
If the spark system checks out, the issue may lie in fuel delivery. A clogged fuel injector can starve cylinder 4 of the necessary air-fuel mixture. While less common than ignition failures on this specific model, it is a critical step before tearing down the engine.
To verify this, you would need to access the data stream via an OBDII scanner. Look for "Fuel Trim" values. Specifically, examine the Short Term Fuel Trim (STFT) and Long Term Fuel Trim (LTFT) for cylinder 4 if your scanner supports individual cylinder trim monitoring. A significant positive fuel trim value indicates the ECU is trying to compensate for a lean condition by adding extra fuel. If you cannot isolate per-cylinder trims, monitor overall fuel trims under load; however, localized misfires often do not show up clearly in aggregate trim data without advanced tools.
Vacuum Leaks and Mechanical Compression
Sometimes the issue is mechanical. A vacuum leak near cylinder 4 can introduce unmetered air, leaning out the mixture specifically for that cylinder. Inspect the intake manifold gasket and all associated hoses around the cylinder head for cracks or disconnections.
Finally, consider compression. A blown head gasket or a burnt exhaust valve specific to cylinder 4 will prevent proper combustion regardless of spark or fuel quality. If you suspect a mechanical failure after ruling out ignition and fuel, a leak-down test is the definitive method to confirm internal engine integrity.
Addressing the Check Engine Light Logic
It is important to understand why the ECU sets P0300 alongside P0304. The ECU calculates the probability of misfire based on the harmonic balance of the crankshaft rotation. A single persistent miss alters this rhythm enough that the algorithm classifies it as a "multiple" or "random" event to ensure the driver stops driving immediately, potentially preventing catastrophic engine damage like rod knock or catalytic converter failure.
Fixing P0304 by replacing the spark plug often resolves both codes simultaneously, provided the root cause was indeed the ignition component. Always clear the codes after repair and perform a test drive that includes varying RPMs to ensure the codes do not return. If they persist, the diagnostic path must shift toward compression or fuel pressure testing.