Know My EngineEspañol
Home / Mazda 1.5/2.0 Skyactiv-G (Mazda2, Mazda3 2.0, CX-3, CX-30 2.0, MX-5, Yaris iA) / P0171

P0171 on the Mazda 1.5/2.0 Skyactiv-G (Mazda2, Mazda3 2.0, CX-3, CX-30 2.0, MX-5, Yaris iA): what it means

Running lean. Mazda CX-3, Mazda CX-5, Mazda MX-5 Miata.

Get it checked this week

What P0171 means on this engine

Running lean.

The engine is getting too much air or too little fuel. The computer has added as much extra fuel as it's allowed to and the mixture is still lean. Air leaking in through a cracked hose or gasket, a dirty air flow sensor and weak fuel delivery are the usual causes.

The usual suspects
Vacuum leak, dirty MAF.
What you'll notice
Rough idle, hesitation when you accelerate, sometimes a hissing sound from the engine bay.

Can you keep driving?

On this engine: you can drive gently, but get it checked this week.

Yes, for a while. A lean engine runs hotter inside and can start to misfire, so don't leave it for months.

The part behind it: Direct-injection pump, injectors and MAF

What it does
A high-pressure pump feeds injectors inside the cylinders; the MAF measures air.
Why it fails
MAF sensor gets dirty or fails; injectors can wear.
Other signs you'll notice
Hesitation, rough idle, airflow codes.

In the full guide for this engine

  • How to check it yourself, step by step
  • What fixes it, and who should fix it: you, a shop or a mechanic
  • Where the part sits on a 3D engine you can turn
  • The exact part to ask for
Open the full guidePlans from $39 a year.

Know this about your engine

The one rule for this engine: use good fuel and drive it properly warm now and then. It's a simple, reliable engine, but its very high compression and direct injection make it sensitive to poor fuel and to endless short cold trips, which build carbon on the intake valves.

Cars with this engine

  • Mazda CX-3 2016–2021 · 2.0 Skyactiv.
  • Mazda CX-3 2016–2025 · 1.5 or 2.0 Skyactiv versions.
  • Mazda CX-30 2020–2025 · 2.0 Skyactiv-G versions (the 2.5 has its own guide).
  • Mazda CX-5 2013–2016 · 2.0 versions (base FWD; others have a 2.5).
  • Mazda MX-5 Miata 2016–2025 · 2.0 (US); 1.5 or 2.0 elsewhere.
  • Mazda Mazda2 2015–2025 · 1.5 Skyactiv (US Mazda2 2011–2014 used an older 1.5).
  • Mazda Mazda3 2012–2018 · 2.0 Skyactiv versions (others have a 2.5).
  • Mazda Mazda3 2014–2018 · 1.5 or 2.0 Skyactiv versions.
  • Scion iA 2016–2016 · 1.5 (Mazda-built).
  • Toyota Yaris 2017–2020 · US Yaris iA / Yaris sedan and hatchback built by Mazda (1.5).

Other codes on this engine

Dashboard lights on this engine