P0304 Hyundai Code: Cylinder 4 Misfire Causes and Fixes
6 min read · by Nicole Bennett · Last updated: November 15, 2026
A p0304 hyundai code means the engine computer detected a misfire in cylinder 4. The code is generic, but the ignition parts, fuel layout and service bulletins that apply to your Hyundai decide which repair is needed.
Check the spark plug and coil on cylinder 4 first, and stop driving if the engine stumbles or stalls. A fuel or vacuum problem can set the same code.
What P0304 Means on a Hyundai
P0304 is the cylinder 4 misfire code, and it means the engine computer saw combustion fail in that cylinder often enough to store a fault. Because the code names one cylinder, the search starts there rather than across the whole engine.
FIXD’s P0304 guide calls the code good news and bad news. It points to a single cylinder, but the same misfire can cause serious engine damage if it continues.
The check engine light stays on with the code. The guide does not list Hyundai among the brands it covers, so the general meaning applies until you compare it with the service information for your model. For the general picture, see our P0304 code meaning and fixes.
Symptoms You Can Notice With a P0304 Code
The usual symptoms of a P0304 code are rough idle, lower fuel economy and hesitation or stalling. The exact symptoms also depend on the cause, so they cannot name the failed part by themselves.
- A rough or unsteady idle
- Lower fuel economy than usual
- Hesitation when you press the accelerator
- Stalling, especially at low speed
- Black exhaust smoke, backfiring or hard starting, depending on the cause
Causes Behind a P0304 Code
Spark plugs, ignition coils and fuel injectors are the parts most often linked to a P0304 code, with vacuum leaks and sensor faults close behind. The list below follows what the sources name, in no particular order of likelihood.
- Spark plugs or spark plug wires
- The ignition coil on cylinder 4
- A camshaft or crankshaft position sensor
- A fuel pressure regulator, fuel injector or fuel pump
- A vacuum leak
- An oxygen sensor
- A head gasket or catalytic converter problem
The Wikipedia overview of on-board diagnostics explains that manufacturers extend the OBD-II code set with their own codes. The same P0304 wording can therefore lead to different repair procedures on a Hyundai than on another brand. A Toyota with the same code has its own checklist in Toyota cylinder 4 misfire fixes.
The single-cylinder question matters here too. A plug, coil or injector on cylinder 4 affects only that cylinder, while fuel pressure or a vacuum leak would usually affect other cylinders as well. If a second cylinder starts to misfire later, treat the cause as shared and widen the search instead of replacing only the cylinder 4 part. For the cylinder 3 version of this check, see Hyundai cylinder 3 misfire checks.

A Practical Order for Cylinder 4 Checks
Start with the cheapest parts, the spark plug and coil on cylinder 4, before you test fuel pressure or compression. Each step either clears a suspect part or points to the next test.
- Save the freeze frame data and note the mileage and any recent repairs.
- Remove the cylinder 4 spark plug and check it for wear, oil or fouling.
- Swap the cylinder 4 coil with another cylinder and see whether the misfire moves.
- Check for vacuum leaks, cracked hoses and intake gasket leaks.
- If those checks pass, test fuel pressure and the cylinder 4 injector.
- If the fuel and spark checks are normal, check compression on cylinder 4.
Hyundai’s repair manual gives the exact torque values, test specifications and cylinder layout for your engine. Use these steps as a general order of checks, not as a replacement for those specifications.

When to Stop Driving With a P0304 Code
Do not keep driving with a P0304 code, because stalling or hesitation can be dangerous in traffic and can damage the engine or the catalytic converter. The FIXD guide says the same and advises against driving with the code set.
If the car runs smoothly, limit the trip to a short drive to a shop. Have it towed if it stalls, shakes heavily or shows black smoke or backfiring.
Scope Limits for Hyundai Owners
The sources checked for this page do not confirm Hyundai-specific P0304 causes, so the list above is general. Model year, engine family and cylinder layout change the likely cause.
Read the Hyundai service information for your VIN before you order parts. This page does not cover diesel engines or hybrid drive systems, which follow different fault paths.
Keep a written record of each test result as you go. If you swap the coil and the misfire stays on cylinder 4, the coil is ruled out and you can move on. If the misfire moves to the swapped cylinder, the coil was the cause. Without notes, it is easy to repeat a test or forget which part was already cleared. For fuel and vacuum faults that touch every cylinder, see Ford cylinder 4 misfire causes.
Symptoms can also change with driving conditions. Some owners notice rough running most at idle in traffic, while others feel stalling or hesitation only under load on a hill or during highway passing. Mention those conditions to the technician, because they narrow where the misfire happens.
Frequently Asked Questions
Is a p0304 hyundai code the same as P0304 on other brands?
Yes, the code means a cylinder 4 misfire on any OBD-II vehicle. Causes and fixes vary by brand, so use Hyundai service information to confirm the steps for your engine.
Can bad gasoline cause a P0304 code?
Yes. FIXD lists contaminated gasoline as a possible cause. Check whether you recently filled up at a new station, and still test the spark and coil on cylinder 4.
Will a new spark plug fix a P0304 code?
It can, if the plug is the cause. Replacing a plug is a low-cost test, but check the coil and plug wire too, because a failing coil can set the same code.
How long can I drive with a P0304 code?
Avoid driving it until a technician checks the car. The FIXD guide advises against driving with the code, because stalling or hesitation is unsafe and the misfire can damage the engine or converter.
A p0304 hyundai code is a single cylinder fault, so work from the cheap checks on cylinder 4 toward fuel and compression tests. Stop driving when the engine stalls or hesitates, and let a shop finish the diagnosis if the first checks do not find the cause.
-
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
LearnP0304 Hyundai Sonata: Diagnose Cylinder 4 Misfires and Avoid Costly Damage
LearnP0304 Hyundai Elantra: Diagnose and Fix a Cylinder 4 Misfire
LearnP0306 Hyundai: Find the Cylinder 6 Misfire and Fix the Cause
Learnp0300 hyundai sonata: Diagnose Random Misfires and Find the Cause
LearnP0300 Hyundai Elantra: Diagnose Misfires and Avoid Costly Damage
LearnU0101 GMC: Diagnose Transmission Communication Problems