P0339 fault code

This is the Forum for all your Citroen Technical Questions, Problems or Advice.
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

P0339 fault code

Unread post by DM3003 »

Hi,
Can anyone help me?
I have a C5 X7 1.6 HDi... I’ve replaced the timing belt, and everything was done according to the diagram—the holes align perfectly with the locking pins.
When I start it up, it idles very smoothly, but when I press the accelerator, the engine almost stalls.
I’m getting error code P0339 (crankshaft sensor)... I’ve replaced the sensor, but I’m still having the same problem—the car almost stalls when I hit the gas. I’m completely stumped... what’s wrong?
Best regards
Dag M
User avatar
mickthemaverick
Forum Admin Team
Posts: 21317
Joined: 11 May 2019, 17:56
x 8149

Re: P0339 fault code

Unread post by mickthemaverick »

Have you checked the condition of the wiring to the sensor and its plug pins? :)
I used to be indecisive, now I'm not so sure!
I used to ride on two wheels, but now I need all four!
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Hi..Thanks for the reply... yes, I've replaced the connector.
But the same error code keeps appearing.
RichardW
Forum Treasurer
Posts: 12609
Joined: 07 Aug 2002, 17:12
x 1496

Re: P0339 fault code

Unread post by RichardW »

Possibly you have damaged the pick up ring on the crank sprocket; or maybe the air gap is wrong - there's a locating pin, but it often breaks off.
Richard W
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Hi Richard
The crank sprocket is new.
RichardW
Forum Treasurer
Posts: 12609
Joined: 07 Aug 2002, 17:12
x 1496

Re: P0339 fault code

Unread post by RichardW »

Ah, where did it come from?
Richard W
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Europarts
RichardW
Forum Treasurer
Posts: 12609
Joined: 07 Aug 2002, 17:12
x 1496

Re: P0339 fault code

Unread post by RichardW »

Well at least it wasn't Amazon, but my guess is it's no good. Was it a branded one?
Richard W
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Hi Richard
It was maxgear 54-1103
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

I cleaned the magnetic ring that the sensor sits on today... after that, the car won't start... and it's the same error code, P0339
RichardW
Forum Treasurer
Posts: 12609
Joined: 07 Aug 2002, 17:12
x 1496

Re: P0339 fault code

Unread post by RichardW »

Looks like you will have to replace- preferably OEM. What happened to the original one?
Richard W
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

I had to remove the old one to replace the crankshaft seal... I damaged the ring while trying to pull it of🙈
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Started it up today... it idles fine... but stalls when I give it gas... same error code P0339.
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Hi,
A quick update.
The car has been at the workshop—a new crankshaft position wheel, a new sensor for it, and a new connector for the sensor have been installed. The timing belt is correctly fitted, but the same error code, P0339, persists. The car idles fine, but it cannot handle any throttle input
DM3003
Posts: 10
Joined: 12 Oct 2026, 00:56

Re: P0339 fault code

Unread post by DM3003 »

Please anyone? 1.6 HDI 2008