Blog · 2026-11-10
2004 Mazda 3 stalls and bogs down on cold starts
Stefan Bogdanescu
Founder & Senior Architect
Diagnosing Cold Start Stalls on a 2004 Mazda 3: Beyond the Crankshaft Position Sensor
When a 2004 Mazda 3 (JDM 1.5L) stalls or bogs down immediately after a cold start but settles down after 7â10 minutes of idling, it points squarely to an engine control unit (ECU) that cannot maintain the correct air-fuel ratio during the initial warm-up phase. You have already performed the standard maintenance steps: replacing the Mass Air Flow (MAF) and Manifold Absolute Pressure (MAP) sensors, checking for vacuum leaks, cleaning injectors and the throttle body. The fact that long-term and short-term fuel trims are near zero suggests the ECU isn't actively compensating for a massive leak or a severely rich/lean condition once the engine is stable.
The critical clue lies in the behavior pattern: the issue resolves with heat but returns when the engine is cold. This indicates a sensor that either fails to provide data during the initial startup sequence or requires time to reach its operating temperature before becoming functional. The upstream O2 sensor heater circuit code you have is a significant red herring in this specific context; while it indicates an electrical fault, O2 sensors primarily influence fuel trims after the catalyst light (A/F ratio) is active, which typically happens well past the 10-minute mark where your car runs fine.
You mentioned replacing the Crankshaft Position Sensor (CKP) temporarily cleared a code, but the stalling persists if you don't let the engine warm up for 10 minutes. It is important to understand that a failing CKP often causes a no-start condition rather than a "run then stall" scenario. If the CKP were completely dead, the ECU would likely not fire the injectors at all during the initial cranking or immediate post-start phase. The fact that the car runs smoothly after warming up suggests the CKP is providing intermittent signals only when cold, or there is a thermal expansion issue affecting its connection. However, relying solely on this sensor to fix the bogging might be premature.
Consider the temperature sensors in your engine bay. On many 1.5L rotary-valve engines from this era, the coolant temperature sensor (CTS) can drift as it warms up. If the CTS reports a temperature significantly colder than reality to the ECU during the first few minutes, the ECU will flood the cylinders with fuel based on that erroneous data. Once the sensor heats up and aligns its reading with the actual coolant temperature, the mixture corrects itself. This explains why long-term fuel trims are near zero; the system is in equilibrium once the thermal drift stabilizes.
Another possibility involves the throttle position sensor (TPS). If the TPS has a cold resistance issue or a loose internal contact that clears up after expansion from heat, the ECU might momentarily interpret the throttle as closed when you press it slightly during acceleration, causing the bog. Since you have not mentioned testing the TPS voltage curve with a multimeter while cold versus warm, this is a high-probability candidate given your current fuel trim data.
Before replacing the expensive crankshaft position sensor or the ECU itself, verify the coolant temperature sensor output and the throttle position sensor signals using an OBD-II scanner that can read live data parameters. Look for a lag in the reported coolant temperature versus the actual ambient temperature during the first 5 minutes of operation. If the CTS reading lags significantly or shows unrealistic values before settling, that is your culprit, not the crank sensor.
If you decide to proceed with replacing the CKP, ensure you are using an OEM-spec part rather than a cheap aftermarket clone, as these units can have poor thermal stability in older chassis. However, given your fuel trim data and the specific "cold then warm" behavior, prioritizing the coolant temperature sensor and throttle position sensor diagnostics offers a more logical troubleshooting path with higher success rates.