U.S. · W-2 box 12

W-2 box 12 code P.

A narrow code: tax-free moving reimbursements for two groups only.

Code P is a tax-free moving reimbursement and applies to only two groups: active-duty members of the U.S. Armed Forces moving under a military order on a permanent change of station, and intelligence community employees or new appointees. Everyone else's moving reimbursements are included in box 1 as wages.

IRS General Instructions for Forms W-2 and W-3 (2026)Read November 1, 2026

Advertisement

Does code P apply to you?

$
The dollar figure on your W-2.

Result

Advertisement

What code P means

IRS description: Code P: Excludable moving expense reimbursements paid directly to a member of the U.S. Armed Forces or intelligence community.

The IRS explains the scope plainly: "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." Code P shows the total moving reimbursements the employer paid directly to you for qualified (deductible) moving expenses. It does not cover reimbursements an employer pays to a moving company.

If you are not in either group, a moving reimbursement is not code P at all. The IRS box 1 list includes "nonqualified moving expenses and expense reimbursements," so a civilian employee relocated by a private employer sees the reimbursement in box 1 as ordinary wages, and the same amount is included in box 3 as well.

Where code P shows up on your W-2 and return

Worked example

A soldier gets $4,200 for a move to a new base under PCS orders. The employer reimburses the expenses directly and reports P 4200.00. Box 1 does not include the $4,200. A software engineer whose private employer reimburses $4,200 for relocating to another city is in the other group: that amount is included in box 1 and does not appear under code P.

Limits and what to check

There is no dollar cap in the code P definition, but the amount must be for qualified (deductible) moving expenses and paid directly to you. The IRS instructions send employers to the moving expense rules in the same booklet for details. Because the exclusion is narrow, the main check is whether you actually fit one of the two groups. If you moved for the military but without a permanent change of station order, or you are a civilian employee outside the intelligence community, the code P treatment does not fit. Keep your orders and the reimbursement voucher with your tax records.

Common mistakes

See every code in one searchable table on the W-2 box 12 codes lookup.

Sources

Primary sources opened on November 1, 2026. The plain-English parts of this page are our summary of them, not IRS guidance.

Advertisement

Frequently asked questions

What does code P mean on a W-2?

Code P reports excludable moving expense reimbursements paid directly to a member of the U.S. Armed Forces or the intelligence community.

Who can have code P?

Active-duty U.S. Armed Forces members who move on a military order incident to a permanent change of station, and employees or new appointees of the intelligence community.

Is code P taxable?

No. The IRS describes it as an excludable reimbursement, so it is not included in box 1.

What if my employer paid for my move but I have no code P?

If you are not in one of the two groups, nonqualified moving reimbursements are included in box 1 as wages instead.

Does code P cover payments to a moving company?

No. The code reports reimbursements paid directly to you for qualified moving expenses.

What should I do if I have code P but do not qualify?

Ask your employer for a corrected W-2c before you file, since the amount may belong in box 1.

Not tax advice

This page summarizes IRS instructions written for employers and is not tax advice. Your payroll provider, plan administrator or a tax professional can confirm what a code means on your own form. Everything runs in your browser; nothing you enter is sent anywhere.