P0341 on a Mazda: Causes, Fixes & Repair Cost

๐ŸŸ  Moderate severity ยท drivable

You can usually keep driving a Mazda with P0341, but rough idle or hesitation is possible, so get it checked soon.

What P0341 means on a Mazda

On a Mazda, P0341 means the engine control module sees a camshaft position signal from bank 1 that is outside the expected range. The sensor helps the computer time fuel and ignition on Mazda's SKYACTIV engines. When the reading drifts, you might notice a rough idle, hesitation, or a hard start.

Is P0341 common on Mazdas?

P0341 shows up on Mazda3, Mazda6, and CX-5 models as the camshaft position sensors age, usually on higher-mileage cars. Oil in the connector and timing chain stretch are also seen on this brand. The engine usually keeps running, but performance can suffer.

Commonly reported on: Mazda3, Mazda6, CX-5, CX-9.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Clean and inspect the cam sensor connectorYes$10โ€“50
Replace the camshaft position sensorYes$90โ€“200
Have the timing chain inspected if the code returnsMechanic$600โ€“1600

Frequently asked questions

Can I drive my Mazda with a P0341 code?
Usually yes for a short time, but the engine may idle rough or hesitate. Have the sensor checked soon.
Is P0341 on a Mazda usually just the sensor?
Most of the time yes. The camshaft position sensor is the usual failure, though wiring damage and timing wear also happen on higher-mileage cars.
How much does it cost to fix P0341 on a Mazda?
A cam sensor replacement usually runs $90 to $200 with parts and labor. Timing chain repairs, if needed, cost much more.

Other common Mazda codes

P0420
P0420 on a Mazda
P0171
P0171 on a Mazda
P0300
P0300 on a Mazda
P0456
P0456 on a Mazda
P0430
P0430 on a Mazda
P0128
P0128 on a Mazda
P0455
P0455 on a Mazda
P0174
P0174 on a Mazda

P0341 on other brands

Toyota
P0341 on a Toyota
Honda
P0341 on a Honda
Ford
P0341 on a Ford
Chevy
P0341 on a Chevy
Nissan
P0341 on a Nissan
BMW
P0341 on a BMW
Mercedes-Benz
P0341 on a Mercedes-Benz
Volkswagen
P0341 on a Volkswagen
Hyundai
P0341 on a Hyundai
Subaru
P0341 on a Subaru
Jeep
P0341 on a Jeep
GMC
P0341 on a GMC
Lexus
P0341 on a Lexus
Volvo
P0341 on a Volvo

Looking for the full (non-brand-specific) guide? See the P0341 code page โ†’

Browse all Mazda codes: Mazda hub โ†’

Updated 2026-08. This page is informational and not a substitute for professional diagnosis.