Diagnose soonErratic throttle is a safety concern - diagnose promptly.
Your throttle's backup sensor is reading wrong - it's drifting or has a dead spot. Expect jumpy throttle response or limp mode.
Key facts
P0221 means throttle/pedal position sensor 'B' range/performance. Your throttle's backup sensor is reading wrong - it's drifting or has a dead spot. Expect jumpy throttle response or limp mode. WrenchFair's published fair-price range for this repair is $100–$400 parts and $80–$250 labor at independent shops.
WrenchFair rates P0221 a 2-of-5 DIY difficulty (“Sweep-test both sensors on a scan tool - a dead spot shows as a jump.”) with a “Diagnose soon” driveability rating: Erratic throttle is a safety concern - diagnose promptly. These are this guide’s own published ratings.
For labor context, WrenchFair's methodology page cites two published numbers: about half of US independent shops charge $120–$159/hr (PartsTech survey of 752 shops, fall 2024), and the national average posted mechanical rate was $163/hr in June 2026 (NABR LaborRateHero). Multiply either band by a quote's labor hours to judge whether its labor line is in range.
Service bulletins: 3 factory bulletins on file for this vehicle (mostly Electrical System, Power Train, Unknown Or Other) — see the latest ones
On your 2015–2020 Ford F-150 (2.7L EcoBoost V6, 3.5L EcoBoost V6, 5.0L V8) — Throttle body cleaning:Owner-verified
On the 5.0L the throttle body sits front-center on the intake: per the Ford factory procedure (posted on f150forum) you remove the air cleaner outlet pipe, disconnect the electrical connector, and remove the four retaining bolts; the TB gasket is inspected and replaced as needed, not automatically discarded. For cleaning, remove the body from the plenum rather than spraying it in place so cleaner doesn't run into the electronics, and scrub the butterfly edges and bore where carbon rings form. Ford bodies carry a special anti-friction coating, so use a cleaner labeled for throttle bodies, not brake or carb cleaner. On the 2.7L EcoBoost, a dedicated 2015-2020 walkthrough video covers access, removal, and install torque.
Do this test first: Clean the throttle body thoroughly
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0221 on the 2015–2020 Ford F-150 — but the community-sourced Throttle body cleaning note above covers an owner-reported fix. Fixed yours? Report it — you'll help the next owner.
Torque specs
Throttle body retaining bolts (5.0L, factory procedure): Stage 1: 62 lb.in (7 Nm); Stage 2: 60 degrees — From the Ford Motor Company removal/installation procedure for the 2019 F-150 5.0L posted on f150forum. aFe's installation manual for the same application independently cites factory spec 62 lb.in (7 Nm).
Tips
After a cleaning or replacement on a 2015 F-150 3.5L EcoBoost, one documented fix: battery disconnected ~40 minutes, reconnect, start without touching the pedal, let it reach operating temp (~200F), then a test drive; idle normalized.
If idle hunts or surges after the job, the PCM lost its learned idle position. Resetting Keep Alive Memory (battery disconnect 15+ min, or a scan tool/FORScan KAM reset) followed by an idle period and normal driving lets it relearn.
Do not force the electronic throttle plate open while the connector is unplugged; F-150 owners recommend cleaning with the plate moved by hand only with the key off and connector removed.
Check for vacuum leaks at the intake hose and TB gasket before blaming the body: a leaking seal mimics TB failure with high/hanging idle.
Typical difficulty: Moderate — based on 307 code guides for the intake repair area (an area-level estimate, not this exact job).
Typical time: “After a cleaning or replacement on a 2015 F-150 3.5L EcoBoost, one documented fix: battery disconnected ~40 minutes, reconnect, start without touching the pedal, let it reach operating temp (~200F), then a test drive;…” — as written in the note. First-timers often take twice this.
How notes are verified:Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.
No owner reports yet
Symptoms
check engine light
erratic throttle response
hesitation
possible limp mode
Likely causes
What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.
Worn throttle position sensor 'B' with a dead spot (most common) 4 owner notes link this repair to P0221
Carbon-fouled throttle plate sticking 4 owner notes link this repair to P0221
Drifting sensor
Owner notes linked to P0221: 5 across 2 repairs — these are counts of owner-written notes, not odds of fixing your car.
Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →
Before you buy the part — 4 checks
Work these checks before spending money — each one rules a cause in or out, cheapest first.
Clean the throttle body thoroughly Tests: Worn throttle position sensor 'B' with a dead spot (most common)
Slowly sweep the throttle and watch sensors 'A' and 'B' for dropouts or jumps Tests: Worn throttle position sensor 'B' with a dead spot (most common)
Check that the throttle plate moves freely Tests: Carbon-fouled throttle plate sticking
Replace the throttle body if sensor 'B' has a dead spot Tests: Worn throttle position sensor 'B' with a dead spot (most common)
No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.
Most likely job on your 2015–2020 Ford F-150: Throttle body cleaning — test first, then buy for this job.
The price range below is a national planning range for P0221 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers. If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.
Typical price range
Parts$100 – $400
Labor$80 – $250
Throttle body cleaning or replacement. National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.
Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.
What will this cost to fix?A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0221 ranked, each with a price range. They handed you a printout at the parts store? Decode it before you buy.
DIY difficulty
2 of 5 — Sweep-test both sensors on a scan tool - a dead spot shows as a jump.
Who's behind this guide?WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes.Read the full methodology →