AutoLogicTools

OBD-II trouble code

P0504: Brake Switch "A"/"B" Correlation

Application matters: Match the full code and brake-input system. A/B does not establish two separate switches, universally opposite contacts or which signal other vehicle functions use.

The monitored brake-switch A/B signals did not agree as expected. Identify the fitted brake-input arrangement before adjusting or replacing a switch.

High severityPowertrainBrake InputAssess symptoms before driving

Quick facts

System
Powertrain
Category
Brake Input
Severity
High severity
Driving guidance
Depends on symptoms and vehicle guidance
Repair cost range
$109 – $146 (Brake light switch replacement only, if diagnosed)
DIY difficulty
Shop recommended

A code alone cannot establish whether driving is safe. Stop safely for a red brake or oil-pressure warning, overheating, severe misfire, stalling, or impaired braking or steering, and follow the owner's manual. Restraints faults can reduce crash protection even when the vehicle runs normally.

Browse every code in P0500–P05AE, or start from the full code library.

What does P0504 mean?

P0504 concerns the expected relationship between designated brake-switch signals A and B. The module compares them using its own logic and timing. The code does not establish one physical switch layout, adjustment method or replacement part.

Ford’s covered 2024–2025 gasoline summary separates P0504/P0571_96 correlation from the low/high brake-circuit checks and identifies it as a non-MIL warning result in that context. A generic explanation that always predicts a check-engine light or treats correlation as one open wire misses that distinction.

Check the actual brake-lamp response and all warnings, then have the relevant inputs and circuit tested. Working lamps do not prove that every signal used by engine, cruise, shift or brake controls agrees. The code also cannot certify normal hydraulic braking or authorize driving with defective brake lights.

Possible causes

  • Incorrect or inconsistent brake-input response established by testing
  • Switch/pedal installation or adjustment concern where applicable
  • Connector, supply/return or signal-circuit fault
  • Receiving-controller or configuration concern supported by the exact diagnostic path

Symptoms

  • Brake-related, cruise or powertrain warning may appear
  • Brake lamps may stay on, fail to illuminate or work normally despite the fault
  • Cruise, starting or shift-interlock complaints may coexist on equipped vehicles

Diagnostic steps

Save the full scan report, code status, and available freeze-frame data before clearing anything. Confirm the reporting module, any failure-type suffix, and the procedure for the exact vehicle. The steps below are an overview; use manufacturer specifications and safety procedures for testing.

  1. 1.Record the full scan and suffix; note brake-lamp, pedal, starting and cruise complaints.
  2. 2.With the vehicle secured, check lamp operation without bypassing any interlock. Incorrect lamps or abnormal braking need assessment before driving.
  3. 3.Identify the required A/B states and timing from the fitted system’s service information. Do not assume the two states must always be opposite.
  4. 4.Have the specified pedal/switch, power, ground and signal tests performed. Follow actual mounting/adjustment requirements rather than swapping parts as a test.
  5. 5.Verify the repaired input relationship and all affected functions using the manufacturer’s checks.

Repair cost

$109 – $146 (Brake light switch replacement only, if diagnosed)

USD planning figures, not a vehicle-specific quote. Confirm the diagnosed job and whether the estimate includes diagnosis, parts, labor, programming, calibration, and taxes.

RepairPal U.S. national replacement-job example, updated September 3, 2026 and checked November 6. It does not price diagnosis, wiring, pedal or controller work. Taxes, fees, location and additional repairs are separate.

Estimate your repair

Run the numbers for your vehicle

Open the Repair Cost Estimator with brake light switch replacement preselected. Adjust labor rate and vehicle category to fit your situation.

Related repairs

These links are planning examples; the code does not confirm that any listed part has failed.

DIY vs shop

A qualified shop is recommended because this can involve braking-system diagnosis; hydraulic repairs may require a specified bleed procedure, while module replacement may require configuration or calibration. Ask the technician what testing confirmed the repair.

Related codes

Frequently asked questions

Can the lamps work while P0504 is present?

Yes. Lamp operation alone does not verify the required relationship between every monitored brake input.

Should I adjust the switch until the code clears?

Use the actual installation and diagnostic procedure. Some switches have specific setting or replacement requirements, and clearing the code does not verify the signals.

Can I keep driving?

Do not drive with unreliable brake lamps or abnormal braking. Seek prompt help for a red brake warning, changed pedal feel or unexpected vehicle response. P0504 alone cannot establish that braking is unaffected.

Editorial context

About This Diagnostic Information

These guides provide general diagnostic context. A trouble code records a condition detected by a control module. It does not automatically identify a failed part, and the right diagnostic procedure can vary by vehicle.

References for this guide

  • SAE J2012, April 2002

    Historical Table B6, PDF 18–19, distinguishes vehicle-speed, idle-control and auxiliary-input conditions. It does not supply a vehicle-specific wiring or repair procedure.

  • Ford 2024–2025 gasoline OBD operation summary

    July 2024 V2: PDF 101 distinguishes brake-switch correlation from low/high circuit checks; PDF 139 distinguishes lower/higher-than-target idle monitors. Each has its own enabling conditions.

  • RepairPal brake light switch replacement estimate

    U.S. national switch-replacement example, updated September 3, 2026 and checked November 6: $109–$146. Diagnostic, wiring, module and other work must be quoted separately; location, taxes and fees vary.

Manufacturer service information, technical service bulletins, wiring diagrams, and vehicle-specific procedures should take precedence when available.

AutoLogicTools was founded by Vincent Fisk, an automotive locksmith and shop owner in San Diego with hands-on experience in vehicle keys, immobilizer systems, electrical issues, modules, programming, and diagnostics.