P0504 Lexus: Diagnose Brake Switch Faults Before Replacing Parts
13 min read · by Nicole Bennett · Last updated: November 25, 2026
p0504 lexus means the engine computer has detected a mismatch between the brake-switch signals it uses to confirm brake-pedal operation. Lexus service information describes a stop-light switch assembly that sends two related signals, commonly identified as STP and ST1-. The ECM compares those inputs, so the code does not prove that the switch itself is defective.
The code deserves prompt attention because the same circuit helps confirm brake application and operate the stop lamps. A Lexus may still start and drive with P0504 stored, but that does not prove the brake lights work correctly. Check the lamps before driving, then diagnose both switch signals before buying parts. Exact wiring and test values vary by model year and engine.
What P0504 Means on a Lexus
P0504 is the generic SAE powertrain definition “Brake Switch A/B Correlation.” Lexus service information describes a duplex stop-light switch that sends STP and ST1- signals to the ECM. The two channels should change in a coordinated, complementary pattern as the pedal moves. The ECM stores the code when the signals do not match the expected relationship.

On Lexus applications covered by service data, STP is normally OFF with the pedal released and ON when it is pressed. ST1- uses the opposite electrical pattern. During pedal movement, both signals may briefly show an ON state, depending on the signal definition being viewed. Do not interpret one live-data value without checking the correct Lexus signal chart.
For example, a Lexus RX repair procedure says the Techstream Data List item “Stop Light SW” should be OFF with the pedal released and ON when depressed. The expected states and diagnostic checks are described in the Lexus RX repair procedure.
Detection logic is model-specific. Use the procedure for the exact VIN, model year, and engine before deciding that a brief transition is abnormal.
P0504 identifies a circuit problem, not a failed part. Trouble areas include the switch, fuse-protected supply, wiring, connector, junction block, or ECM. Consider the computer only after the external circuit passes testing.
| Signal | Pedal Released | In Transition | Pedal Depressed |
|---|---|---|---|
| STP | OFF | ON | ON |
| ST1- | ON | ON | OFF |
This table reflects the documented Lexus RX signal configuration. ON indicates battery-positive potential, while OFF indicates ground potential. Other Lexus applications may use different signal labels or diagnostic specifications, so confirm the correct chart before testing. The wiring and part locations differ by make, as P0504 Kia Code shows for the same code.
Symptoms and Driving Risk
Symptoms vary by Lexus model. Some vehicles may store the code with little obvious change in driving behavior, while others can have brake-lamp or cruise-control problems. The most important first check is whether the stop lamps turn on when the pedal is pressed and turn off when it is released.
The rear brake lamps may fail to illuminate, stay on after the pedal is released, or work intermittently. A failed lamp can make braking less visible to traffic behind you. Lamps that stay on can confuse other drivers and may drain the battery while parked. Check both rear lamps and the center high-mounted stop lamp; one working lamp does not prove the whole circuit is operating correctly.
Cruise control may refuse to engage or cancel unexpectedly because it relies on a valid brake-pedal input. Some vehicles also use the signal in engine or transmission control. These effects vary by model. The pedal can feel normal because P0504 is an electrical fault, not a measurement of hydraulic brake pressure.
Do not drive normally if the brake lamps do not work, remain on, or behave unpredictably. Arrange a tow or professional inspection. If the lamps work consistently and there are no braking or stability warnings, move only as needed to reach a safe inspection location and have the fault diagnosed promptly. Avoid highway travel until the switch inputs have been verified.
Safety: Brake lamps are essential safety equipment. If either rear stop lamp or the center high-mounted lamp fails to respond correctly, do not assume the other lamps provide adequate warning. Do not bypass the brake switch or continue driving with an unreliable brake-light circuit. Have the vehicle inspected or transported to a repair facility.
Common Causes Behind the Code
The stop-light switch assembly is a logical first suspect, but Lexus procedures also list open or shorted wiring, fuse or power-supply faults, connector problems, and in some applications a junction block or ECM. A correct diagnosis separates a switch failure from an electrical supply problem before replacing anything.
A worn or sticking switch can make one output change late or fail to change. A loose mounting point or incorrect switch position can also prevent consistent pedal contact. Because pedal travel is repeated on every stop, a marginal adjustment can create an intermittent signal. Do not adjust the switch by guesswork; the installation clearance and method are model-specific.
Power problems can produce the same mismatch. Lexus service procedures advise checking related fuses before continuing, and some applications involve STOP and IGN circuits. A blown fuse, poor terminal contact, or weak supply may keep the switch from producing the expected signal. Replace a fuse only with the specified rating and find the reason it failed.
A damaged harness or loose connector can interrupt either channel. Inspect for corrosion, water intrusion, spread terminals, damaged insulation, and previous repair work. A conductor may break inside its insulation near a moving pedal assembly, while a short to ground can hold a signal high or low. Recent interior work is a clue, not proof. For a comparison on a different vehicle, see P0504 Honda Code.
How to Diagnose P0504 with an OBD2 Scanner
A proper diagnosis checks the two switch inputs, their power supply, and the wiring between the switch and ECM. The 16-pin OBD2 connector is usually beneath the driver-side dashboard on U.S.-market vehicles from model year 1996 onward. Techstream or a capable scan tool with manufacturer-specific data is preferred.

- Confirm the code and save freeze-frame data. Start by confirming P0504 and recording stored, pending, and permanent codes before clearing anything. Save freeze-frame data from the ECM and related modules that the scanner can access. It can show whether the fault occurred with the ignition on or the vehicle moving. Keep the report for comparison after repair. Diagnose related power-supply or communication codes before treating P0504 as isolated.
- Check brake-lamp operation. Have an assistant observe the rear lamps while the vehicle is safely parked and the pedal is pressed and released. Check both rear stop lamps and the center high-mounted lamp. They should turn on with pedal application and turn off after release. This is an initial safety check, not a substitute for testing both electrical inputs.
- Monitor live brake-switch data. Use live Data List values for Stop Light Switch, STP, and ST1- if the vehicle exposes them. With the ignition in the position specified by the service procedure, watch the values with the pedal released, pressed, held, and released again. The data should change consistently, without flickering, delay, or a fixed reading. Compare the scan display with the model-specific chart.
- Verify power supply and voltage. One Lexus RX procedure specifies ST1- voltage of 7.5 to 14 volts with the pedal released and below 1.5 volts when depressed. It specifies STP below 1.5 volts released and 7.5 to 14 volts depressed. Those readings are examples for that application, not universal values for all Lexus models. Another Lexus procedure specifies 11 to 14 volts at designated switch supply terminals under stated conditions. Confirm connector pins, ignition state, and limits in the manual for the exact vehicle. A Lexus stop-light-switch diagnostic procedure also directs technicians to inspect the related circuit fuses before proceeding.
- Test switch continuity when required. If scan data is wrong, inspect related fuses and switch power before condemning the switch. A continuity test may compare specified terminal pairs with the switch plunger free and pushed in; continuity should reverse between those positions. Terminal numbers differ by application. Use the correct connector diagram rather than copying a pin map from another Lexus.
- Inspect wiring and connectors. If the switch passes, check the harness for opens, shorts to ground, and unintended continuity. One Lexus RX procedure uses less than 1 ohm for certain continuity checks and 10 kilo-ohms or higher for isolation from ground or other terminals. These are application-specific limits. Verify ECM power and ground before considering module replacement.
Fuel trims and Mode $06 are not the main diagnostic tools for this code. Focus on freeze-frame review, live brake-switch data, lamp operation, supply voltage, continuity, and wiring. If ABS, stability-control, or communication codes are also present, scan those modules and follow their own diagnostic procedures. For the equipment used in these checks, see Best Lexus OBD2 Scanner.
Repair Options and What to Verify
The correct repair depends on which part of the circuit fails testing. A defective switch may need replacement, while a blown fuse, corroded connector, broken wire, poor ground, or junction-block fault requires a different repair. P0504 is a diagnostic result, not a parts list. The goal is to restore the expected relationship between STP and ST1- and confirm normal stop-lamp operation.
- Replace a confirmed faulty switch. If the switch fails its continuity or output test, replace it with the correct application-specific assembly and install it using the Lexus procedure. Switch mounting and pedal clearance matter. A switch that is incorrectly positioned or contacted inconsistently can cause another fault after replacement. Connector style and adjustment procedures differ across Lexus models.
- Repair power-supply problems. If the supply check fails, inspect the correct STOP or IGN fuse and wiring that feeds the switch. If a fuse is blown, determine why it opened before fitting a replacement of the specified rating. If the switch has power but its outputs do not reach the ECM, test the harness and connectors.
- Repair damaged wiring or connectors. Restore damaged wiring with an automotive-grade method that preserves insulation, conductor size, routing, and strain relief. If switch signals are correct at the switch but wrong at the ECM, check the signal wiring and intermediate connectors. If the fault remains, verify ECM power, grounds, connector condition, and prescribed terminal measurements. Only after the external circuit passes should the ECM or a junction-block component be considered. Some module replacements may require programming or initialization.
- Verify the completed repair. Recheck the brake lamps and watch the switch data through several pedal applications. Confirm the lamps turn on and off without delay and the data changes consistently. Save the original report, clear codes, then run the model-specific confirmation procedure or a safe road test. Re-scan for stored and pending faults. A permanent OBD2 code may remain until the fault is fixed and its monitor completes and passes; an erase command alone does not force it to disappear.
Do not accept a repair only because the warning light went out. A loose connector may reconnect while parked and fail again with vibration. Confirm no brake, ABS, stability-control, or powertrain warning returns, and make sure the lamps turn off after pedal release.
What Affects Brake-Switch Repair Cost
The cost depends on the failed component, access, and the amount of electrical diagnosis required. Replacing one confirmed faulty switch is a different job from tracing an intermittent open circuit through a cabin harness or testing a junction block. The code alone cannot establish a reliable estimate because Lexus models use different switch assemblies, wiring layouts, and procedures.
Parts costs may involve the switch, connector or wiring repair, a fuse or junction-block component, and possibly an ECM after complete circuit testing. A damaged harness can require extra labor to locate the break and restore safe routing.
Labor depends on diagnostic time as much as installation time. An intermittent fault takes longer to isolate than a switch that fails a direct continuity test. Testing two signal circuits, power and ground, fuses, and wiring to the ECM adds time. Access differs among Lexus sedans, SUVs, and hybrids.
DIY work may reduce labor when the fault is clear. Checking brake-lamp operation and reading codes are reasonable first checks. Module-connector measurements, circuit isolation, and switch adjustment need the correct diagram and meter technique. Professional diagnosis is appropriate when symptoms are intermittent or wiring results are unclear.
Before approving parts, ask which test identified the failed item. The estimate should state whether the switch failed, its supply voltage is correct, both signal wires passed continuity and short checks, and ECM data agrees with meter readings. Ask whether programming or initialization is required. Codes often appear in groups on this vehicle, so P0505 Lexus may also apply.
Frequently Asked Questions
These five questions address Lexus-specific details that can change how you interpret a stored P0504 code, the warning light, and scan-tool readings. A model-specific service procedure remains the final reference for electrical testing.
Does P0504 always turn on the check-engine light?
No. A Lexus RX service entry for the related P05042B signal-cross-coupled fault lists the malfunction indicator lamp as not commanded on even though the DTC is stored. Warning-light behavior depends on the model’s calibration, so a scan is more reliable than relying on the dashboard alone.
Can a Lexus store P0504 after one detection?
Some Lexus service procedures use one-trip detection logic. A documented Lexus P0504 procedure describes a specified mismatch lasting 0.5 second with the ignition on as sufficient to set the code. That is an application-specific example, not a timing rule for every Lexus.
Why might a generic scan tool not show STP and ST1- separately?
A basic OBD2 reader may retrieve the generic P0504 code without offering Lexus-specific Data List items. Enhanced scan access is needed to view the switch parameters used in the manufacturer procedure. The exact menu names also vary by model and scan-tool software.
Can a burned-out brake bulb cause P0504?
A burned-out bulb can explain why a stop lamp does not illuminate, but it does not by itself prove that the ECM sees mismatched STP and ST1- signals. Lexus and Toyota diagnostic checks include confirming that stop lamps switch on and off. Test the lamp circuit and switch data separately.
Do all Lexus models use the same scan-tool menu for this test?
No. Lexus procedures for different generations use different tester names and menu paths. Older procedures may refer to an intelligent tester and a “Stop Light Switch” data item, while newer instructions may specify Techstream and a “Stop Light SW” Data List item. Follow the screen path in the manual for the vehicle being serviced.
The key is to diagnose both brake-switch channels rather than replacing the first part named by the code. Confirm the stop lamps, compare STP and ST1- with Lexus-specific scan data, and test power, switch operation, and wiring in sequence. Because brake-light operation is safety-critical, do not continue normal driving if the lamps fail or remain on.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0505 Lexus: Find the Cause of Idle Speed Problems
LearnP0500 Lexus Code: Vehicle Speed Sensor Problem Explained
LearnP0018 Lexus: Diagnose Bank 2 Camshaft Timing Problems
LearnP0606 Lexus: Symptoms, Causes, Diagnosis, and Repair Solutions
LearnP0705 Lexus: Find the Range Sensor Fault Before Replacing Parts
LearnP0420 Code: What It Means, Causes and How to Fix It