Deductions & credits

If you are an independent contractor, whether or not you can deduct mileage depends on several factors, including the location of your "main place of work" and how many different work locations you travel to in the same day.  It's covered in chapter 4 of publication 463 and there is a handy diagram as well.

https://www.irs.gov/forms-pubs/about-publication-463

 

Also, the old rules (including mileage deductions for W-2 employees) will be reinstated in 2026, unless Congress passes new tax law changes, so it will not hurt to know where to look up the rules in the event the deduction comes back.