Howtoo Logo
2018 Subaru Legacy
2003 - 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 Mass Air Flow Sensor 10-14 Subaru Outback

How to Replace Mass Air Flow Sensor 10-14 Subaru Outback

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
T20
T20
Torx Star
See all parts background
See All Tools

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

Step-by-step DIY instructions with required tools, parts list, safety tips, and torque specs

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

Step-by-step DIY instructions with required tools, parts list, safety tips, and torque specs for 2003, 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 reads wrong, you can get rough idle, hesitation, poor MPG, or a check engine light. Replacement is usually quick because it sits in the air intake tube near the air box.

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


āš ļø Safety & Precautions

  • 🧤 Let the engine cool so you don’t burn your hands on hot parts.
  • šŸ”Œ Disconnect the negative battery terminal to prevent accidental shorts and reduce the chance of setting new fault codes.
  • 🧼 Never touch the sensing element inside the MAF opening; skin oils can damage it.
  • šŸ’Ø Make sure no dirt falls into the intake tube while the sensor is out.

šŸ”§ Required Tools

You'll need the following tools for this repair:

  • 10mm socket
  • 1/4" drive ratchet
  • 1/4" drive extension (3"-6")
  • Phillips #2 screwdriver
  • Torx T20 screwdriver
  • Inch-pound torque wrench (10-80 in-lb range)
  • Trim clip tool
  • Nitrile gloves
  • Safety glasses
  • Clean shop towels

šŸ”© Required Parts

HowToo sells all the parts you need for this repair:

  • Mass air flow (MAF) sensor - Qty: 1
  • Dielectric grease (small packet) - Qty: 1

šŸ“‹ Before You Begin

  • Park on level ground, shift to Park, and set the parking brake.
  • Open the hood and locate the MAF sensor on the intake tube/air box area (it will have an electrical connector).
  • Disconnect the battery: use a 10mm socket to remove the negative terminal and tuck it aside so it can’t spring back.

šŸ”Ø Step-by-Step Instructions

Follow these steps in order:

Step 1: Access the MAF sensor

  • Use a trim clip tool to remove any plastic clips/ducting that blocks access (if equipped).
  • If needed, loosen the intake snorkel or tube clamp(s) with a 10mm socket so you can comfortably reach the sensor.

Step 2: Unplug the MAF electrical connector

  • Press the connector lock tab by hand and pull the connector straight off.
  • If it’s stuck, gently help it with your fingers—do not pry hard on the wires.
  • Wiggle the connector; don’t yank the harness.

Step 3: Remove the MAF sensor screws

  • Remove the two retaining screws using a Phillips #2 screwdriver.
  • If your screws are Torx instead, use a Torx T20 screwdriver (Torx is a star-shaped screw head).
  • Set the screws aside on a clean shop towel so they don’t get lost.

Step 4: Remove the MAF sensor

  • Pull the sensor straight out of the housing by hand.
  • Keep the sensor opening pointed upward so debris can’t fall into the intake.
  • Inspect the rubber seal (if equipped). If it stayed behind, remove it and install it onto the new sensor in the same position.

Step 5: Install the new MAF sensor

  • Slide the new sensor into the housing in the same orientation as the old one (mounting holes aligned).
  • Install the screws by hand first to avoid cross-threading.
  • Use an inch-pound torque wrench to tighten the MAF screws: Torque to 13 in-lb (1.5 NĀ·m).

Step 6: Reconnect the connector and reassemble the intake

  • Add a tiny dab of dielectric grease to the connector seal (optional) and push the connector on until it clicks.
  • Re-tighten any intake tube clamp(s) you loosened using a 10mm socket: Torque to 27 in-lb (3.0 NĀ·m).
  • Reinstall any removed clips/ducting using the trim clip tool.

Step 7: Reconnect the battery

  • Reconnect the negative battery terminal using a 10mm socket: Torque to 44 in-lb (5.0 NĀ·m).

āœ… After Repair

  • Start the engine and let it idle for 3-5 minutes with all accessories off (helps the idle stabilize after a battery disconnect).
  • Verify the idle is smooth and the engine doesn’t stumble when you lightly tap the throttle.
  • Check that the intake tube is fully seated and there are no air leaks (hissing sound) around the clamps.
  • If the check engine light was on, clear codes with a scan tool and confirm they don’t return.

šŸ’° DIY vs Shop Cost

Shop Cost: $180-$350 (parts + labor)

DIY Cost: $90-$220 (parts only)

You Save: $90-$130 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.

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-
2008 Subaru Legacy-Flat 4 2.5L-
2003 Subaru Legacy-Flat 4 2.5L-
Parts
Tools
2018 Subaru Legacy
Menu
Videos
Earn