IRS 50 Mile Rule: Distance Test, Eligibility, and Military PCS

The IRS 50-mile rule is a distance test: your new workplace has to be at least 50 miles farther from your old home than your old workplace was. It used to gate the federal moving expense deduction for everyone. Starting in 2026, that deduction is permanently limited to active-duty military members and certain intelligence community employees, and both groups are exempt from the 50-mile test when they move under orders. For most people asking about this rule today, it only still matters on a state return in the handful of states that kept the old framework.

How the Distance Test Is Measured

Both measurements start from your old home. Measure from the old home to your old workplace, then from the old home to your new workplace. If the second number beats the first by at least 50 miles, you pass. If you did not have a previous workplace, your new one just needs to be 50 or more miles from your old home.1Office of the Law Revision Counsel. 26 USC 217 – Moving Expenses

Quick example. If your old commute was 10 miles, your new workplace must be at least 60 miles from the old home to pass. The IRS uses the shortest commonly traveled route between the two points, not a straight line on a map.2Internal Revenue Service. Form 3903 – Moving Expenses (2017)

The most common mistake is measuring from the new home to the new workplace. That distance is irrelevant. Every measurement anchors on the old home.

Who Can Still Deduct Moving Expenses in 2026

The Tax Cuts and Jobs Act of 2017 suspended the moving expense deduction for most taxpayers starting in 2018, set to sunset at the end of 2025. Before that sunset arrived, the One Big Beautiful Bill Act, signed into law on July 4, 2025, made the elimination permanent for civilian taxpayers.3Internal Revenue Service. Employer’s Tax Guide to Fringe Benefits Two groups keep the deduction:

  • Active-duty members of the Armed Forces who move under a military order because of a permanent change of station. A PCS includes a move to a first duty post, a transfer between posts, or a final move home after leaving active duty.4Internal Revenue Service. Instructions for Form 3903 (2025)
  • Intelligence community employees or new appointees who relocate because of a change in assignment. The One Big Beautiful Bill Act gave them the same treatment as military members.3Internal Revenue Service. Employer’s Tax Guide to Fringe Benefits

If you fall outside those two categories, you cannot deduct moving expenses on your federal return no matter how far you moved.

Employer reimbursements track the same rule. When a civilian employer pays or reimburses relocation costs, that amount is taxable wages on the W-2, subject to income and payroll taxes, with no offsetting deduction. Military members and qualifying intelligence community employees can still exclude government-provided moving reimbursements from gross income.3Internal Revenue Service. Employer’s Tax Guide to Fringe Benefits

Why Military PCS Moves Skip the 50-Mile Test

This is the detail most write-ups on the 50-mile rule get wrong. Active-duty members moving under PCS orders do not have to pass the distance test. The statute says that for a member of the Armed Forces on active duty who moves under a military order incident to a permanent change of station, “the limitations under subsection (c) shall not apply.” Subsection (c) is where the 50-mile distance test and the time test both live.1Office of the Law Revision Counsel. 26 USC 217 – Moving Expenses

So a transfer between two bases 20 miles apart still qualifies if it happens under PCS orders. The same exemption extends to the spouse and dependents moving with the service member, and covers cases where dependents move to a different location under the same orders.1Office of the Law Revision Counsel. 26 USC 217 – Moving Expenses

Military Retirees and Survivors: Where the Rule Still Bites Federally

Two narrow federal categories still have to satisfy the 50-mile test. A military retiree whose last principal workplace and residence were outside the United States can deduct expenses for moving back to the U.S. in connection with a bona fide retirement. The spouse or dependent of a deceased service member whose last workplace was abroad can deduct the cost of moving to a U.S. residence within six months of the death. Both categories are exempt from the time test but may still need to pass the 50-mile distance test.1Office of the Law Revision Counsel. 26 USC 217 – Moving Expenses

State Returns That Still Follow the Old Rules

Not every state followed the federal government in eliminating the deduction. A small number decoupled from the TCJA changes and continue to let civilians deduct moving costs on state income tax returns, generally under the pre-2018 federal framework. In those states, the 50-mile distance test and the time test still apply, because the state deduction mirrors the old federal rules.

The list shifts as legislatures update their conformity with federal tax law, but California, New York, New Jersey, Massachusetts, Pennsylvania, Arkansas, and Hawaii have been identified as allowing some form of moving expense deduction or exclusion on state returns. If you are a civilian who relocated for work, checking your state’s current rules is worth the effort, especially if you moved a long distance. Your state tax agency or a tax professional familiar with your state’s code can confirm what is available and what documentation you need.

What Counts as a Deductible Moving Expense

Whether you are filing as a military member, an intelligence community employee, or a civilian on a state return, the categories of deductible expenses are the same. They break into two buckets: moving your things, and getting yourself to the new home.

Household Goods and Personal Effects

You can deduct the cost of packing, crating, and transporting household goods and personal belongings from the old home to the new one. Storage and insurance are deductible for up to 30 consecutive days after your items leave the old home and before they arrive at the new one. For a move to a foreign duty station the storage rules are more generous, covering the entire period that the foreign location remains your principal workplace.5Internal Revenue Service. Instructions for Form 3903 (2025)

Travel to the New Home

Travel from the old residence to the new one is deductible, including lodging along the way. If you drive, you can either deduct actual out-of-pocket vehicle expenses or use the IRS standard mileage rate for moving purposes, which is 20.5 cents per mile for 2026.6Internal Revenue Service. IRS Sets 2026 Business Standard Mileage Rate at 72.5 Cents per Mile, Up 2.5 Cents Parking fees and tolls are deductible either way.

What Does Not Qualify

Meals are never deductible as a moving expense, even on a multi-day drive. The statute carves them out.1Office of the Law Revision Counsel. 26 USC 217 – Moving Expenses House-hunting trips, temporary housing at the new location, lease-breaking costs, and the costs of buying or selling a home are also out. Anything the government reimbursed or paid directly cannot be claimed, since it was never out of your pocket.

Claiming the Deduction on Your Return

The moving expense deduction is an above-the-line adjustment, so you can take it whether or not you itemize. Use IRS Form 3903 to calculate the amount, then carry the result to line 14 of Schedule 1, which attaches to Form 1040.7Internal Revenue Service. Form 3903 (2025) Moving Expenses Subtract any non-taxable government reimbursements from your total qualified expenses; only the unreimbursed portion is deductible.

Keep the paper trail. Receipts, bills, credit card statements, and canceled checks for each expense. A mileage log with starting and ending odometer readings if you use the standard mileage rate. Your PCS orders or assignment change documentation to prove you were eligible. Your W-2 and any government reimbursement statements to show which costs were covered.8Internal Revenue Service. Publication 521 – Moving Expenses (2018)