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 →
🛍️ Shop This Part

2019-2023 Ram 6.7L Cummins ECM: Stalling Issues, Recalls, and Mandatory Programming

A definitive guide to diagnosing, replacing, and understanding the costly Engine Control Module in your Ram 2500, 3500, 4500, or 5500.

7 minutes to read 2019-2023 Ram 2500 2019-2023 Ram 3500 2019-2023 Ram 4500 2019-2023 Ram 5500
Difficulty
4/5
Est. Time
2.5 hrs
DIY Doable?
🔧 Shop
Shop Labor
$325 - $650
Used OEM Price
$550 - $2000
🚫 Do not drive — No, it is not safe to drive. A failing ECM can cause the engine to stall at any time, leading to a loss of power steering and brakes, which dramatically increases the risk of a crash.
Key Takeaways
  • Programming by a Ram dealer is mandatory for any replacement ECM; it is not a plug-and-play part.
  • A safety recall (NHTSA 22V-642) exists for some 2022 models due to an internal ECM defect that can cause the engine to stall.
  • Be aware of part number confusion: many online listings for this truck mislabel the cheaper DEF Dosing Unit as the ECM.
  • This is a very expensive part, with new OEM units costing over $2,300 and requiring dealer programming on top of that.
The Engine Control Module, or ECM, is the master computer for your truck's 6.7L Cummins engine. It acts as the engine's brain, processing information from dozens of sensors to make millions of calculations every second. The ECM precisely controls critical functions like fuel injection timing, turbocharger boost, emissions systems (including the EGR and DPF), and idle speed. This ensures the engine runs efficiently, makes optimal power, and complies with emissions standards. Without a properly functioning ECM, the engine may run poorly or not at all.

Important: Is It the ECM or the DEF Module?

Side-by-side comparison showing the large Cummins 6.7L ECM mounted on the engine block versus the smaller DEF dosing control unit located on the DEF tank.
Do not confuse the main Engine Control Module (ECM) with the DEF Dosing Control Unit. The ECM is a large, complex computer mounted to the driver's side of the engine block, while the DEF module is a smaller unit attached to the DEF tank.

Warning: A common point of confusion for this generation of Ram trucks is distinguishing the Engine Control Module (ECM) from the Diesel Exhaust Fluid (DEF) Dosing Control Unit. Many online parts catalogs incorrectly label the DEF module with part numbers like 57008770AA, 68353830AB, and 68458603AB. The DEF module is a smaller, less expensive component mounted on the DEF tank that controls the urea injection system. The ECM is the main engine computer, a much more complex and expensive part mounted directly to the driver's side of the engine block. This guide exclusively covers the Engine Control Module (ECM).

Symptoms of a Failing ECM

A professional automotive scan tool displaying a 'Loss of Communication' error with the Engine Control Module.
A failing ECM often triggers a 'Loss of Communication' error on a professional scan tool, indicating the module has suffered an internal failure and cannot talk to the rest of the vehicle's network.

A failing ECM can cause a wide range of confusing and intermittent issues. Because it controls so many systems, symptoms can sometimes mimic other problems like bad sensors or wiring. Here are the most common signs that the ECM itself may be at fault:

  • Engine Stalling or Sudden Shutdown: The engine may stall unexpectedly, sometimes when it gets hot, and may or may not restart. This is a primary symptom of the 2022 model year recall.
  • No-Start or Hard Start: The engine cranks over but refuses to start. This can happen if the ECM is not commanding the fuel injectors to fire.
  • Check Engine Light: A constant or intermittent check engine light is common. You may find multiple, seemingly unrelated diagnostic trouble codes (DTCs) stored in the module.
  • Loss of Communication: A professional scan tool may be unable to communicate with the ECM. This is a strong indicator that the module has failed internally.
  • Poor Engine Performance: You may experience rough idling, engine misfires, hesitation, sudden loss of power, or a noticeable drop in fuel economy as the ECM struggles to manage the engine correctly.
  • Injector Control Issues: If you have persistent injector-related codes but the injectors and wiring harness test good, the injector driver circuits inside the ECM may have failed.

Common Diagnostic Trouble Codes (DTCs)

While many codes can be triggered by a faulty ECM, codes specifically pointing to an internal module failure include:

  • P0606: ECM/PCM Processor Fault.
  • P1608: Internal ECM Malfunction.

You may also see other codes related to software issues that can be fixed with a dealer-performed update, such as P0299 (Turbocharger Underboost) or P20EE (NOx Catalyst Efficiency).

Known Issues, Recalls, and Technical Service Bulletins (TSBs)

The Engine Control Module (ECM) mounted on the driver's side of the 6.7L Cummins engine block in a Ram truck.
The Z87 safety recall targets specific 2022 Ram trucks with the 6.7L Cummins engine, where an internal short circuit in the ECM can cause unexpected engine stalling.

Recall Z87 / NHTSA 22V-642: ECM Internal Short Circuit

A significant safety recall was issued for certain 2022 model year Ram 2500, Ram 3500, Ram 4500, and Ram 5500 trucks with the 6.7L Cummins engine.

  • The Problem: The ECM may have been built with a misaligned internal capacitor, which can cause a short circuit.
  • The Risk: An internal short can lead to a loss of communication within the module, resulting in an unexpected engine stall and loss of motive power. This increases the risk of a crash.
  • The Fix: Dealers will replace the defective Engine Control Module free of charge. The affected ECM part number is often cited as 68569934AA.

Owners can check if their vehicle is affected by entering their VIN on the NHTSA website.

Technical Service Bulletins (TSBs)

Ram has issued several TSBs that involve reprogramming or "flashing" the ECM with updated software to resolve various performance and drivability issues. For example, TSB 18-101-22 REV. A addresses several DTCs and requires a software update. If you are experiencing issues, it's worth checking with a dealer to see if any software updates apply to your vehicle's VIN before replacing expensive hardware.

The #1 Buyer Question: ECM Programming

A technician using a laptop and a J2534 pass-through device to program an Engine Control Module.
You cannot simply plug in a used ECM and start the truck. Every replacement ECM must be programmed to match your truck's specific VIN and anti-theft immobilizer system.

Critical Information: You cannot simply swap a used ECM into these trucks and expect it to work. The ECM is tied to the truck's specific Vehicle Identification Number (VIN) and its anti-theft immobilizer system. An incorrect or unprogrammed ECM will result in a no-start condition.

Programming is Mandatory

Any replacement ECM—whether it is new, used, or remanufactured—must be programmed to the vehicle. This process involves several steps:

  1. VIN Programming: The truck's unique VIN must be written to the ECM.
  2. Immobilizer Relearn/SKIM Sync: The ECM must be synchronized with the vehicle's security module (often called the SKIM or WIN module) to allow the engine to start.
  3. Configuration: The ECM must be configured for the truck's specific options, such as transmission type, axle ratio, and emissions equipment.

Who Can Program the ECM?

For vehicles from 2018 and newer, Chrysler/Ram uses a secure gateway module that makes programming extremely difficult for anyone other than an authorized dealer. While some highly specialized independent shops or mobile programming services may have the expensive software and subscriptions required, it is not common. In most cases, you will need to have the vehicle towed to a Ram dealer for ECM programming.

Special Note for 2022-2024 Models & Tuning

Beginning with the 2022 model year, the factory-installed ECMs are electronically locked, preventing aftermarket tuning. To bypass this, the performance tuning industry has adopted a method of swapping in an unlocked ECM from a 2019-2021 model year truck, which is then programmed to the newer vehicle.

Buying a Used Engine Control Module (ECM)

Purchasing a used ECM can save a significant amount of money, but it comes with risks and specific requirements. Given the mandatory programming, it is not a simple plug-and-play repair.

  • Factor in Programming Costs: Remember that the price of the used module is not your final cost. You must add the expense of towing and dealer programming, which can be several hundred dollars.
  • Match Part Numbers Carefully: While programming can configure many options, it's always best to match the OEM part number from your original module. Key part numbers are 68363277AA (typically for 2019-2021 models) and 68569934AA (for 2022-2023 models).
  • Inspect Connectors: When you receive the used module, carefully inspect the large electrical connector pins. Look for any signs of corrosion, moisture, or bent or broken pins. The wiring harnesses on the truck should also be inspected for damage.
  • Consider "Pre-Programmed" Remanufactured Units: Some companies sell remanufactured ECMs that they can program with your truck's VIN before shipping. This can potentially make the unit "plug-and-play" and avoid a trip to the dealer, but you must verify their process and warranty. These units typically cost more than a standard used ECM but less than a new one from the dealer.

Cost to Replace the ECM

Replacing the ECM on a 2019-2023 Ram HD truck is a very expensive repair, primarily due to the high cost of the part itself.

ItemEstimated CostNotes
New OEM ECM$2,300 - $3,600Price varies by part number. A core charge of $250-$500 also applies.
New Aftermarket ECMNot AvailableThe market consists of OEM, used, and remanufactured OEM units.
Used OEM ECM$550 - $2,000Wide price range. Requires additional cost for dealer programming.
Remanufactured (Pre-Programmed)$1,500 - $1,800Often includes a lifetime warranty, but requires a core return.
Shop Labor (Physical Swap)$150 - $300The module is in a tight spot on the driver's side of the engine.
Dealer Labor (Programming)$175 - $350Typically billed as 1-2 hours of labor.

Frequently Asked Questions (FAQ)

Can I drive my truck with a bad ECM?

It is not recommended. Depending on the failure mode, you could experience sudden engine stalling, which is extremely dangerous while driving. Other symptoms like a no-start condition will leave you stranded. The vehicle should be towed to a repair facility.

Can I replace and program a Ram ECM myself?

Physically replacing the module is possible for an experienced DIY mechanic, but programming is the main obstacle. Without access to dealer-level diagnostic software (like wiTECH) and a subscription to FCA's network, you will not be able to make the module work with your truck. For most owners, this is not a DIY job.

Where is the ECM located?

On 2019-2023 Ram trucks with the 6.7L Cummins engine, the ECM is bolted to the driver's side of the engine block, underneath the intake manifold and air intake piping. It has two large electrical connectors with lever-style locks.

Will a used ECM from the same year truck work?

No, not without being reprogrammed. Even if the used ECM comes from an identical truck, it is still coded to the original truck's VIN and security system. It must be wiped and reprogrammed for your specific vehicle by a dealer or a specialized service.

Technical Specifications

OEM Part Numbers: 68569934AA 68363277AA 4384696

Location: Driver's side of the engine block, below the intake manifold. Connectors: Two large multi-pin electrical connectors with lever locks.

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 Engine Control Module (ECM) for:
  • Ram 2500: 20192020202120222023
  • Ram 3500: 20192020202120222023
  • Ram 4500: 20192020202120222023
  • Ram 5500: 20192020202120222023
In this article
🛍️ Shop This Part
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