Generations and variants
| Variant | Years | Litres | Cyl | Induction | Injection | Cam control | Ignition | Swap demand |
|---|---|---|---|---|---|---|---|---|
| EJ20 / EJ205 / EJ207 (WRX / STI JDM) | 1992-14 | 2 | B4 | T | Port injection | AVCS (later) | Coil-on-plug | Medium |
| EJ257 (STI) | 2004-21 | 2.5 | B4 | T | Port injection | AVCS (dual from 2008) | Coil-on-plug | Medium |
| EJ255 (WRX / Legacy GT / Forester XT) | 2004-14 | 2.5 | B4 | T | Port injection | AVCS | Coil-on-plug | Medium |
Variants
Codes, dimensions and years side by side.
| Code | Displacement | Bore × stroke | Compression | Years | Applications |
|---|---|---|---|---|---|
| EJ20G9 | 1,994 cc | 92 x 75 mm | — | 1989-1996 | Legacy RS/GT (BC/BF), Impreza WRX and WRX STi (GC8) in JDM/UK/EU/AUDOHC turbo. Rocker-arm HLA, bucket HLA and shim-under-bucket sub-types; closed deck until mid-1994. |
| EJ20K9 | 1,994 cc | 92 x 75 mm | — | 1996-1998 | Impreza WRX / WRX STi (GC8, JDM)Wasted-spark coil pack on the intake manifold; IHI ball-bearing VF22/VF23/VF24 turbos. |
| EJ20749 | 1,994 cc | 92.0 x 75.0 mm | 8.0:1 | 1998-2007 (JDM to 2019 in VA STI) | GC8 WRX STi (late), GD WRX STi (JDM, UK, AU to 2005), VA WRX STI (JDM)Forged pistons and oil jets. GC open deck; GD semi-closed deck. GD adds intake AVCS (max 35 crank degrees). |
| EJ20539 | 1,994 cc | 92.0 x 75.0 mm | 8.0:1 (GC/GD.I WRX), 9.0:1 (GD.II WRX from Nov 2002), 8.5:1 (Forester GT) | 1998-2005 | Impreza WRX (GC/GD, non-JDM; USDM 2002-05), Forester GT (SF)Open deck, cast rods and pistons, solid lifters; COP and TGVs from Oct 2000; intake AVCS from GD.II. |
| EJ20X / EJ20Y59 | 1,994 cc | 92.0 x 75.0 mm | 9.5:1 | 2003-2009 | Legacy / Liberty GT (BL/BP, JDM and AU); X = automatic, Y = manualFirst EJ with Dual AVCS; roller rockers; twin-scroll turbo; two coils firing pairs 1-2 and 3-4. |
| EJ22E9 | 2,212 cc | 96.9 x 75 mm | 9.5-10.0:1 | 1990-2001 | Legacy, Impreza (incl. USDM GC8 L/Outback Sport)NA SOHC; non-interference through 1995. |
| EJ251 / EJ2539 | 2,457 cc | 99.5 x 79 mm | 10.0:1 (EJ251), about 10.1:1 (EJ253) | 1999-2011 | NA Impreza, Legacy, Forester, OutbackNA SOHC. EJ251 uses MAP-based load, EJ253 MAF-based. EJ251 known for single-layer head gasket failures. |
| EJ25529 | 2,457 cc | 99.5 x 79.0 mm | 8.2:1 (SG Forester XT 2003-05), 8.4:1 (most later), 9.0:1 (GD/GG WRX 2005-07) | 2003-2014 | Forester XT (SG/SH), Impreza WRX (GD/GG 2006-07 US, GE/GH/GR/GV), Legacy GT / Liberty GT (BL/BP, BM/BR)Semi-closed deck, forged rods, cast pistons; intake AVCS (20/35/50 deg range by model); Dual AVCS on BM/BR Liberty GT. |
| EJ257169 | 2,457 cc | 99.5 x 79.0 mm | 8.0:1 (GD STi AU), 8.2:1 (GE/GH and later; US) | 2004-2021 | Impreza WRX STI GD (US 2004-07), GR/GV (2008-14), WRX STI VA (2015-21, export)Semi-closed deck. Intake AVCS (35 deg) on GD; Dual AVCS from 2008. 565 cc side-feed injectors. |
Valvetrain
SOHC (NA EJ22/EJ25 SOHC) or DOHC per bank (all turbo engines), 4 valves per cylinder
Sourced92- Shimless direct-acting buckets on EJ205/EJ207/EJ255/EJ257
- Roller rockers on EJ20X/Y
ECM duty-drives an oil flow control valve (OCV) spool at each intake cam sprocket, porting oil to advance or retard chambers in the sprocket actuator
Sourced · medium321Airflow, coolant temperature, throttle position, camshaft position sensors (plus crank reference)
Sourced · medium24Three regimes: minimal overlap at idle, advanced intake timing for part-load economy and internal EGR, more overlap at high load for scavenging
Sourced · medium13- 20 deg (SG Forester XT), 35 deg (GD WRX, GD STI, EJ207 GD), 50 deg (GE/GH WRX)
- Dual AVCS 40 deg intake and exhaust (BM/BR Liberty GT)
- DOHC and 1998+ SOHC engines are interference
- SOHC engines through 1995 were not
AVCS is a vane-type hydraulic phaser on each intake cam sprocket, driven by a solenoid spool valve (OCV) that the ECM duty-controls in closed loop on cam position feedback. Dual AVCS adds exhaust phasers. The authority (crank degrees) differs a lot between engines, so do not carry AVCS targets from one engine code to another. The phasers rely on clean oil at adequate pressure. Low oil level, contaminated OCV screens or wrong-viscosity oil show up as slow AVCS response and target-error codes before anything else.
EJ207 GD intake cams carry reluctor teeth at the rear for the cam position sensor. Mixing heads or cams between engine codes changes the cam sensor signal, which the factory ECU and any aftermarket decoder must match.
Fuel system
ECU-driven fuel pump controller (two control lines on the 2002 USDM WRX)
Low confidence11The turbo EJ is a big-bore engine fed by four injectors in the intake manifold runners. On the EJ257 these are 565 cc/min side-feed high-impedance units. That leaves limited headroom for E85 or large turbos, so injector and pump upgrades usually come before significant boost increases.
Ignition
- Wasted-spark coil pack on the intake manifold (EJ20K/EJ207)
- Some EJ20G sub-types used coil-on-plug
From about 2000 the turbo EJ moved to coil-on-plug with the ECM driving each coil. The 2002 USDM WRX ECM has four individual coil outputs plus a separate coil ground. Earlier engines and some JDM variants used manifold-mounted wasted-spark packs. Sequential operation on an aftermarket ECU needs a valid cam phase reference.
Crank and cam triggers
Crank and cam sensors each have a two-wire (+/-) signal pair with a shared shield to the ECM, consistent with variable-reluctance sensors
Low confidence11Crank and cam target tooth counts and angles for the EJ were not found in the OEM or independent references used for this guide. The common community shorthand for the later crank wheel is not confirmed here. Before configuring a replacement ECU, scope the crank and all cam sensors together at cranking and idle, and document the edge pattern relative to cylinder 1 TDC. On AVCS engines, the cam sensors serve as both phase reference and VVT feedback.
Sensors
- Mass airflow sensor on the 2002 USDM WRX (plus MAP for boost)
- NA EJ251 used MAP-based load, EJ253 MAF-based
TGVs close at low airflow to promote tumble for emissions, and many builders delete them. If you delete them, the ECU must stop monitoring the TGV motors and position sensors, or it will set codes.
Factory engine management
'Fuzzy logic' knock control that adapts ignition advance to fuel quality and conditions
Sourced · medium321ECM closed-loop control of the OCV with three operating regimes (idle, part load, high load)
Sourced · medium12Subaru Select Monitor (SSM) / generic scan tool (GST) line on the 2002 USDM WRX
Low confidence11Electronic throttle on EJ257 STI from 2004 US and on later EJ255 applications
Low confidence9EJ20X/Y-era 32-bit ECUs: intake-only AVCS logic for 2008-14 WRX, dual AVCS for 2008-21 STI
Low confidence9The turbo EJ ECM combines MAF-based load (MAP on some engines), an adaptive knock strategy, AVCS closed-loop control, TGV management, boost control through a wastegate solenoid, and TGV and EVAP diagnostics. Its adaptive knock logic means the same car can run quite differently on two tanks of fuel. Logging knock correction and learned timing values is the first step in any diagnosis.
Timing considerations
Big bore (92-99.5 mm) and turbocharging make the EJ strongly knock-limited under boost
Sourced · medium16Top-mount intercooler is prone to heat soak, raising charge temperature and knock tendency
Sourced · medium6Adaptive (fuzzy logic) knock control adjusts advance to fuel quality
Sourced · medium2Treat every turbo EJ as knock-limited from peak torque upward. The 2.5 litre engines are more sensitive than the 2.0s because of their larger bores. Charge temperature matters a lot because the top-mount intercooler heat-soaks in traffic and on repeated pulls. Factory compression ranges from 8.0:1 to 9.5:1 by code, so the same boost target behaves differently on an EJ257 and an EJ205 GD.II.
Work in small steps with full logging: knock correction per event, learned timing, IAT, boost, AFR and AVCS target versus actual. Because the factory strategy learns, make changes only after the learned values have settled, and repeat pulls in the same conditions. Ethanol blends raise the knock limit and are popular on the EJ257, but stock injectors and pump limit how much ethanol can be supported. Confirm knock audibly where possible, especially on cast-piston engines where a short knock event can crack ringlands.
Tuning notes
- GD WRX TD04L target about 93 kPa13.5 psi
- GD STI VF48 max 103 kPa
- 2015 STI max 14.7 psi
TD04L (WRX GD, Forester XT), VF-series IHI on STI and Legacy GT (VF48 GD STI, VF46/VF45 Legacy GT, VF52 GE/GH WRX)
Sourced · medium21Semi-closed deck block with reinforcing ribs, high-strength cast pistons, nitride-hardened crank
Sourced7Most EJ tuning stays on the factory ECM through reflash, because Subaru's strategy is well understood and keeps AVCS, TGV and DBW handling intact. Practical limits are cast-piston ringlands (EJ255/EJ257), injector and pump flow, and top-mount intercooler heat soak. Bigger turbos usually go with a front-mount intercooler, larger injectors, an upgraded pump, and forged pistons for sustained high load.
Weak points
- EJ257 factory pistons have weak ringlands
- Broken ringlands account for many failed engines
- EJ251 single-layer coated head gaskets prone to failure
- Later MLS gaskets improved this
Most catastrophic EJ257 failures trace back to detonation or lean events cracking cast ringlands. Rod bearing failures are also reported. Oil control matters on a boxer: low oil level, high-g oil starvation on track, and long oil intervals all raise bearing and AVCS risk.
Common swaps
When swapping EJ codes, match the ECU's AVCS type (none, intake only, dual) to the engine
Low confidence9Same number and shape of harness plugs as the USDM WRX 2.0 (per community reference)
Low confidence9The EJ is commonly swapped between Subaru chassis, for example a 2.5 litre turbo engine into an earlier 2.0 litre or NA car. The main integration issues are ECU and AVCS type (none, intake only or dual), crank and cam trigger compatibility between engine codes, drive-by-wire versus cable throttle, and the body and immobiliser links in later cars. Plan the engine and ECU as a matched pair.
Vehicles with this engine
GAINS on the Subaru EJ
ECU2
Designed so your phone is the laptop, keypad and dash
The GAINS app is designed to handle tuning, logging, gauges and switch inputs over Bluetooth, so the system needs no separate CAN keypad or display. Keypad, dash and logging views are planned; the iOS prototype runs on simulated data today.
Wideband, IMU and logging built in
An onboard Bosch LSU 4.9 wideband controller, a 6-axis IMU and onboard logging are designed into the ECU rather than sold as add-on modules.
Modular, so you buy what the engine needs
This engine runs on ECU2. PDM2 (power, body and gearbox) is optional and connects over ECU2's powered CAN port; the Telemetry Dongle Pro adds GPS lap timing from the OBD-II port.
Calibration that keeps learning
Instead of a fixed map that drifts as parts and conditions change, the ECU keeps adapting its fuel trims within limits you can see and approve in the app.
Adaptive tuning strategies
- VE learning closed loop on GAINS ECUs
Learns the fuel table from the onboard wideband as you drive, cell by cell, inside a signed authority envelope. Learned trims are promoted into the base map without a step in fuelling.
- Goal-based lambda targets closed loop on GAINS ECUs
Sets air-fuel targets from your goal (economy, response, power, safety margin) instead of a single fixed table.
- Knock protection protection
Listens for knock on a dedicated knock processor, pulls timing at once and restores it slowly. It only ever reduces advance.
- Warm-up, cranking, idle and transient fuel planned
The same learning approach applied to the tables tuners spend hours on after the main map is done.
- Spark advance and boost authority gated
Widening ignition advance or boost is never automatic. It stays an expert or dyno decision until validated knock detection exists for the engine family.
Already running another ECU? In advisor mode the same strategies read your logs and recommend exact table changes with the reasoning, which you apply in your ECU vendor's own software.
GAINS hardware is pre-release concept design. Simulated results only; nothing is validated on a vehicle yet.
Frequently asked
What is the difference between EJ205 and EJ255?
The EJ205 is a 2.0 litre (92 x 75 mm) open-deck engine with cast rods. The EJ255 is a 2.5 litre (99.5 x 79 mm) semi-closed-deck engine with forged rods, cast pistons and intake AVCS on most applications.32
What is the difference between EJ207 and EJ257?
The EJ207 is the 2.0 litre STI engine (JDM/UK/AU) with forged pistons and 8.0:1 compression. The EJ257 is the 2.5 litre export STI engine (99.5 x 79 mm) with cast pistons, 8.0-8.2:1 compression and 565 cc side-feed injectors.416
How does Subaru AVCS work?
The ECM duty-controls an oil flow control valve whose spool ports oil to advance or retard chambers in the intake cam sprocket. It uses cam position feedback and runs different overlap strategies for idle, part load and high load.12
Does the EJ257 have dual AVCS?
From the 2008 model year STI, yes. The 2004-07 GD STI has intake-only AVCS with up to 35 degrees of authority.197
What size are stock EJ257 injectors?
565 cc/min side-feed, high-impedance injectors.6
Why do EJ257 engines fail?
Most commonly from cracked ringlands on the cast pistons after detonation or lean events. Rod bearing failures are also reported.610
What compression ratio is the EJ255?
8.2:1 (early SG Forester XT), 8.4:1 (most later applications) and 9.0:1 (2005-07 GD/GG WRX), per Australian-market data.2
Sources
Numbered as cited above. Hover or tap a citation chip to preview it.
- Subaru EJ257 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ255 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ205 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ207 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ20X and EJ20Y Engines · AustralianCar.Reviews · press · retrieved 2026-10-25
- Top Ten Engines: Inside the Engines That Powered an Industry - #8 Subaru EJ257 · DSPORT Magazine · press · retrieved 2026-10-25
- 2015 Subaru WRX STI Press Kit · Subaru of America · oem · retrieved 2026-10-25
- Subaru Announces North American Legacy to Sport 250-HP · Auto123 · press · retrieved 2026-10-25
- Subaru EJ engine · Wikipedia · community · retrieved 2026-10-25
- Subaru WRX · Wikipedia · community · retrieved 2026-10-25
- 2002 WRX ECU pinouts (transcribed from Subaru wiring/service documentation by a NASIOC member) · NorthUrsalia.com · community · retrieved 2026-10-25

