Howtoo Logo
2016 Subaru Legacy
2008 - 2019 Subaru Legacy
Flat 4 2.5L
Compatible with more variants.
Bryan specialist avatar

Have a Question? Ask a Specialist

Here is everything needed for this repair

See what I can do

Make Money

With HowToo

OnOff

Here is just the beginning of what I can do!

Select one to see me in action

Vehicle Features

Image Vehicle Features

“How do I connect my phone to my stereo?”

Vehicle Information

Image Vehicle Information

“What is my horsepower and torque”

Image Recognition

Image Image Recognition

“What is this warning light on my dash?”

Troubleshooting

Image Troubleshooting

“I have a P0300 engine code”

Vehicle Recognition

Image Vehicle Recognition

“What vehicle is this?”

Find shops near you

Image Find shops near you

“Find a shop to do this repair”

Vehicle Talk

Image Vehicle Talk

“What’s your favorite vehicle of all time?”

How to Replace MAF Sensor 2012-2016 Subaru Impreza

How to Replace MAF Sensor 2012-2016 Subaru Impreza

Suggested Parts

See all parts background
See All Parts

Tools & Fluids

10mm
10mm
Socket
or (3/8")
1/4
1/4
Ratchet
3"
3"
Extension
Phillips
Phillips
Screwdriver
Flathead
Flathead
Screwdriver
See all parts background
See All Tools

How to Replace the Mass Air Flow (MAF) Sensor on a 2008-2019 Subaru Legacy (Engine: Flat 4 2.5L)

Step-by-step instructions with tools, parts list, safety tips, screw torque specs, and code-clearing steps

How to Replace the Mass Air Flow (MAF) Sensor on a 2008-2019 Subaru Legacy (Engine: Flat 4 2.5L)

Step-by-step instructions with tools, parts list, safety tips, screw torque specs, and code-clearing steps for 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019

Orion
Orion

đź”§ Legacy - Mass Air Flow (MAF) Sensor Replacement

The MAF sensor measures how much air is entering your engine so the computer can add the right amount of fuel. If it fails or gets contaminated, your Legacy can run rough, hesitate, or turn on the check engine light.

Difficulty Level: Beginner | Estimated Time: 0.5-1.0 hours


⚠️ Safety & Precautions

  • 🧤 Work on a cool engine to avoid burns from hot parts.
  • 🔌 Disconnect the negative battery terminal to prevent accidental shorts and to help the computer relearn airflow.
  • ⚠️ Do not touch the MAF sensing element (tiny wire/film inside). It’s delicate and easily damaged.
  • đź§Ľ If you clean the air tube, keep dirt out of the intake opening.

đź”§ Required Tools

You'll need the following tools for this repair:

  • 10mm socket
  • 1/4" drive ratchet
  • 1/4" drive extension (3")
  • Phillips #2 screwdriver
  • Flat-blade screwdriver
  • Trim clip removal tool
  • Torque screwdriver (inch‑pound)
  • OBD2 scan tool
  • Nitrile gloves
  • Safety glasses

🔩 Required Parts

HowToo sells all the parts you need for this repair:

  • Mass air flow (MAF) sensor - Qty: 1
  • MAF sensor O-ring/seal (if separate from sensor) - Qty: 1
  • MAF sensor mounting screws (if damaged/stripped) - Qty: 2

đź“‹ Before You Begin

  • Park on level ground, shift to Park, and set the parking brake.
  • Open the hood and locate the air intake tube and air box on the passenger side of the engine bay.
  • Use a 10mm socket to disconnect the negative battery terminal and tuck it aside so it can’t spring back.
  • Tip: Take a quick photo of the connector routing.

🔨 Step-by-Step Instructions

Follow these steps in order:

Step 1: Locate the MAF sensor

  • Look at the air intake tube between the air box and the engine. The MAF is the small module with an electrical connector, usually held by two screws.

Step 2: Unplug the MAF electrical connector

  • Press the connector lock tab with your thumb (or gently with a trim clip removal tool) and pull the connector straight off.
  • If it’s stuck, use a flat-blade screwdriver gently—don’t pry hard on the plastic.

Step 3: Remove the MAF sensor screws

  • Use a Phillips #2 screwdriver to remove the two mounting screws.
  • Set the screws somewhere safe so they don’t fall into the engine bay.

Step 4: Remove the MAF sensor

  • Pull the sensor straight out of the intake housing. If there’s an O-ring seal, it may offer a little resistance.
  • Do not bump or touch the sensing element inside the sensor opening.

Step 5: Install the new MAF sensor

  • Check that the new sensor matches the old one (connector shape and mounting holes).
  • If there is a separate O-ring, install the new O-ring on the sensor before inserting it.
  • Slide the sensor straight in, seated fully and evenly.

Step 6: Reinstall and tighten the MAF screws

  • Start both screws by hand to avoid cross-threading.
  • Use a torque screwdriver (inch‑pound) to tighten evenly: Torque to 1.5 N·m (13 in‑lb).
  • Tip: Snug only—overtightening cracks the housing.

Step 7: Reconnect the connector and battery

  • Push the connector on until it clicks and locks.
  • Reconnect the negative battery terminal using a 10mm socket and 1/4" drive ratchet.

Step 8: Clear codes (if present)

  • Plug in an OBD2 scan tool and clear any stored MAF-related codes.
  • If you don’t clear codes, the light may still turn off after a few drive cycles if the issue is fixed.

âś… After Repair

  • Start the engine and let it idle for 3–5 minutes. The idle may fluctuate briefly while the computer relearns.
  • Check for a smooth idle and normal throttle response.
  • Take a short test drive and confirm the check engine light stays off.
  • Recheck that the connector is fully seated and no tools are left in the engine bay.

đź’° DIY vs Shop Cost

Shop Cost: $200-$450 (parts + labor)

DIY Cost: $80-$250 (parts only)

You Save: $120-$200 by doing it yourself!

Shop labor rates vary but typically run $100-$150/hour. This repair takes a shop approximately 0.5-1.0 hours.


🎯 Ready to get started?

HowToo makes it easy: same-day/2-day shipping on every part, plus all the tools and specialty tools you need! Check out the parts and tools sections below to add everything to your cart.

Assumption: Your Legacy uses the common 2-screw, airbox-mounted MAF; torque listed is for small MAF retaining screws.

Guide for Mass Air Flow Sensor replace for these Subaru vehicles

Year Make ModelSub ModelEngineBody Style
2019 Subaru Legacy-Flat 4 2.5L-
2019 Subaru Legacy-Flat 6 3.6L-
2018 Subaru Legacy-Flat 4 2.5L-
2018 Subaru Legacy-Flat 6 3.6L-
2017 Subaru Legacy-Flat 4 2.5L-
2017 Subaru Legacy-Flat 6 3.6L-
2016 Subaru Legacy-Flat 4 2.5L-
2016 Subaru Legacy-Flat 6 3.6L-
2015 Subaru Legacy-Flat 4 2.5L-
2015 Subaru Legacy-Flat 6 3.6L-
2014 Subaru Legacy-Flat 4 2.5L-
2014 Subaru Legacy-Flat 6 3.6L-
2013 Subaru Legacy-Flat 4 2.5L-
2013 Subaru Legacy-Flat 6 3.6L-
2012 Subaru Legacy-Flat 4 2.5L-
2012 Subaru Legacy-Flat 6 3.6L-
2011 Subaru Legacy-Flat 4 2.5L-
2011 Subaru Legacy-Flat 6 3.6L-
2010 Subaru Legacy-Flat 4 2.5L-
2010 Subaru Legacy-Flat 6 3.6L-
2009 Subaru Legacy-Flat 4 2.5L-
2009 Subaru Legacy-Flat 6 3.0L-
2008 Subaru Legacy-Flat 4 2.5L-
2008 Subaru Legacy-Flat 6 3.0L-
Parts
Tools
2016 Subaru Legacy
Menu
Videos
Earn