01 This Is Why Your Car’s Headrest Is A Safety Tool • 02 When to Replace the Brakes: A Comprehensive Guide for Drive… • 03 Optimizing Customer Service: The Benefits of Help Desk Soft… • 04 How safe are self-driving or autonomous driving cars? • 05 5 New Cars Worth a Trial in 2023 • 06 C0080 and C0085 - Left Rear ABS Solenoid #1&#2 Circuit Malf… • 07 Why Does a Car Run Worse After Cleaning the MAF Sensor? • 08 From Rack and Pinion to Steer-by-Wire: The Evolution of Ste… • 09 Turbocharger: Troubleshooting Common Problems Associated Wi… • 10 Why Idling Your Car to Warm It Up Might Be a Waste of Fuel … •

DTC codes / Mazda codes / P1794

P1794 · MazdaPowertrain Control Module Battery Direct Power Circuit

P1794 on a Mazda means the Powertrain Control Module (PCM) has detected a fault in its direct battery power circuit, which is the always-on feed that keeps the PCM's memory and adaptive learning data alive when the ignition is off. The PCM monitors this circuit and sets the code when the voltage on the direct battery input falls outside the expected range or is interrupted, often because of a blown fuse, corroded terminal, or damaged wiring.

SystemPowertrain
Code typeMazda specific
SeverityMedium
Fix difficultyIntermediate
AreaTransmission

Symptoms you may notice

  • The check engine light or malfunction indicator lamp (MIL) is illuminated, often with no other noticeable symptoms.
  • The engine may crank but fail to start, or start and then stall shortly after, because the PCM loses its keep-alive memory.
  • The transmission may shift harshly or default to a limp-home mode if adaptive shift data is lost.
  • The radio, clock, or other memory presets may reset, hinting at a broader keep-alive power issue.
  • Intermittent no-start conditions that seem to clear after the vehicle sits or after wiggling a fuse.
  • A dead battery or slow cranking if the same circuit fault is draining or not charging the battery correctly.

Common causes, most likely first

  1. A blown fuse in the PCM's direct battery feed circuit, often in the under-hood fuse box.
  2. Corroded, loose, or backed-out terminals at the battery, fuse box, or PCM connector.
  3. A damaged or chafed wire in the direct battery power circuit, frequently near the fuse box or where the harness flexes.
  4. A faulty PCM power relay or a relay that is not seating properly in its socket.
  5. A failing PCM itself, though this is less common and should only be suspected after circuit checks pass.
  6. A weak or failing battery that cannot maintain stable voltage on the keep-alive circuit.
  7. Water intrusion or rodent damage to the harness in the engine bay or near the PCM.

How to diagnose and fix it

  1. Check the battery state of charge and load-test it, then clean and tighten both battery terminals.
  2. Locate the PCM direct battery fuse in the under-hood fuse box, inspect it, and replace it if blown; also check for corrosion in the fuse socket.
  3. With the ignition off, use a digital multimeter to measure voltage at the PCM direct battery pin at the PCM connector; it should read battery voltage.
  4. Inspect the wiring harness from the fuse box to the PCM for chafing, corrosion, or rodent damage, and repair any damaged sections.
  5. Test the PCM power relay by swapping it with a known-good relay of the same part number and rechecking for the code.
  6. Clear the code and perform a drive cycle; if P1794 returns, perform a voltage drop test on the direct battery circuit under load.
  7. If all circuit checks pass and the code persists, follow Mazda service information to test the PCM and replace it only as a last resort.

Why a keep-alive fault mimics other failures

  • A P1794 is often misdiagnosed as a failing PCM because the loss of keep-alive memory can cause erratic running and shifting that look like internal PCM failure.
  • The direct battery circuit is separate from the ignition-switched power feed, so the engine can still run and drive normally while the code is stored.
  • A blown fuse for this circuit may also kill power to other memory circuits, so check whether the radio presets and clock reset as a clue.
  • Corrosion inside the under-hood fuse box is a common hidden cause that a simple fuse swap will not fix, so inspect the socket and terminals closely.
  • After repairing the circuit, the PCM may need to relearn idle and shift adaptives, so a rough-running complaint right after the fix is not necessarily a new fault.

Can I keep driving with P1794?

You can usually drive the vehicle with P1794 set, but avoid long trips or towing until the circuit is repaired because a total loss of PCM power can cause a no-start or stall. If the engine cranks but will not start, or if the transmission is in limp mode, stop driving and have the circuit diagnosed.

Guidance is general and written for Mazda vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage