Can You Deduct Gas for Commuting? What the IRS Actually Says
It is one of the most common tax questions for anyone who drives: can I deduct the gas I spend driving to and from work? The short answer: no, with a few important exceptions.
This guide explains the IRS rules on commuting vs. business travel, walks through the exceptions that can make your drive deductible, and helps you figure out which of your trips qualify.
The Basic Rule: Commuting Is Not Deductible
The IRS defines commuting as travel between your home and your regular place of work. This is considered a personal expense, not a business expense. You cannot deduct it — period.
This rule applies regardless of:
- How far you drive (even 100-mile commutes are personal)
- Whether you are self-employed or a W-2 employee
- Whether you take calls or do work during the drive
- Whether you use the standard mileage rate or actual expenses
The IRS position is straightforward: you chose where to live and where to work. The cost of getting between the two is your personal responsibility.
What Counts as a "Regular Place of Work"?
Your regular place of work is the location where you work most of the time or on a regular, ongoing basis. For most people, this is their office, store, warehouse, or job site. If you go to the same location every day (or most days), that is your regular workplace — and driving there is commuting.
If you have multiple regular work locations, driving between them during the workday is deductible business travel. But driving from home to the first location, and from the last location back home, is commuting.
Exception 1: The Home Office
This is the most significant exception and the one that applies to the most people. If your home qualifies as your principal place of business, then every trip from your home to a work-related destination is business travel — not commuting.
To qualify, your home office must meet both of these IRS tests:
- Regular and exclusive use: A specific area of your home used regularly and exclusively for business. A desk in the corner of your bedroom can qualify; the kitchen table generally does not.
- Principal place of business: You use the home office as your main place of business, or you use it to meet with clients/customers in the normal course of business.
If you meet these tests, your home becomes your tax home. Driving from your home office to a client meeting, a job site, or even a co-working space is deductible business mileage.
Example: You are a freelance consultant who works from home. You drive to a client's office 15 miles away for a meeting. That 15-mile drive (and the return trip) is deductible. Without the home office, it would be commuting.
Exception 2: Temporary Work Locations
Driving to a temporary work location is deductible, even if you have a regular workplace. A temporary work location is one where you expect to work for less than one year.
Example: You normally work at your company's office downtown. Your employer sends you to a satellite office 40 miles away for a 6-month project. The drive to the satellite office is deductible business travel because it is a temporary location. Your normal commute to the downtown office remains non-deductible.
Stop losing receipts. Start scanning them.
FuelSnap reads your gas receipts in seconds and builds tax-ready expense reports automatically.
Try FuelSnap FreeIf the assignment extends beyond one year, it becomes a regular work location on the date you realize it will exceed one year — and the commuting deduction stops.
Exception 3: Two Work Locations in One Day
If you travel between two work locations during the same day, that travel is deductible — regardless of whether either location is temporary. The key is that you are going from one work site to another, not from home to work.
Example: You work at your office in the morning, then drive to a client site in the afternoon, then drive home. The drive from your office to the client site is deductible. The drive from home to the office (morning) and from the client site back home (evening) are commuting.
How This Applies to Gig Drivers
Gig economy drivers — Uber, Lyft, DoorDash, Instacart — have a unique situation. Here is how the IRS typically views their driving:
- App on at home: If you turn on the driver app at home and your home qualifies as your principal place of business, all driving from that point forward is business travel. This is the most favorable interpretation.
- Drive to a zone, then turn on the app: If you drive to a specific area (like a busy downtown zone) before turning on the app, the drive to that zone may be considered commuting. Once the app is on and you are accepting trips, you are on the clock.
- Between orders: Driving between deliveries or between rides is business mileage, even if you are waiting for the next ping.
The home office exception is especially powerful for gig drivers. If your home qualifies, your first trip of the day becomes deductible. For the full list of gig driver deductions, see our guide on tax deductions every gig driver should know.
What About Remote Workers?
If you work from home full-time and occasionally drive to a company office, that drive depends on whether the office is considered your "regular place of work":
- If you go to the office rarely (once a month or less) and your home is your principal place of business, the occasional office trip is deductible business travel.
- If you go to the office regularly (2+ days per week on an ongoing basis), the IRS may consider the office your regular workplace, making those trips non-deductible commuting.
The line is not always clear, and the IRS evaluates these situations case by case. If your arrangement is ambiguous, keep a mileage log and document the business purpose of each office visit. For more on mileage logging, see our IRS-compliant mileage log template.
Common Mistakes
- Deducting a long commute because "it is expensive." Distance does not change the rule. A 5-mile commute and a 90-mile commute are both personal.
- Claiming errands during the commute. Stopping at a client's office on the way to your regular workplace does not convert the entire drive into business travel. Only the detour miles to and from the client's office are deductible.
- Not establishing a home office. Many self-employed workers qualify for the home office deduction but never claim it — which means they also miss out on converting their first trip of the day into deductible business travel.
- Counting "deadhead" miles as commuting. For gig drivers, driving with the app on but without a passenger or order is still business driving, not commuting. Do not shortchange yourself.
How to Track Deductible vs Non-Deductible Trips
The key to getting this right is a consistent mileage log that clearly separates business trips from personal trips (including commuting). For each trip, record:
- Date
- Starting point and destination
- Business purpose (or mark as "personal/commute")
- Miles driven
A clean log makes it obvious which trips are deductible and which are not. If you pair your mileage log with a fuel tracker like FuelSnap, you will also have receipt-level documentation for your gas purchases — useful if you use the actual expense method or want corroborating evidence for your mileage claims.
For more on tracking methods, see our complete guide on how to track gas expenses for tax deductions.
The Bottom Line
Commuting is not deductible. But if you work from a qualifying home office, travel to temporary work locations, or drive between work sites during the day, those miles are deductible business travel. The home office exception alone can convert thousands of otherwise non-deductible miles into legitimate write-offs.
Establish your home office, keep a mileage log, and track your fuel expenses. The combination of these three steps ensures you capture every deductible mile while staying fully compliant with IRS rules.
Get fuel tax tips in your inbox
Practical guides on fuel deductions, expense tracking, and saving money at tax time. No spam.
Unsubscribe anytime. We respect your privacy.
Ready to automate your fuel expense tracking?
Join drivers who save hours every tax season with receipt scanning that just works.
Free forever plan. No credit card required.
Related Articles
Can You Write Off Gas on Taxes? The Complete Guide (2026)
Learn who qualifies, what the IRS allows, and the two methods for deducting fuel expenses on your tax return. Includes 2026 mileage rates and real examples.
Standard Mileage Rate vs Actual Expenses: Which Saves You More in 2026?
Compare the IRS standard mileage rate (72.5 cents/mile) against the actual expense method. Includes real examples, a decision framework, and switching rules.
How Long Should You Keep Gas Receipts for Taxes?
Learn exactly how long to keep gas receipts for the IRS and CRA. Covers retention periods, what triggers longer windows, digital vs paper records, and storage tips.