Au7o mascotAu7o
Known IssuesGet Started
  1. Au7o
  2. /
  3. Known Issues
  4. /
  5. DTC Codes
  6. /
  7. P0504
  8. /
  9. Nissan
Nissan · Powertrain · Moderate code

P0504 on Nissan: How to Diagnose & Fix

Brake Switch "A"/"B" Correlation

1 Nissan model · 1 documented issue · 1 critical

Share:@au7o.io

P0504 by Nissan model

  • 2016-2019Sentra1
  • FAQ

P0504 on other makes

  • Chevrolet
  • Ford
  • Kia
Diagnose my car
Back to top

P0504 by Nissan model

  • 2016-2019Sentra1
  • FAQ

P0504 on Nissan by model: symptoms, diagnosis and fix

Link to this issueError Codes:C1179P0504

The stop-lamp (brake light) switch becomes contaminated by silicone off-gassing from grease used on nearby components. Electrical arcing oxidizes the contacts and builds up silicon dioxide, opening the circuit. The result is brake lights that do not illuminate (a rear-end-collision hazard) and, because the same switch signals the shift interlock, an inability to shift the transmission out of Park. Nissan recalled 807,376 Sentras under campaign PM971 (NHTSA 21V-135).

Common Symptoms

  • Brake lights do not illuminate when pedal is pressed
  • Brake lights stuck on
  • Cannot shift out of Park
  • Cruise control inoperative
  • Intermittent push-button start issues

How to Fix

Have the dealer perform recall PM971 / 21V-135: replace the stop lamp switch and install a protective grommet at no cost. Outside the recall, the switch is an inexpensive part; confirm by checking whether brake lights work and whether the brake-pedal-press releases the shift interlock before condemning the shifter assembly.

Typical repair cost:$0 - $0
Sources for this issue (3)
  • Part 573 Safety Recall Report 21V-135 (Stop Lamp Switch, 2016-2019 Sentra)recall
  • Nissan Recalls Sentra Because Brake Lights Might Not Illuminate - Consumer Reportsarticle
  • PM971 - Brake Lights May Not Illuminate (2016-2019 Nissan Sentra)tsb

Research This Issue

GoogleRedditYouTubeNHTSA
Community Reported
High ConfidenceVerifiedReviewed Jun 2026
All Nissan Sentra known issues →

P0504 code reference

General diagnostic-code context. The code alone does not confirm a cause for your vehicle; use the applicable issue card and its sources.

Frequently asked questions

What does P0504 mean on a Nissan?

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. On Nissan it is documented across 1 model: Sentra.

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 on a Nissan?

Repair costs vary widely with the root cause and Nissan model; each issue on this page carries its own estimate where one is published.

Related codes

  • P0500 · Vehicle Speed Sensor Malfunction
  • P0505 · Idle Air Control System Malfunction
  • P0506 · Idle Air Control System RPM Lower Than Expected
  • P0507 · Idle Air Control System RPM Higher Than Expected
  • P0020 · Camshaft Position 'A' Actuator Circuit (Bank 2)
  • P0034 · Turbocharger/Supercharger Bypass Valve Control Circuit Low
  • P0035 · Turbocharger/Supercharger Bypass Valve Control Circuit High
  • P003A · Turbocharger/Supercharger Boost Control 'A' Position Exceeded Learning Limit

Looking for P0504 on a different make?

View P0504 across all makes →
🔧
A mechanic who knows YOUR exact car
Answers tuned to your year, make, model & trim — not generic advice. Save your garage so it always has the right context.
Get notified about P0504 fixes on Nissan
We add new causes, fixes and affected Nissan models 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 IssuesMotorcycle 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.

Data protection representation

DataRep representative in the United KingdomDataRep representative in the European Union
Au7o · 2026
Built for DIY mechanics. Privacy-first.
See the tech tree