top of page
Main image

5 primary residence exclusion rules for sellers

Writer: Richard Elias
Richard Elias
21 minutes ago
7 min read

Selling your San Diego home? You may exclude up to $250,000 of qualifying gain - or $500,000 for eligible married couples filing jointly - from federal tax. I’d start with your expected closing date and estimated gain, not your sale price or cash after paying off the mortgage.

Here are the five rules I’d check before listing:

  • Ownership: Generally, own the home for at least 24 months within the five years before selling.

  • Use: Generally, live there as your main home for at least 24 months within that same period.

  • Gain limits: Compare your gain with the $250,000 or $500,000 cap. Rental use and depreciation may limit what you can exclude.

  • Prior exclusions: Generally, wait at least two years between sales on which you claim the exclusion.

  • Records: Keep proof of ownership, residency, improvements, depreciation, and prior sales.

<u>You don’t need to buy another home or reinvest the proceeds.</u> Before setting a closing date, I’d have a tax professional check eligibility, any reduced exclusion, federal and California taxes, and reporting - even if the entire gain is excluded.

5 Primary Residence Exclusion Rules for Sellers

Capital Gains Tax on Sale of Primary Residence Exclusion Explained

sbb-itb-7ed574e


Calculate Your Gain Before Applying the Exclusion

Calculate your gain before applying the exclusion. Subtract eligible selling expenses from the sale price to find your amount realized. Then subtract your adjusted basis to determine your gain.

Your basis starts with the purchase cost, increases with qualifying improvements, and decreases with depreciation. Gather your purchase records, improvement invoices, and any depreciation records so your tax professional can check the calculation.

Mortgage payoff affects your cash at closing - not your taxable gain. Paying off the loan at closing isn't a selling expense and doesn't reduce your gain for tax purposes.

Use IRS Publication 523 to check eligible expenses and basis rules. Have a tax professional confirm the federal and California treatment, especially if you claimed depreciation.

Once you've calculated your gain, check whether you meet the ownership test.


1. Ownership Test: Own the Home for 24 Months Within 5 Years

You generally must own the home for at least 24 months during the five years ending on the sale date, usually the closing date.[4][3] Those months don’t have to be consecutive.[6][5] Count backward from closing and check that timeline against your deed and title records.[3]

For married couples filing jointly, one spouse generally can meet the ownership test, but both must meet the use requirement to claim the full $500,000 exclusion.[4][3] Your ownership and residence periods don’t have to overlap, but both must fall within that five-year window.[4]

Inherited homes, co-ownership, and divorce-related transfers need separate review. One co-owner’s eligibility doesn’t automatically cover another. Certain transfers between spouses may also let you count earlier ownership time.

Next, check the use test: the home must also have been your main residence for the required period.


2. Use Test: Live in the Home for 24 Months Within 5 Years

After checking ownership, confirm that the home was your main residence. You must have lived in it as your main residence for at least 24 months during the five years before the sale. Those months don’t have to be consecutive, and brief temporary absences usually don’t interrupt residency.

What matters is how you actually used the home. A vacation, second, or investment home doesn’t qualify based on ownership alone. For the $500,000 joint exclusion, both spouses generally must meet the use test.

San Diego example: If you lived in the home for exactly 2 years, then rented it out, you generally still meet the use test if the sale closes within 3 years of move-out.

Rental use and depreciation can reduce the gain you can exclude. Depreciation tied to rental use remains taxable.

Next, check the dollar cap on the exclusion.


3. Gain Limits: Exclude Up to $250,000 or $500,000

Calculate your gain before comparing it with the exclusion cap. Eligible single filers can generally exclude up to $250,000. Eligible married couples filing jointly can exclude up to $500,000.[2][4]

Your gain is the amount realized minus your adjusted basis. The amount realized is your sale price minus eligible selling expenses. Capital improvements increase your basis; repairs don’t. Depreciation allowed or allowable reduces your basis, which increases your gain.[3][7]

Hypothetical San Diego downsizing example: A qualifying single homeowner sells for $900,000, pays $45,000 in eligible selling expenses, and has a $555,000 adjusted basis. The resulting gain is $300,000. After the $250,000 exclusion, $50,000 remains taxable before depreciation recapture or other adjustments.[2][3]

Depreciation allowed or allowable after May 6, 1997, cannot be excluded - even if you never claimed it.[3][5]

A larger San Diego home doesn’t change the exclusion amount.[2][3] Next, check the 2-year look-back period for prior exclusions to see whether you can use the exclusion again.


4. Frequency Limits: Check the 2-Year Look-Back Period

You generally can’t use the primary residence exclusion if you claimed it on another home sale within the past 24 months. For a joint return, both spouses must meet the 24-month limit to claim the full $500,000 exclusion. If you recently sold a home, check its exact closing date before planning your next sale.

Compare the sale date on your prior closing disclosure or settlement statement with your planned closing date to verify that 24 months have passed. This rule applies whether you’re downsizing or moving up in San Diego. Ask your tax professional to confirm the timing before you agree to close. Then compare your eligible exclusion amount with the exclusion cap.

Your next home’s purchase price doesn’t matter for this rule - only the timing of the two sales does.

A shorter gap may still qualify for a reduced exclusion if you moved because of work, health, or an unforeseen event. Keep your sale dates and closing statements for the recordkeeping rule that follows. You’ll need proof to support your eligibility.


5. Recordkeeping: Keep Proof of Eligibility and Gain

Good records help document every rule above, including ownership, use, depreciation, and prior-sale timing.

Create a one-page timeline with your purchase and closing dates, move-in and move-out dates, temporary absences, rental or business-use periods, and planned closing date. Keep utility bills and driver’s-license records as proof of residency. Then use the timeline to check the ownership and use tests.

Group your supporting documents into a checklist:

  • Purchase and sale: Keep the original purchase closing statement, deed, title records, mortgage records, and itemized selling-expense records. Broker commissions, certain legal fees, and transfer taxes reduce your amount realized.[8]

  • Improvements: Separate capital improvements from repairs. Save invoices, permits, contracts, receipts, and proof of payment for projects that increase your basis.

    Examples include a kitchen remodel or new roof.

    Missing receipts? Use bank statements, contractor files, permits, warranties, photos, and HOA records to support the costs rather than estimating them.

  • Rental, business use, and prior sales: Keep leases, rental ledgers, business-use calculations, home-office records, depreciation schedules, and applicable Forms 4562 to support your basis calculation. Save prior sale statements, exclusion amounts, tax returns, and worksheets to document compliance with the 2-year look-back rule.[9][10][4][2]

The IRS generally recommends keeping adjusted-basis records until 3 years after the due date of the tax return for the year of sale.[6][8]

Next, match these records to your closing date and tax reporting.


Before Listing: Review Closing Dates and Tax Reporting

Check your eligibility before agreeing to a closing date. Have a tax professional review your ownership, use, and prior-sale dates against the proposed closing date. Ask them to estimate your taxable gain and any reduced exclusion. Provide your closing statement, prior-sale dates, and gain worksheet. The closing date also determines which forms and deadlines apply at closing.

Before setting that date, use local comparable sales to estimate your proceeds.

Even a fully excluded gain may need to be reported. If you receive Form 1099-S, you must report the sale on Form 8949 and Schedule D - even if your entire gain is excluded. You must also report a sale with taxable gain.[1] Ask the closing agent whether they’ll issue Form 1099-S, and send it to your tax professional.

Ask your tax professional which California and federal forms apply. Your real estate team can coordinate the sale, while your tax professional handles tax eligibility and filing.[1]


Conclusion: Confirm Eligibility Before You Sell

Before you list, check the requirements: 24 months of ownership, 24 months of use, the $250,000/$500,000 exclusion cap, and the 2-year look-back period.[4]

Then gather the paperwork: ownership dates, proof of occupancy, improvement records, and prior-sale records. Use these with your adviser to confirm your gain and how federal and California taxes apply. Generally, keep basis records until three years after the due date of the return for the year you sell.[2][11]

Verify eligibility before setting the closing date. That date determines your eligibility, exclusion timing, and reporting.


FAQs


Can I qualify if only my spouse meets the residency test?

Not for the full exclusion. For married couples filing jointly, only one spouse needs to meet the ownership test. But both spouses must meet the use (residency) test to qualify for the full primary residence exclusion.

The Richard Elias Team recommends consulting a qualified tax professional to review your specific circumstances before finalizing your sale.


How does renting out my home affect my exclusion?

Renting out your home doesn’t automatically disqualify you from the primary residence exclusion. You still need to meet both the ownership and use tests: you must have owned the home and lived in it as your primary residence for at least two of the five years before the sale.

Rental periods generally count as non-qualified use, which may reduce the amount of gain you can exclude. Talk with a tax adviser about how these rules apply to your situation.


What qualifies me for a reduced exclusion?

You may qualify for a partial capital gains exclusion if you must sell your primary residence before meeting the full ownership and use requirements. Reasons may include a change in job location, health issues that require a move, or other unforeseen events beyond your control.

Whether you qualify depends on your circumstances. A qualified tax professional can help you determine if you’re eligible for a partial exclusion.


Related Blog Posts

 
 
 

Comments


bottom of page