Schema Tax

Box 12 Code P Moving Expense Reimbursement for Military

By Schema TaxPublished Updated

A Box 12 code P moving expense reimbursement is money an employer paid directly to an employee for qualified moving costs, left out of taxable wages. Under the 2026 IRS W-2 instructions, only active-duty Armed Forces members moving under a military order for a permanent change of station, and intelligence community employees or new appointees, qualify.

What a code P moving expense reimbursement covers

A code P moving expense reimbursement covers qualified moving costs that an employer repaid to the employee in cash. The word "qualified" means the costs are ones the employee could have deducted had nobody reimbursed them. Payments made straight to a moving company, and moves the employer handled itself, never reach code P at all.

The IRS General Instructions for Forms W-2 and W-3 (2026) tell the employer to "show the total moving expense reimbursements that you paid directly to your employee for qualified (deductible) moving expenses" under code P. The same instructions split moving money three ways. Qualified expenses paid to a third party, "for example, to a moving company," and services furnished in kind "are not reported on Form W-2." Qualified reimbursements paid directly to the employee "are reported only in box 12 of Form W-2 with code P." Everything else is wages.

Which costs count as deductible comes from the moving expense rules for service members. The Instructions for Form 3903 (2025) list two groups: moving household goods and personal effects, and travel. Household goods include "hauling a trailer, packing, crating, in-transit storage, and insurance." Storage counts only within any period of 30 consecutive days after the goods leave the former home. Travel covers the trip from the old home to the new one, including lodging, car expenses and airfare, but the instructions say "You can't deduct any expenses for meals."

For tax year 2025, those instructions set the standard mileage rate for a moving trip at 21 cents a mile, with parking fees and tolls added on top. A reimbursement for a meal on the road, or for a side trip, is not a deductible cost, so it falls outside code P even for someone who qualifies.

The Box 12 code letter itself is one of more than thirty, and the full Box 12 code table in our W2 codes guide lists them all. Code P sits among the retired and rarely seen Box 12 codes because so few employees can have it.

Who qualifies for a code P moving expense reimbursement now?

A code P moving expense reimbursement now applies to two groups only: members of the U.S. Armed Forces on active duty who move under a military order and incident to a permanent change of station, and employees or new appointees of the intelligence community. Every other employee's moving money is taxable wages, with no code P entry.

The narrowing dates from tax years beginning after 2017. The 2026 W-2 instructions say that "effective for tax years beginning after 2017, the exclusion for qualified moving expense reimbursements applies only to members of the U.S. Armed Forces on active duty who move pursuant to a military order and incident to a permanent change of station, or an employee or new appointee of the intelligence community." They add: "All other employees have only nonqualified moving expenses and expense reimbursements subject to tax and withholding."

The IRS Publication 15-B (2026), Employer's Tax Guide to Fringe Benefits explains the newer part. It says P.L. 119-21, "commonly known as the One Big Beautiful Bill Act, permanently eliminates the exclusion for qualified moving expense reimbursements from your employee's income," with the Armed Forces exception kept. The same paragraph says the law "also makes the exclusion available to an employee or new appointee of the intelligence community," other than a member of the Armed Forces, "who moves pursuant to a change in assignment which requires relocation."

The sources do not all read the same yet, because they cover different years. The 2025 editions of the Form 3903 instructions and of IRS Publication 3 (2025), Armed Forces' Tax Guide describe the moving expense deduction for Armed Forces members only. The 2025 General Instructions for Forms W-2 and W-3 did the same: their code P entry reads "Excludable moving expense reimbursements paid directly to a member of the U.S. Armed Forces" and calls the expenses "qualified (allowable)." The 2026 W-2 instructions and Publication 15-B are the editions that name the intelligence community, and the 2026 code P entry says "qualified (deductible)." A reader comparing a 2025 W-2 with a 2026 W-2 should check the edition that matches each tax year.

Two things do not qualify a person on their own. A civilian employee of a defense contractor is not a member of the Armed Forces. A reservist moving for a civilian job is not moving under a military order. In both cases the W-2 instructions treat the moving money like any other employee's.

Permanent change of station moves and the code P amount

A permanent change of station is the kind of military move that makes reimbursements eligible for code P. The Form 3903 instructions (2025) define it as one of three moves: home to the first post of duty, one permanent post to another, or the last post of duty to home after active duty ends.

The full list in the Form 3903 instructions reads:

  • "A move from your home to your first post of duty when appointed, reappointed, reinstated, or inducted,"
  • "A move from one permanent post of duty to another permanent post of duty," and
  • "A move from your last post of duty to your home or to a nearer point in the United States." That move "must occur within 1 year of ending your active duty or within the period allowed under the Joint Travel Regulations."

The instructions also cover family members. If a service member deserts, is imprisoned or dies, a permanent change of station for the spouse or dependent includes a move to the member's place of enlistment or induction, to the home of record, or to a nearer point in the United States. If the military moves the member and the family to or from separate locations, "the moves are treated as a single move to your new main job location."

Publication 3 (2025) adds that the value of moving and storage services the government provides because of a permanent change of station stays out of income. It names a dislocation allowance, temporary lodging expense, temporary lodging allowance and move-in housing allowance as amounts not included in income either. If total government reimbursements or allowances for the move are more than actual moving expenses, Publication 3 says "the excess is included in your wages on Form W-2."

A short-term duty assignment, a temporary deployment or a move between two homes in the same area under no order is not on the list. The Form 3903 instructions also say that a service member with more than one qualifying move in a year uses a separate Form 3903 for each move.

Nonqualifying moving reimbursements in Box 1 instead of code P

Nonqualifying moving reimbursements are moving payments to any employee outside the exception, or payments for costs that are not deductible. The W-2 instructions put them in Box 1, Box 3 and Box 5 as ordinary wages, subject to income tax withholding and to Social Security and Medicare taxes. They carry no Box 12 code.

The 2026 W-2 instructions state that "nonqualified moving expenses and expense reimbursements are reported in boxes 1, 3, and 5 (use box 14a if railroad retirement taxes apply) of Form W-2." The Box 1 list in those instructions repeats it, and the Box 3 instructions say to "include employee business expense reimbursements and moving expenses reported in box 1." The money looks no different from salary on the form.

The table below compares two fictional workers. Sergeant Riley Example, an active-duty member, moves under orders for a permanent change of station. Morgan Sample, a private-sector analyst, transfers to another city and gets a relocation package. All names and amounts are examples.

Payment (example amounts)Riley Example, PCS moveMorgan Sample, job transfer
Moving company paid directly, $6,000Not on the W-2Boxes 1, 3 and 5
Travel and lodging repaid to the employee, $1,400Code P, $1,400Boxes 1, 3 and 5
Meals on the trip repaid to the employee, $250Boxes 1, 3 and 5Boxes 1, 3 and 5
Lump-sum relocation bonus, $3,000Not paidBoxes 1, 3 and 5
Box 12 entryP 1400.00None
Added to Box 1, Box 3 and Box 5$250$10,650

Riley's $6,000 mover payment and Morgan's $6,000 mover payment are the same kind of cost. For Riley it is a qualified expense paid to a third party, so the W-2 instructions keep it off the form. For Morgan it is a nonqualified moving expense, so it becomes $6,000 of wages. The meal repayment lands in wages for both, since meals are not a deductible moving cost.

Morgan's relocation money also raises withholding. The instructions say nonqualified amounts "are subject to federal income tax withholding and social security and Medicare taxes," so Box 2, Box 4 and Box 6 grow along with the wage boxes. Some employers add a "gross-up" so the employee nets the promised amount after tax. A gross-up is also wages. Our guide to how Box 1, Box 3 and Box 5 differ shows why the three wage boxes can still differ for other reasons.

Is a code P amount entered on your return?

A code P amount is an excluded reimbursement, so it is not added to income on Form 1040. It still matters to a service member who claims a moving expense deduction on Form 3903, because reimbursements the government paid for the same costs reduce the expenses that can be deducted.

Form 3903 is the IRS form that service members use to figure a moving expense deduction. Its 2025 instructions say to enter on line 4 "the total reimbursements and allowances you received from the government for the expenses you claimed on lines 1 and 2." They say not to include "the value of moving or storage services provided by the government," nor "any part of a dislocation allowance, a temporary lodging allowance, a temporary lodging expense, or a move-in housing allowance." The same paragraph then states: "This excluded amount should be identified on Form W-2, box 12, with code P."

The line 5 instructions finish the arithmetic. If line 3, the total expenses, is more than line 4, the difference is the moving expense deduction and goes to Schedule 1 (Form 1040), line 14. If line 3 is equal to or less than line 4, there is no deduction, and any amount by which line 4 is larger goes on Form 1040, 1040-SR or 1040-NR, line 1h as income.

Take Riley again as a fictional example. Riley's deductible costs on lines 1 and 2 total $1,900, and the government repaid $1,400 of them, the figure in P 1400.00. Line 5 would show $500. If Riley had spent only $1,200, line 3 would be less than line 4, and the $200 difference is the amount the instructions send to line 1h.

Someone who received code P and had no unreimbursed costs may never file Form 3903. The W-2 code still records that the reimbursement existed, which helps when the numbers are checked later. The post on what to do with each Box 12 code on a return groups code P with the codes that sit beside Form 1040 rather than on it. Military pay has its own rare code too, and combat pay under code Q is explained in a separate post.

Code P for an employee who does not qualify: a reporting error to flag

Code P on the W-2 of an employee outside the exception is a reporting error. The 2026 W-2 instructions limit the code to active-duty Armed Forces members moving under orders and to intelligence community employees and appointees. For anyone else, moving payments belong in Box 1, Box 3 and Box 5 as wages.

One possible cause is payroll software that kept an old setting. The limit to these groups applies to tax years beginning after 2017, so a pay code set up before then can keep sending money to Box 12 instead of wages. The result is a W-2 whose Box 1 is lower than it should be by the moving amount.

A quick self-check takes three questions. Were you on active duty in the Armed Forces when you moved? Did you move under a military order for a permanent change of station? Or are you an employee or new appointee of an intelligence community agency who relocated for a change in assignment? Unless the first two answers are both yes, or the third is yes, code P on your form does not match the instructions.

The fix belongs to the employer, not the employee. An employer that reported a nonqualified amount under code P issues a corrected form, a W-2c, moving the amount into the wage boxes. The walkthrough of how a wrong Box 12 code is corrected on a W-2c shows what that correction looks like. Whether to file before the correction arrives is a question for a tax professional.

Reading the codes off a stack of W-2s by hand makes a stray P easy to miss. Schema Tax reads Box 12 on each W-2 into its own typed field, code letter and amount together, so an unexpected code shows up in the spreadsheet where you can spot it; the list of supported forms shows what else it reads. Other Box 12 codes that look unfamiliar have their own guides, such as code T for adoption benefits and code S for SIMPLE IRA contributions.

All posts in W-2 Box 12 and Box 14 Codes