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

asked by on September 13, 2016

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.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

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


Experienced Mechanic?

Earn up to $70/hr

What others are asking

Lubrication for the U-joints on a 2003 F-150
Yes. But, if you are buying new U-joints, they come pre-lubricated these days. If they don't, when you buy the joints for Ford, it'll tell you which lubricant to use. If you are buying at an auto parts store, they...
Is it possible to have my car recharged with R12 refrigerant? And if it is, would it be expensive?
It is possible, but the price of R12 is very high. It will be expensive because of the price of R12. There is an initial extra cost to convert your system to R134a, but once it's done, it will be...
O2 sensor on exhaust manifold...is it upstream or downstream...09 Nissan Altima
Hey there, thanks for writing in about your 2009 Nissan Altima. The downstream O2 sensor is the sensor used for catalyst efficiency. It is not the one in the manifold but the one after the converter. If you need help...
I have an error code P2159 popping up on my Hyundai Sonata. I want to know exactly which speed sensor to replace driver or passenger
Hey there. If your Sonata does not have ABS (not sure any exist without ABS), the wheel speed sensor (https://www.yourmechanic.com/services/wheel-speed-sensor-replacement) input is from the physical wheel speed sensor, located on the passenger front wheel hub assembly (https://www.yourmechanic.com/services/wheel-hub-assembly-replacement). If your Sonata...
While turning right and left, my car makes a popping noise from the drive axles
Hey there. This is likely a sign of failing CV joints (https://www.yourmechanic.com/services/axle-cv-shaft-assembly-replacement). All front-wheel drive cars have "constant velocity" joints or CV joints on both ends of the drive shafts. Inner CV joints connect the drive shafts to the transmission,...
Error code P0171 and P0374
Hi and thanks for contacting YourMechanic. If the vehicle went into limp mode, then the computer is making this happen to prevent the engine from any damage. Check the camshaft sensor (https://www.yourmechanic.com/services/camshaft-position-sensor-replacement) for proper timing to the camshaft. Look at...
Soft clutch, topped off clutch fluid reservoir and clutch pedal became firm/springing back on its own.
It is most common for the clutch hydraulic leak to be from a leaking clutch slave cylinder. You should have the clutch hydraulic system inspected by YourMechanic to see why the fluid is getting low. The fluid gets low anytime...
Car jerking
The hole drilled into your MAF sensor has altered the metered reading of air being injected into your car. The mass air flow sensor (https://www.yourmechanic.com/services/mass-airflow-sensor-replacement) monitors air intake as it is mixed with fuel prior to being injected into the...
to pass smog check P0420 catalyst system efficiency below threshold bank 1, what is the total cost of repair
Hi there. Typically the P0420 OBD II trouble code (https://www.yourmechanic.com/article/p0420-obd-ii-trouble-code-catalyst-system-efficiency-below-threshold-bank-1-by-jamahl-walker) is caused by a faulty catalytic converter, however it can also be due to a worn out front bank O2 sensor, faulty rear O2 sensor or damage to wiring harnesses...

Related articles

Symptoms of a Bad or Failing ABS Speed Sensor
Common signs include the ABS Light coming on, decreased stopping time, and less stability under icy or wet driving conditions.
Symptoms of a Bad or Failing Yaw Rate Sensor
Common signs include the Check Engine Light, Vehicle Stability, or Traction Control Lights coming on and the Stability Control Light flashing.
How Long Does an Ambient Temperature Sensor (Switch) Last?
In In many late-model vehicles, the need to manually adjust heat and air conditioning has been eliminated. You can actually set your car’s computer to regulate the cooling and heating process based on the temperature at which you feel most...