P0505 means the engine computer tried to hold the engine at its target idle speed and could not. The code’s name, “Idle Air Control System”, leads many people straight to buying an idle air control valve, and that is often the wrong part. Plenty of newer cars do not even have one, because the electronic throttle body controls idle air directly. What P0505 really reports is a mismatch between the idle speed the computer asked for and the idle speed it got. Dirty throttle bores, vacuum leaks and a skipped idle relearn cause that mismatch at least as often as a failed valve. This article covers how the idle control system works, the six causes in order of likelihood, the order to check them in, and what each repair typically costs.
Start with the table, then read the note under it.
| Cause | Telltale Sign | Typical Cost |
|---|---|---|
| Carbon in the throttle bore or idle air passage | High mileage; black deposits around the throttle plate; idle dips or surges with A/C or steering load | $0 to $150 |
| Vacuum leak | Idle runs high and will not come down; hissing; lean codes such as P0171 stored too | $20 to $400 |
| Failed or sticking idle air control valve | Older cable-throttle engine; idle stuck high or stalling at stops | $100 to $450 installed |
| Idle relearn not done | Code appeared after a battery disconnect, throttle cleaning or new throttle body | $0 to $150 |
| Wiring or connector fault | Circuit codes stored as well; idle changes when the harness is moved | $50 to $300 |
| Outdated software or a bad load signal | A service bulletin covers your vehicle; idle misbehaves only with A/C or steering input | $100 to $250 |
Get it checked promptly if the engine stalls when you come to a stop, or if the idle surges hard enough to push the car forward while you are holding it on the brake. Stalling cuts power assistance to the steering and brakes, which is a real hazard in traffic. A surging idle is mainly a risk in parking lots and driveways, so keep a firm foot on the brake at low speed until it is fixed. If P0505 is the only code and the idle is merely a little high or low, the car is generally safe to drive while you arrange the checks below.
What the P0505 Code Actually Means
At idle your foot is off the pedal, so the engine computer has to decide how much air to let past the closed throttle. It sets a target idle speed based on engine temperature, gear and load, then adjusts airflow to hold that target as the A/C compressor cycles, the power steering works and electrical loads switch on and off. There are two ways it does this:
- Older engines with a throttle cable have a separate idle air control (IAC) valve, a small motor-driven valve that opens and closes a bypass passage around the throttle plate.
- Newer engines with electronic throttle control have no IAC valve. The computer opens the throttle plate itself by a fraction of a degree to control idle.
Either way, the computer compares the actual engine speed with its target. If the gap stays too large for too long, or the computer cannot get the valve or throttle to move the idle where it wants it, it stores P0505. Exact limits and timers vary by manufacturer. On some makes P0505 is a general “idle control system” fault, and on others it also covers the IAC valve’s electrical circuit, so check the definition in your vehicle’s service information.
Two closely related codes make the direction clearer. P0506 means the idle is lower than expected and P0507 means it is higher than expected. P0505 does not say which way the idle is off, so watch it in live data or note what the tachometer does at a stop.
Why the Idle Air Control Valve Is Not Automatically the Culprit
The computer can only control the air it meters. Anything that adds unmetered air, restricts the air path or changes how much air a given valve opening lets through will push the idle off target, and the computer will log P0505 even though its own valve is working perfectly. A vacuum leak adds air the computer cannot close off, so the idle stays high. Carbon built up in the throttle bore restricts air, so the idle sags and hunts. In both cases a new IAC valve or throttle body changes nothing for long.
One documented case shows this clearly. NHTSA investigated idle surging on 2005 to 2007 Ford Freestyle, Five Hundred and Mercury Montego models, and its closing report for investigation PE11-018 records the Check Engine light and codes P0505, P0506 or P061B among the symptoms. Ford attributed the surge to “the progressive buildup of deposits in the throttle body from normal Positive Crankcase Ventilation (PCV) system operation”. The original engine computer calibration did not compensate for those deposits. Before Ford issued a fix, owners had the throttle body cleaned or replaced, and the report notes that this “only provided temporary correction until the throttle deposit build-up returned”. The lasting fix combined cleaning with updated software.
The lesson applies well beyond Ford: find out why the idle is off target before replacing the part that controls it.
Symptoms You May Notice Alongside the Code
- An idle that is too high, too low, or hunting up and down
- Stalling when you come to a stop, especially with the A/C on or right after a cold start
- Idle surges when you turn the steering wheel at parking speeds or when the A/C compressor kicks in
- A hard start, or an engine that only starts with a little throttle
- Other stored codes: P0506 or P0507, lean codes from a vacuum leak, or circuit codes for the IAC valve or throttle actuator
Pay attention to when it happens. An idle that only misbehaves with the A/C on or the wheel turned points to load compensation. One that is high all the time points to extra air, usually a vacuum leak or a valve stuck open. If the engine stalls at stops, the common reasons a car stalls when coming to a stop covers the other causes to rule out.
1. Carbon in the Throttle Bore or Idle Air Passage
The PCV system sends oily crankcase vapor into the intake, and some of it sticks to the throttle plate, the bore around it and the small IAC bypass passage. Over tens of thousands of miles that film turns into a hard black ring. At idle the throttle is open only a sliver, so even a thin layer noticeably changes how much air gets through. The computer then has to open the valve or throttle further than it expects, and when it runs out of adjustment, or reacts too slowly to a sudden load, the idle drops or surges and P0505 sets.
Ford’s service bulletin TSB 11-8-5 for the affected Freestyle, Five Hundred and Montego shows the correct cleaning method. Remove the throttle body, spray throttle body cleaner on the plate and bore, and use a small soft brush on the edges of the plate and the bore where it seals. The bulletin warns not to spray cleaner directly into the throttle plate pivot shaft. Avoid forcing open an electronic throttle plate by hand with the key on, and check your service information for whether your throttle body has a coating that should not be scrubbed. Signs of a sticking throttle, and how cleaning compares with replacement, are covered in the bad throttle body symptoms guide.
2. Vacuum Leak
A vacuum leak lets air into the engine after the throttle, where the computer cannot control it. The idle rises, and the computer closes its valve or throttle as far as it can to bring it back down. If the leak lets in more air than it can take away, the idle stays high and the computer eventually logs P0505 or P0507. Lean codes such as P0171 often appear alongside it, because the extra air also bypasses the airflow sensor.
Common sources are cracked vacuum hoses, a split PCV hose or a failed PCV valve, a leaking intake manifold gasket, and a leaking brake booster or its check valve. Listen for hissing with the engine running, and check long-term fuel trim: high positive values at idle that come down toward normal at higher engine speeds are the classic vacuum-leak pattern. The guide to vacuum leak symptoms and how to find one walks through the smoke test and other ways to pin it down.
3. Failed or Sticking Idle Air Control Valve
On engines that have one, the IAC valve itself does fail. The motor windings can go open, the pintle or rotary valve can stick in carbon, and internal parts wear. A valve stuck open gives a high idle that will not come down. A valve stuck closed gives a low idle and stalling, often worst when the engine is cold and needs extra air.
Clean the valve and its passage first, since carbon is the more common problem, and then test it. Many IAC valves can be checked for winding resistance with a multimeter against the service manual figure, and a scan tool will often let you command the valve and watch the idle respond. If the idle does not change when the valve is commanded and the circuit tests good, the valve has failed. The bad idle air control valve guide covers the symptoms and replacement in more detail.
4. Idle Relearn Not Done
The engine computer learns how much valve or throttle opening it needs for a given idle speed, and stores that as an adaptive value. Disconnect the battery, clean a dirty throttle body or fit a new one, and that learned value no longer matches the hardware. Until the computer relearns it, the idle can hunt, run low or stall, and P0505 can set. This is why the code so often appears straight after someone cleans the throttle body to fix a rough idle.
Some vehicles relearn on their own: Ford’s bulletin, for example, has the technician reprogram the computer, turn the key off to re-initialize it, then idle the engine in Park with the A/C off until it is fully warm and for five minutes more. Others need a specific procedure, such as Nissan’s Idle Air Volume Learning, which is carried out with a scan tool or a timed key-and-pedal sequence. Look up the procedure for your vehicle before replacing anything.
5. Wiring or Connector Fault
An IAC valve or electronic throttle body that loses power, ground or its control signal cannot move, and the computer sees the idle drift off target. Corroded pins, a cracked connector or a chafed wire are typical. On many vehicles a pure circuit fault sets its own circuit or throttle actuator code as well, which is a useful pointer.
Check the connector for corrosion and a firm fit, wiggle the harness with the engine idling, and watch whether the idle changes. Then check supply voltage and ground at the connector against the service manual. On an electronic throttle body, any throttle actuator or pedal sensor codes should be fixed first, because the idle problem usually follows from them.
6. Outdated Software or a Bad Load Signal
The computer raises the idle in anticipation of loads, using signals such as A/C compressor requests, power steering pressure and electrical load. If one of those signals is missing or wrong, the idle dips whenever that load comes on, and the computer may not catch it in time. A failed power steering pressure switch, for example, can cause a stall or a deep dip every time the wheel is turned at parking speed.
Software matters too. In the Ford case above, the first step of the bulletin’s service procedure was reprogramming the engine computer, and the bulletin goes on to say that if a learned throttle value called ETC_TRIM stays below 3.0 degrees, the throttle body “is not the likely cause of the concern and replacement is not necessary”. Check for bulletins on your vehicle before buying a throttle body.
How to Diagnose P0505 in the Right Order
- Read every stored code and the freeze frame. Fix circuit, throttle actuator and pedal sensor codes first. Note whether lean codes are also stored, which points toward a vacuum leak.
- Check for service bulletins. Search NHTSA’s database by VIN. A known software update or cleaning procedure can save hours.
- Watch the idle in live data. Compare actual engine speed with desired idle speed, and note the IAC position or throttle angle the computer is commanding. A computer commanding almost no opening while the idle is still high means extra air is getting in. One commanding a large opening to hold a low idle means air is being restricted.
- Look for vacuum leaks. Listen for hissing, inspect hoses and the PCV system, and check fuel trims. A smoke test finds leaks that are hard to see.
- Inspect and clean the throttle body and IAC passage. Use throttle body cleaner, not carburetor cleaner, on parts with sensors attached, and keep cleaner out of the pivot shaft and electrical connector.
- Do the idle relearn. Follow the procedure for your vehicle after cleaning, a battery disconnect or any throttle body work.
- Test the IAC valve or throttle actuator and its circuit if the code returns: winding resistance, commanded movement, supply voltage and ground.
- Check load inputs if the idle only dips under A/C or steering load: the power steering pressure switch and the A/C request signal in live data.
What not to do: do not replace the IAC valve or throttle body before checking for vacuum leaks and carbon, and do not skip the relearn after cleaning. Also avoid adjusting the throttle stop screw on an electronically controlled throttle. That screw sets the plate’s closed position and is not an idle adjustment, so moving it can create new idle and throttle codes.
P0505 Repair Cost
These are typical ranges for common cars and light trucks. Prices vary with region, labor rates and engine layout, particularly how much has to come off to reach the throttle body.
| Repair | Typical Cost |
|---|---|
| Diagnostic fee at a shop | $100 to $180 |
| Throttle body and IAC passage cleaning | $10 (DIY) to $150 |
| Idle relearn or software update | $0 to $250 |
| Vacuum hose or PCV hose replacement | $20 to $200 |
| Intake manifold gasket | $200 to $600 |
| Idle air control valve, installed | $100 to $450 |
| Electronic throttle body, installed | $250 to $900 |
Cleaning and the relearn are well within DIY reach on most engines. Together they solve a large share of P0505 cases for the cost of a can of cleaner.
Can You Keep Driving With P0505?
Usually yes, for a short time, if the idle is only slightly off and the engine does not stall. P0505 does not damage the engine by itself, though a vacuum leak behind it can make the engine run lean.
Stalling is the real concern. An engine that dies at a junction loses power steering assistance and most of its brake assist, which makes the car hard to steer and stop. A surging idle can also move the car at parking speeds. In NHTSA’s testing for the Ford investigation, surge events pushed engine speed up to about 1,500 rpm and moved test vehicles at up to about 5 mph, though normal brake pressure was enough to hold them. If your car stalls at stops or surges noticeably, get it fixed promptly. Until then, leave extra space at junctions and keep a firm foot on the brake when maneuvering.
Related Codes
- P0506: idle speed lower than expected. Carbon deposits and sticking valves are the usual causes.
- P0507: idle speed higher than expected. Vacuum leaks are the first thing to check.
- P0508 and P0509: IAC valve circuit low and circuit high on some vehicles. These are electrical faults in the valve or its wiring.
- P0171: a lean fuel trim code. Stored together with P0505, it strongly suggests a vacuum leak.
- P2101 and P2111: electronic throttle actuator faults. If one is stored, the idle problem is probably a symptom of the throttle fault, so fix that first.
If the idle surges rather than sitting at the wrong speed, the guide to why an engine surges at idle covers the broader list of causes.
P0505 Questions Answered
What does the P0505 code mean?
P0505 means the engine computer could not hold the engine at its target idle speed. It is an idle control system fault, so it can be caused by anything that affects idle air: carbon in the throttle body, a vacuum leak, a sticking idle air control valve, a skipped idle relearn or a wiring problem, not only a failed valve.
Do I need a new idle air control valve for P0505?
Not necessarily, and many newer cars do not have one at all, because the electronic throttle body controls idle directly. Check for vacuum leaks, clean the throttle body and idle air passage, and do the idle relearn first. Replace the valve only if it fails a resistance or command test.
How much does it cost to fix P0505?
Often very little. Cleaning the throttle body costs about $10 for a can of cleaner if you do it yourself, or up to about $150 at a shop. A vacuum hose repair typically runs $20 to $200, an idle air control valve $100 to $450 installed, and an electronic throttle body $250 to $900 installed.
Is it safe to drive with a P0505 code?
For a short time, usually, if the idle is only a little off. It becomes unsafe if the engine stalls at stops, because a stalled engine loses power steering and most brake assist, or if the idle surges enough to move the car while you hold the brake. Get either of those fixed promptly.
Why did P0505 appear after I cleaned the throttle body?
Because the engine computer had learned to compensate for the old carbon deposits. After cleaning, more air gets past the throttle than it expects, so the idle runs high or hunts until the computer relearns. Do the idle relearn procedure for your vehicle, which on some makes needs a scan tool.
What is the difference between P0505, P0506 and P0507?
All three are idle control codes. P0505 is a general fault in controlling idle speed. P0506 means the idle is lower than the target, usually from carbon or a sticking valve. P0507 means it is higher than the target, usually from a vacuum leak or a valve stuck open.
As an Amazon Associate we earn from qualifying purchases.







