P0304 Nissan Code: Cylinder 4 Misfire Causes and Swap Test
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A p0304 Nissan code means the engine computer has detected a misfire in cylinder 4. That cylinder is losing power, so the engine may shake at idle or hesitate when you accelerate.
A FIXD guide calls P0304 a serious code that needs prompt attention and advises against driving with it. Stop if the engine stalls, the light flashes or you smell fuel, then run a short test before you replace any part.
Why P0304 shows up often on Nissan cars
The FIXD guide lists the Altima, Sentra and Frontier among the models most often affected by P0304. That is a pattern across cases, not proof of a fault on your car, so use it as a reason to check cylinder 4 carefully. The same code can behave differently on other vehicles, so it helps to compare it with P0304 Dodge Code.

The code itself follows the standard OBD-II structure. Wikipedia’s OBD-II overview notes that the 0 marks a generic code and the 3 marks an ignition or misfire fault. The first checks are therefore the same on a Nissan as on any other brand.
Ignition and fuel causes on cylinder 4
A defective spark plug, a damaged plug wire or a bad ignition coil causes most cylinder 4 misfires. The FIXD P0304 guide lists these first, followed by fuel and vacuum causes.
- A spark plug with carbon buildup, oil residue or electrode damage
- A cracked plug wire or a damaged connector
- An ignition coil with physical damage or an oil leak
- A clogged or faulty fuel injector on cylinder 4
- A vacuum leak from a cracked or disconnected hose
FIXD also names a faulty fuel pressure regulator, a weak fuel pump, a leaking head gasket and poor gasoline as possible contributors. Those need a fuel pressure tester or a block leak test, so leave them for a shop unless you own the tools.
If several cars in the same household show misfires after a fill-up, check the fuel source before you buy parts for a single car. A contaminated tank affects more than one cylinder, so the fix is different from a single bad part.
A cylinder 4 inspection and swap routine
Inspect the cylinder 4 spark plug first, then swap the coil with another cylinder and clear the code. The result tells you whether the coil is the cause before you spend money on a new one.
Confirm which cylinder is number 4 with a repair manual before you start. Numbering differs by manufacturer and engine, and FIXD notes that the position must be checked, not assumed. Work on a cool engine with the parking brake set.

- Remove the cylinder 4 spark plug and check it for carbon, oil residue or electrode damage. Compare it with a new plug.
- Check the cylinder 4 coil for cracks, oil or physical damage. A resistance test with a multimeter can confirm a weak coil.
- Swap the coil from cylinder 4 with a coil from another cylinder, clear the code and drive through a warm-up cycle.
- Scan again. A misfire that moves to the swapped cylinder confirms the coil. A misfire that stays on cylinder 4 points to the injector, vacuum or compression side.
FIXD describes two injector checks. Hold a screwdriver to the injector body and listen for a regular click, or disconnect the injector while the engine runs and see whether the engine changes. Use the second check only when the engine is stable and the work area is clear.
Hidden condition: a misfire that returns after a plug and coil replacement often points to something those parts did not touch, such as the injector, a vacuum leak or compression. The wiring and part locations differ by make, as P0304 nissan rogue shows for the same code.
Vacuum leaks and compression checks
A vacuum leak on the intake side or low compression will not follow a coil swap, so test them as separate steps. Both can keep cylinder 4 misfiring after the ignition parts are good.
To find a vacuum leak, inspect the hoses for cracks and listen for hissing at idle. FIXD also suggests spraying water on suspect areas and watching for a change in engine behavior. Keep water away from the ignition coils and electrical connectors while the engine runs.
Compression is checked with a compression test or a block leak test. FIXD recommends a professional for head gasket and catalytic converter problems, so treat those as shop jobs and ask for the test results in writing.
Cost, safety and scope
Stop driving if the engine stalls, the light flashes or the car shakes badly. A misfire that keeps running can overheat and damage the catalytic converter, which costs far more than a plug or coil.
Cost depends on the failed part. Plugs and coils are usually the least expensive, while an injector, fuel pump or head gasket job costs more. Parts and labor prices change, so get a current quote before you approve any repair.
Check Nissan technical service bulletins for your exact model and year, because FIXD lists bulletins among the checks to make. Bulletins can change the test steps for a specific engine.
Scope boundary: this guide covers one misfire on cylinder 4 of a gasoline Nissan engine. Hybrid, diesel and high voltage systems need factory service information and trained technicians. For another common fault on this model, see P0335 Nissan Code.
Frequently Asked Questions
Is a p0304 Nissan code safe to drive?
FIXD advises against driving with P0304 and calls it a serious code. If the light is steady and the engine runs smoothly, drive only as far as a shop. If the light flashes or the engine shakes, stop and arrange a tow or a repair.
Can a bad spark plug cause p0304 on a Nissan?
Yes. A defective spark plug is one of the main causes FIXD lists for a cylinder 4 misfire. Pull the cylinder 4 plug, check for carbon buildup or electrode damage, and replace it if it looks worn. Then clear the code and scan again.
Does p0304 mean the fuel injector is bad?
Not always. A clogged or faulty injector is one cause, but a spark plug, coil, vacuum leak or low compression can set the same code. Test the coil and plug first, then check the injector if the misfire stays on cylinder 4.
Which Nissan models get p0304 most often?
FIXD lists the Altima, Sentra and Frontier among the models most often affected by P0304. A model list shows where the code is common, but it does not replace a test on your own car, because the cause can differ from one case to the next.
If p0304 returns after a plug and coil fix, take the car to a shop that can run a compression or block leak test on cylinder 4, and check the Nissan bulletins for your model. A single coil swap with a clear result is a reasonable job for a home mechanic with basic tools.
-
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 nissan rogue: Diagnose Cylinder 4 Misfires
LearnP0304 Nissan Altima: Find the Cylinder 4 Misfire and Fix It
LearnP0340 Nissan Code: What It Means and How to Fix It
LearnP0354 Nissan: Causes, Symptoms, Diagnosis, and Fixes
LearnP0353 Nissan: Diagnose Ignition Coil Problems and Restore Engine Performance
LearnP2101 Honda Code: Throttle Actuator Meaning, Causes and Tests