01 Why Your Car Revs High But Doesn’t Go Fast • 02 The Hidden Engine Damage That Happens When You Let Your Car… • 03 The Flywheel: Understanding Its Parts, Functions, and Impor… • 04 How to Change a Car Tire • 05 Petrol vs Diesel: This is Why You Should Consider a Petrol … • 06 Overheating, Misfires, and More: Common Engine Problems Cau… • 07 Top 5 Family-Friendly Buses for Comfortable Travel • 08 The Top 10 Engine Sensors Every Car Owner Should Know • 09 Why Does Your Car Shake When Braking at High Speeds? • 10 Inside the Day of an Automotive Engineer: Roles, Responsibi… •

DTC codes / P04xx · Auxiliary emission controls / P04B7

P04B7Fuel Fill Door Position Sensor/Switch Circuit Intermittent/Erratic

P04B7 indicates that the powertrain control module (PCM) has detected an intermittent or erratic signal from the fuel fill door position sensor or switch circuit. The PCM expects a stable voltage or resistance value that changes only when the fuel door is opened or closed, but it is seeing the signal jump, drop out, or behave unpredictably over time.

SystemPowertrain
Code typeGeneric (all makes)
SeverityLow
Fix difficultyIntermediate
AreaAuxiliary emission controls

Symptoms you may notice

  • Illumination of the check engine light (malfunction indicator lamp) on the dashboard.
  • Often no symptoms besides the warning light, because the fuel door position does not affect engine performance.
  • A fuel door that does not stay closed or does not latch properly, if the fault is mechanical rather than electrical.
  • Incorrect or missing fuel door status on the driver information display, if the vehicle is equipped with such a feature.
  • In rare cases, a message on the dash indicating the fuel door is open when it is actually closed.
  • No noticeable change in drivability, fuel economy, or emissions behavior.

Common causes, most likely first

  1. A faulty fuel fill door position sensor or switch that internally shorts or opens intermittently.
  2. Worn or corroded electrical connectors at the sensor or along the circuit, causing an erratic connection.
  3. Damaged or chafed wiring in the harness that runs from the sensor to the PCM, often near the fuel filler neck or hinge area.
  4. A misadjusted or damaged fuel door latch mechanism that does not consistently actuate the sensor.
  5. Water intrusion or debris contamination in the sensor or connector, leading to intermittent signals.
  6. A poor ground connection for the sensor circuit, causing voltage fluctuations.
  7. In rare cases, an internal fault in the PCM that misinterprets a stable signal as erratic.

How to diagnose and fix it

  1. Use a scan tool to retrieve the freeze-frame data and verify that P04B7 is the only code stored; clear the code and test-drive to see if it returns.
  2. Visually inspect the fuel fill door, latch, and sensor for mechanical damage, misalignment, or debris that could cause erratic switch operation.
  3. Disconnect the sensor connector and check for corrosion, water intrusion, or loose pins; clean and apply dielectric grease if needed.
  4. Measure the resistance or voltage of the sensor through its full range of motion with a multimeter, looking for smooth transitions without dropouts.
  5. Wiggle-test the wiring harness from the sensor to the PCM while monitoring the sensor signal on a scan tool to detect intermittent opens or shorts.
  6. Check the ground circuit for the sensor using a voltage drop test to ensure a clean, low-resistance path to ground.
  7. If the sensor and wiring test good, consult the factory service information for pinpoint tests specific to the vehicle before condemning the PCM.

Intermittent Fuel Door Sensor Traps

  • A fuel fill door position sensor that fails intermittently may test perfectly when the door is cycled by hand in the shop, so a thorough wiggle test of the harness while watching live data is essential.
  • Many technicians replace the sensor only to find the real problem is a chafed wire behind the inner fender liner or near the fuel filler neck, where road debris and moisture take a toll.
  • The PCM may set P04B7 simply because the fuel door was left open during a refueling event and the sensor signal was lost momentarily; always check for pending codes and clear them before diagnosing a hard fault.
  • On some vehicles, the fuel door position sensor shares a ground with the fuel tank pressure sensor or evap system, so a bad ground can set multiple codes including P04B7.
  • A misaligned fuel door hinge or a weak latch spring can cause the sensor to receive erratic inputs without any electrical fault, so mechanical inspection should precede parts replacement.

Can I keep driving with P04B7?

The vehicle is safe to drive with P04B7 because the fault does not affect engine operation, emissions, or safety systems. You can continue driving, but avoid leaving the fuel door open or slamming it, and have the issue diagnosed when convenient to prevent the warning light from masking a more serious code later.

Guidance is general and written for all OBD-II vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage