OBD-II Generic Error Code P2299: How to Fix It
Medium 1-3 hours Medium Severity
Verified June 2026
- Error Code
- P2299
- Brand
- OBD-II Generic
- Product Type
- automotive
- Severity
- Medium
- DIY Difficulty
- Medium
- Estimated Fix Time
- 1-3 hours
Ad
Tools You'll Need
- OBD-II diagnostic scanner (with live data capability)
- Digital multimeter
- Wire test probe set / back-probe pins
- Electrical contact cleaner
- Wire brush or sandpaper
- Heat-shrink wire connectors and appropriate wire gauge
- Basic socket and wrench set
- Flathead and Phillips screwdrivers
- Flashlight or work light
- Brake pedal depressor tool (optional, for hands-free testing)
How to Fix Error Code P2299
-
Read and Record All Fault Codes
Do not clear codes if you have not recorded them first. Clearing without recording loses valuable diagnostic data. -
Inspect the Brake Pedal Position Switch
Ensure the vehicle is parked on a flat surface with the parking brake engaged before working near the pedals. -
Inspect the Accelerator Pedal Position (APP) Sensor
Never work around the accelerator pedal assembly with the engine running. Keep your hands clear of moving components. -
Check Wiring and Connectors for Both Sensors
Always disconnect the negative battery terminal before handling wiring near the ECM or sensor connectors to avoid accidental short circuits. -
Test and Inspect the Brake Booster and Pedal Mechanism
A compromised brake booster or master cylinder is a serious safety concern. Do not drive the vehicle if you suspect brake system mechanical failure. -
Inspect and Clean the ECM Ground Connections
Disconnect the negative battery cable before removing any ECM ground connections to prevent electrical damage. -
Check for ECM Software Updates or Known TSBs
-
Clear Codes and Perform a Final Road Test
Only perform a road test in a safe, low-traffic area if there is any remaining concern about drivability or reduced engine power mode.
Parts You May Need
Brake pedal position switch
Check Price on Amazon
Accelerator pedal position sensor / pedal assembly
Check Price on Amazon
Wiring repair kit (wire, heat-shrink connectors, terminals)
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
OBD-II scanner
Check Price on Amazon
Brake pedal position switch
Check Price on Amazon
Accelerator pedal position sensor / pedal assembly
Check Price on Amazon
Wiring repair kit (wire, heat-shrink connectors, terminals)
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
OBD-II scanner
Check Price on Amazon
Brake pedal position switch
Check Price on Amazon
Accelerator pedal position sensor / pedal assembly
Check Price on Amazon
Wiring repair kit (wire, heat-shrink connectors, terminals)
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
OBD-II scanner
Check Price on Amazon
Brake pedal position switch
Check Price on Amazon
Accelerator pedal position sensor / pedal assembly
Check Price on Amazon
Wiring repair kit (wire, heat-shrink connectors, terminals)
Check Price on Amazon
Electrical contact cleaner
Check Price on Amazon
OBD-II scanner
Check Price on Amazon
Ad
When to Call a Professional
You should call a professional mechanic or take the vehicle to a dealership if: the brake lights are not functioning and the brake switch replacement does not resolve the issue; the vehicle enters limp/reduced power mode and will not recover after repairs; you suspect ECM failure or need a factory ECM reprogramming that requires dealer-level software; you are uncomfortable testing live sensor voltages with a multimeter; or if brake system mechanical components such as the master cylinder or brake booster appear faulty, since these are critical safety systems that require professional repair.Frequently Asked Questions
Can I drive my car with a P2299 code?
You can often drive short distances with P2299 active, but it is not recommended. The vehicle may enter reduced engine power mode, limiting acceleration and potentially making highway driving unsafe. Because the code involves both brake and throttle systems, it presents a potential safety risk, especially if the accelerator pedal sensor is behaving erratically. Get the vehicle diagnosed as soon as possible.
What is the most common cause of code P2299?
The most common cause of P2299 is a faulty or misaligned brake pedal position switch. This switch can wear out, shift out of position, or develop intermittent electrical faults that make the ECM think the brake is being pressed when it is not — or that both pedals are pressed simultaneously. The accelerator pedal position sensor and related wiring issues are the second most common cause.
How much does it cost to fix a P2299 code?
If the fix is a brake pedal switch replacement, parts typically cost between $10 and $50 and labor is often under one hour, making total repair costs around $75 to $200 at a shop. If the accelerator pedal assembly needs replacement, parts can range from $50 to $250 depending on the vehicle, with labor adding $100 to $200 more. ECM reprogramming at a dealership can cost $100 to $300 separately.
Will P2299 clear itself after the problem is fixed?
No — P2299 will not automatically disappear from your scanner history once the underlying problem is resolved. You need to manually clear it using an OBD-II scanner. After clearing, the code will not return if the repair was successful. If it comes back after a short drive, the root cause has not yet been fully addressed.
Can a bad brake light switch really cause P2299?
Yes, absolutely. The brake light switch (also called the brake pedal position switch) sends a signal to the ECM every time you press the brake. If it fails in the closed position — meaning it constantly tells the ECM the brake is pressed — the ECM sees a conflict whenever you also press the accelerator. This is one of the most straightforward and inexpensive fixes for P2299, and it should always be the first component you test.