Skip the auto shop - Our mechanics make house calls

Q: High RPMs, but throwing the error code P0340.

asked by on

Went into get a hair cut, came out and my jeep started running at a high RPM and was throwing 3 error codes; P1391, P0171, and P0340. I bought a new Camshaft Position Sensor and installed it, I also did a visual inspection of all the wires, tubes, and springs related to the problems, and I rain 1/3 of a bottle of Seafoam through the engine. After that I cleared the codes and went for a drive to burn out the rest of the Seafoam. On the drive the P0340 came back up and the high RPMs returned. I have checked the wiring and, as far as I can tell, none of my vacuum lines are broken. I did not remove the lines, just visually inspected and ran my fingers over them to feel for abnormal imperfections. I am at a loss because the P0340 is suppose to get you a rough idle, not the high RPMs. So currently, with my foot off the clutch and gas, I can idle my car along in 3rd gear at 25 mph.

My car has 142000 miles.
My car has a manual transmission.

Hi there. These codes may or may not be related to one another. I would be most concerned with the high idle first. Most of the time, on this engine it is due to a bad vacuum line. It sounds like you have checked those though. If the vacuum lines are fine, then most of the time the leak comes from the intake manifold gasket.

It is common for this to fail and cause excessive air to get into the engine and cause this high idle. The engine needs to be checked further for vacuum leaks. I would then check the crank sensor signal. If the crank sensor is not reading right, then it can throw a camshaft code like what you have. If you are looking to have this fixed, consider YourMechanic, as a certified technician can come to your home or office to diagnose the high idling symptom.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details
  1. Home
  2. Questions
  3. High RPMs, but throwing the error code P0340.

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing

Get a quote

What others are asking

Q: Dark green sludge

Hi, thanks for writing in. Dark green sludge is most likely grease from an outer CV joint boot that has split open on whichever side you are seeing it. If you would like help with the repairs, consider having an...

Q: Truck every once in awhile will hesitate when hit brakes real quick and get back on gas

When you hit the brakes real quick, this means you closed the throttle real quick. When this happens you may have excessive fuel in the engine and the computer shut off the injectors. When you open the throttle back up,...

Q: engine wont restart when hot, no spark P0340 has 12v on both connectors, freq from 5-11hz when cranking

Since the crank position sensor gets its timing signal off the damper, I would first replace the damper to be sure timing was correct. The fact that this failure occurs after a "heat soak" cycle, and the P0340 code is...

Related articles

How Long Does a Distributor O Ring Last?
The distributor is part of the ignition system in your vehicle and its purpose is to route high voltage from the ignition coil to the spark plug. The spark plug then...
P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...