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

2022 Subaru Legacy & Outback ECM: A Guide to Replacement, Programming, and Costs

This guide covers the essential details for diagnosing, replacing, and programming the Engine Control Module (ECM) in your 2022 Subaru Legacy or Outback.

7 minutes to read 2022-2022 Subaru Legacy 2022-2022 Subaru Outback
Difficulty
2/5
Est. Time
1.5 hrs
DIY Doable?
✅ Yes
Shop Labor
$100 - $200
Used OEM Price
$125 - $250
🚫 Do not drive — If the ECM has failed or is failing, the vehicle is unreliable and could stall while driving, creating a significant safety risk.
Key Takeaways
  • Programming is NOT optional. A replacement ECM must be programmed to the vehicle's immobilizer system, or the car will not start.
  • Using a mail-in 'cloning' service is the most effective method for a used ECM, making the replacement plug-and-play.
  • You must match the part number EXACTLY. The 2.4L Turbo and 2.5L non-turbo engines use different, non-interchangeable ECMs.
  • A very specific recall (NHTSA 22V-473) affects 15 Outback vehicles and requires both the ECM and engine harness to be replaced by a dealer.
The Engine Control Module, or ECM, is the central computer responsible for managing your vehicle's engine. It receives data from sensors all over the car—monitoring things like engine speed, oxygen levels in the exhaust, and accelerator pedal position. The ECM then uses this information to make instantaneous decisions, controlling the fuel injectors, ignition timing, and other critical functions to ensure the engine runs efficiently, cleanly, and produces the power you demand. In short, it is the electronic brain of your engine.

Symptoms of a Failing ECM

A failing Engine Control Module can cause a wide range of confusing and intermittent problems. Because the ECM controls so many different systems, symptoms can vary, but here are some of the most common signs that your module may be in trouble.

  • Check Engine Light: This is the most obvious sign. If the ECM detects a problem with itself or a sensor it relies on, it will illuminate the check engine light on your dashboard.
  • Engine Performance Issues: You might experience problems like rough idling, stalling, engine misfires, poor acceleration, or reduced fuel economy. The car may feel like it's hesitating or surging unexpectedly.
  • No-Start or Cranks-But-Won't-Start: A completely failed ECM can prevent the engine from starting at all. The starter might crank the engine, but the ECM isn't providing the necessary signals for fuel and spark to get it running.
  • Communication Errors: A mechanic's diagnostic scan tool may be unable to communicate with the ECM. This is a strong indicator that the module itself has failed.
  • Inconsistent or Illogical Warning Lights: A faulty ECM can sometimes cause other unrelated warning lights on the dash to illuminate randomly.

Common Diagnostic Trouble Codes (DTCs)

While many codes can point to a bad ECM, codes in the P0600-P060F range are specifically related to internal ECM/PCM processor errors. Additionally, a TSB for these vehicles addresses an ECM software update for the following codes:

  • P0014, P0016, P0017, P0018, P0019: Camshaft and Crankshaft Position Correlation errors.
  • P0128: Coolant Thermostat performance.
  • P0480, P0481: Fan Control Circuit issues.
  • P2109: Throttle/Pedal Position Sensor performance.

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

NHTSA Recall 22V-473: Engine Harness and ECM Replacement

Important: A small but critical recall was issued for just 15 model year 2022 Subaru Outback vehicles produced between May 3, 2022, and May 5, 2022. A damaged terminal on the engine wiring harness could cause a poor connection to the ECM, potentially leading to a complete loss of power while driving. The official remedy from Subaru is to replace both the engine wiring harness and the ECM. If your vehicle falls into this production range, contact a Subaru dealer immediately to see if it is affected.

TSB 09-97-22: ECM Reprogramming for Various DTCs

Subaru released a Technical Service Bulletin in February 2023 with updated software for the ECM. This update was designed to fix issues that could cause several diagnostic trouble codes related to camshaft position, the thermostat, and fan control circuits. This shows that the dealer may have software updates available that can resolve certain issues without needing to replace the ECM.

Recall for Occupant Detection System (ODS)

Many 2020-2022 Legacy and Outback models were recalled for an issue with the front passenger airbag sensor. This is related to a sensor in the passenger seat and is NOT an issue with the Engine Control Module. The airbag system has its own separate control module.

The #1 Most Important Factor: Programming

You cannot simply swap an ECM in a 2022 Subaru Legacy or Outback and expect it to work. The replacement module MUST be programmed to your specific vehicle. This is because the ECM is linked to the car's anti-theft immobilizer system. Without proper programming, the car will not start.

You have three main options for programming a replacement ECM:

  1. Subaru Dealer: A Subaru dealership has the required diagnostic tools (the Subaru Select Monitor or SSM) to program a new or used ECM to your vehicle. They will register the new ECM to the immobilizer system and write your vehicle's VIN to it. This is the most straightforward but often most expensive option.
  2. Cloning Service: This is the best option when buying a used ECM. You send your original (faulty) ECM and the replacement used ECM to a specialized service. They will perform a "clone," which means they copy the key data, VIN, and immobilizer information from your old module to the replacement one. The cloned replacement ECM then becomes "plug-and-play," requiring no further programming.
  3. 🎬 See how a professional technician clones a Denso ECM step-by-step.
  4. Independent Shop with J2534 Tools: Some advanced independent repair shops have J2534 pass-thru devices and subscriptions to the Subaru technical information system. This allows them to perform dealer-level programming. This can be a good alternative to the dealer, but you must confirm beforehand that the shop has the specific capability for a 2022 Subaru.

Warning: Simply having a service program the VIN is not enough. The immobilizer data must also be transferred (cloned) or the keys must be re-registered to the new ECM by a dealer or qualified locksmith with advanced tools. For a DIY or standard shop replacement, cloning is the most reliable path.

🎬 Learn more about editing VIN data and repairing corrupted ECM software.

Buying a Used Engine Control Module (ECM)

Buying a used OEM ECM is a great way to save money, especially since new aftermarket or remanufactured units for these vehicles are not common. However, you must be very careful to get the right part and plan for programming.

  • Match the Part Number EXACTLY: This is the most critical step. Subaru uses different ECMs for different engines. The 2.4L Turbo engine uses part numbers in the 22765AR99x series (e.g., 22765AR990, 22765AR995), while the 2.5L non-turbo engine uses different part numbers like 22765AS23C. The modules are not interchangeable. Check the number on your original ECM and buy one with the identical number.
  • Inspect for Damage: When you receive the used ECM, check the case for any signs of physical damage, and look closely at the connector pins to ensure none are bent, corroded, or broken.
  • Plan for Cloning: The best strategy is to buy a used ECM and have it cloned before you even attempt installation. This avoids a no-start situation and the potential need for a tow to the dealer. Factor the cost of the cloning service into your total budget.
  • Why Used OEM is Best: For a complex, vehicle-specific computer like the ECM, a used original equipment (OEM) part is superior to a non-existent or unproven aftermarket alternative. The OEM part was designed and tested by Subaru for your specific vehicle, ensuring proper function once correctly programmed.

Replacement Cost Breakdown

The cost to replace the ECM can vary significantly based on the path you choose. All prices are estimates and can vary by region and supplier.

Item Estimated Cost Notes
New OEM Part $710 - $1,080 Price from Subaru dealers or online OEM suppliers.
Used OEM Part $125 - $250 Typical price from online marketplaces or salvage yards.
Shop Labor (Physical Swap) $100 - $200 Estimated 1-1.5 hours of labor. Does not include programming.
Programming / Cloning Service $200 - $400 Cost for a mail-in cloning service or dealer programming session.
Total (DIY w/ Used Part + Clone) $325 - $650 Most cost-effective solution.
Total (Dealer Replacement) $900 - $1,500+ Includes new OEM part and dealer labor/programming.

Replacement Overview

Physically replacing the ECM is generally straightforward. The main challenge is the mandatory programming.

Pro Tip: The ECM is often located inside the vehicle's cabin, either behind the glove box on the passenger side or under the dash on the driver's side. Check in the passenger footwell area first.

🎬 Watch: A quick guide on how to access and remove the computer.
  1. Disconnect the Battery: Before touching any electronics, disconnect the negative terminal of your car's battery to prevent electrical shorts.
  2. Locate and Access the ECM: You will likely need to remove a lower dash panel or the glove box assembly to get to the module.
  3. Disconnect and Remove: Carefully unplug the wiring harnesses from the ECM. There are usually locking tabs that need to be pressed. Then, unbolt the module from its mounting bracket.
  4. Install the New Module: Bolt the replacement (and already cloned!) ECM into place and securely reconnect the wiring harnesses.
  5. Reconnect Battery and Test: Reconnect the battery terminal. If you used a cloned ECM, the vehicle should now start and run normally.

Frequently Asked Questions (FAQ)

Do I have to take my car to the Subaru dealer to replace the ECM?

Not necessarily. While the dealer can always do the job, your best alternative is to buy a used ECM, send it with your original ECM to a cloning service, and then install the cloned module yourself or have a local shop do it. This avoids the need for a dealer visit for programming.

What happens if I install a used ECM without programming it?

The car will not start. The immobilizer system will not recognize the un-programmed ECM, and it will prevent the engine from firing up as an anti-theft measure.

Can I use an ECM from a Legacy in an Outback?

Yes, as long as the part numbers are identical. The 2022 Legacy and Outback are built on the same platform and share many parts. The key is to match the part number to your vehicle's specific engine (2.4L Turbo or 2.5L) and features. Do not install an ECM with a different part number.

Will a bad ECM always cause a Check Engine Light?

Not always. While a check engine light is a very common symptom, a failing ECM can sometimes cause performance issues or a no-start condition without immediately triggering a light, especially if the failure is intermittent or in its early stages.

Subaru Legacy 98-04 Outback Computer Removal
Subaru Legacy 98-04 Outback Computer Removal
Subaru Forester Denso ECM PCM  1:1 Clone EEPROM and Flash w/ PCMflash and Tactrix open port 2.0
Subaru Forester Denso ECM PCM 1:1 Clone EEPROM and Flash w/ PCMflash and Tactrix open port 2.0
How to VIN edit a Subaru ECU where the VIN is scrambled plus how to clone or repair the ECU ECM PCM
How to VIN edit a Subaru ECU where the VIN is scrambled plus how to clone or repair the ECU ECM PCM

Technical Specifications

OEM Part Numbers: 22765AR990 22765AR991 22765AR992 22765AR993 22765AR994 22765AR995 22765AS23B 22765AS23C

Part numbers must be matched to the vehicle's engine. 22765AR99x series for 2.4L Turbo, 22765AS23x series for 2.5L.

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 Apr 19, 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:
  • Subaru Legacy: 2022
  • Subaru Outback: 2022
In this article
🎬 Helpful Videos
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