Mileage From Your W-2 Day Job to a Freelance Gig: What Is Deductible and What Is Commuting (2026 Guide)
Published: October 9, 2026 ยท Reading time: 11 min
TL;DR: If you work a W-2 job and run a freelance business, the drive between the two is the leg to focus on. Publication 463 says: "If you work at two places in 1 day, whether or not for the same employer, you can deduct the expense of getting from one workplace to the other." Applying that to a W-2 job plus a Schedule C business is a reading, not a quoted rule, because the paragraph does not mention that pairing. The limits are firm: the cap is the direct route, the drive from home to the day job is commuting, and home to the gig on a day off from your main job is commuting too unless a qualifying home office or a temporary work location rule applies. Value each drive at the 2026 rate for its own date: 72.5 cents through June 30, 76 cents from July 1.
You clock out at 4:00, drive across town and spend two hours at a client's office. Is that drive a business mile?
Many guides cover the freelancer who has no other job, or the employee who has no side business. The person with both gets less attention, and that is a lot of people: the teacher who tutors, the nurse who does contract consulting, the office worker who edits video at night. This guide walks through how Publication 463 treats each leg of that day, where the commuting rule takes miles away, what the log has to show, and how the split 2026 rate applies. A worked example is recomputed from its inputs.
For the basic commuting rule, see commuting vs. business miles. For a day with several client stops, see the multi-stop, multi-client day log.
The Rule That Does the Work: Two Places of Work
Publication 463's transportation chapter has a short paragraph headed "Two places of work":
"If you work at two places in 1 day, whether or not for the same employer, you can deduct the expense of getting from one workplace to the other. However, if for some personal reason you don't go directly from one location to the other, you can't deduct more than the amount it would have cost you to go directly from the first location to the second."
The paragraph continues with the sentence that matters on your off days: "Transportation expenses you have in going between home and a part-time job on a day off from your main job are commuting expenses. You can't deduct them."
Figure B in the same chapter repeats the idea in its definitions: "If you regularly work at two or more places in one day, whether or not for the same employer, you can deduct your transportation expenses of getting from one workplace to another." Note the word "regularly" in that version.
What the text does not say
Publication 463 does not discuss a W-2 job paired with a freelance business. Its examples and Figure B are written around an employee with a main job and a second job. Reading "whether or not for the same employer" to cover a freelance gig is reasonable, since a client site you work at is a place you work, but it is a reading and not a quoted rule. Keep the reasoning in your file, and take it to a CPA or EA if the dollars are large.
Two other points follow from how the deduction is built:
- The deduction belongs to the freelance business. The mileage goes on Schedule C. The W-2 job's own miles are a separate matter, and for 2026 unreimbursed employee mileage is generally not deductible; our W-2 mileage guide covers the narrow exceptions.
- The cap is the direct route. A personal stop does not erase the deduction, but it limits it. See the personal errand direct-route cap for how the cap is measured.
Leg by Leg: What Counts on a Day-Job Day
Take a standard day: home, day job, client, home. Publication 463's commuting paragraph decides the legs at either end.
It says: "You can't deduct the costs of taking a bus, trolley, subway, or taxi, or of driving a car between your home and your main or regular place of work. These costs are personal commuting expenses." It adds: "You can't deduct commuting expenses even if you work during the commuting trip."
| Leg | Treatment | Basis |
|---|---|---|
| Home to the day job | Commuting, not deductible | Commuting paragraph |
| Day job to the client | Deductible for the freelance business (a reading of Two places of work), capped at the direct route | Two places of work |
| Client to home | Not claimed in this guide's example; depends on your facts | See the note below |
| Personal stop in the middle | Personal; the extra miles beyond the direct route are not deductible | Two places of work |
The return leg deserves a note. Publication 463 does not address the drive from a freelance client's site back home in this W-2-plus-side-business setting. With a qualifying home office as the principal place of business for the freelance work, the "Office in the home" sentence supports deducting travel between home and the client's site, which may reach the return leg. Without one, treating the last leg home as commuting is the cautious choice. The worked example below claims only the workplace-to-workplace leg.
A Day Off From the Day Job
On a day off, there is no second workplace to travel from. The question becomes whether home to the client is commuting. Figure B says: "You can't deduct your transportation costs between your home and a second job on a day off from your main job."
Two things can change the result.
Exception 1: A qualifying home office
Publication 463's "Office in the home" paragraph: "If you have an office in your home that qualifies as a principal place of business, you can deduct your daily transportation costs between your home and another work location in the same trade or business." Its Example 2 says: "Your principal place of business is in your home. You can deduct the cost of round-trip transportation between your qualifying home office and your client's or customer's place of business."
The test for whether a home office qualifies sits in Publication 587, and the home office has to be the principal place of business of the freelance trade or business, not just a desk where you check email after dinner. See the home office mileage rule for how the two deductions fit together.
Exception 2: A temporary work location
Publication 463: "If you have one or more regular work locations away from your home and you commute to a temporary work location in the same trade or business, you can deduct the expenses of the daily round-trip transportation between your home and the temporary location, regardless of distance." Figure B defines the term: "A place where your work assignment is realistically expected to last (and does in fact last) one year or less."
Whether your W-2 job counts as a "regular work location" for a separate side business, and whether the two are "the same trade or business," is not answered in Publication 463. A weekly client with no end date is unlikely to be temporary in any case. Our temporary work location guide works through the one-year test.
| Your setup | Day job to client (same day) | Home to client on a day off |
|---|---|---|
| Qualifying home office for the freelance business | Deductible (Two places of work reading) | Deductible (Office in the home) |
| No home office, ongoing client | Deductible (Two places of work reading) | Commuting |
| No home office, temporary client site | Deductible (Two places of work reading) | Possibly deductible under the temporary-location rule; confirm the "same trade or business" point with a CPA or EA |
The 2026 Rate Follows the Drive
The standard mileage rate is split in 2026. The IRS lists 72.5 cents per mile for January 1 through June 30 (IR-2025-128) and 76 cents per mile from July 1 through December 31 (IR-2026-29). Announcement 2026-11, in Internal Revenue Bulletin 2026-29, says the revised rates "apply to deductible transportation expenses paid or incurred for business, medical, or moving expense purposes on or after July 1, 2026," and that the earlier rates "continue to apply to deductible transportation expenses paid or incurred for business, medical, or moving expense purposes before July 1, 2026."
So a June 25 drive and a July 14 drive of the same length are worth different amounts. Value each by its own date. The 2026 mileage rate guide explains the split in full.
Publication 463 also cautions: "If you use the standard mileage rate for a year, you can't deduct your actual car expenses for that year." Gasoline is part of what the rate already covers, so do not deduct fuel for the same drives.
Worked Example: Two Workplaces at the Split 2026 Rates
Dana works a W-2 job in an office. On the side she runs a freelance bookkeeping practice for an ongoing client. For the first two days she has no qualifying home office and no other regular workplace. For the last row we ask what changes if she did have one. The distances are assumed for illustration.
Thursday, June 25. After work she drives from the office to the client's site. The direct drive is 12 miles. She stops at a grocery store on the way and the actual drive is 17 miles. The deduction is capped at the direct 12 miles at $0.725.
Tuesday, July 14. She drives the same direct route, 12 miles, with no stop, at $0.760.
Saturday, July 18 (day off from the W-2 job). She drives home to the client's site and back, 9 miles each way, 18 miles in all. The client is ongoing, so the site is not a temporary work location.
| Date | Leg | Miles driven | Miles claimed | Rate | Amount (no home office) | Amount (qualifying home office) |
|---|---|---|---|---|---|---|
| Thu June 25 | Office to client, with a grocery stop | 17 | 12 (direct route) | $0.725 | $8.70 | $8.70 |
| Tue July 14 | Office to client, direct | 12 | 12 | $0.760 | $9.12 | $9.12 |
| Sat July 18 | Home to client and back, day off | 18 | 0 or 18 | $0.760 | $0.00 | $13.68 |
| Total claimed | 24 or 42 | $17.82 | $31.50 |
Check the rate-by-date step: June 25 is 12 miles at $0.725, which is $8.70; July 14 is 12 miles at $0.760, which is $9.12. Their sum is $17.82. Using $0.725 for all 24 weekday miles would give $17.40 and using $0.760 would give $18.24, so either shortcut is wrong. If the grocery stop were ignored and all 17 June 25 miles were claimed, that single day would show 17 miles at $0.725, or $12.33, instead of $8.70, an overstatement the direct-route cap exists to prevent.
The home office is worth $13.68 on the Saturday alone, the difference between the two total columns. That is the real lesson: the day-job-to-client drive survives either way, and the day-off drive turns on how your home office is set up.
Figures were computed with node -e from the inputs above. The example claims only the legs shown, leaves out the commuting legs and the return trips home, and does not estimate tax saved, which depends on the whole return.
What Your Log Has to Show
Publication 463's Table 5-1, for transportation, asks for "the mileage for each business use, and the total miles for the year," the date of the use of the car, "Your business destination," and the "Business purpose for the expense."
On form, Publication 463 says "You can't deduct amounts that you approximate or estimate," and "A timely kept record has more value than a statement prepared later when there is generally a lack of accurate recall." It also says that "If you maintain a log on a weekly basis that accounts for use during the week, the log is considered a timely kept record."
A line for a two-workplace day needs five things:
| Field | Example entry |
|---|---|
| Date | 2026-06-25 |
| From and to | Day-job office to client site (direct route 12 miles) |
| Miles | 12 claimed; 5 personal detour miles logged separately |
| Business purpose | Monthly bookkeeping session for Client A |
| Notes | Direct route from map lookup; grocery stop personal |
Log the commuting legs too, labeled personal. When your yearly business miles and total miles reconcile with an odometer, the log reads as a complete record instead of a list of the good days. See contemporaneous mileage log requirements, and reconstructing a mileage log if you are behind.
Parking at the client
Publication 463: "Fees you pay to park your car at your place of business are nondeductible commuting expenses. You can, however, deduct business-related parking fees when visiting a customer or client." Parking at the day job is not deductible; parking at the client's building may be, if the visit is a business trip. See parking and tolls on top of mileage.
Common Mistakes
- Claiming the whole day. Home to the day job is commuting, and a freelance side business does not change that.
- Claiming the detour. A personal stop makes the claimed figure the direct route, not the miles driven.
- Treating a day off like a workday. With no home office and no temporary-location fact pattern, home to the client on a day off is commuting.
- Calling a desk in the bedroom a qualifying home office. The test is in Publication 587, and it applies to the freelance business.
- Using one rate all year. The 76 cent rate starts on July 1; earlier drives use 72.5 cents.
- Logging only the good legs. Omitting the commuting legs makes the total look invented.
- Reconstructing the log in April. Publication 463 says a record kept at the time has more value than one prepared later.
- Deducting gas as well as mileage. The standard mileage rate replaces actual car expenses for the year.
- Putting side-business miles on the W-2 return. Freelance mileage goes on Schedule C, not on an employee expense schedule.
How CentSense Helps
CentSense is built for U.S. freelancers who want to track receipts and mileage in one place instead of a shoebox and a notes app. Scan the parking receipt from the client's building with AI and file it under the same client project. The free tier includes 10 AI receipt scans a month. Mileage tracking and report export come with the Solo plan at $5 a month. Whatever tool you use, log each drive on its own date with the business purpose written while you remember it, and apply the 72.5 cent rate to June trips and the 76 cent rate to July-onward trips yourself; CentSense currently applies a single 2026 rate, so check any July through December totals against the split.
CentSense does not decide whether a leg is commuting, whether your home office qualifies or whether a W-2 job and a side business are one trade or business. Those depend on your facts, so confirm the close calls with a CPA or EA.
Frequently Asked Questions
Can I deduct the drive from my W-2 job to a freelance client on the same day?
Often yes for that one leg, as a reading of Publication 463 rather than a rule written for this exact mix. Publication 463 says: "If you work at two places in 1 day, whether or not for the same employer, you can deduct the expense of getting from one workplace to the other." The paragraph does not mention a W-2 job paired with a Schedule C business, so applying it to that pairing is a reading, not a quoted rule. The deduction belongs to the freelance business on Schedule C, and it is limited to the direct route: "if for some personal reason you don't go directly from one location to the other, you can't deduct more than the amount it would have cost you to go directly from the first location to the second." The drive from home to the day job stays nondeductible commuting. Confirm unusual facts with a CPA or EA.
Is the drive from home to my freelance client on a day off from my W-2 job deductible?
It depends on your setup, and without a qualifying home office it is often commuting. Publication 463's Figure B says: "You can't deduct your transportation costs between your home and a second job on a day off from your main job," and the text adds: "Transportation expenses you have in going between home and a part-time job on a day off from your main job are commuting expenses. You can't deduct them." Two exceptions can change that result. If you have a home office that qualifies as your principal place of business, Publication 463 says you "can deduct your daily transportation costs between your home and another work location in the same trade or business." And if the client site is a temporary work location in the same trade or business and you have a regular work location away from home, the daily round trip can be deductible regardless of distance. Publication 463 does not say how those rules apply when the regular job is W-2 and the side business is separate, so that application is a reading. Confirm with a CPA or EA.
What counts as a temporary work location for a freelance client site?
Publication 463's Figure B defines a temporary work location as "A place where your work assignment is realistically expected to last (and does in fact last) one year or less." The text also says the employment is "temporary unless there are facts and circumstances that would indicate otherwise" when it is realistically expected to last one year or less. A client you serve every week with no end date is not likely to be temporary. The deduction for home to a temporary location applies when you have "one or more regular work locations away from your home" and the temporary location is "in the same trade or business." Publication 463 does not say whether a W-2 job and a separate side business are the same trade or business for that sentence, so treat it as a question to put to a CPA or EA rather than a given.
Does a stop at the store on the way from my day job to the gig ruin the deduction?
It does not erase it, but it caps it. Publication 463 says that if for some personal reason you don't go directly from one location to the other, "you can't deduct more than the amount it would have cost you to go directly from the first location to the second." So if the direct drive from the day job to the client is 12 miles and the route with a personal stop is 17, the deductible figure is the 12-mile direct amount, valued at the rate for that date, and the extra miles are personal. This is the cap for a personal stop; a stop that is itself a business stop is a different question. The drive from home to the day job stays commuting in every case, and the drive home from the client is generally commuting too unless a qualifying home office changes the analysis. Confirm close calls with a CPA or EA.
Which 2026 mileage rate do I use for these drives?
The rate for the date of each drive. The IRS lists 72.5 cents per mile for January 1 through June 30 (IR-2025-128) and 76 cents per mile from July 1 through December 31 (IR-2026-29). Announcement 2026-11 says the revised rates "apply to deductible transportation expenses paid or incurred for business, medical, or moving expense purposes on or after July 1, 2026," and that the earlier rates "continue to apply to deductible transportation expenses paid or incurred for business, medical, or moving expense purposes before July 1, 2026." A day-job-to-client drive on June 25 is valued at 72.5 cents and the same drive on July 14 at 76 cents. Do not apply one rate to the whole year. Confirm with your preparer if your records are unusual.
What does my log need to show for a day with two workplaces?
For each drive, the date, the business destination, the miles and the business purpose, written at or near the time. Publication 463's Table 5-1 asks, for transportation, for "the mileage for each business use, and the total miles for the year," the date of the use of the car, your business destination, and the business purpose for the expense. Publication 463 also says "You can't deduct amounts that you approximate or estimate," and that "A timely kept record has more value than a statement prepared later when there is generally a lack of accurate recall." On a day-job day, log the leg from the workplace to the client as its own line and log the commuting legs as non-business miles so the totals reconcile. The business purpose for the gig leg is the client work, not the day job.
Can my day job's own commute or travel be deducted on my freelance Schedule C?
No. Publication 463 says "You can't deduct commuting expenses even if you work during the commuting trip," and it says you can't deduct the cost of driving "between your home and your main or regular place of work." Those are personal commuting expenses, and a freelance side business does not turn the day-job commute into a business cost. Only mileage for the freelance business belongs on Schedule C, and for 2026 the miles you drive for the W-2 job itself are generally not deductible as unreimbursed employee mileage, with narrow exceptions covered in our W-2 mileage guide. Confirm your own facts with a CPA or EA.
Authoritative References
- IRS Publication 463, Travel, Gift, and Car Expenses (2025 edition, the version verified for this guide): chapter 4 "Transportation," "Two places of work," "Commuting expenses," "Office in the home," "Temporary work location," Figure B, "Parking fees"; "Standard Mileage Rate"; chapter 5 Table 5-1 and "Timely kept records"
- IRS Publication 587, Business Use of Your Home (the principal-place-of-business test)
- IRS, Standard mileage rates (2026: 72.5 cents January 1 to June 30 per IR-2025-128; 76 cents July 1 to December 31 per IR-2026-29)
- Internal Revenue Bulletin 2026-29, Announcement 2026-11 (revised optional standard mileage rates effective July 1, 2026)
Keep both workplaces on the record. Start a free CentSense account, scan the client parking receipt, and log each leg on its own date with the business purpose while it is fresh. Receipt scanning is free to start; mileage tracking comes with the Solo plan.
This guide is general education for U.S. self-employed taxpayers filing Schedule C for tax year 2026. It is not personalized tax advice. Whether your home office qualifies, whether a W-2 job and a side business are the same trade or business, whether a client site is a temporary work location, and how the return leg home is treated depend on your facts and are best confirmed with a CPA or EA. The worked example uses assumed distances and an assumed home-office status for illustration.
Related reads
Continue learning with more tax and expense guides for freelancers.
2026-10-09
Student-Athlete NIL Income: How to Report It on Schedule C and Pay the Tax (2026)
2026-10-09
Taxidermist Tax Deductions: 2026 Schedule C Guide to Materials, Inventory and Mileage
2026-10-09
Take the Refund or Apply It to Estimated Tax? Overpayment Options for Freelancers
2026-10-09
Alternative Minimum Tax for Freelancers in 2026: When Form 6251 Applies and What Actually Triggers It
Compare alternatives
See how CentSense stacks up to other expense and receipt tools for freelancers.
- Keeper Tax alternative
- QuickBooks Self-Employed alternative
- FlyFin alternative
- Expensify alternative
- Shoeboxed alternative
- Veryfi alternative
- Dext alternative
- ReceiptsAI alternative
- Smart Receipts alternative
- EasyExpense alternative
- Zoho Expense alternative
- Rydoo alternative
- Fyle alternative
- Navan alternative
- Expense Tracker 365 alternative
- Paylocity alternative
- Wave Receipts alternative
- QuickBooks Online alternative
- Xero alternative
- See all alternatives โ