Capital Gains When Selling Your Home After 55: A California Homeowner's Guide

by Natalie Joy Harris

San Diego Real Estate · Senior Homeowner Guides

Capital Gains When Selling Your Home After 55: A California Homeowner's Guide

By Natalie Joy Harris, SRES®  ·  Updated August 18, 2026  ·  12 min read

If you bought your home decades ago, in La Jolla, Encinitas, Clairemont, or anywhere in between, the difference between what you paid and what it might sell for today can be substantial. That appreciation is good news, but it also raises a fair question: how much of your profit could actually be taxable if you sell? For homeowners 55 and older, the answer is rarely as simple as subtracting the mortgage from the sale price, and it's worth understanding the numbers before you set a closing date.

$250K–$500K Potential home sale gain exclusion for qualifying single filers and married couples
2 of 5 yrs Ownership and use window most sellers must satisfy to qualify
3.8% Additional Net Investment Income Tax that can apply above certain income levels

First, Let's Clear Up the "Over-55 Exclusion" Myth

Quick answer You may remember a rule that let someone 55 or older take a one-time exclusion of up to $125,000 on the sale of a home. That rule was replaced back in 1997. Today's exclusion isn't tied to age at all; it's available to qualifying homeowners of any age, and it can generally be used more than once.

The rule you may be thinking of is long gone, so there's no reason to feel behind if you haven't heard the current version. Today, the exclusion falls under Internal Revenue Code Section 121, and it applies regardless of age as long as you meet the requirements and haven't used it on another home sale in the prior two years. The current maximums are:

  • Up to $250,000 of gain for a qualifying single taxpayer, or
  • Up to $500,000 of gain for many married couples filing jointly

Two other old ideas cause confusion, and it's worth naming them so they don't trip you up. Turning 55 doesn't unlock a bigger federal exclusion, and buying another home doesn't automatically defer your gain the way the old "rollover" rule once did. That rollover provision was also repealed in 1997.

California homeowners do have a meaningful age-55 benefit, but it lives in a completely different part of the tax code. Proposition 19 may let a qualifying homeowner 55 or older transfer the taxable value of a primary residence to a replacement home elsewhere in California, which is a property tax benefit. It does not erase or reduce capital gain from the sale itself. Keeping these two rules separate in your mind will save you some confusion later in this guide.

Capital Gain Isn't the Same as Your Check at Closing

One of the most common misunderstandings I see from longtime homeowners is assuming capital gain equals whatever cash is left after the mortgage is paid off. It doesn't work that way. At a high level, the calculation looks like this:

The basic formula

Sale price−
Qualifying selling expenses−
Adjusted basis= Gain

Your mortgage payoff affects your net proceeds at closing, but it generally doesn't reduce the gain for income tax purposes. Two neighbors in Carlsbad or Pacific Beach could sell nearly identical homes for the same price, walk away with very different checks depending on their loan balances, and still owe tax on the same calculated gain.

What is adjusted basis?

Adjusted basis usually starts with what you originally paid for the home, including certain acquisition closing costs. From there, you add qualifying capital improvements and make any required downward adjustments, such as for depreciation that was allowed or allowable if part of the home was ever rented or used for business.

Qualifying improvements generally add value, extend the home's useful life, or adapt it to a new use. Common examples include a room addition, ADU, bathroom, deck, or patio; a kitchen renovation; a new roof, plumbing, electrical system, HVAC, or whole-house water filtration system; new flooring or windows; a pool, fence, retaining wall, or substantial landscaping project; and the permit, design, architect, and labor costs tied directly to that work.

Ordinary repairs and maintenance usually don't increase basis on their own. Painting, patching a crack, or replacing broken hardware typically keeps a home in good condition rather than materially improving it, though repair-type work can sometimes count when it's part of a larger renovation. Improvements that are no longer part of the home generally can't remain in basis, and certain credits, subsidies, or depreciation can reduce it. Qualifying selling expenses, such as real estate commission, advertising, legal fees, and transfer taxes, can also reduce the amount realized on the sale.

A simplified example

Imagine a married couple who bought their San Diego home years ago for $240,000. Over time they completed $160,000 of documented capital improvements and had $10,000 of qualifying acquisition costs. They eventually sell for $1,250,000 and pay $75,000 in selling expenses.

How the numbers work out

Sale price$1,250,000
Less selling expenses$75,000
Amount realized$1,175,000
Adjusted basis$410,000
Calculated gain$765,000
Potential Section 121 exclusion$500,000
Potential taxable gain$265,000

This is only an illustration, and depreciation, casualty reimbursements, energy credits, prior home-sale exclusions, and mixed business use can all change the outcome. But it shows why locating your improvement records can be worth real money when the time comes.

Who Qualifies for the $250,000 or $500,000 Exclusion?

The IRS generally looks at the five-year period ending on your closing date. To qualify for the full exclusion, you typically need to satisfy three tests.

The Three Qualifying Tests

  • Ownership test: You owned the home for at least two years during that five-year period
  • Use test: You lived in it as your main home for at least two years during that period, and those two years don't need to be continuous
  • Look-back test: You haven't excluded gain on the sale of another home in the two years before this sale

For the full $500,000 exclusion on a joint return, either spouse generally must meet the ownership test, both spouses must meet the use test, and neither can be disqualified by the two-year look-back rule. If only one spouse meets the relevant requirements, the available exclusion may be lower. It's also worth noting that only one home can be your principal residence at a time, so if you own a vacation property or investment property, the exclusion ordinarily applies only to the home that qualifies as your main residence.

What if you don't meet the full two-year test?

A reduced exclusion may still be available if the primary reason for the sale is a qualifying work move, health-related move, or unforeseen circumstance. The reduction is generally proportional to your shortest qualifying period compared with 24 months. For example, a single homeowner who qualifies for a health-related exception after one year might exclude up to $125,000, half the normal maximum. These exceptions are fact-specific, so it's worth getting tax advice rather than assuming a particular move will qualify.

Five Rules That Matter Especially After 55

Most of what applies to a 35-year-old seller also applies to you, but a handful of rules deserve extra attention once health, family, and legacy planning enter the picture. None of these situations are unusual, and each one has a well-established answer.

1. Time in a licensed care facility may count toward the use test

If a homeowner becomes physically or mentally unable to care for themselves, special rules can help. As long as the home was used as the principal residence for at least 12 months during the five years before the sale, time spent living in a state-licensed care facility, such as a qualifying nursing home, may count toward the two-year residence requirement. This rule can matter a great deal when an older adult moved out sooner than expected because of declining health. Don't assume the exclusion has been lost just because someone has been away from the property for a while.

2. A surviving spouse may have two separate tax opportunities

When a spouse passes away, two different rules come into play: the exclusion limit and the home's basis. A surviving spouse who hasn't remarried may still be able to use the full $500,000 exclusion if the home is sold within two years of the spouse's death and the other requirements are met. Waiting beyond that two-year window can reduce the available exclusion down to $250,000.

Separately, a spouse's death may adjust the property's basis to fair market value as of the date of death. In California, a community-property home may qualify for a basis adjustment on the entire property when federal requirements are satisfied, while other forms of co-ownership may produce an adjustment on only the deceased spouse's share. Because the outcome depends on title and estate facts, this is worth reviewing with a qualified tax professional.

This is also why a date-of-death appraisal can matter so much. The relevant number isn't today's listing price or the county's assessed value; it's the property's defensible fair market value as of the applicable date. Even if a sale isn't imminent, having a qualified retrospective appraisal on hand can provide important support for the eventual basis calculation.

3. Inheriting a home and receiving it as a gift are not the same

Inherited property generally receives a basis tied to fair market value at the date of death, subject to applicable estate reporting rules. A gifted property generally carries over the donor's adjusted basis instead, with some specialized exceptions. For a home purchased decades ago, that difference can be significant. Adding an adult child to title, or transferring the property during your lifetime, can create income tax, gift tax, property tax, creditor, and Medi-Cal planning consequences that aren't always obvious upfront. Before changing title to "make things easier," it's worth a conversation with an estate planning attorney and tax professional who can look at the whole picture.

4. Rental use, a home office, or an ADU can add complexity

If you rented the entire home, rented a room or ADU, or claimed home-office depreciation, don't assume the full gain will be excludable. Gain attributable to depreciation allowed or allowable after May 6, 1997 generally can't be excluded under Section 121, even if you never actually claimed the depreciation you were entitled to. The result can also depend on whether the rented or business space was part of your living area or a separate portion of the property, and whether there were periods of nonqualified use. Having an ADU doesn't automatically undo the exclusion, but its use and physical relationship to the main home matter. It's worth gathering rental returns, depreciation schedules, square footage allocations, and conversion dates for your CPA before the home goes on the market.

5. The tax year of closing can affect more than the capital gains rate

If part of your gain will be taxable, it enters the tax picture for the year the sale closes. Closing in late December versus early January can shift the gain into a different tax year, which can change how it interacts with IRA withdrawals, Roth conversions, pension income, investment gains, charitable giving, and estimated tax requirements. This isn't a reason to delay a move that makes sense for your life; it's simply a reason to model the transaction while you still have choices about timing.

How Is the Taxable Portion Actually Taxed?

Federal long-term capital gains rates

For most homeowners who've owned their property more than a year, any non-excluded gain is generally treated as long-term. Federal long-term capital gains rates are 0%, 15%, or 20%, depending on your taxable income. For the 2026 tax year, the 0% rate applies up to taxable income of $49,450 for most single filers and $98,900 for married couples filing jointly. The 15% band generally extends to $545,500 for single filers and $613,700 for joint filers, with income above those levels generally falling into the 20% band. These thresholds apply to your total taxable income, and your capital gain effectively stacks on top of everything else, so they're not a promise that your entire home-sale gain will land in one bracket.

The 3.8% Net Investment Income Tax

An additional 3.8% Net Investment Income Tax, or NIIT, may apply when modified adjusted gross income exceeds $200,000 for a single or head-of-household filer, or $250,000 for a married couple filing jointly. It applies to the lesser of your net investment income or the amount by which your MAGI exceeds the applicable threshold. Gain excluded under Section 121 is also excluded from net investment income, so it's specifically the taxable portion above your exclusion that can be exposed to NIIT once those thresholds are crossed.

California income tax

California generally follows the federal principal residence exclusion, but it doesn't offer a lower rate for long-term capital gains the way federal law does. Any taxable capital gain is taxed as ordinary income at the state level. California real estate withholding is a separate matter; unless an exemption applies and the proper Form 593 is completed, withholding may be required through escrow. That withholding is a prepayment, not necessarily your final California tax bill, and a principal residence seller may qualify for an exemption if the form and facts are handled correctly before closing.

Three Retirement-Related Effects Many Sellers Don't Expect

Key insight A home sale doesn't just create a potential tax bill. The income it generates, even the excluded portion in some calculations, can ripple into Medicare premiums, Social Security taxation, and eligibility for certain assistance programs. None of this should discourage a sale that's right for you; it just means these effects are worth mapping out ahead of time.

1. Medicare IRMAA

Medicare uses modified adjusted gross income to determine whether you owe income-related monthly adjustment amounts on Part B and Part D. Social Security typically looks at tax information from two years earlier, so taxable gain from a sale in 2026 would ordinarily be relevant to 2028 Medicare premiums, though the exact 2028 thresholds haven't been set yet. The portion of gain properly excluded under Section 121 doesn't enter your adjusted gross income and shouldn't increase Medicare MAGI; it's the taxable portion that can.

One thing worth knowing upfront: a home sale generally can't be waved away through an IRMAA appeal. Form SSA-44 lists specific life-changing events, and a voluntary sale isn't on that list. In fact, the form's "loss of income-producing property" category specifically excludes a loss caused by a sale or transfer you initiated yourself. A separate qualifying event, such as retirement, a work reduction, divorce, or the death of a spouse, may change that analysis.

2. Taxation of Social Security benefits

A taxable home-sale gain can increase how much of your Social Security benefit is included in taxable income. Federal rules look at half of your benefits plus other income and tax-exempt interest, and depending on the total, up to 85% of benefits can become taxable. The excluded portion of a qualifying home-sale gain doesn't enter gross income, while the taxable portion generally does.

3. Medi-Cal and other means-tested benefits

For certain California Medi-Cal programs, asset counting returned on January 1, 2026, affecting many people 65 or older, people with disabilities, and nursing home residents. Through June 30, 2027, the general limit set by the California Department of Health Care Services is $130,000 for one person, plus $65,000 for each additional qualifying household member, with lower limits scheduled to begin after that date. A qualifying principal residence may be noncountable while cash and bank accounts are countable, so selling a home can change the character of an asset even when little or no capital gains tax is actually due. Long-term care rules can also penalize certain below-market transfers made on or after January 1, 2026, during the applicable look-back period. If you receive Medi-Cal, a Medicare Savings Program, SSI, or another means-tested benefit, it's worth speaking with a qualified elder law or public benefits attorney before selling, gifting, or moving proceeds.

A Pre-Sale Tax Checklist for Longtime Homeowners

  • Estimate the gain, not just the net proceeds, using expected sale price, selling costs, and adjusted basis
  • Find your original purchase closing statement; it may contain acquisition costs that affect basis
  • Build an improvement history from invoices, permits, contracts, and bank or credit card records
  • Collect rental and home-office records, including depreciation schedules and ADU use dates
  • Confirm the ownership, use, and look-back tests with exact move-in, move-out, and closing dates
  • If a spouse passed away, gather estate documents and ask about a date-of-death appraisal
  • Have a CPA model federal and California tax, including NIIT and estimated tax requirements
  • If you're on Medicare, ask for an IRMAA projection looking two years ahead
  • If you receive means-tested benefits, get benefits advice before converting the home to cash
  • Evaluate Proposition 19 separately; it affects property tax, not capital gain

The IRS recommends keeping records that document your adjusted basis for at least three years after the due date of the tax return for the year of sale, and longer if another rule or unresolved issue requires it.

Selling with Confidence: The Bottom Line

For many homeowners over 55, selling a longtime residence isn't just a real estate decision. It can intersect with retirement income, health coverage, estate planning, and the timing of a major life transition, whether you're downsizing from a family home in Encinitas or simplifying life in Ocean Beach. The most valuable first step isn't a tax trick; it's an accurate calculation supported by good records. Determine your adjusted basis, understand which exclusion applies to you, identify any rental or depreciation history, and model the broader effects before you set a closing date. There's no need to rush this part. Taking the time to get the numbers right now is what makes the rest of the process feel manageable.

Frequently Asked Questions

Do I pay capital gains tax on the entire sale price of my home?

No. Tax is based on your gain, not your gross sale price, and only the non-excluded portion of that gain is potentially taxable. Your selling expenses and adjusted basis are central to the calculation, which is why good records matter so much.

Does paying off my mortgage reduce my taxable gain?

Generally, no. Paying off your mortgage reduces the cash you receive at closing, but it does not reduce the gain calculation for tax purposes. Two neighbors can sell identical homes for the same price and have very different checks at closing, yet owe tax on the same gain.

Can I avoid capital gains tax by buying another home?

Not simply by reinvesting the proceeds. The old principal residence rollover rule was repealed in 1997. A 1031 exchange applies to qualifying business or investment property, not to the personal residence portion of your home, so mixed-use property calls for specialized advice.

Does Proposition 19 eliminate capital gains tax for homeowners over 55?

No. Proposition 19 is a California property tax benefit that may let an eligible homeowner 55 or older transfer a base year taxable value to a replacement residence. It is entirely separate from federal and California income tax rules on capital gain.

What if I sell my home at a loss?

A loss on the sale of a personal-use main home is generally not deductible for tax purposes.

Do I have to report the sale if all my gain is excluded?

Often you do not, but you generally must report the sale if you receive Form 1099-S or if any gain is taxable. It is worth giving your closing documents and any 1099-S to your tax preparer even when you expect no tax to be due.

This article is for general educational purposes only and is not tax, legal, financial, Medicare, Medi-Cal, or benefits advice. Tax laws and program rules change, and individual facts matter. Please consult qualified professionals before acting.

Thinking about selling your longtime San Diego home?

 

CALL NATALIE TODAY AT (858) 926-9343

 

 

Let's talk through what a sale looks like for your specific situation, and how to coordinate the real estate timeline with your CPA, financial advisor, or estate planning attorney. Every home and every family's story is different, and a short conversation now can save real time and money later.

Get in touch →
NH

REALTOR® | Seniors Real Estate Specialist (SRES®) | CA DRE# 01909266

Natalie helps San Diego homeowners 55 and older navigate downsizing, home sales, and the paperwork that comes with them, with a calm, unhurried approach built for this stage of life.

GET MORE INFORMATION

Natalie Joy Harris

Natalie Joy Harris

Agent | License ID: 01909266

+1(858) 926-9343

Name
Phone*
Message