P0341 on a BMW: Causes, Fixes & Repair Cost

๐ŸŸ  Moderate severity ยท drivable

You can usually keep driving a BMW with P0341, but the engine may idle rough or stall, so get it checked soon.

What P0341 means on a BMW

On a BMW, P0341 means the engine computer sees a camshaft position signal from bank 1 that is outside the expected range. The sensor works with the VANOS variable valve timing system to help time fuel injection and ignition. A bad sensor, oil in the connector, or a stretched timing chain can all make the reading drift.

Is P0341 common on BMWs?

P0341 is a fairly common fault on BMW six-cylinder engines like the N52 and N54 as the camshaft position sensors age. Oil leaking into the sensor connector is a known pattern on this brand, and higher-mileage cars can also have timing chain wear. The engine usually keeps running, but idle and performance can suffer.

Commonly reported on: 3 Series, 5 Series, X3, X5.

Symptoms

Common causes

How to fix it

FixDIY?Typical cost
Inspect the cam sensor connector and wiring for oil or damageYes$10โ€“60
Replace the camshaft position sensor with an OEM unitYes$100โ€“250
Have the timing chain and VANOS checked if the code returnsMechanic$800โ€“2000

Frequently asked questions

Can I drive my BMW with a P0341 code?
Usually yes for a short time, but the engine may idle rough or stall. Have the sensor checked soon to avoid getting stranded.
Is P0341 on a BMW usually a bad cam sensor?
Yes. The camshaft position sensors on BMW six-cylinder engines wear out over time and are the most common cause of this code, though oil in the connector also happens.
How much does it cost to fix P0341 on a BMW?
A cam sensor replacement typically runs $100 to $250 with parts and labor. If a stretched timing chain is the cause, the repair costs much more.

Other common BMW codes

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

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
Mercedes-Benz
P0341 on a Mercedes-Benz
Volkswagen
P0341 on a Volkswagen
Hyundai
P0341 on a Hyundai
Subaru
P0341 on a Subaru
Mazda
P0341 on a Mazda
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 BMW codes: BMW hub โ†’

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