Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All Articles →
🧭 Diagnostic Flowchart 🎬 Helpful Videos 🛍️ Shop This Part

P0842 on 2014-2021 Mazda CX-5: Transmission Pressure Switch 'B' Fault Explained

On a 2014-2021 Mazda CX-5, code P0842 is most often caused by an internal transmission issue where a pressure switch gets stuck. The official Mazda repair starts with a TCM software update; if that fails, the pressure switches inside the transmission are replaced. This is not a typical DIY job and is a well-documented issue across several Mazda models with the SKYACTIV automatic transmission.

14 minutes to read 2014-2021 Mazda CX-5
Most Likely Cause
Sticking Internal Transmission Oil Pressure Switch
Difficulty
5/5
Est. Time
3 hrs
DIY Doable?
🔧 Shop
Shop Labor
$350 – $750
Parts Price
$100 – $200
⚠️ Drivable, but... — You can drive, but you may experience harsh shifting, getting stuck in one gear, or reduced fuel economy. Continued driving could lead to more significant internal transmission damage and should be avoided if possible.
Key Takeaways
  • P0842 on a 2014-2021 Mazda CX-5 is a known issue covered by Mazda TSB #05-002-23.
  • The most common cause is an internal transmission pressure switch sticking, not a major transmission failure.
  • The official repair begins with a software update to the Transmission Control Module (TCM), which may fix the issue on its own.
  • If the code returns after the update, the internal pressure switches must be replaced, a job best left to a professional.
  • Do not immediately assume the transmission needs to be replaced; follow the diagnostic path laid out in the TSB.
The trouble code P0842 on a Mazda CX-5 indicates "Transmission Fluid Pressure Sensor/Switch 'A' Circuit Low." However, Mazda's specific definition in its Technical Service Bulletins (TSBs) clarifies this as "Oil pressure switch No. 1 (oil pressure switch B) stuck on". This means the Transmission Control Module (TCM), the computer for the SKYACTIV-Drive (FW6A-EL) transmission, has detected that a specific pressure switch inside the transmission is electrically 'stuck' in the on position. This switch is critical for monitoring the hydraulic pressure needed to engage and disengage gears, with switch 'B' specifically monitoring pressure in the High Clutch (gears 4-5-6) and Low Clutch (gears 1-2-3-4).

What's Unique About the 2014-2021 Mazda CX-5

A 2014-2021 Mazda CX-5, the vehicle primarily affected by the P0842 transmission pressure switch code.
The 2014-2021 Mazda CX-5 equipped with the SKYACTIV 6-speed automatic transmission is prone to P0842 codes, often addressed by a TCM software update before parts replacement.

For the Mazda CX-5 and other models with the SKYACTIV 6-speed automatic transmission, P0842 is rarely an isolated code. It is part of a well-documented pattern of faults described in multiple Mazda TSBs. The root cause is often contamination within the transmission's hydraulic passages, causing one or more pressure switches on the valve body to stick. Mazda's official repair procedure, outlined in a long series of superseded TSBs, prioritizes a software update to the TCM before any parts are replaced, as updated logic can filter out erroneous signals from a temporarily sticking switch.

🎬 Watch: Understanding the P0842 pressure switch circuit low code.

Diagnostic Flowchart

Side-by-side comparison of clean, bright red transmission fluid versus dark, burnt, and contaminated transmission fluid.
Checking your transmission fluid condition is the first step. Clean fluid means you should proceed to a TCM update, while dark or burnt fluid requires a drain and fill with Mazda ATF FZ.

Tap your situation to follow the diagnostic path that matches what you're seeing on this vehicle.

Which of these best describes your current diagnostic progress with the P0842 code?
What is the condition and level of your transmission fluid?
→ Perform a drain and fill with Mazda ATF FZ ($18-$25/qt). 🎬 Watch: Step-by-step guide to changing your fluid and filter. Replace the strainer (FZ01-21-500) if debris is found.
→ Have a dealer or qualified shop update your TCM software per TSB #05-002-23.
Did the P0842 code return after the software update?
→ Replace internal oil pressure switches 'A' and 'B' (FZ01-21-2J0, $50-$100 each) and torque to 9-10 N·m.
🎬 See how to replace the internal oil pressure switches.
→ The repair is complete. Clear any residual codes and road test the vehicle.
→ Ensure you used Mazda ATF FZ fluid and cleared the codes. If issues persist, further internal transmission diagnosis is required.

Generation note: The 2014-2021 year range covers the late first generation (KE, through 2016) and the second generation (KF, 2017-2021) of the CX-5. Both generations use a SKYACTIV-Drive 6-speed automatic transmission (FW6A-EL) and are covered under the same Technical Service Bulletins (TSBs) for this issue, indicating the cause and repair are consistent across these model years.

Professional service recommended: The repair involves either reprogramming the transmission control module or accessing internal transmission components by removing the oil pan and valve body, which requires specialized tools and knowledge. Incorrect handling could lead to further transmission damage.

Symptoms You May Notice

  • Check Engine Light illuminated
  • Automatic Transaxle (AT) warning light illuminated.
  • Harsh or erratic gear shifting.
  • Transmission may feel like it's slipping, hesitating, or banging into gear.
  • Vehicle may enter a "limp mode," getting stuck in a single gear (often 3rd gear).
  • In some cases, the gear indicator on the dashboard may disappear.
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the entire valve body when only the pressure switches are needed.
  • Rebuilding or replacing the entire transmission without first attempting the TSB-recommended software update and switch replacement.
  • Replacing the high-pressure pump when the issue is with the sensor or its circuit.

Most Likely Causes

An automatic transmission valve body showing the internal oil pressure switches and solenoids.
Contamination in the hydraulic passages can cause the internal oil pressure switches on the valve body to stick, triggering the P0842 code.
  1. Sticking Internal Transmission Oil Pressure Switch 🔴 High Probability → Shop Engine Oil Pressure Switch Mazda TSBs state this is caused by contamination entering the hydraulic passages of the control valve body, causing the switch to stick. This has been a persistent issue, leading Mazda to release numerous TSB updates over the years.
    How to confirm: A professional technician will scan the TCM for P0842 and other related codes (P0847, P0872, P0877, P0780, P1738). The first step per the TSB is a TCM software update. If the code returns after the update, the switches are the confirmed cause.
    Typical fix: First, reprogram the Transmission Control Module (TCM) with updated software. If the problem persists or the software is already current, replace oil pressure switches 'A' and 'B' located on the transmission's internal valve body.
    Est. part cost: $100-$200 for the switches
  2. Outdated Transmission Control Module (TCM) Software 🟡 Medium Probability → Shop Transmission Assembly Mazda released software updates specifically to make the diagnostic logic less sensitive to minor, temporary fluctuations from the pressure switches, effectively preventing the code from being set unnecessarily.
    How to confirm: A Mazda dealership or a qualified shop with a J2534 pass-through device can check the current software calibration number against the latest version listed in TSBs.
    Typical fix: Reprogram the TCM to the latest calibration. This is often the first and only step needed, especially if the code was intermittent.
    Est. part cost: $0 (parts), but labor for programming applies
  3. Low or Contaminated Transmission Fluid ⚪ Low Probability → Shop Transmission Assembly While the TSB points to contamination as the root cause of the switches sticking, simply having low or dirty fluid can also cause a variety of pressure-related issues and codes. The switches themselves are very sensitive to foreign particles in the oil.
    How to confirm: Check the transmission fluid level and condition. The fluid should be at the correct level and appear clean and red, not dark, burnt, or full of debris.
    Typical fix: Perform a transmission fluid drain and fill. If significant debris is found in the pan, the oil strainer should also be replaced as recommended by Mazda's TSB.
    Est. part cost: $70-$150 for fluid and filter

Rare But Worth Checking

  • Wiring Harness Issue: Damage to the wiring between the TCM and the transmission's internal harness could cause a low voltage signal. This is less common than the switch issue but possible.
  • Faulty Transmission Control Module (TCM): → Shop Transmission Assembly In very rare cases, the TCM itself may fail. This should only be considered after all other possibilities, especially those outlined in the TSB, have been exhausted.

Diagnosis Steps

  1. Verify the Check Engine Light and AT warning light are on.
  2. Use an OBD-II scanner to read codes from the Transmission Control Module (TCM). Confirm if P0842 is present, along with any of the common companion codes (P0847, P0872, P0877, P0780, P1738).
  3. Check the transmission fluid level and condition. If low, top it off. If dark or burnt, a fluid service may be warranted.
  4. Consult a Mazda dealer or qualified independent shop to check the current TCM software version. If it is not the latest version, perform the TCM reprogramming as specified in TSB #05-002-23.
  5. Clear the codes and road test the vehicle. If the code does not return, the repair is complete.
  6. If the code returns after the software update, the internal oil pressure switches are the cause.
  7. To replace the switches, drain the transmission fluid and remove the transmission oil pan.
  8. Disconnect and remove oil pressure switches 'A' and 'B' from the valve body and install new ones. Tighten the new switch bolts to the specified torque: 9-10 N·m (80-88 in·lbf).
  9. If a large amount of debris was found in the pan, replace the oil strainer (P/N: FZ01-21-500).
  10. Clean the mating surfaces and reinstall the oil pan. Mazda specifies applying a light coat of silicone sealant.
  11. Refill the transmission with the correct type and amount of Mazda SKYACTIV-Drive ATF.
  12. Clear codes and perform the Initial Learning Procedure as specified in the workshop manual, followed by a final road test to verify the repair.

Parts You'll Likely Need

A bottle of OEM Mazda ATF FZ transmission fluid and an internal oil pressure switch.
If hardware replacement is necessary, you will need OEM Mazda ATF FZ fluid (which is distinctively blue) and replacement oil pressure switches (part FZ01-21-2J0).
  • Transmission Oil Pressure Switch 'B' (OEM #FZ01-21-2J0) — This is the specific component identified by Mazda's TSB for code P0842. It gets stuck due to contamination. It is highly recommended to replace both switch 'A' and 'B' at the same time.
    Trusted brands: Mazda OE
    OEM price range: $50-$100 per switch
    Aftermarket price range: $30-$60 per switch
  • Mazda SKYACTIV-Drive ATF FZ (OEM #0000-FZ-113E-01) — The correct fluid must be used when refilling the transmission after replacing the switches. Using non-specified fluid can cause further damage.
    Trusted brands: Mazda OE
    OEM price range: $18-$25 per quart
  • Transmission Oil Strainer (Filter) (OEM #FZ01-21-500) — The TSB recommends replacing the strainer if a large amount of foreign material is found in the oil pan, which is common with this issue.
    Trusted brands: Mazda OE
    OEM price range: $40-$60
    Aftermarket price range: $20-$40
  • Transmission Oil Pan Gasket / Sealant — The oil pan must be re-sealed upon reinstallation to prevent leaks. Mazda specifies using silicone sealant rather than a pre-formed gasket.
    Trusted brands: Permatex The Right Stuff, Honda Bond
    OEM price range: $20-$40
    Aftermarket price range: $15-$30

Related Codes That Often Appear With This One

  • P0847 — Relates to Oil Pressure Switch No. 2 ('A') sticking on. Both switches A and B are often replaced together as a set.
  • P0872 — Relates to Oil Pressure Switch No. 3 ('A') sticking on.
  • P0877 — Relates to Oil Pressure Switch No. 4 ('B') sticking on.
  • P0780 — A general code for a gear shifting malfunction, often triggered as a result of the pressure switch failures.
  • P1738 — Indicates an automatic transaxle internal malfunction, which is a companion code to the specific switch faults.

Technical Service Bulletins (TSBs) & Recalls

  • 05-002-23: Some vehicles may experience the check engine light and automatic transaxle warning light ON with one or more of these DTCs stored in the TCM memory (P0842, P0847, P0872, P0877, P0780, P1738).
  • 05-002-15 / 05-005-14: Earlier versions of the TSB also describe the same cause: oil pressure switch A and/or B getting stuck due to contamination. These bulletins confirm the issue is shared across Mazda3, Mazda6, and CX-5 models.

Platform-Specific Known Issues

  • Mazda has issued multiple superseding Technical Service Bulletins, with the most recent being #05-002-23, addressing P0842 and related codes across many models with the SKYACTIV 6-speed automatic transmission.

Mechanic-Grade Diagnostic Values

  • Oil Pressure Switch Continuity to Ground — expected: In Park or Neutral with engine running, resistance should be infinite (no continuity). In Drive with engine running, resistance should be 0 ohms (continuity to ground).. Failure: Continuity to ground while in Park or Neutral indicates a stuck-on switch, which is the direct cause of code P0842.

Scan Tool Commands That Help

A professional automotive scan tool displaying transmission control module (TCM) data.
A professional-grade scan tool is required to check the current TCM software version, monitor pressure switch live data, and perform the necessary reprogramming.
  • Mazda IDS (Integrated Diagnostic System) or equivalent J2534 device: Module Reprogramming — This is the first step in the official TSB repair procedure to update the TCM with improved diagnostic logic before replacing any parts.
  • Mazda IDS (Integrated Diagnostic System) or equivalent J2534 device: Initial Learning [FW6A-EL] — This procedure must be performed after replacing the oil pressure switches or the control valve body to allow the TCM to learn the characteristics of the new components.

Wiring & Ground Locations

  • G01 / J/C G01 — Under the left (driver's side) headlight assembly in the engine compartment.. This is a primary ground distribution point in the engine bay for multiple components, including the TCM. A poor connection here could potentially cause erratic behavior or low voltage signals.
  • G03 — Located on the left front of the engine compartment.. This ground point serves the Powertrain Control Module (PCM) and other critical engine components. While the TCM is separate, ensuring all main powertrain grounds are clean and secure is a crucial diagnostic step for any electronic fault.
  • Transmission Case Ground — A ground cable from the negative battery terminal bolts to a bracket on top of the transmission housing.. This is the main ground for the entire transmission assembly. A loose or corroded connection here can cause a wide range of electrical issues, including sensor faults.
P0842 | p0842 transmission fluid pressure sensor/switch a circuit low | code p0842 | p0842 obd2
P0842 | p0842 transmission fluid pressure sensor/switch a circuit low | code p0842 | p0842 obd2
Mazda CX-5 Transmission Fluid Change (Filter + Reset Step-by-Step)
Mazda CX-5 Transmission Fluid Change (Filter + Reset Step-by-Step)
P0842 transmission fluid pressure switch circuit low
P0842 transmission fluid pressure switch circuit low
How To Replace A Transmission Fluid Pressure Switch P0847 / P0848 / P0872 / P0873
How To Replace A Transmission Fluid Pressure Switch P0847 / P0848 / P0872 / P0873
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated May 25, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0842 for:
  • Mazda CX-5: 20142015201620172018201920202021
In this article
🧭 Diagnostic Flowchart
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part