Mazda Wagon Mazda5 Check Engine Light With Codes P0126 or P0128 - Thermostat Stuck Open

What this problem usually means

A Mazda5 that sets the check engine light with codes P0126 or P0128 - the codes for an engine that is not reaching, or is slow to reach, its proper operating temperature - is usually telling you its thermostat has failed open. Samarins' Mazda5 guide names a bad thermostat as the common cause of exactly these two codes on this car. The engine then runs too cool: the temperature gauge sits low, cabin heat is weak on cold mornings, fuel economy suffers, and the light stays on because the powertrain control module can see the coolant temperature never arrives where it should. The documented repair is thermostat replacement - about 1.5 hours of labour plus the part - with fresh coolant, after which the codes should stay clear and the gauge should come up to normal.

Likely causes

  1. Thermostat stuck open or opening too early, so coolant circulates through the radiator from a cold start (the documented cause of P0126/P0128 on this car)
  2. A coolant temperature sensor reading low and imitating a cold engine - separated by comparing the sensor reading against the actual warm-up behaviour
  3. Low coolant level from a leak, which can confuse warm-up and add overheating symptoms the stuck-open thermostat does not cause

How to fix it — step by step

  1. Read the codes first: P0126 or P0128 together with a temperature gauge that never reaches normal and weak cabin heat is the thermostat pattern — note all three before ordering parts; codes with a normal gauge and strong heat point at the temperature sensor circuit instead. → Shop the thermostat at Amazon
  2. Check the coolant level cold in the reservoir and look for leaks; a car that is also losing coolant needs the leak found, not just a thermostat.
  3. Locate the thermostat: it is in the thermostat housing on the engine where the lower radiator hose lands (on the side/front of the engine, followed from the radiator). Replace the thermostat and its gasket/seal, refill and bleed the cooling system with the correct coolant, and confirm no air lock remains. → Shop the thermostat gasket at Amazon → Shop the engine coolant at Amazon
  4. Verify over a full warm-up drive: the gauge reaches and holds normal, cabin heat is strong, and neither P0126 nor P0128 returns over several trips.

Did that fix it?

Worked through the steps? Say where you landed - it pinpoints what to do next.

Parts that commonly fix it

Parts run $15–$60

Typical ranges, checked Nov 2026. Your model’s exact part can land outside them.

What fixed yours?

Fixed this on your machine? Tap what did it - reports from owners set the percentages on this page.

Source: manufacturer / repair documentation. Codes can vary by model — confirm against your manual.

Manual & model number

Working on a specific model? The official Mazda manual is on Mazda's support site — you'll need your model number.

Find your model number in the owner's manual and on the driver-door jamb label. It's the key to the right manual pages and the right parts.

Related Mazda Wagon Mazda5 problems

See all Mazda Mazda5 codes & guides →