Au7o mascotAu7o
Known IssuesDiagnose my car
  1. Au7o
  2. /
  3. Known Issues
  4. /
  5. P0504
P0504ModeratePowertrain

P0504 on 2016-2019 Nissan Sentra (S, SV, SR, SL) — Brake Switch "A"/"B" Correlation

1 vehicles · 1 makes

Share:@au7o.io
NewAI Photo & Video Diagnosis
Not sure this is what you've got?
Upload a photo or video — Au7o will confirm the match and check for other common failures at the same time.
Upload & confirm

Most Reported On

2016-2019Nissan SentraS +3

P0504 is an OBD-II diagnostic trouble code meaning “Brake Switch "A"/"B" Correlation.” Most vehicles use two independent brake switch signals (a normally-open and a normally-closed circuit, switch A and switch B). The PCM compares them and expects them to change state together when the brake pedal is pressed. P0504 sets when the two signals disagree (do not correlate), indicating one switch or circuit is faulty. This code is most commonly reported on 2016-2019 Nissan Sentra (S, SV, SR, SL).

On This Page

  • Common Causes
  • Vehicles (1)
  • Related Codes
  • FAQ
  • Sources (3)
Back to top

Common Causes

1Failed brake light switch
2Misadjusted brake switch (plunger gap)
3Wiring/connector fault on one of the two brake switch circuits
4Blown brake-circuit fuse affecting one signal
5Faulty PCM input

Diagnostic Tools

To diagnose P0504, you'll need an OBD-II scanner. Here are our recommendations at every price point.

Budget Pick$10–$20

ANCEL AD310 Classic OBD-II Scanner

by ANCEL

A simple, affordable code reader that reads and clears check engine codes. Great for quick diagnostics on any OBD-II vehicle (1996+).

  • Read & clear engine codes
  • View freeze frame data
  • I/M readiness status
  • No batteries or app needed
Check Price on Amazon
Best Value$90–$120

BlueDriver Pro Bluetooth Scanner

by BlueDriver

Bluetooth OBD-II scanner with a free companion app. Provides enhanced diagnostics, smog readiness, and repair reports sourced from a database of verified fixes.

  • Enhanced diagnostics (ABS, SRS, transmission)
  • Repair Reports with verified fixes
  • Smog check readiness
  • Free app (iOS & Android)
Check Price on Amazon
Advanced$180–$230

LAUNCH CRP123X OBD-II Scanner

by LAUNCH

A professional-grade handheld scanner that reads all four major systems (engine, transmission, ABS, SRS) with live data streaming and graphing.

  • Engine, transmission, ABS, SRS diagnostics
  • Live data stream & graphing
  • AutoVIN for vehicle identification
  • Free lifetime updates via Wi-Fi
Check Price on Amazon
Professional$350–$450

Autel MaxiCOM MK808S Diagnostic Tool

by Autel

Shop-level diagnostic tablet with bi-directional control, active tests, and full system coverage. Ideal for serious DIYers and small shops.

  • All-system diagnostics (25+ modules)
  • Bi-directional control & active tests
  • Oil reset, EPB, BMS, TPMS, injector coding
  • 7-inch touchscreen with Android OS
Check Price on Amazon

As an Amazon Associate, we earn from qualifying purchases. Prices are approximate and may vary.

Vehicles Affected (1)

Nissan P0504 page →
SentraCritical

Brake Light Switch Failure - No Brake Lights / Won't Shift From Park (Recall PM971 / 21V-135)

2016-2019$0-$00 reports

Related Codes (8)

P0500Vehicle Speed Sensor MalfunctionP0501Vehicle Speed Sensor "A" Range/PerformanceP0502Vehicle Speed Sensor "A" Circuit Low InputP0503Vehicle Speed Sensor "A" Intermittent/Erratic/HighP0013"B" Camshaft Position Actuator Circuit/Open (Bank 1)P0020Camshaft Position 'A' Actuator Circuit (Bank 2)P0023"B" Camshaft Position Actuator Circuit/Open (Bank 2)P0025"B" Camshaft Position - Timing Over-Retarded (Bank 2)

FAQ

What does P0504 mean?

P0504 stands for "Brake Switch "A"/"B" Correlation." Most vehicles use two independent brake switch signals (a normally-open and a normally-closed circuit, switch A and switch B). The PCM compares them and expects them to change state together when the brake pedal is pressed. P0504 sets when the two signals disagree (do not correlate), indicating one switch or circuit is faulty.

What are the most common causes of P0504?

The most common causes of P0504 are: Failed brake light switch, Misadjusted brake switch (plunger gap), Wiring/connector fault on one of the two brake switch circuits, Blown brake-circuit fuse affecting one signal, Faulty PCM input. The specific cause varies by vehicle.

How much does it cost to fix P0504?

Repair costs vary widely depending on the root cause and vehicle.

Which vehicles are affected by P0504?

Au7o has documented P0504 across 1 vehicle models from 1 manufacturers: Nissan.

Sources (3)

  • RecallPart 573 Safety Recall Report 21V-135 (Stop Lamp Switch, 2016-2019 Sentra)
  • articleNissan Recalls Sentra Because Brake Lights Might Not Illuminate - Consumer Reports
  • TSBPM971 - Brake Lights May Not Illuminate (2016-2019 Nissan Sentra)
Get notified about P0504 fixes
We add new causes, fixes and affected vehicles for P0504 regularly — drop your email and we'll keep you posted. You can also diagnose your own car free.

Content compiled with AI assistance using NHTSA complaints, TSBs, and owner reports. May contain errors. Always verify with your vehicle's service manual.

Known IssuesDTC LookupDrivePricingAboutTermsPrivacyCookiesConsentData rightsCopyrightFeedback
Share:@au7o.io

Vehicle data and repair guidance on this site are compiled with AI assistance and may contain errors. Always verify with your service manual or a qualified mechanic.

Au7o · 2026
Built for DIY mechanics. Privacy-first.

© 2026 Au7o. All rights reserved.