Q: P0505 code Idle Air Control for bmw 540i

asked by on October 19, 2017

To start this code has been with me since I bought the car. The car would turn off when coming to a stop light/sign very randomly and without warning. First time scanned came back with a TPS malfunction code. Replaced it because it was bad BUT still kept having same issue. Then my mechanic said it could be the IACV itself, replaced it, still kept turning off randomly. Lastly, did a smoke test with 10psi or pressure, found a vacuum leak, sealed it up with hose clamps around the piping that had no clamps on it. Now since then, been a few days, car has NOT turned off randomly at all like before BUT code keeps showing up after about 40minutes. What do you think the issue is? And will cleaning the Throttle body think will fix it? What are your thoughts. Only code I get. Car runs so smooth but that code pops up. No erratic idle low or high, usually it’s idling a little above the tick mark on the speedometer.

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

The TPS can have between 5 and 10 different codes and all will be caused by different failures of the TPS, Throttle body, wiring or computer issues and you will need to supply the code you get to help you isolate the cause. If you have the codes pinpoint tests done by a mechanic like one from YourMechanic then it can be isolated to actual cause of problem and not just putting parts on in hopes of fixing the light coming on.

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 $65/hr

What others are asking

Exhaust manifold gasket Dodge Neon

Exhaust leaks are bad news and it's great that you are on this and getting it repaired. In the repair of my own cars, that "issue" is perhaps the number one that I have been most vigilant about (because CO...

What does the Malfunction Indicator lamp on the dash mean?

Whether you call it by its proper name, or refer to it as the Check Engine Light, the Malfunction Indicator lamp (MIL) is a very critical warning system. It’s designed to turn on when something goes wrong with your emissions...

My car idles roughly and wants to die when I give it gas what could this be?

With this kind of engine issue, I would imagine that your Check Engine Light is on, indicating that the built in diagnostics have logged and error and a diagnostic trouble code. It will be important to know these codes to...

I need help with diagnostic trouble codes that suddenly appeared making vehicle almost undriveable.

Firstly, you should have the battery disconnected and the PCM disconnected. Check their connectors for any problems and apply dielectric lube to the connectors so the connection is clean from corrosion. If the problem continues then replace the PCM. All...

Check engine light on with code P0031.

Hi. Modern vehicles have heated oxygen sensors or air fuel ratio sensors. The heating element in the sensor brings it up to operating temperature quicker. This allows the powertrain control module (PCM) to use the sensor's inputs sooner. Code P0031...

My ac is blowing but not cooling

Hello. An AC that does blow cold air can be caused by many things. A few common causes are low refrigerant, a faulty pressure switch, or a bad compressor. The component responsible for blowing air is the blower motor, however,...

Car issues. I need help to determine what's wrong with it.

First you will need to test compression on all 4 cylinders with all of the spark plugs out and the ignition system disabled. If the compression is good on all of the cylinders, then the valves in cylinder 2 are...

2015 BMW 750 Lacks Power

There are many potential causes for your concern. If the check engine light is on, (I'm guessing it is) the first thing you'll want to do is retrieve the diagnostic trouble codes. These codes serve as as starting point for...

Engine shuts down intermittently

This symptom sound like an issue with the mass air flow sensor sensor. The sensor is either dirty or oily. Remove the sensor and clean it with electrical cleaner. Then after it dries, put it on and retest the vehicle...

Related articles

P2017 OBD-II Trouble Code: Intake Manifold Runner Position Sensor/Switch Circuit High Bank1
P2017 code definition? Intake Manifold Runner Position Sensor/Switch Circuit High Bank1 What the P2017 code means The runner position sensor, also known...
P0777 OBD-II Trouble Code: Pressure Control Solenoid B Stuck On
P0777 code means a fault was detected in either the electronic pressure control solenoids or solenoid circuits often due too failures or blockages.
P0218 OBD-II Trouble Code: Transmission Over Temperature
P0218 trouble code definition Transmission over temperature condition What the P0218 code means The P0218 code means that the transmission temperature has...