Some engine problems come and go without warning. The engine stumbles on a bumpy road, then runs fine for days. If your scan tool shows a P0104 code, the mass air flow sensor signal is cutting in and out, and the engine computer noticed.
Intermittent faults take more patience than hard failures. This guide shows you how they set, what causes them and how to catch the problem while it is happening.
P0104 Code Breakdown
Every OBD-II code follows the same five-character pattern set by the SAE J2012 standard. Each character narrows down which system has the fault. This table shows what each part of the code tells you.
| Character | Meaning | What It Tells You |
|---|---|---|
| P | Powertrain | The fault is in the engine or transmission systems. |
| 0 | Generic (SAE) code | The definition is the same on every OBD-II vehicle. |
| 1 | Fuel and air metering | The fault involves the sensors that measure air and fuel. |
| 04 | Specific fault | Mass or Volume Air Flow “A” Circuit Intermittent/Erratic |
What the P0104 Code Means for Your Engine
The SAE J2012 standard defines the P0104 code as Mass or Volume Air Flow “A” Circuit Intermittent/Erratic. The “A” refers to the first or only mass air flow (MAF) sensor on the engine.
The powertrain control module (PCM) watches the MAF signal for sudden jumps or dropouts. Airflow changes smoothly as you drive, so the signal should too. When the reading spikes or drops faster than real airflow could change, the PCM flags it as erratic.
Because the fault is not constant, the sensor may test fine in the driveway. That makes this code harder to diagnose than a steady high or low fault.
Symptoms of an Erratic MAF Signal
Symptoms of a P0104 code show up only while the signal is acting up. Between episodes, the engine may run normally. Look for these signs:
- Check engine light that turns on and off
- Sudden stumble, surge or hesitation while driving
- Stalling that happens without a clear pattern
- Rough idle that comes and goes
- Problems that get worse over bumps or in wet weather
- Misfire or oxygen sensor codes stored at the same time
Write down when the symptoms happen. Notes about weather, engine temperature and road conditions make the fault much easier to find.
Common Causes of the P0104 Code
Loose or worn connections cause most intermittent airflow faults. Anything that breaks the circuit for a moment can set the code. These are the usual causes:
- Loose connector. A connector that is not fully locked loses contact when the engine rocks.
- Corroded or spread pins. Worn terminals grip poorly and lose contact over bumps.
- Chafed wiring. Wires rubbing on a bracket can short or open for a moment.
- Broken wire inside the insulation. The wire may look fine but separate when it flexes.
- Moisture in the connector. Water from rain or a car wash can cause brief shorts.
- Contaminated sensing element. Oil or dirt from a torn or over-oiled filter can make the reading unstable.
- Failing MAF sensor. A sensor with a cracked element or bad internal joint may work only some of the time.
How to Find the Cause of a P0104 Code
Intermittent faults rarely show up on command. Your goal is to recreate the conditions that cause the dropout. A scan tool that can graph live data makes this much easier.
Graph the MAF Signal
Start the engine and graph the MAF reading in grams per second (g/s). A healthy signal moves in a smooth line that follows throttle changes. Sharp spikes, flat drops to zero or jagged noise point to a circuit problem.
Check the freeze frame data from when the code set. It shows the engine speed, load and temperature at that moment. Try to drive under the same conditions while you watch the graph.
Do a Wiggle Test
With the engine idling and the graph running, gently wiggle the MAF connector. Then move along the wiring, flexing short sections one at a time. Have a helper watch the graph if you can.
A spike or dropout when you move one spot marks the problem area. Tapping the sensor body lightly with a screwdriver handle can also reveal a sensor with a bad internal connection.
Check the Pins and Connector
Turn the engine off and unplug the connector. Look for green or white corrosion, bent pins and a broken locking tab. Check that each female terminal grips a matching test pin firmly.
Terminals that feel loose need to be tightened or replaced. Many intermittent faults come down to one tired pin.
Fixes for a Dropping MAF Signal
Repair the fault you found, clear the P0104 code and drive the car under the conditions that used to set it. These are the most common fixes:
- Reseat and lock the connector. Make sure the tab clicks fully into place.
- Clean the terminals with electrical contact cleaner, then add dielectric grease to the seal to keep moisture out.
- Replace worn terminals or the pigtail when pins no longer grip.
- Repair chafed or broken wires with solder and heat shrink tubing, then secure them away from sharp edges.
- Clean the sensor with a dedicated MAF cleaner if the element looks dirty or oily.
- Replace the MAF sensor when the wiring is good but the sensor reacts to tapping or heat.
Use an OEM or quality-brand sensor if you replace it. Low-cost units can be noisy and may set the same code again.
Typical Repair Costs
The diagnosis often costs more than the repair, since finding the fault takes time. Here are typical price ranges.
| Repair | DIY Cost | Typical Shop Cost |
|---|---|---|
| Connector cleaning | $10 to $15 | $50 to $100 |
| Terminal or pigtail replacement | $15 to $40 | $100 to $200 |
| Wiring repair | $10 to $30 | $100 to $300 |
| Diagnostic time | Free with your own tools | $100 to $200 |
| MAF sensor replacement | $80 to $350 | $150 to $500 |
Related Codes
These codes often show up with this one or point to the same system:
| Code | Meaning |
|---|---|
| P0101 | Mass or Volume Air Flow “A” Circuit Range/Performance |
| P0102 | Mass or Volume Air Flow “A” Circuit Low |
| P0103 | Mass or Volume Air Flow “A” Circuit High |
| P0105 | Manifold Absolute Pressure/Barometric Pressure Circuit Malfunction |
| P0106 | Manifold Absolute Pressure/Barometric Pressure Circuit Range/Performance |
Stopping an Erratic MAF Signal for Good
A P0104 code means the signal drops out or jumps for short periods. Loose pins and damaged wires cause most cases.
- Note when the symptoms happen.
- Graph live data and do a wiggle test.
- Repair connectors and wiring before you replace the sensor.
- Confirm the fix under the same conditions that set the code.
Frequently Asked Questions
Why Does the P0104 Code Appear Only When It Rains?
Rain and car washes let water reach a connector with a worn seal. Water can bridge pins for a moment and cause a short or a dropout. Once the connector dries, the signal returns to normal. Cleaning the pins and adding dielectric grease to the seal usually fixes this pattern.
Can an Intermittent Code Turn into a Hard Failure?
An intermittent fault often gets worse over time. A loose pin keeps wearing, and a cracked wire keeps breaking strand by strand. Eventually, the circuit may fail completely and set a constant circuit code. Fixing the problem early saves you from a stall at a bad moment.
Is It Safe to Drive with an Erratic MAF Signal?
Short drives are usually fine, but a sudden dropout can make the engine stumble or stall. That is risky when you merge or cross a busy street. Avoid long trips and heavy loads until the fault is fixed. Stop driving if the check engine light starts flashing.
Can Aftermarket Accessories Cause This Code?
Poorly installed accessories, such as remote starters, alarms or lighting, can cause electrical noise or splice into the wrong wire. That noise can make the MAF signal look erratic. If the code started after new wiring was added, inspect that installation and its ground connections first.