Selling Your Primary Residence? How the $250,000/$500,000 Capital Gains Exclusion Actually Works
You bought your home years ago.
Maybe you paid $400,000.
Today, it could be worth $900,000.
So you start doing the math:
“Wait...does that mean I made $500,000?”
Then someone tells you:
“Don't worry. If you're married, the first $500,000 is tax-free.”
Someone else tells you:
“You just subtract what you paid from what you sold it for.”
And someone else says:
“If you buy another house, you don't have to pay capital gains.”
Suddenly, something that sounds simple becomes confusing.
If you're considering selling your primary residence in Chino, Chino Hills, the Inland Empire or Orange County, there is an important federal tax rule every longtime homeowner should understand:
You may be able to exclude up to $250,000 of gain from the sale of your primary residence—or up to $500,000 for many married couples filing jointly.
But there is an important word in that sentence:
GAIN.
The exclusion isn't necessarily based simply on:
Selling price – original purchase price.
To understand whether you potentially have taxable gain, you first need to understand something called your adjusted basis.
And that's where this gets interesting.
IMPORTANT TAX DISCLAIMER: Leticia and Alberto Sotomayor are real estate professionals, not CPAs, tax attorneys or financial advisors. This article is for general educational purposes only and should not be considered tax, legal or financial advice. Tax laws and individual circumstances vary. Always consult a qualified CPA or tax professional regarding your specific situation.
First: What Is the $250,000/$500,000 Home Sale Exclusion?
Under current federal tax rules, if you have a gain from selling your main home and meet the applicable requirements, you may qualify to exclude up to:
$250,000 of gain for an individual
or
$500,000 of gain for many married couples filing a joint return.
The IRS generally requires both an ownership test and a use test.
During the five-year period ending on the sale date, you generally must have:
Owned the home for at least two years
and
Lived in it as your main home for at least two years.
And here's something many homeowners don't realize:
Those two years generally do not have to be consecutive.
The residence requirement can generally be satisfied with a total of 24 months during the five-year period.
But What Exactly Is the “Gain”?
This may be the most important part of the entire conversation.
Let's say you bought a home for:
$400,000
And years later you sell it for:
$900,000
At first glance, you might think:
$900,000 – $400,000 = $500,000 gain.
But that may not be the final tax calculation.
The calculation generally involves the home's amount realized and its adjusted basis.
A simplified way of thinking about it is:
SALE PRICE
– QUALIFYING SELLING EXPENSES
= AMOUNT REALIZED
Then:
AMOUNT REALIZED
– ADJUSTED BASIS
= GAIN
That is a very different calculation from simply looking at how much money you received at closing.
What Is Your Cost Basis?
For a home you purchased, your starting basis is generally based on what the property cost you, with certain acquisition costs potentially included.
Then that number may be adjusted over the years.
That's why CPAs frequently refer to:
Adjusted basis.
Your adjusted basis may potentially include qualifying capital improvements you've made to the property.
And for someone who has owned a home for 20, 30 or 40 years, those improvements can add up.
What Types of Improvements Might Increase Your Basis?
Imagine you've owned your Chino Hills home for 25 years.
Over those years you may have:
Remodeled the kitchen.
Remodeled bathrooms.
Installed a new roof.
Added a room.
Built a pool.
Replaced windows.
Installed central air conditioning.
Added permanent landscaping or hardscape.
Added an ADU.
Completed other substantial improvements.
Certain qualifying capital improvements may increase your adjusted basis.
That's why keeping records can be so important.
A homeowner who simply says:
“I bought the house for $400,000.”
may be overlooking decades of qualifying improvements that a tax professional could potentially consider when determining adjusted basis.
Repairs and Improvements Are Not Necessarily the Same Thing
This distinction is important.
Not every dollar you've ever spent maintaining your house automatically gets added to your basis.
Routine maintenance and repairs generally aren't treated the same way as qualifying capital improvements.
For example, fixing something that broke may be treated differently from substantially improving or adding to the property.
This is exactly why homeowners should not try to make these determinations themselves based on a blog article.
Keep the records. Give them to your CPA. Let the tax professional determine what qualifies.
Let's Look at a Simplified Example
Imagine a married couple purchased their primary residence years ago for:
$400,000
Over the years, assume their CPA determines they have:
$100,000 of qualifying basis adjustments
That could potentially produce an adjusted basis of approximately:
$500,000
Now imagine the house sells for:
$1,000,000
And assume, purely for illustration, there are:
$50,000 of qualifying selling expenses
The simplified calculation might look something like:
$1,000,000 sale price
– $50,000 selling expenses
= $950,000 amount realized
Then:
$950,000 amount realized
– $500,000 adjusted basis
= $450,000 gain
If this married couple qualifies for the full $500,000 home-sale exclusion, that simplified example could potentially result in the entire $450,000 gain being excluded from federal taxable income.
But notice something important.
Their home increased from an original $400,000 purchase price to a $1 million sale price.
That's a $600,000 difference.
Yet our simplified example produced a $450,000 gain after considering the assumed selling expenses and adjusted basis.
That's why simply saying:
“We sold for $600,000 more than we paid, so we have $600,000 of taxable gain”
can be misleading.
The actual calculation matters.
Your Mortgage Balance Does NOT Determine Your Capital Gain
This is another major misconception.
Imagine you owe only:
$100,000
on a house that sells for:
$1,000,000.
You might walk away from escrow with a substantial amount of cash after paying the loan and transaction expenses.
But the amount of cash you receive is not necessarily your taxable gain.
Your remaining mortgage balance generally isn't what determines your gain for tax purposes.
That's a critical distinction:
Equity is not the same thing as taxable gain.
Think of them as two different calculations.
Equity helps answer:
“Approximately how much value do I have in the property compared with what I owe?”
Your gain calculation helps answer:
“For tax purposes, what gain resulted from the sale after considering the applicable basis and selling-cost rules?”
Those are not the same question.
Do You Have to Buy Another House to Avoid Capital Gains?
This is another misconception worth addressing directly.
Some longtime homeowners remember older rules and believe:
“If I sell my house, I have to buy another house or I'll owe capital gains tax.”
That is not how the current federal primary-residence exclusion generally works.
Eligibility for the current exclusion centers on whether you meet the applicable requirements—not simply whether you use the money to purchase another primary residence.
That means an empty nester could potentially sell a longtime family home and decide to:
Buy something smaller.
Rent.
Move in with family.
Move out of state.
Or purchase another home.
The decision about what to do next does not, by itself, determine whether the federal home-sale exclusion applies.
What About Married Couples?
This deserves its own section because the $500,000 exclusion has additional requirements.
It is too simplistic to say:
“If you're married, you automatically get a $500,000 exclusion.”
That's not necessarily true.
For married taxpayers filing jointly, additional requirements apply.
Generally, only one spouse needs to satisfy the ownership test, while both spouses generally need to satisfy the use test to qualify for the full $500,000 exclusion. Other eligibility requirements can also apply.
So a more accurate way to say it is:
Many married couples filing jointly who meet the applicable requirements may qualify to exclude up to $500,000 of gain.
Again, let your CPA determine whether you qualify.
Can You Use the Exclusion Every Time You Sell a House?
Not necessarily.
There are rules regarding how recently you used the home-sale exclusion on another property.
Generally, you cannot repeatedly claim the exclusion every few months simply by selling different homes.
Certain exceptions and partial exclusions may also apply in specific circumstances.
If you've sold another primary residence within the previous few years, make sure your CPA knows about it.
What If You Haven't Lived There for the Full Two Years?
Don't automatically assume you have no options.
Certain circumstances may potentially qualify a homeowner for a partial exclusion, even when the normal requirements aren't completely satisfied.
These situations can involve specific facts and IRS requirements.
So if you've owned or occupied the property for less than two years, don't guess.
Ask your CPA whether a partial exclusion might apply to your situation.
What If the House Was Also a Rental?
Now things can become substantially more complicated.
Perhaps you lived in the property for years.
Then moved.
Then rented it.
Then sold it.
Or perhaps part of the home was used for business.
Depreciation and periods of certain nonqualified use can affect the tax calculation.
Some gain associated with depreciation may not qualify for the normal home-sale exclusion.
This is definitely CPA territory.
Make sure your tax professional understands the property's complete history.
What Records Should Longtime Homeowners Start Gathering?
If you've owned your home for 20, 30 or 40 years and are considering selling, don't wait until tax season to start searching through boxes.
Start gathering whatever records you have relating to:
- Original purchase documents
- Major remodeling
- Additions
- Roof replacement
- Kitchen renovations
- Bathroom renovations
- Pool installation
- ADU construction
- Windows
- HVAC
- Permanent property improvements
- Other major capital improvements
- Closing documents from the eventual sale
Don't assume something qualifies.
And don't assume something doesn't.
Give the information to your CPA.
If you've lost receipts from improvements made 20 years ago, discuss that with your CPA as well. Don't invent numbers or estimates and assume they will be acceptable.
Why This Matters So Much for Longtime Chino and Chino Hills Homeowners
This is where the conversation becomes especially important locally.
Someone may have purchased a home in Chino or Chino Hills decades ago for:
$150,000.
$200,000.
$300,000.
And today that same property may be worth substantially more.
Maybe the children have moved out.
Maybe the stairs are becoming difficult.
Maybe Mom or Dad wants to live closer to family.
Maybe maintaining the pool and large yard no longer makes sense.
Maybe retirement is approaching.
Maybe the homeowner simply wants a smaller house.
They may want to make a move—but they're afraid because they believe:
“The capital gains taxes will kill us.”
Before allowing that fear to determine such a major life decision:
Find out what the actual numbers are.
What did you originally pay?
What is your adjusted basis?
What qualifying improvements have you made?
What would the estimated selling expenses be?
What is the projected gain?
Do you qualify for the $250,000 or $500,000 exclusion?
What portion, if any, could actually be taxable?
Don't make a major life decision based on a tax assumption.
Have a qualified tax professional calculate it.
Frequently Asked Questions
How Much Capital Gain Can I Exclude When Selling My Primary Residence?
Qualifying individuals may be able to exclude up to $250,000 of gain, while many married couples filing jointly who satisfy the requirements may qualify to exclude up to $500,000 of gain.
Do I Have to Live in My House for Five Years?
Not necessarily.
The general rule looks at the five-year period ending on the sale date.
Generally, you need to have owned the home for at least two years and used it as your main home for at least two years during that five-year period.
Do the Two Years Have to Be Consecutive?
Generally, no.
The required period of residence can generally occur at different times during the applicable five-year period rather than being one uninterrupted two-year block.
Is My Gain Just the Sale Price Minus What I Paid?
Not necessarily.
Adjusted basis, qualifying capital improvements and certain selling expenses can affect the calculation.
That's why determining your adjusted basis can be so important.
Does Paying Off My Mortgage Reduce My Capital Gain?
Your mortgage balance generally does not determine your gain for tax purposes.
Equity and taxable gain are different calculations.
Can Home Improvements Reduce My Taxable Gain?
Certain qualifying capital improvements may increase your home's adjusted basis, which can affect the amount of gain.
Keep records and ask your CPA which expenses qualify.
Do I Have to Buy Another Home After I Sell?
The current federal primary-residence exclusion generally does not require you to purchase another home simply to qualify for the exclusion.
Your eligibility depends on the applicable tax requirements and your individual circumstances.
What If I Make More Than $250,000 or $500,000 in Gain?
The exclusion does not necessarily mean the entire gain becomes tax-free regardless of its size.
If your qualifying gain exceeds the exclusion available to you, some portion may potentially be taxable.
Your CPA can calculate the actual tax consequences.
Alberto & Leticia's Perspective
When a longtime homeowner tells us:
“We can't sell because we'll get killed on capital gains,”
our response shouldn't be:
“Don't worry about it.”
We're Realtors.
We're not CPAs.
Instead, we want to help the homeowner gather the real estate information their tax professional needs.
What might the property sell for?
What are the estimated selling expenses?
What improvements has the homeowner made?
What did they originally pay?
Then we want them sitting down with their CPA and asking:
“If we sell for approximately this amount, what would our actual tax exposure look like?”
Because the answer may be very different from what the homeowner assumed.
And if you're an empty nester, downsizing, retiring, relocating or helping aging parents make a housing decision, that information can be incredibly important.
The tax question should be part of the plan.
It shouldn't be based on a guess.
Final Thoughts
The $250,000/$500,000 primary-residence capital gains exclusion can be extremely valuable.
But don't reduce the calculation to:
“I paid $400,000, sold for $900,000, therefore I made $500,000.”
The calculation can involve:
Sale price.
Selling expenses.
Adjusted basis.
Qualifying capital improvements.
Ownership and use requirements.
Filing status.
Prior use of the exclusion.
Rental or business use.
And other individual circumstances.
That's why your first question shouldn't necessarily be:
“How much capital gains tax will I owe?”
A better question is:
“What is my actual gain, and how much of that gain may qualify for the exclusion?”
If you're considering selling a longtime home in Chino, Chino Hills, the Inland Empire or Orange County, Leticia & Alberto Sotomayor can help you understand the real estate side of the equation—including estimated market value, potential selling expenses and the selling process.
Then your CPA or tax professional can help you determine the tax side.
Don't let an assumption about capital gains keep you in a home that no longer fits your life.
Get the numbers first. Then make the decision.




