A single seller with a big gain
Hypothetical example, not law
Dana is single. She bought her home for $310,000, paid $6,300 in closing costs, and spent $54,000 on a new roof and a kitchen remodel (she also spent $4,300 repainting, which doesn't count). She owned it and lived in it for nine years. She sells for $860,000 and pays $52,000 in commissions and other selling costs.
- Her basis. $310,000 + $6,300 + $54,000 = $370,300. The repainting is upkeep, not an improvement.
- Amount realized. $860,000 - $52,000 = $808,000.
- Gain. $808,000 - $370,300 = $437,700.
- Exclusion. She meets the ownership and use tests, so she excludes up to $250,000.
- Taxable gain. $437,700 minus the $250,000 cap leaves $187,700 of long-term capital gain to report on Form 8949 and Schedule D.
Dana excludes $250,000 and reports $187,700.
Tip. Improvements shrink the gain dollar for dollar, so keep every receipt. If Dana were married and filed jointly with a spouse who also qualified, the whole gain would fit under the joint cap.
Sources
A couple, and a spouse who just moved in
Hypothetical example, not law
Maya and Chris file jointly. Their home sells for an amount realized of $1,060,000 with an adjusted basis of $440,000, so the gain is $620,000. Maya has owned and lived in the home for six years. Compare two versions: in Version A, Chris has lived there for six years, too; in Version B, Chris moved in eight months ago.
- Version A: both qualify. Either spouse meets ownership, both meet use, and neither used the exclusion in the last 2 years, so the cap is $500,000. Taxable gain: $620,000 - the $500,000 cap = $120,000.
- Version B: Chris fails use. The $500,000 cap is out. They add up each spouse's own cap as if unmarried: Maya gets $250,000 and Chris gets zero, so the cap is $250,000. Taxable gain: $620,000 - the $250,000 cap = $370,000.
- What Chris might still get. If the sale is by reason of a job change, health or an unforeseen event, Chris may qualify for a reduced amount based on the months he lived there, which would add to Maya's cap.
Version A leaves $120,000 taxable; Version B leaves $370,000 taxable.
Tip. Before you sell, check each spouse's use dates. Waiting a few months for the second spouse to reach the use test can be worth six figures.
Sources
A job change after 18 months
Hypothetical example, not law
Alex is single. Alex bought a home and lived there for 18 months. Then Alex took a job 75 miles from the home (the old job was 10 miles away). The home sells for $603,400, selling costs are $40,700 and the adjusted basis is $357,900. Alex has not used the exclusion on any other home.
- Does the safe harbor apply?. The new job is 65 miles farther than the old one. The regulation's distance safe harbor is 50 miles, so the sale is deemed work-related without arguing about the reason.
- The fraction. The shortest of the three periods is the 18 months of use (ownership was 20 months and there was no earlier excluded sale). The fraction is 18 / 24.
- The reduced cap. $250,000 x 18 / 24 = $187,500.
- Gain and tax. Gain is $603,400 - $40,700 - $357,900 = $204,800. Taxable: $204,800 - $187,500 = $17,300.
Alex excludes $187,500 and reports $17,300.
Tip. The 18 months are the numerator whether or not they were in a row. A shorter stay means a smaller cap, but it never means zero as long as you lived there at least a day.
Sources
Rented for two years, then moved in for three
Hypothetical example, not law
Sam is single. Sam bought a home for $306,500, rented all of it for 2 years and claimed $15,600 of depreciation, then moved in and lived there as the main home for 3 years before selling for $639,000 with $40,000 of selling costs. All of this happened on or after January 1, 2009.
- Gain. Adjusted basis is $306,500 - $15,600 = $290,900. Amount realized is $639,000 - $40,000 = $599,000. Gain is $308,100.
- Depreciation comes out first. Gain up to the depreciation taken after May 6, 1997 can't be excluded: $15,600 is taxable (up to 25%). That leaves $292,500.
- Nonqualified use. The 2 years of rental came before Sam moved in, so they're nonqualified use: 24 of 60 months of ownership, or two fifths. Two fifths of $292,500 is $117,000, which can't be excluded.
- What's excluded. $292,500 - $117,000 = $175,500, which is under the $250,000 cap, so all of it is excluded. The unused part of the cap is lost.
- What's taxed. $15,600 of depreciation + $117,000 of nonqualified-use gain = $132,600.
Sam excludes $175,500 and reports $132,600 of gain.
Tip. Sam met the use test, so the exclusion is available. Renting first only shrinks it. Moving in earlier would have cut the rental share.
Sources
Lived there four years, rented the fifth
Hypothetical example, not law
Priya is single. She lived in her home for 4 years, moved out and rented it for the last year, then sold it. She claimed $9,300 of depreciation during the rental year. Her amount realized is $700,000 and her basis before depreciation is $362,400.
- Did the rental year hurt?. No. She lived there 4 of the last 5 years, more than the 2 needed, and the rental year came after she last lived there, so it isn't nonqualified use.
- Gain. Adjusted basis: $362,400 - $9,300 = $353,100. Gain: $700,000 - $353,100 = $346,900.
- Depreciation is carved out. $9,300 can't be excluded. The remaining $337,600 is eligible.
- The cap. She can exclude up to $250,000, so $87,600 of the eligible gain is over the cap.
- What she reports. $9,300 of unrecaptured section 1250 gain (up to 25%) and $87,600 of regular long-term capital gain: $96,900 in all.
Priya excludes $250,000 and reports $96,900.
Tip. Even with no cap problem, the depreciation slice is always taxed. It's allowed-or-allowable, so it counts even if the rental year's return never claimed it.
Sources
A duplex where one unit was always a rental
Hypothetical example, not law
Taylor is single, lived in one half of a duplex for years and rented the other half the whole time. The rental unit is two fifths of the square footage. Taylor sells for $805,000 with $40,000 of selling costs. Total cost basis, including improvements and allocated evenly by square feet, is $404,000, and Taylor took $31,200 of depreciation on the rental unit.
- Split the sale. The rental unit is a separate dwelling unit, so Taylor splits the amount realized ($765,000) and the basis by square footage, the same method used for depreciation. Rental share of the amount realized is $306,000; the residence share is $459,000.
- Rental part. Rental basis is $161,600 - $31,200 depreciation = $130,400. Gain is $306,000 - $130,400 = $175,600. This part is not excludable because Taylor never lived in it. It's reported on Form 4797, and $31,200 of it is unrecaptured section 1250 gain.
- Residence part. Residence basis is $242,400. Gain is $459,000 - $242,400 = $216,600, which is under the $250,000 cap, so all of it is excluded.
Taylor excludes $216,600 on the residence portion and reports $175,600 on the rental portion.
Tip. Do this math before listing the property. The rental portion carries its own tax no matter how big the cap is.
Sources
Selling after a spouse dies
Hypothetical example, not law
Rosa and her husband owned their home as joint tenants with right of survivorship and lived there for years. When he died, the adjusted basis was $201,400 and the home was worth $603,800. Rosa, who hasn't remarried, sells for $700,000 with $40,000 of selling costs. Compare a sale within 2 years of his death with a sale after that.
- Her new basis. She keeps her half of the old basis ($100,700) and gets a new basis of half the value at death ($301,900) for his half: $402,600.
- Gain. Amount realized is $660,000. Gain is $660,000 - $402,600 = $257,400.
- Sale inside the window. She can use the $500,000 cap, because the couple would have qualified just before his death. Taxable gain: $0.
- Sale after the window. The cap drops to $250,000. Taxable gain: $257,400 - the $250,000 cap = $7,400.
Within 2 years: nothing taxable. Later: $7,400 taxable.
Tip. The clock runs from the date of death. If the sale is in the same year as the death, a joint return with the executor can also use the joint rules.
Sources
Divorce, and the ex keeps living there
Hypothetical example, not law
Jordan owned a home and lived there with Lee for 3 years. They divorced, and under the decree Lee has the right to keep living in the home with the children for 4 more years. Jordan moved out and still owns the home. At the end of year 7, Jordan sells it with an amount realized of $680,000 and a basis of $450,000.
- The five-year window. The 5-year window is months 24 to 84 of the timeline.
- Jordan's own time. Jordan personally lived there until month 36: 12 months inside the window.
- Lee's time counts. A spouse or former spouse's use under a divorce or separation instrument counts as the owner's use. That adds 48 months, for 60 months in all, well over the 24 months needed.
- Gain. $680,000 - $450,000 = $230,000, under the $250,000 cap.
Jordan qualifies and excludes the whole $230,000.
Tip. Write the right to live in the home into the divorce instrument. Use by an ex-spouse who isn't covered by the instrument doesn't count.
Sources
Seven years of extended duty away from home
Hypothetical example, not law
Chris, who is single, bought a home and lived in it for 3 years. Chris then spent 7 years on qualified extended duty as a member of the uniformed services, at a duty station at least 50 miles away, and did not rent the home. At the end of year 10, Chris sells it with an amount realized of $760,000 and a basis of $476,800.
- Without an election. The 5-year window covers years 5 to 10, when Chris lived elsewhere. Chris lived there 0 years in the window, which fails the 2-year use test.
- With the election. Chris elects to suspend the 5-year period for the 7 years of duty (the maximum is 10). The window reaches back 7 years further, so it covers the 3 years Chris lived in the home. Chris lived there 3 years in the window and meets the test.
- Gain. $760,000 - $476,800 = $283,200. Chris excludes $250,000 and reports $33,200.
- How to elect. File the return for the year of sale without including the gain. The election covers one property at a time and can be revoked.
Chris qualifies with the election, excludes $250,000 and reports $33,200.
Tip. The 7 years of duty also aren't nonqualified use, because up to the extended-duty limit they're excepted.
Sources
Reporting an excluded sale after a Form 1099-S
Hypothetical example, not law
Nina and Omar file jointly and both qualify. The closing agent sends Form 1099-S showing gross proceeds of $560,000. Their basis is $183,600 and they paid $31,700 of selling costs that the form doesn't show.
- Why report it. They received a Form 1099-S, so the sale goes on Form 8949 even though none of the gain is taxable.
- Gain. $560,000 - $31,700 - $183,600 = $344,700, which fits under their $500,000 cap.
- Form 8949, Part II. Check box F (a long-term sale with no Form 1099-B). Column (d) $560,000, column (e) $183,600, column (f) codes E and H, column (g) ($376,400), the selling costs plus the excluded gain, in parentheses. Column (h) is 0.
- Schedule D. The totals flow to Schedule D, and the net gain from the sale is zero.
Zero taxable gain, and the 1099-S is accounted for.
Tip. Matching your Form 8949 to the 1099-S avoids a notice. The excluded gain shows up in column (g) rather than disappearing.
Sources