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.
- 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.
Important: Is It the ECM or the DEF Module?

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 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)

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

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:
- VIN Programming: The truck's unique VIN must be written to the ECM.
- 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.
- 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.
| Item | Estimated Cost | Notes |
|---|---|---|
| New OEM ECM | $2,300 - $3,600 | Price varies by part number. A core charge of $250-$500 also applies. |
| New Aftermarket ECM | Not Available | The market consists of OEM, used, and remanufactured OEM units. |
| Used OEM ECM | $550 - $2,000 | Wide price range. Requires additional cost for dealer programming. |
| Remanufactured (Pre-Programmed) | $1,500 - $1,800 | Often includes a lifetime warranty, but requires a core return. |
| Shop Labor (Physical Swap) | $150 - $300 | The module is in a tight spot on the driver's side of the engine. |
| Dealer Labor (Programming) | $175 - $350 | Typically 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.
We Have This Part in Stock
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.
- Ram 2500:
- Ram 3500:
- Ram 4500:
- Ram 5500:
- 🛍️ Shop This Part
- Important: Is It the ECM or the DEF Module?
- Symptoms of a Failing ECM
- Common Diagnostic Trouble Codes (DTCs)
- Known Issues, Recalls, and Technical Service Bulletins (TSBs)
- Recall Z87 / NHTSA 22V-642: ECM Internal Short Circuit
- Technical Service Bulletins (TSBs)
- The #1 Buyer Question: ECM Programming
- Programming is Mandatory
- Who Can Program the ECM?
- Special Note for 2022-2024 Models & Tuning
- Buying a Used Engine Control Module (ECM)
- Cost to Replace the ECM
- Frequently Asked Questions (FAQ)
- 🎟️ Get 5% Off