DTC codes / B05xx · Airbags, seats, doors, lights and comfort systems / B0540
B0540 indicates that the body control module (BCM) has detected an unexpected signal from the driver's door ajar switch circuit, meaning the voltage on the circuit does not match the expected value for the door's open or closed state. The BCM monitors this circuit to determine if the driver's door is open, and when the voltage falls outside the normal range, it sets this code and may trigger a warning light or message.
The vehicle is safe to drive with this code because it does not affect engine, transmission, or braking systems, but you should avoid relying on the door ajar warning for security and address the issue promptly to prevent battery drain from interior lights staying on. If the interior lights stay on, monitor the battery or remove the bulb until repaired.
Tools we recommend are in the Auto Veteran shop on Amazon. As an Amazon Associate we earn from qualifying purchases.
Guidance is general and written for all OBD-II vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.