Fuel and Air Metering Diagnostic Trouble Codes: Repair Costs, Lean Codes, and MAF Sensor Fixes

Compare fuel trim repair bills, test mass air flow sensors, and find vacuum air leaks. Our interactive calculator shows true labor times and parts prices across lean and airflow trouble codes.

Shop Labor Rate: $120 / Hour US National Average: $100 - $160/hr
DIY Parts Cost
$25
Mechanic Labor
$180
Shop Total
$205
DIY Savings
$180
Driveability Status: Moderate: Safe Locally
Safe to drive locally. Prolonged lean operation causes high cylinder head temperatures and engine pinging.
Home » OBD2 Repair Cost Calculator » Fuel Delivery & Air Metering Codes

Top Fuel and Air Fix Supplies: Clean Sensors and Stop Lean Codes

First Fix for P0101 & P0171
CRC Mass Air Flow Sensor Cleaner
Cleans delicate heated sensing wires safely. Removes baked dust and oil film from the MAF sensor without leaving residue.
Check Price on Amazon »
Stops Cold Morning Leaks
Fel-Pro Intake Manifold Gasket Set
Replaces hardened rubber intake seals. Stops cold outside air leaks that cause lean hesitation and clears codes P0171 and P0174.
View Gaskets on Amazon »
Cleans Idle Sludge (P0507)
CRC Throttle Body & Intake Cleaner
Dissolves carbon rings around the throttle plate. Restores smooth idle speed and stops high engine RPM surging in park.
View Cleaner on Amazon »
SelectMyBlog earns an affiliate commission from qualifying purchases through Amazon links on this page. We test automotive tools to keep your repair costs transparent.

Fuel Trim Ratios: Decoding Short-Term (STFT) and Long-Term (LTFT) Lean Codes

Fuel trim numbers show how much extra gas the car computer injects to balance the engine air mix. Normal fuel trims stay between minus ten and plus ten percent. When unmetered air leaks into the engine, the computer adds extra fuel. When total fuel trim exceeds plus twenty-five percent, the computer logs lean code P0171 or P0174.

Your car computer balances fuel using oxygen sensors. The ideal air-fuel ratio is 14.7 parts air to one part gas. The front oxygen sensor watches exhaust gases. If extra air enters the motor through a vacuum crack, the exhaust shows high oxygen levels. The computer increases injector open time to spray more gas. Short Term Fuel Trim reacts to live sensor swings right away. Long Term Fuel Trim stores learned adjustments over time. When both trims add up to twenty-five percent or more, the yellow Check Engine Light turns on.

Normal Fuel Trim Tolerances Versus The Plus Twenty-Five Percent Trigger

A healthy motor keeps total fuel trims between minus five and plus five percent. As parts age, trims move toward plus eight or minus eight percent. That range is normal. But when trims reach plus twenty-five percent, the computer runs out of room to add fuel. The engine runs lean. Hot combustion chambers cause spark knock and hesitation under load. Check your ignition health in our spark plug gap guide. Wide plug gaps make lean misfires feel even rougher.

Diagnosing Both Banks Lean (P0171 and P0174) Versus Single Bank Faults

On V6 and V8 engines, you isolate the fault fast by checking which bank logged the code. If both codes P0171 and P0174 appear together, the leak sits before the intake air split. Look for a cracked rubber intake tube, a dirty MAF sensor wire, or a stuck PCV valve. If only bank one sets code P0171 while bank two stays normal, the fault sits on that specific side. Look for a leaking intake runner gasket on bank one or a clogged fuel injector.

Fuel Trim ReadingDiagnostic MeaningCommon Root CauseRepair Urgency
-5% to +5% Total TrimFactory Balanced Air-Fuel MixHealthy Engine SystemNone (Normal)
+10% to +18% Total TrimMild Unmetered Air or Dirty MAFDirty Air Filter or Light Vacuum LeakService Soon
+25% or Higher Total TrimLean Limit Trigger (P0171 / P0174)Intake Manifold Gasket or Torn PCV HoseFix Promptly
High at Idle, Normal at SpeedVacuum Leak Diagnostic PatternRubber Hose Split or Gasket LeakInspect Hoses

Mass Air Flow Sensor Diagnostics: Testing Grams-Per-Second at Engine Idle

A mass air flow sensor measures the weight of air entering the engine in grams per second. A warm engine at 650 RPM idle reads grams per second roughly equal to engine size in liters. A 3.5-liter engine should read between 3.2 and 3.8 grams per second. Readings under three grams mark a dirty sensing wire.

The mass air flow sensor sits in the intake tube behind the air filter box. Inside the sensor, an electric current heats a thin platinum wire to 200 degrees Celsius above ambient air. Air entering the engine cools this wire. The computer increases electric current to keep the wire hot. By measuring this electrical current, the computer knows the exact weight of intake air. When dust or oil coats the wire, fresh air cannot cool the wire fast enough. The sensor under-reports air volume. The computer cuts fuel delivery, and the motor hesitates under throttle.

The Rule of Thumb: Engine Displacement in Liters Equal to Idle Grams Per Second

You can test MAF health using a live data scan tool. Warm up the engine to operating temperature. Turn off the headlights, radio, and air conditioning. Shift into park. Look at the MAF reading on your scan tool. A 2.0-liter engine should read roughly 2.0 grams per second. A 5.3-liter truck engine should read roughly 5.0 to 5.5 grams per second. If your 5.3-liter engine reads 3.4 grams at idle, the sensor wire is dirty or defective.

Cleaning Heated Sensing Wires Versus Full Sensor Unit Replacement

You do not need to buy a $120 sensor right away. An $11 can of dedicated MAF cleaner often fixes the code. Unplug the sensor and take it out of the air duct. Spray the tiny wire inside with five bursts of cleaner. Never touch the wire with cotton swabs or fingers. The wire is thinner than a human hair and breaks easily. Let the sensor dry for ten minutes before reinstalling it. Check your air filter condition in our air filter size database. Unseated or torn air filters allow dirt to coat the sensor wire repeatedly.

Diagnostic Tools for Air Leaks and Fuel Pressure

Test Fuel Pump Pressure
Betooht Fuel Injection Pressure Test Kit
Hooks to fuel rail test ports. Shows low fuel pump pressure and clogged fuel filters under heavy engine throttle in minutes.
View Gauge on Amazon »
Find Vacuum Leaks Fast
AutoLine Pro Automotive Smoke Machine
Pumps safe white smoke into intake boots and PCV hoses. Pinpoints hidden vacuum leaks and manifold cracks without guess work.
View Smoke Tool on Amazon »
Live Fuel Trim Scanner
Veepeak OBDCheck BLE+ Bluetooth Scanner
Pairs with your phone to graph live Short Term and Long Term Fuel Trim numbers. Verifies vacuum leak repairs on your test drive.
View Scanner on Amazon »
SelectMyBlog tests and reviews automotive gear. Buying test tools helps home mechanics avoid costly diagnostic visits at dealerships.

Unmetered Vacuum Leaks: Finding Split PCV Hoses and Hardened Intake Gaskets

An unmetered vacuum leak occurs when outside air enters behind the air sensor into the intake manifold. Common leak spots include split PCV hoses, cracked air boots, and hardened intake gaskets. Hardened rubber gaskets leak cold air in winter but seal once engine heat expands the metal manifold.

Vacuum leaks act in a distinct way on live scan tools. At idle speed, the engine throttle plate stays almost closed. Engine vacuum peaks high. This strong vacuum pulls outside air through every tiny crack in rubber lines. Fuel trims jump high to plus twenty percent. But when you drive on the highway, you open the throttle plate. Intake vacuum drops low. Fresh air entering the crack becomes a tiny fraction of total incoming air. Fuel trims drop back to normal plus five percent. If your fuel trims climb high at stoplights but return to normal on the highway, you have a vacuum leak.

To find the leak at home without a smoke machine, use a spray bottle filled with water. With the engine idling, spray a light water mist around intake gasket seams and vacuum joints. When water hits the split hose, the leak draws in water for a split second. The engine idle stumbles or smooths out. Check your crankcase oil level in our oil capacity directory. Old PCV valves stick open from oil sludge and draw excess air into the manifold.

Idle Air Control and Throttle Body Carbon Buildup: Decoding P0505, P0506, and P0507

Idle air valves and throttle bodies control engine speed when your foot leaves the gas pedal. Oily engine vapors create black carbon rings around the throttle plate. This sticky soot blocks idle airflow. The computer adjusts the throttle angle to compensate, which triggers low idle code P0506 or high idle code P0507.

Every time you turn off your car, oily fumes rise from the crankcase through the intake plumbing. Over thousands of miles, these fumes bake into hard black carbon behind the throttle plate. The plate sticks inside the aluminum bore. When you come to a stop, the motor drops below 500 RPM and shudders. This stall risk logs code P0506. In other cases, the computer opens the electronic throttle extra wide to prevent a stall. The engine surges up to 1,200 RPM in park, which logs code P0507.

How to Clean Electronic Throttle Bodies Safely

Follow these steps to clean a dirty throttle body at home:

  • Disconnect the negative battery cable to prevent computer shorts and clear idle memory.
  • Loosen the hose clamp and remove the rubber air intake tube from the throttle body.
  • Spray throttle cleaner onto a clean microfiber cloth. Never spray liquid cleaner directly into the motor shaft.
  • Gently push the butterfly plate open and wipe away black carbon rings until bare aluminum shines.
  • Reinstall the intake duct and start the engine. Track your fuel mileage with our fuel cost calculator to see fuel savings after cleaning.

Fuel Delivery & Air Metering Diagnostic Trouble Codes Directory

Select any trouble code below to view detailed repair costs, parts pricing, and complete diagnostic workflows:

CodeDiagnostic DefinitionSeverityDIY PartsShop Labor
P0171System Too Lean (Bank 1)Moderate$25 - $1401 - 2.2 hrs
P0174System Too Lean (Bank 2)Moderate$25 - $1401 - 2.2 hrs
P0101Mass or Volume Air Flow Circuit Range / PerformanceModerate$20 - $1300.5 - 1.2 hrs
P0113Intake Air Temperature Sensor 1 Circuit High InputLow$18 - $650.4 - 1 hrs
P0507Idle Air Control System RPM Higher Than ExpectedLow$25 - $1200.8 - 1.6 hrs
P0102Mass or Volume Air Flow Circuit Low InputModerate$25 - $1200.5 - 1.2 hrs
P0106Manifold Absolute Pressure Circuit Range / PerformanceModerate$25 - $850.5 - 1.2 hrs
P0505Idle Air Control System MalfunctionLow$30 - $1100.8 - 1.5 hrs
P0506Idle Air Control System RPM Lower Than ExpectedLow$25 - $950.8 - 1.5 hrs

Frequently Asked Questions About Fuel Trim, Lean Codes, and MAF Sensors

Can I drive with a P0171 lean code without hurting my car?

You can drive short trips to a local repair shop if the light stays steady yellow. But do not ignore lean codes for weeks. Lean fuel mixtures burn hot and can melt exhaust valves or overheat your catalytic converter over time.

Will cleaning my MAF sensor turn off the Check Engine Light?

Cleaning the sensor clears the dirt causing the fault. But the light stays on until the car computer runs two clean drive cycles without spotting lean conditions. You can clear the code with a handheld scanner to turn off the light faster.

What is the difference between a vacuum leak and a bad fuel pump?

A vacuum leak creates high positive fuel trims at idle that drop to normal at highway speeds. A weak fuel pump shows normal trims at idle. However, it starves the engine under heavy highway throttle and drives fuel trims high under load.

Why does my car idle higher after cleaning the throttle body?

Removing carbon allows more air through the closed throttle plate. The car computer still uses its old learned memory for a dirty bore. Most cars need an idle relearn drive or fifty miles of travel to reset the idle speed.

Can a dirty engine air filter trigger a P0101 trouble code?

Yes. A clogged air filter restricts airflow into the motor. The sensor reads lower airflow than the computer expects for that throttle position. This airflow deficit logs code P0101. Replacing the filter often solves the issue.

Can I use brake cleaner to clean a mass air flow sensor?

No. Never use brake cleaner or carburetor spray on a mass air flow sensor. Harsh solvents melt plastic sensor housings and strip delicate protective coatings from the platinum sensing wire. Always use dedicated MAF cleaner.

What causes code P0113 Intake Air Temperature sensor high?

Code P0113 indicates an open circuit in the intake air temperature sensor. It usually means an unplugged sensor connector or a broken internal thermistor wire. The computer assumes minus forty degrees until repaired.

How much does a shop charge to fix intake manifold gasket leaks?

Intake gasket parts cost $25 to $60. But shop labor costs $220 to $450 because mechanics must remove the upper intake plenum, disconnect fuel lines, and unbolt wiring brackets to reach the gaskets.

Why does my car stumble only during cold morning starts?

Hard rubber intake gaskets shrink in cold winter air. Unmetered air leaks past the seals during cold starts. Once the engine reaches operating temperature, the aluminum manifold expands and seals the leak shut until the next cold morning.

Does code P0174 affect fuel economy?

Yes. Code P0174 forces the computer to inject extra gasoline to balance the unmetered air on bank two. This constant fuel enrichment drops your gas mileage by ten to fifteen percent on daily commutes.