2004 to 2013 BMW 3-Series Mass Air Flow MAF Sensor Replacement
This guide provides instructions on changing the Mass Air Flow (MAF) sensor on a 2004 to 2013 BMW 3-Series.
At a Glance
- Vehicles: Non turbo BMW 3-Series E90, E91, E92, E93 (turbo 335i has no MAF)
- Location: Next to the air filter housing on the driver’s side
- Tools: Torx socket set and ratchet
- Fasteners: Two Torx screws and one electrical connector
- Time: About 15 minutes
- Common codes: P0100 to P0104, P0171, P0174
The mass airflow sensor is held with two screws and is very straightforward to replace. The sensor is located near the air filter housing on the driver’s side of the engine.
How to Replace BMW 3-Series Mass Air Flow MAF Sensor
Symptoms
- BMW is hard to start or has trouble turning over.
- 3-Series engine stalls soon after starting.
- BMW 3-Series engine drags or hesitates when idle or under load.
- BMW hesitates and jerks during acceleration.
- BMW 3-Series engine hiccups.
Before You Replace the MAF
- Read the codes first. MAF faults usually set codes in the P0100 to P0104 range, or lean codes P0171 and P0174.
- Check the intake boot between the MAF and the throttle body for cracks. A split boot lets in unmetered air and causes the same symptoms.
- Try cleaning the sensor with MAF cleaner spray (never touch the element) before buying a new one.
- Make sure the air filter is not clogged or soaked with oil.
What you will need
- BMW MAF Sensor
- Torx Socket Set
- Ratchet Wrench
Procedure
- Open the hood of your BMW. The hood release is located under the dashboard on the driver’s side.

- Locate the mass airflow sensor by the engine air filter housing on the driver’s side.

- Unplug the electrical connector from your BMW mass airflow sensor.

- Remove the Torx screws that hold the mass airflow sensor in place.

These guidelines apply to non turbo E90, E91, E92 and E93 3-Series models. Turbocharged 335i models (N54 and N55 engines) do not use a MAF sensor, so lean or airflow codes on those cars point to other parts such as boost leaks or vacuum leaks.
🔧 Find out what is actually wrong before you pay someone to guess
Dealer level diagnostics at home with the YOUCANIC UCAN-II Pro.
- ✔ Covers most makes and models, including many luxury brands. Send us your VIN and we will confirm your car before you order
- ✔ Reads every module, not just the engine, so you find the faults a basic reader says are not there
- ✔ Commands the car: test a fan or pump, bleed ABS, retract an electronic parking brake, register a battery
- ✔ No subscriptions. Free lifetime updates, so the price you pay is the whole price
- ✔ Backed by real mechanics in the USA you can email before and after you buy
Featured in The Wall Street Journal
Check Engine Light Still On
If the check engine light is still on after you replace the Mass Airflow Sensor, you can use the YOUCANIC UCAN-II Pro to clear the stored codes. It can also read fault codes in the engine and other control modules, and show live MAF readings so you can confirm the new sensor is working, on supported models.

Check these troubleshooting and repair guides for more help on your BMW.
Frequently Asked Questions
Where is the MAF sensor on a BMW 3-Series?
It is mounted next to the air filter housing on the driver’s side of the engine bay and is held by two Torx screws.
What are the symptoms of a bad MAF sensor on a BMW?
Hard starting, stalling after start, hesitation at idle or under load, and jerking during acceleration.
Does the BMW 335i have a MAF sensor?
No. The turbocharged N54 and N55 engines do not use a MAF sensor.
Can I clean the MAF sensor instead of replacing it?
Often, yes. Spray the element with MAF cleaner without touching it and let it dry fully before reinstalling.
Related Guides
- 2004 to 2013 BMW 3-Series Engine Air Filter Replacement
- 2004 to 2013 BMW 3-Series Oxygen O2 Sensor Replacement
- 2004 to 2010 BMW 5-Series Charge Air Conditioner
- 2004 to 2013 BMW 3-Series Replace Hood Lift Support




