26 USC § 217 - Moving expenses
(a) Deduction allowed
There shall be allowed as a deduction moving expenses paid or incurred during the taxable year in connection with the commencement of work by the taxpayer as an employee or as a self-employed individual at a new principal place of work.
(b) Definition of moving expenses
(1) In general
For purposes of this section, the term “moving expenses” means only the reasonable expenses—
(A) of moving household goods and personal effects from the former residence to the new residence, and
(B) of traveling (including lodging) from the former residence to the new place of residence.
Such term shall not include any expenses for meals.
(2) Individuals other than taxpayer
In the case of any individual other than the taxpayer, expenses referred to in paragraph (1) shall be taken into account only if such individual has both the former residence and the new residence as his principal place of abode and is a member of the taxpayer’s household.
(c) Conditions for allowance
No deduction shall be allowed under this section unless—
(1) the taxpayer’s new principal place of work—
(A) is at least 50 miles farther from his former residence than was his former principal place of work, or
(B) if he had no former principal place of work, is at least 50 miles from his former residence, and
(A) during the 12-month period immediately following his arrival in the general location of his new principal place of work, the taxpayer is a full-time employee, in such general location, during at least 39 weeks, or
(B) during the 24-month period immediately following his arrival in the general location of his new principal place of work, the taxpayer is a full-time employee or performs services as a self-employed individual on a full-time basis, in such general location, during at least 78 weeks, of which not less than 39 weeks are during the 12-month period referred to in subparagraph (A).
For purposes of paragraph (1), the distance between two points shall be the shortest of the more commonly traveled routes between such two points.
(d) Rules for application of subsection (c)(2)
(1) The condition of subsection (c)(2) shall not apply if the taxpayer is unable to satisfy such condition by reason of—
(A) death or disability, or
(B) involuntary separation (other than for willful misconduct) from the service of, or transfer for the benefit of, an employer after obtaining full-time employment in which the taxpayer could reasonably have been expected to satisfy such condition.
(2) If a taxpayer has not satisfied the condition of subsection (c)(2) before the time prescribed by law (including extensions thereof) for filing the return for the taxable year during which he paid or incurred moving expenses which would otherwise be deductible under this section, but may still satisfy such condition, then such expenses may (at the election of the taxpayer) be deducted for such taxable year notwithstanding subsection (c)(2).
(A) for any taxable year moving expenses have been deducted in accordance with the rule provided in paragraph (2), and
(B) the condition of subsection (c)(2) cannot be satisfied at the close of a subsequent taxable year,
then an amount equal to the expenses which were so deducted shall be included in gross income for the first such subsequent taxable year.
[(e) Repealed. Pub. L. 103–66, title XIII, § 13213(a)(2)(A),Aug. 10, 1993, 107 Stat. 473]
(f) Self-employed individual
For purposes of this section, the term “self-employed individual” means an individual who performs personal services—
(1) as the owner of the entire interest in an unincorporated trade or business, or
(2) as a partner in a partnership carrying on a trade or business.
(g) Rules for members of the Armed Forces of the United States
In the case of a member of the Armed Forces of the United States on active duty who moves pursuant to a military order and incident to a permanent change of station—
(1) the limitations under subsection (c) shall not apply;
(2) any moving and storage expenses which are furnished in kind (or for which reimbursement or an allowance is provided, but only to the extent of the expenses paid or incurred) to such member, his spouse, or his dependents, shall not be includible in gross income, and no reporting with respect to such expenses shall be required by the Secretary of Defense or the Secretary of Transportation, as the case may be; and
(3) if moving and storage expenses are furnished in kind (or if reimbursement or an allowance for such expenses is provided) to such member’s spouse and his dependents with regard to moving to a location other than the one to which such member moves (or from a location other than the one from which such member moves), this section shall apply with respect to the moving expenses of his spouse and dependents—
(A) as if his spouse commenced work as an employee at a new principal place of work at such location; and
(B) without regard to the limitations under subsection (c).
(h) Special rules for foreign moves
(1) Allowance of certain storage fees
In the case of a foreign move, for purposes of this section, the moving expenses described in subsection (b)(1)(A) include the reasonable expenses—
(A) of moving household goods and personal effects to and from storage, and
(B) of storing such goods and effects for part or all of the period during which the new place of work continues to be the taxpayer’s principal place of work.
(2) Foreign move
For purposes of this subsection, the term “foreign move” means the commencement of work by the taxpayer at a new principal place of work located outside the United States.
(3) United States defined
For purposes of this subsection and subsection (i), the term “United States” includes the possessions of the United States.
(i) Allowance of deductions in case of retirees or decedents who were working abroad
(1) In general
In the case of any qualified retiree moving expenses or qualified survivor moving expenses—
(A) this section (other than subsection (h)) shall be applied with respect to such expenses as if they were incurred in connection with the commencement of work by the taxpayer as an employee at a new principal place of work located within the United States, and
(B) the limitations of subsection (c)(2) shall not apply.
(2) Qualified retiree moving expenses
For purposes of paragraph (1), the term “qualified retiree moving expenses” means any moving expenses—
(A) which are incurred by an individual whose former principal place of work and former residence were outside the United States, and
(B) which are incurred for a move to a new residence in the United States in connection with the bona fide retirement of the individual.
(3) Qualified survivor moving expenses
For purposes of paragraph (1), the term “qualified survivor moving expenses” means moving expenses—
(A) which are paid or incurred by the spouse or any dependent of any decedent who (as of the time of his death) had a principal place of work outside the United States, and
(B) which are incurred for a move which begins within 6 months after the death of such decedent and which is to a residence in the United States from a former residence outside the United States which (as of the time of the decedent’s death) was the residence of such decedent and the individual paying or incurring the expense.
The Secretary shall prescribe such regulations as may be necessary to carry out the purposes of this section.