P2540
Low Pressure Fuel System Sensor Circuit Range/PerformanceP2540 is a generic OBD-II powertrain diagnostic trouble code: Low Pressure Fuel System Sensor Circuit Range/Performance. It is logged by the engine control unit when the powertrain monitor detects that a specific fault threshold has been exceeded — typically resulting in the malfunction-indicator lamp (MIL / check-engine light) being illuminated.
What P2540 means
P2540 is a generic powertrain code set when the engine control module judges the low pressure fuel system sensor signal to be implausible. On direct-injection engines the fuel system is split in two: a low pressure or lift stage, fed by the in-tank pump, which delivers fuel to the high pressure pump, and the high pressure stage that feeds the injectors. The low pressure sensor sits in that feed side, often near the high pressure pump inlet, and tells the module how much supply pressure that pump is actually being given.
The range/performance version of the code means the signal is electrically present and readable, but it does not agree with what the module expects. Typical triggers are a value that stays fixed while commanded pump duty changes, a pressure that contradicts the high pressure side, or a value inside the legal voltage window yet outside the normal operating band. The module runs this check continuously because it uses the low pressure reading to control in-tank pump duty and to protect the high pressure pump from running dry.
Because that protection logic depends on the sensor, the module often derates the engine when it cannot trust the value. It is common on VW and Audi direct-injection engines, where fuel intrusion into the sensor is a known failure mode, and often appears alongside low rail pressure codes. Distinguishing a sensor or wiring fault from a real supply shortfall matters, because the code can be a truthful report of a fuel delivery problem.
Common causes
Most-frequently reported root causes when P2540 is logged.
-
1
Failed low pressure fuel sensor, commonly from fuel or vapour intrusion into the sensor element which skews its output.
-
2
Genuinely low supply pressure from a weak or failing in-tank lift pump.
-
3
Restricted fuel filter, blocked strainer, or a kinked or collapsed low pressure feed line.
-
4
Corroded, loose, or water-damaged sensor connector, or damaged wiring in the sensor harness.
-
5
Air being drawn into the low pressure side through a leaking union, seal, or cracked line.
-
6
Poor ground or an out-of-spec reference voltage feed to the sensor.
-
7
Faulty in-tank pump control module or its relay, so the pump cannot follow the commanded duty.
-
8
Faulty engine control module input circuit, which is rare and should be the last conclusion after everything upstream checks out.
Symptoms drivers notice
How to diagnose P2540
A typical diagnostic flow when this code is present.
-
1
Read all codes and freeze-frame data, and note any accompanying fuel pressure codes, since a rail pressure fault alongside P2540 points towards real supply trouble rather than just a sensor.
-
2
Check for manufacturer technical service bulletins, as several makers have published updated sensors or software for this exact code.
-
3
Watch low pressure fuel sensor value, high pressure rail value, and commanded lift pump duty together in live data, at idle and under load, to see whether the low pressure signal is stuck, offset, noisy, or simply reporting a genuine shortfall.
-
4
Compare the sensor reading with key-on engine-off ambient pressure, where a plausible sensor should read close to atmospheric, to reveal an offset or drifted sensor.
-
5
Inspect the sensor connector and its harness for fuel or water contamination, corrosion, chafing, and heat damage, and confirm the sensor has a good ground and a correct reference voltage feed.
-
6
If the reading suggests real low supply pressure, verify actual low pressure fuel delivery with an appropriate gauge, then check the fuel filter, in-tank pump, pump control module, and feed lines for restriction or leaks.
-
7
Only when the fuel supply is proven adequate and the wiring, ground, and reference feed are all confirmed good should the sensor be replaced, and afterwards clear the code and road-test under load to confirm it does not return.
Related powertrain codes
Frequently asked questions
Can I keep driving with P2540?
It is not advisable to drive far. If the cause is genuinely low supply pressure, the high pressure pump can be starved of fuel and lubrication, which is an expensive failure. The engine may also drop into a reduced power mode without warning, which is unsafe in traffic. Get it diagnosed promptly.
Will P2540 fail an emissions test?
Yes. It is a stored powertrain code with the malfunction indicator lamp on, and it directly affects fuelling, so it will fail the OBD part of the test in most regions. It has to be repaired and the code cleared before retesting.
Is this expensive to fix?
It depends entirely on the cause. A sensor or a wiring repair is a moderate job. A failed in-tank fuel pump is considerably more, and if a starved high pressure pump has already been damaged the bill rises sharply, which is another reason not to keep driving on it.
Should I just replace the low pressure fuel sensor?
No, not without testing first. The code often reports a real fuel supply shortfall from a tired lift pump or a blocked filter, and fitting a new sensor in that case changes nothing. Confirm with live data and an actual pressure measurement before buying parts.
Disabling P2540 in software
RaceTune can permanently disable P2540 — and any other OBD-II diagnostic trouble code — on every ECU family we support. The monitor is disabled inside the ECU itself, so the fault stops being logged: the warning light stays off and the engine never enters limp mode for this code. The change is tied to your exact software version.
ECU families we can disable P2540 on
We hold the DaVinci A2L disable definitions for these families, so the exact P2540 path and mask addresses are mapped. verified marks a confirmed disable definition. We support many more — upload your file and our identifier will match it automatically.
- Bosch EDC17C74 verified
Software modifications affect emissions compliance and are not road-legal in many jurisdictions. RaceTune service files are intended for motorsport, off-road, and export use.
Got P2540 in your scan?
Your first DTC disable is free. Three fields, one click.