The short answer
They stack. The election in section 121(d)(9) stretches the five-year lookback by up to 10 years of qualified official extended duty, so a home you lived in for two years can still qualify for the exclusion up to 15 years later, and those duty years do not count as nonqualified use that would shrink it. Rev. Proc. 2005-14 then applies the exclusion first and lets a 1031 exchange defer what is left: the depreciation you claimed while renting and any gain above the $250,000 or $500,000 cap.
At a glance
| Who qualifies | Uniformed services, Foreign Service, intelligence community, and spouses |
|---|---|
| Qualified duty | Extended duty at a station 50+ miles away, or in government quarters on orders |
| Extended duty | Orders for more than 90 days or an indefinite period |
| Maximum suspension | 10 years, so the lookback can reach 15 years |
| Election limits | One property at a time; revocable at any time |
| Nonqualified use | Up to 10 years of qualified duty is excluded from it |
| Depreciation | Never excluded; deferrable only through the exchange |
| Order | Exclusion first, then the exchange |
The election stops the five-year clock while you serve away from the house
Section 121(a) excludes gain on a home you owned and used as your principal residence for two of the five years before the sale. Section 121(d)(9) lets an eligible person elect to suspend that five-year period 'during any period that such individual or such individual's spouse is serving on qualified official extended duty,' capped at 10 years.
Qualified official extended duty means extended duty 'at a duty station which is at least 50 miles from such property or while residing under Government orders in Government quarters.' Publication 523 adds that extended duty means orders for an indefinite period or for more than 90 days, and that 'together, the 10-year suspension period and the 5-year test period can be as long as, but no more than, 15 years.'
Two mechanics matter for planning. The election can be in effect for only one property at a time, and it can be revoked at any time. You make it simply by filing your return for the sale year and excluding the gain.
Duty years also escape the nonqualified-use rule, which protects the size of the exclusion
Since 2009, section 121(b)(5) reduces the exclusion for periods when the house was not your principal residence. Renting it would normally be such a period.
Two exceptions apply. Time after your last use as a residence within the five-year window is not nonqualified use, and neither is 'any period (not to exceed an aggregate period of 10 years)' of qualified official extended duty. A house rented out while you served away from it therefore keeps its full exclusion, subject to the dollar cap.
The limit that remains is depreciation. Under section 121(d)(6), gain equal to depreciation claimed after May 6, 1997 cannot be excluded, so every year of rental deductions adds to the slice the exclusion cannot reach. That slice is exactly what an exchange can defer.
Worked example: a home rented for 10 years while on duty
Hypothetical, round numbers, single filer, state tax ignored; run your own numbers with your CPA. You bought a house in 2012 for $250,000, lived there until September 2016, then served on qualified official extended duty and rented it. You sell in September 2026 for $600,000 after $90,000 of depreciation, so adjusted basis is $160,000 and gain is $440,000.
Without the election, the five-year window runs back only to 2021 and you fail the use test. With a 10-year suspension, the window reaches back to 2011 and your 2012 to 2016 residence counts. Of the $440,000, the $90,000 of depreciation cannot be excluded, and the remaining $350,000 is limited by the $250,000 cap: $250,000 excluded, $190,000 left.
Without an exchange, the $190,000 is taxed: $90,000 at up to 25% under Topic 409 and $100,000 at 15% or 20%. With an exchange under Rev. Proc. 2005-14, boot up to the $250,000 excluded is disregarded, so you can take up to $250,000 out in cash or debt relief and roll the rest into a replacement worth at least $350,000 while deferring the $190,000. A married couple filing jointly with a $500,000 cap would exclude $350,000 and have only the $90,000 of depreciation left to defer.
Timing decides whether you get both benefits or only one
Sell while the suspended window is still open and you can take both: the exclusion for the appreciation and the exchange for the depreciation. Wait until the 15-year outer limit passes and only the exchange remains, which defers the whole gain but excludes none of it.
Running the order the other way is costly. If you exchange a rental into a property and later move into it, section 121(d)(10) denies the exclusion on a sale within five years of acquiring it in the exchange, and rental years before you moved in can count as nonqualified use. That route is covered in can I move into a 1031 replacement and sell it tax-free.
If you own two former homes, remember the one-property limit on the election. Use it on the property where the exclusion saves the most, which is usually the one with the most appreciation relative to depreciation. The VA-loan version of this decision is in renting out a VA-loan home after a PCS move, and the wider decision in section 121 versus 1031 for a former home.
Where a passive replacement fits for someone still serving
The exchange half of this plan needs replacement property held for investment, and a service member still on orders may not want another house to manage. A Delaware Statutory Trust interest can take the exact remainder after the exclusion and requires no landlord work; see our traditional DST page and the PCS landlord guide.
Related questions
Do I have to file a form to make the suspension election?
No separate form. Publication 523 says you make it by filing your return for the year of the sale and excluding the gain.
Does my spouse's duty count?
Yes. Section 121(d)(9) applies when the individual or the individual's spouse is serving on qualified official extended duty.
Can I suspend the period for two houses at once?
No. The election may not be made for a property if one is already in effect for another property, though it can be revoked and moved.
Does the exchange help if the exclusion already covers all the appreciation?
Only for the depreciation, which can never be excluded. Compare the tax on that slice, at up to 25%, with the cost of buying and holding a replacement.
What happens to the excluded gain in the replacement's basis?
Rev. Proc. 2005-14 treats excluded gain as recognized for basis purposes, so it increases the replacement's basis rather than being deferred into it.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
