VinGear VIN decoder VinGearVIN decoder, VIN lookup & history check Check a VIN

P04B7 code meaning

Fuel Fill Door Position Sensor/Switch Circuit Intermittent/Erratic

Powertrain system Generic code P04xx codes Check engine light

What P04B7 means

Plug-in and some full hybrids keep the fuel tank sealed while driving, separated from the charcoal canister by a valve. When the driver presses the fuel button, the system opens the valve, lets the pressure escape into the canister and only then unlocks the filler door. A switch reports whether the door is open or closed, so that the tank can be sealed again afterwards. P04B7 means the door switch signal drops out or jumps briefly – the state changes without the door moving, for example while driving. Typical are loose contacts or a broken wire at the bend into the door area. If the door state is unknown, the system leaves the tank open to the canister as a precaution and suspends the leak tests. No manufacturer document available to us uses this code; the description follows CARB's input component rules and patents for the door switch.

P04B7 at a glance

  • Check engine lightYes, usually on
  • Emissions testCan fail
  • Limp modeNot expected
  • Repair difficultyEasy, DIY possible
  • Typical labor0.5 to 1.5 hours
  • Clears after repairAfter a drive cycle

Symptoms of P04B7

  • Check engine light on
  • Fuel door open message although the door is closed, or missing when it is open
  • Door may not open or only after a delay
  • EVAP readiness not set

Common causes of P04B7

  • Most likelyLoose contact in the connector, pins pushed back
  • PossibleBroken wire at the bend or grommet
  • PossibleSwitch bouncing or worn, door seated loosely
  • Less likelyModule input faulty

Check the most likely causes first. Replacing parts by guesswork is the most expensive way to clear a code.

Parts involved

Fuel fill door position switchSwitch wiringEngine control module

What each part of P04B7 means

PPowertrain system: engine, fuel system, ignition, emissions and transmission.
0Generic code: it means the same on every make (SAE standard).
4Area: auxiliary emission controls (catalytic converter, EGR, EVAP).
B7The exact fault in that area.

What to do next

  • Note P04B7 and any other codes stored with it: several codes together often point to one cause.
  • Check for loose connectors and damaged wiring around the parts the code names.
  • Check open recalls for your car: some faults are fixed for free by the dealer. Enter your VIN.
  • Clear the code only after the repair. If it comes back, the fault is still there.

Buying a used car? Scan it for stored codes before you pay. A recently cleared memory can hide a problem.

Questions about P04B7

What does P04B7 mean?

P04B7 means "Fuel Fill Door Position Sensor/Switch Circuit Intermittent/Erratic". Plug-in and some full hybrids keep the fuel tank sealed while driving, separated from the charcoal canister by a valve. It is a generic code, so it means the same on every make.

Is it safe to drive with P04B7?

Usually yes, for a short time, if the check engine light is steady and the car drives normally. If the light flashes or the car runs badly, stop and have it checked.

Will P04B7 fail an emissions test?

Yes, it can. P04B7 is emissions-related, so most inspection programs fail a car while it is stored or while the check engine light is on.

How hard is P04B7 to fix?

Difficulty: easy. A typical repair takes 0.5 to 1.5 hours of work. A careful DIY repair is possible with basic tools and a scanner.

Will P04B7 clear itself after the repair?

After the repair the car has to complete a drive cycle (a mix of city and highway driving) before the test runs again. Until then the readiness monitor shows "not ready", which can fail an inspection.

Look up another code

Technical content: OBDex open OBD-II database (public domain, CC0), checked 11 Oct 2026, edited for US drivers by the VinGear team.
Technical sources for P04B7