Internal Revenue Code · 26 U.S.C.
§ 217. Moving expenses
Official text, no changes From the Office of the Law Revision Counsel, release point 119-121 (current through Public Law 119-121 (October 9, 2026)). Compare it with the official text at uscode.house.gov (external site).
Cite as 26 U.S.C. § 217
At a glance
Read from the text, the source credit and the official notes. Not part of the law.
- Status
- In force
- Added
- February 26, 1964 by Pub. L. 88–272
- Last amended
- July 4, 2025 by Pub. L. 119–21
- Amendments
- 6 dated changes in the source credit
- Length
- 11 subsections · 1,467 words · about 6 min to read
- Defines
- 6 terms
- Cross-references
- cites 0; cited by 8 Code sections and 15 other regulations
- Regulations
- 2 issued under this section
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.
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.
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.
The Secretary shall prescribe such regulations as may be necessary to carry out the purposes of this section.
An employee or new appointee of the intelligence community (as defined in section 3 of the National Security Act of 1947 (50 U.S.C. 3003)) (other than a member of the Armed Forces of the United States) who moves pursuant to a change in assignment which requires relocation shall be treated for purposes of this section in the same manner as an individual to whom subsection (g) applies.
(Added Pub. L. 88–272, title II, § 213(a)(1), Feb. 26, 1964, 78 Stat. 50; amended Pub. L. 91–172, title II, § 231(a), Dec. 30, 1969, 83 Stat. 577; Pub. L. 94–455, title V, § 506 (a)–(c), title XIX, § 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1568, 1834; Pub. L. 95–615, title II, § 204, Nov. 8, 1978, 92 Stat. 3106; Pub. L. 103–66, title XIII, § 13213(a)(1)–(2)(D), (b), Aug. 10, 1993, 107 Stat. 473, 474; Pub. L. 115–97, title I, § 11049(a), Dec. 22, 2017, 131 Stat. 2088; Pub. L. 119–21, title VII, § 70113(a), (b), July 4, 2025, 139 Stat. 165.)
Terms defined here
Where the text says “the term … means”. Select a term to jump to its definition.
Regulations under this section
Treasury regulations (26 CFR) issued under § 217
Cross-references
Computed from the citations in the text of Title 26 and 26 CFR.
Cited by 8 Code sections
- § 23(d)(3)(C) Adoption expenses
- § 62(a)(15) Adjusted gross income defined
- § 132(g)(1) Certain fringe benefits
- § 274(m)(3) Disallowance of certain entertainment, etc., expenses
- § 3121(a)(11) Definitions
- § 3306(b)(9) Definitions
- § 3401(a)(15) Definitions
- § 7872(f)(11)(B) Treatment of loans with below-market interest rates
Cited in 15 regulations not issued under it
- § 1.62-1T Adjusted gross income (temporary).
- § 1.67-1T 2-percent floor on miscellaneous itemized deductions (temporary).
- § 1.82-1 Payments for or reimbursements of expenses of moving from one residence to another residence attributable to employment or self-employment.
- § 1.262-1 Personal, living, and family expenses.
- § 1.274-2 Disallowance of deductions for certain expenses for entertainment, amusement, recreation, or travel.
- § 1.274-12 Limitation on deductions for certain food or beverage expenses paid or incurred after December 31, 2017.
- § 1.861-4 Compensation for labor or personal services.
- § 1.911-4 Determination of housing cost amount eligible for exclusion or deduction.
- § 1.911-6 Disallowance of deductions, exclusions, and credits.
- § 1.1348-2 Computation of the fifty-percent maximum tax on earned income.
- § 1.7872-5T Exempted loans (temporary).
- § 31.3121(a)(11)-1 Moving expenses.
- § 31.3306(b)(9)-1 Moving expenses.
- § 31.3401(a)(15)-1 Moving expenses.
- § 31.6051-1 Statements for employees.
Amendment history
From the source credit and the official notes, newest first.
- Amended by Pub. L. 119–21Parts changed in 2025: (k)
- Amended by Pub. L. 115–97Parts changed in 2017: (k)
- Amended by Pub. L. 103–66Parts changed in 1993: (b) (c)(1) (e) (f) (g)(3) (h)
- Amended by Pub. L. 95–615Parts changed in 1978: (h)
- Amended by Pub. L. 94–455Parts changed in 1976: (b)(3)(A) (b)(3)(B) (c)(1)(A) (g)
- Amended by Pub. L. 91–172
- Added by Pub. L. 88–272
Where it sits in the Code
- Subtitle A Income Taxes
- Chapter 1 NORMAL TAXES AND SURTAXES
- Subchapter B Computation of Taxable Income
- Part VII ADDITIONAL ITEMIZED DEDUCTIONS FOR INDIVIDUALS
Nearby sections
Official notes
Show the Law Revision Counsel's notes (amendments, effective dates)
Editorial Notes
Prior Provisions
A prior section 217 was renumbered section 226 of this title.
Amendments
2025—Subsec. (k). Pub. L. 119–21, § 70113(b), designated existing provisions as par. (1), inserted heading, and added par. (2).
Pub. L. 119–21, § 70113(a), substituted “beginning after 2017” for “2018 through 2025” in heading and struck out “, and before January 1, 2026” after “December 31, 2017” in text.
2017—Subsec. (k). Pub. L. 115–97 added subsec. (k).
1993—Subsec. (b). Pub. L. 103–66, § 13213(a)(1), amended subsec. (b) generally, restating former par. (1)(A) and (B) as par. (1) and former par. (3)(C) as par. (2) and striking out former par. (1)(C) to (E) which included certain traveling, meals, lodging, and residence sale, purchase, and lease expenses in the term “moving expenses”, par. (2) which defined “qualified residence sale, purchase, or lease expenses”, and par. (3)(A) and (B) which placed dollar limits on the amount allowed to be deducted as moving expenses.
Subsec. (c)(1). Pub. L. 103–66, § 13213(b), substituted “50 miles” for “35 miles” in subpars. (A) and (B).
Subsec. (e). Pub. L. 103–66, § 13213(a)(2)(A), struck out heading and text of subsec. (e). Text read as follows: “The amount realized on the sale of the residence described in subparagraph (A) of subsection (b)(2) shall not be decreased by the amount of any expenses described in such subparagraph which are allowed as a deduction under subsection (a), and the basis of a residence described in subparagraph (B) of subsection (b)(2) shall not be increased by the amount of any expenses described in such subparagraph which are allowed as a deduction under subsection (a). This subsection shall not apply to any expenses with respect to which an amount is included in gross income under subsection (d)(3).”
Subsec. (f). Pub. L. 103–66, § 13213(a)(2)(B), amended heading and text of subsec. (f) generally. Prior to amendment, text read as follows:
“(1) Definition.—For purposes of this section, the term ‘self-employed individual’ means an individual who performs personal services—
“(A) as the owner of the entire interest in an unincorporated trade or business, or
“(B) as a partner in a partnership carrying on a trade or business.
“(2) Rule for application of subsections (b)(1)(c) and (d).—For purposes of subparagraphs (C) and (D) of subsection (b)(1), an individual who commences work at a new principal place of work as a self-employed individual shall be treated as having obtained employment when he has made substantial arrangements to commence such work.”
Subsec. (g)(3). Pub. L. 103–66, § 13213(a)(2)(C), inserted “and” at end of subpar. (A), redesignated subpar. (C) as (B), and struck out former subpar. (B) which read as follows: “for purposes of subsection (b)(3), as if such place of work was within the same general location as the member’s new principal place of work, and”.
Subsec. (h). Pub. L. 103–66, § 13213(a)(2)(D), redesignated pars. (2) to (4) as (1) to (3), respectively, and struck out heading and text of former par. (1). Text read as follows: “In the case of a foreign move—
“(A) subsection (b)(1)(D) shall be applied by substituting ‘90 consecutive days’ for ‘30 consecutive days’,
“(B) subsection (b)(3)(A) shall be applied by substituting ‘$4,500’ for ‘$1,500’ and by substituting ‘$6,000’ for ‘$3,000’, and
“(C) subsection (b)(3)(B) shall be applied as if the last sentence of such subsection read as follows: ‘In the case of a husband and wife filing separate returns, subparagraph (A) shall be applied by substituting “$2,250” for “$4,500”, and by substituting “$3,000” for “$6,000”.’ ”
1978—Subsecs. (h) to (j). Pub. L. 95–615 added subsecs. (h) and (i) and redesignated former subsec. (h) as (j).
1976—Subsec. (b)(3)(A). Pub. L. 94–455, § 506(b)(1), (2), substituted “$1,500” for “$1,000” after “(1) shall not exceed” and “$3,000” for “$2,500” after “lease expenses shall not exceed”.
Subsec. (b)(3)(B). Pub. L. 94–455, § 506(b)(3), substituted “ ‘$750’ for ‘$1,500’ ” for “ ‘$500’ for ‘$1,000’ ” after “applied by substituting” and “ ‘$1,500’ for ‘$3,000’ ” for “ ‘$1,250’ for ‘$2,500’ ” after “and by substituting”.
Subsec. (c)(1)(A), (B). Pub. L. 94–455, § 506(a), substituted “35” for “50” after “at least”.
Subsecs. (g), (h). Pub. L. 94–455, §§ 506(c), 1906(b)(13)(A), added subsec. (g), redesignated former subsec. (g) as (h) and struck out “or his delegate” after “Secretary”.
1969—Pub. L. 91–172 substantially reenacted existing provisions and extended the coverage to self-employed persons working at the new location for 78 weeks, made it a requirement that the new principal place of work be located 50 miles from the former residence, and redefined the deduction to include costs of house-hunting trips, temporary living expenses prior to locating a new home, and expenses of selling an old home or buying a new one.
Statutory Notes and Related Subsidiaries
Effective Date of 2025 Amendment
Amendment by Pub. L. 119–21 applicable to taxable years beginning after Dec. 31, 2025, see section 70113(e) of Pub. L. 119–21, set out as a note under section 132 of this title.
Effective Date of 2017 Amendment
Pub. L. 115–97, title I, § 11049(b), Dec. 22, 2017, 131 Stat. 2089, provided that: “The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2017.”
Effective Date of 1993 Amendment
Amendment by Pub. L. 103–66 applicable to expenses incurred after Dec. 31, 1993, see section 13213(e) of Pub. L. 103–66 set out as a note under section 62 of this title.
Effective Date of 1978 Amendment; Election of Prior Law
Amendment by Pub. L. 95–615 applicable to taxable years beginning after Dec. 31, 1977, with provision for election of prior law, see section 209 of Pub. L. 95–615, set out as an Effective Date of 1978 Amendment note under section 911 of this title.
Effective Date of 1976 Amendment
Pub. L. 94–455, title V, § 506(d), Oct. 4, 1976, 90 Stat. 1569, provided that: “The amendments made by subsections (a) and (b) [amending this section] shall apply to taxable years beginning after December 31, 1976.”
Effective Date of 1969 Amendment
Pub. L. 91–172, title II, § 231(d), Dec. 30, 1969, 83 Stat. 580, as amended by Pub. L. 91–642, § 2, Dec. 31, 1970, 84 Stat. 1880; Pub. L. 99–514, § 2, Oct. 22, 1986, 100 Stat. 2095, provided that:
“The amendments made by this section [enacting section 82 of this title and amending this section and sections 1001 and 1016 of this title] shall apply to taxable years beginning after December 31, 1969, except that—“(1) section 217 of the Internal Revenue Code of 1986 [formerly I.R.C. 1954] (as amended by subsection (a)) shall not apply to any item to the extent that the taxpayer received or accrued reimbursement or other expense allowance for such item in a taxable year beginning on or before December 31, 1969, which was not included in his gross income; and“(2) the amendments made by this section shall not apply (at the election of the taxpayer made at such time and manner as the Secretary of the Treasury or his delegate prescribes) with respect to moving expenses paid or incurred before January 1, 1971, in connection with the commencement of work by the taxpayer as an employee at a new principal place of work of which the taxpayer had been notified by his employer on or before December 19, 1969.”
Effective Date
Section applicable to expenses incurred after Dec. 31, 1963, in taxable years ending after such date, see section 213(d) of Pub. L. 88–272, set out as an Effective Date of 1964 Amendment note under section 62 of this title.
Moving Expenses of Members of the Uniformed Services
Pub. L. 93–490, § 2, Oct. 26, 1974, 88 Stat. 1466, authorized the Secretary of the Treasury, applicable with respect to taxable years ending before January 1, 1976, to:
(1) enter into an agreement with the Secretary concerned under which the Secretary concerned would not be required to withhold tax on, or to report, moving expense reimbursements made to members of the armed forces;
(2) permit any taxpayer who was a member of the armed forces not to include in adjusted gross income the amount of any reimbursement in kind of moving expenses made by the Secretary concerned; and
(3) permit any taxpayer who was a member of the armed forces to deduct any amount paid by him as moving expenses in connection with any move required by the Secretary concerned, in excess of any reimbursement received for such expenses, without regard to the provisions of subsec. (c) of this section, to the extent it was otherwise deductible under this section.