Check this first
Check for exhaust leaks near the sensor before buying parts.
What usually fixes it
In the order a good shop checks them. Typical total: $103–$925 at $130 an hour.
Exhaust leak
$176–$494Air drawn in at a leak keeps the sensor pinned lean.
Upstream oxygen sensor
$128–$350A failed sensor stops responding altogether.
Fuel delivery
$268–$925A real lean condition from low pressure or a dirty injector.
Code titles are the generic SAE definitions. Prices are typical US parts and labor for a common car or light truck – a guide for judging a quote, not a quote. Always confirm a repair against the vehicle in front of you.