P0304 Mercedes Code: Cylinder 4 Misfire Causes and Tests
6 min read · by Nicole Bennett · Last updated: November 25, 2026
A P0304 Mercedes code means the engine computer has recorded misfires in cylinder 4, so that cylinder is not burning its fuel completely.
A steady check engine light means you should have the car checked soon. A flashing light means a severe misfire, so stop driving and get the car inspected.
What the P0304 code means on a Mercedes
P0304 is the standard code for a misfire in cylinder 4, and it reads the same on a Mercedes as on other makes. The engine computer stores it when combustion in that cylinder is incomplete, so the code points to the cylinder, not to one failed part.
According to CarWhere’s P0304 code page, the code is titled Cylinder 4 Misfire Detected. The same title is used in the SAE and ISO standards, so a shop reading the code will see the same wording on any vehicle.
Why P0304 is a generic code
The second character in an OBD-II code shows who defined it. A 0 marks a generic code defined by the SAE standard, and a 1 marks a manufacturer-specific code. P0304 has a 0 in that position, so the standard definition applies to this Mercedes. Compare the causes listed here with P0304 Chevy Equinox to rule out make-specific issues.
The third character identifies the system, and a 3 covers ignition systems and misfires. Wikipedia’s on-board diagnostics article explains this five-character format. The code tells you which cylinder misfired, while the tests below tell you why.
Common causes of a P0304 code
The most common cause is a faulty ignition coil or plug wire on cylinder 4. A worn or fouled spark plug is the next most likely cause, and injector or wiring faults are also common.

- Faulty ignition coil or plug wire on cylinder 4
- Fouled or worn spark plug
- Clogged, leaking or non-firing fuel injector
- Open or shorted injector or coil wiring
- Vacuum leak affecting cylinder 4
- Valve or head gasket problem that lowers compression
A leaking head gasket can cause P0304. If coolant is disappearing or you see white exhaust smoke with the code, the gasket moves higher on the list of suspects. Do not assume the cause from the code alone, because a coil and an injector can give the same symptoms.
How urgent is a P0304 code?
A steady check engine light with mild roughness usually allows careful driving to a repair shop. The code is rated high severity, so keep trips short and easy until the cause is found.
A flashing light or severe shaking means the misfire is serious. Stop driving soon, because the misfire can damage the catalytic converter and turn a small repair into a large one.
The most common mistake is to keep driving for weeks with a flashing light, or to replace the coil and clear the code before any test. Clearing the code only hides the symptom until the misfire returns. If you work on more than one brand, keep P0304 GMC handy as well.
Save the freeze frame before you clear the code
Freeze frame data is a snapshot of engine conditions recorded when the code was set. Mode $02 gives access to that data, so write down the engine speed, load and temperature before you do anything else.
Mode $04 clears stored codes and freeze frame data together, so clearing the code also erases the snapshot. Keep the freeze frame details if the misfire returns, because they help a shop compare the two events.
How to test cylinder 4 with a scanner
Work in order, and replace a part only after a test points to it. The steps below follow the usual path for a single-cylinder misfire, and each one narrows the cause.

- Read the freeze frame data and check for other cylinder misfire codes.
- Inspect the cylinder 4 coil, spark plug and connectors for damage or corrosion.
- Swap the cylinder 4 coil and plug with another cylinder. If the misfire moves with them, that part is the cause.
- Test the cylinder 4 injector for pulse and flow.
- Check fuel trims and smoke-test the intake for vacuum leaks.
- Run a compression or leak-down test if the earlier steps do not explain the misfire.
Test values, and how easy the plugs and coils are to reach, differ by engine and model year. Confirm specifications in the factory service information for your exact vehicle before you condemn a part. If a second code shows up during the scan, P0302 mercedes could be the next stop.
What repairs usually involve
The usual fixes are replacing the coil or plug wire, replacing the spark plugs, cleaning or replacing the injector, repairing a vacuum leak, or repairing head gasket or valve damage when a test finds it. A coil or plug is usually the smaller job, and a head gasket or valve repair is a much larger one.
The source did not publish repair cost ranges for this code, so this guide gives no prices. Ask the shop to show the test results behind each recommended part before you approve the work.
When to take the car to a shop
Take the car to a shop if the light flashes, the engine shakes badly, or you cannot run the tests safely. A shop has the tools to read live data and run a compression test, which go beyond a basic handheld scanner. Best Code Readers for Trucks compares tools that make this test faster.
Frequently Asked Questions
Can I keep driving with a P0304 code?
Yes, if the check engine light is steady and the engine runs with only mild roughness. Keep trips short and easy, and go to a shop soon. A flashing light or severe shaking means you should stop driving.
Does P0304 always mean a bad spark plug?
No. The code only means cylinder 4 misfired. A coil, plug wire, injector, vacuum leak or low compression can all cause it, so test the cylinder before you replace the plug.
Can a head gasket cause P0304?
Yes, a leaking head gasket can cause it. Coolant loss or white exhaust smoke alongside the code makes that cause more likely, but a compression or leak-down test is needed to confirm it.
Do I need a Mercedes-specific scanner?
A generic OBD-II scanner can read P0304 and its freeze frame data. Some steps depend on factory specifications for your model year, so a shop with that service information may be needed for the final tests.
Should I clear the code before taking the car in?
No. Clearing the code also erases the freeze frame snapshot, which can help a shop see the conditions when the misfire happened. Write down what you saw, then take the car in with the code still stored.
Test cylinder 4 in order, and replace parts only after a test points to them.
-
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
LearnP0354 Mercedes: Diagnose Cylinder 4 Ignition Faults and Find the Cause
LearnP0301 Mercedes Code: Cylinder 1 Misfire Causes and Tests
LearnP0325 Mercedes: Diagnose Knock Sensor Faults and Protect Your Engine
LearnP0308 Mercedes: Diagnose and Fix a Cylinder 8 Misfire
LearnP0307 Mercedes: Diagnose and Fix a Cylinder 7 Misfire
LearnP0600 Kia: Diagnose Communication Problems Before Replacing Parts