P0504

P0504 on a 2013–2018 Nissan Altima: Brake switch A/B correlation

Print shop one-pager Take this page to the shop — causes, fair prices, and sharp questions on one sheet.
For your specific vehicle: P0504 on a 2006–2011 BMW 3 Series · 2012–2018 BMW 3 Series · 2010–2017 Chevrolet Equinox · 2011–2019 Ford Explorer · 2014–2018 GMC Sierra 1500 · 2011–2019 Hyundai Sonata
Show all 11 vehicles with this code

2011–2021 Jeep Grand Cherokee · 2007–2018 Jeep Wrangler · 2013–2018 Nissan Altima · 2010–2019 Subaru Outback · 2005–2023 Toyota Tacoma

DIY difficulty 1/5

Your brake light switch is sending conflicting signals. Your brake lights might not work - which is a safety issue - and cruise control may quit.

Model notes: Check brake light operation first - if the brake lights don't work, other drivers can't see you stopping.

Key facts

☑ Before you buy parts — check these first:
On your 2013–2018 Nissan Altima (2.5L QR25DE I4) — Front brake pads and rotors: Owner-verified
Front brakes are a single-piston floating caliper on slide pins. Remove the two slide-pin bolts with a 14mm socket, lift the caliper off, and hang it from the strut with wire or a hook — never let it dangle on the brake hose. The pads slide out of the bracket. To replace the rotor, remove the caliper bracket (torque member) bolts from behind the knuckle with a 19mm wrench/socket and lift the bracket off; the rotor then slides off the hub. After reassembly, pump the brake pedal several times before driving, and drive gently for the first ~30 miles to bed the pads in.
Do this test first: Check brake light operation
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0504 on the 2013–2018 Nissan Altima — but the community-sourced Front brake pads and rotors note above covers an owner-reported fix.
Fixed yours? Report it — you'll help the next owner.

Torque specs

Tips

Sources: CarParts.com - How to replace the Front Brake Pads 2013-2018 Nissan Altima (video, slide-pin torque 20 ft-lb, 14mm/19mm tools) · JustAnswer (Nissan tech) - 2015 Altima SV front/rear brake torque specs (caliper-to-bracket 20 ft-lb, bracket-to-spindle 91 ft-lb)

Typical difficulty: Moderate — based on 265 code guides for the brake repair area (an area-level estimate, not this exact job).

How notes are verified: Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.

No owner reports yet

Symptoms

Likely causes

What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.

Owner notes linked to P0504: 11 across 1 repair — these are counts of owner-written notes, not odds of fixing your car.

Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →

Before you buy the part — 2 checks

Work these checks before spending money — each one rules a cause in or out, cheapest first.

  1. Check brake light operation Tests: Failed brake light switch (very common, cheap part)
  2. Watch both switch circuits in scan tool while pressing the pedal

No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.

Most likely job on your 2013–2018 Nissan Altima: Front brake pads and rotors — test first, then buy for this job.

Expensive fork: Brake caliper — if a wheel drags or overheats after fresh pads and rotors. The price range below is a national planning range for P0504 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers.
If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.

Typical price range

Parts$15 – $40
Labor$50 – $120

The switch is cheap and usually a simple swap. National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.

Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.

Got a shop quote? Grade it →

What will this cost to fix? A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0504 ranked, each with a price range.
They handed you a printout at the parts store? Decode it before you buy.

DIY difficulty

1 of 5 — A cheap part and a simple swap.

Watch this repair on YouTube

Parts & tools

As an Amazon Associate, WrenchFair earns from qualifying purchases.

Related codes

Check another code
Got a quote?Grade it →Shop one-pagerPrint it →Another code?Look it up →
Who's behind this guide? WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes. Read the full methodology →