P0304 BMW Code: Cylinder 4 Misfire Causes and Fixes
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A P0304 BMW code means the engine computer has detected a misfire on cylinder 4, so that cylinder is not completing its combustion event.
The code names the cylinder, not the broken part. Check the cylinder 4 coil, spark plug and injector first, and move to compression testing only after those checks pass.
What the P0304 code means on a BMW
P0304 is the generic OBD-II code for a misfire on cylinder 4, so its basic meaning is the same on a BMW as on most other makes. The code belongs to the P03xx group, which covers ignition system and misfire faults, according to the Wikipedia article on on-board diagnostics.
The engine computer watches crankshaft speed for the small speed changes that happen when each cylinder fires. When cylinder 4 keeps falling short of its share of power, the computer stores the code and can turn on the check engine light.
Cylinder numbering and layout differ between engine families, so the physical location of cylinder 4 on your car should come from the service information for your model and engine. Confirm that location before you remove any part, because a wrong cylinder means a wrong test. The fault logic is shared, but the test points change, so check P0304 Chevy Tahoe too.
The usual causes of a cylinder 4 misfire
The most common causes are a failed ignition coil or a fouled spark plug on cylinder 4, followed by an injector that is clogged, leaking or electrically faulty. Ignition parts are cheap and quick to swap, which is why they come first in the test order.
The Carwhere P0304 guide lists the causes roughly in this order, and the same order works as a practical test sequence on most engines:
- A failed ignition coil or damaged plug wire on cylinder 4
- A fouled or worn spark plug in cylinder 4
- A clogged, leaking or non-firing injector on cylinder 4
- Open or shorted wiring to the cylinder 4 coil or injector
- A vacuum leak that affects cylinder 4
- Low compression from a burnt valve or a head gasket problem
The code alone cannot separate these causes. A coil swap can settle the ignition question in one drive, while the injector and compression checks take more time, so test in that order rather than replacing the part the code seems to name.

How to test cylinder 4 step by step
Start with the freeze frame and the live data, then swap the cylinder 4 coil and plug to see whether the misfire follows them. Each step narrows the cause before you spend money on parts.
- Read the freeze frame data and check for any other cylinder misfire codes stored with P0304.
- Check the fuel trims, then smoke-test the intake for vacuum leaks near cylinder 4.
- Inspect the cylinder 4 coil, spark plug and connectors for cracks, carbon tracking and corrosion.
- Swap the cylinder 4 coil and plug with another cylinder, clear the codes and drive. If the misfire code moves to that cylinder, the coil or plug is the cause.
- Test the cylinder 4 injector for pulse and flow, and check its wiring for opens or shorts.
- If ignition, fuel and vacuum all pass, run a compression or leak-down test on cylinder 4.
Clear the codes after each change and retest, so you know which swap made the difference. Writing down the result of each step keeps the diagnosis from doubling back on itself. Seeing the code on another make? Start with P0304 Toyota Corolla.

Symptoms and how urgent the code is
A steady P0304 light with mild roughness allows careful driving to a shop, but a flashing light means you should stop soon. The light is the signal that matters most here, more than the symptoms you feel.
Typical symptoms include a rough idle, stumbling or loss of power, and an engine shake you can feel in the cabin. These symptoms come from one cylinder missing its power stroke, so they look much the same on any engine that sets this code.
A flashing light means unburned fuel is reaching the exhaust, which can overheat and damage the catalytic converter. Reduce the load, avoid hard acceleration and arrange a diagnosis soon. A short trip to a shop costs far less than a converter replacement.
When to stop testing yourself and book a shop
Book a shop when the light flashes, when the coil and plug swap does not settle the cause, or when a compression test is needed. Those three cases need a scanner that reads live misfire counters and tools that measure compression, which most home garages do not have.
A compression or leak-down result can point to a valve or head gasket problem, and that repair costs far more than a coil or injector. Ask the shop to show you the readings, so you can compare them with the service information for your engine.
This sequence assumes a single cylinder 4 code with no other misfire codes. If several cylinders set misfire codes at the same time, the cause is more likely shared, such as fuel supply or a large air leak, and the single-cylinder steps above will not tell you that. The test is only as good as the tool, so compare options in Best Professional Scan Tools for Bmw.
Frequently Asked Questions
Is a P0304 BMW code the same as a P0304 on other cars?
Yes. P0304 is the standard OBD-II code for a misfire on cylinder 4, so the meaning is the same across makes. The coil location, cylinder layout and test steps differ by BMW engine, so use the service information for your exact model.
Can I drive with a P0304 code?
A steady light with mild roughness usually allows careful driving to a repair shop. A flashing light means unburned fuel can overheat the catalytic converter, so reduce the load and stop soon. Keep trips short until the cause is found.
Will a new spark plug fix a P0304?
Sometimes, if the plug on cylinder 4 is fouled or worn. The coil and plug swap is the test that shows whether the misfire follows them to another cylinder. Replace the part only after that test confirms the fault.
Should I replace the cylinder 4 injector first?
Not based on the code alone. A clogged, leaking or non-firing injector is a common cause, but the pulse and flow test should confirm it first. Ignition and vacuum checks come earlier because they are cheaper and quicker to repeat.
-
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
LearnP0306 BMW Code: Cylinder 6 Misfire Causes and Fixes
LearnP0339 BMW: Diagnose Crankshaft Sensor Problems and Prevent Stalling
LearnP0336 BMW: Diagnose Crankshaft Sensor Problems and Avoid Misdiagnosis
LearnP0341 BMW: Diagnose Camshaft Sensor and VANOS Problems
LearnP0303 BMW Code: Cylinder 3 Misfire Causes and Tests
LearnP0130 Ford Code: Causes, Wiring Checks and Repair