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.
Low severity. Can I keep driving?You can normally keep driving. If it affects the fuel level, do not trust the gauge and refuel earlier than usual.
Symptoms
- 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
Most likely causes
- Loose contact in the connector, pins pushed back
- Broken wire at the bend or grommet
- Switch bouncing or worn, door seated loosely
- Module input faulty
What to check, in order
Start with the simplest. You can tick off each step.
Good to know
- Repair difficulty: easy
- It affects emissions.
What each character of P04B7 means
- P: Powertrain: engine and transmission
- 0: Generic code: same on every make
- 4: Emissions
- B7: Specific fault in that system
Frequently asked questions
Can I keep driving with code P04B7?
You can normally keep driving. If it affects the fuel level, do not trust the gauge and refuel earlier than usual.
What causes code P04B7?
The most common causes are: loose contact in the connector, pins pushed back; broken wire at the bend or grommet; switch bouncing or worn, door seated loosely.
Related codes
- P04B8Fuel Fill Door Position Sensor/Switch Circuit
- P04B9Fuel Fill Door Position Sensor/Switch Circuit Low
- P04BAFuel Fill Door Position Sensor/Switch Circuit High
- P04DCFuel Fill Door Position Sensor/Switch Circuit Range/Performance
- P04B5Fuel Fill Door Stuck Open
Sources
Values and procedures vary by manufacturer. If it affects brakes, steering, fuel or high voltage, see a professional. Updated: 2026-11-04. How we build these pages.