DTC codes / Subaru codes / P1540
P1540 on a Subaru means the engine control module (ECM) has detected an implausible or missing signal from the vehicle speed sensor circuit. The ECM compares vehicle speed data from the speed sensor against other inputs such as engine speed and throttle position, and when the expected relationship is not seen, it stores this code and illuminates the check engine light.
You can usually drive with P1540 set, but be aware that the transmission may shift erratically and the speedometer may be inaccurate, which affects cruise control and ABS operation. Avoid sustained high-speed driving or heavy towing until the fault is repaired, and have the vehicle diagnosed promptly to prevent secondary issues.
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 Subaru vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.