Fuel delivery
P0504: Brake Switch 'A'/'B' Correlation
P0504 means Brake Switch 'A'/'B' Correlation. That is the name of a test the powertrain computer already ran. It is not a receipt for a part, and it is not a reason to clear the light before the freeze frame is written down.
The component named here is Brake Switch 'A'/'B' Correlation. The fault type is correlation. A correlation code means two signals that should agree do not. The computer is comparing a pair, often a crankshaft signal and a camshaft signal, or two sensors that describe the same event. One of them can be late, missing, or assigned to the wrong connector.
What the monitor is saying
Timing that has jumped, a reluctor wheel that is damaged, or connectors swapped after a repair can all set this result. The code does not say which of the two signals is wrong.
This page is about P0504 only. Nearby codes such as P0500, P0501, P0502, P0503 can share a part and still describe a different circuit, bank, or sensor. Read the stored set as a group.
What to write down first
Before anyone clears P0504, record whether it is confirmed or pending, the mileage, and the freeze frame. The useful freeze-frame fields are engine speed, load, coolant temperature, vehicle speed, and fuel trim if the tool shows them. Also list every other code, including codes under the transmission or body modules if the tool can see them.
Clearing the light first deletes that context. The light may come back, but the conditions that set it can be gone. A shop then has to wait for the monitor to run again.
Checks that do not make the fault worse
- Save the code, the freeze frame, and any pending codes before a scan tool clears them.
- Look for an obvious connector, hose, or recent repair that matches this part.
- Do not buy the part in the title as the first and only step.
A steady check-engine light with normal temperature, oil pressure, and no major loss of power can usually be driven gently to a shop. Stop if the light flashes, the engine overheats, oil pressure drops, or the car will not hold a gear.
What a proper test is looking for
A useful diagnosis separates three things: the part named in the title, the wiring and connector that feed it, and the engine or transmission condition the part is measuring. P0504 fails when that test does not pass. Replacing Brake Switch 'A'/'B' Correlation is appropriate only after the circuit and the measured condition say the part is the failed piece.
Ask the shop to show the code, the freeze frame, and the test that ruled the wiring in or out. A printout that only says “replaced Brake Switch 'A'/'B' Correlation” is not that test.
Where this sits in the library
P0504 belongs with Fuel delivery. Use the system page to see the neighboring tests, and use the guide on steady versus flashing lights if you have not yet decided whether to keep driving.
- P0500: Vehicle Speed Sensor 'A'
- P0501: Vehicle Speed Sensor 'A' Range/Performance
- P0502: Vehicle Speed Sensor 'A' Circuit Low Input
- P0503: Vehicle Speed Sensor 'A' Intermittent/Erratic/High
Questions people ask about P0504
What does P0504 mean?
P0504 is the generic OBD-II test named “Brake Switch 'A'/'B' Correlation.” It means that test failed. It does not name the part you should buy.
Can I drive with P0504?
A steady check-engine light with normal temperature, oil pressure, and no major loss of power can usually be driven gently to a shop. Stop if the light flashes, the engine overheats, oil pressure drops, or the car will not hold a gear.
Will clearing P0504 fix the car?
Clearing the code turns the light off until the monitor runs again. If the fault is still there, the light returns and the freeze frame you deleted is gone.