Often not, if it was your main home. The IRS lets you exclude up to $250,000 of gain, or $500,000 on a joint return, if you owned and lived in the home for at least two of the five years before the sale. Gain above that, or on a second home or rental, is generally taxable.
By Leland Titus, Qualifying Broker, Santa Fe Realty Unlimited, NM License #19177 · Updated November 2026
I've been selling Santa Fe real estate for more than 20 years, and long-time owners ask me this early. Your tax depends on your gain, not your sale price, so the first step is knowing what your home could sell for. Start with a free home valuation or read my Santa Fe home selling guide. Then take the numbers below to your tax professional.
How is the gain on a home sale figured?
Your gain is the amount you realize minus your adjusted basis. IRS Publication 523 lays it out:
- Amount realized: the selling price minus your selling expenses. The IRS lists sales commissions, advertising, legal fees and certain loan charges you paid for the buyer.
- Adjusted basis: generally what you paid for the home, plus certain settlement costs from your purchase, plus improvements (an addition, a new roof, a remodeled kitchen), minus certain items like depreciation you took.
- Gain or loss: amount realized minus adjusted basis. A loss on your personal home isn't deductible.
Every documented improvement raises your basis and lowers your gain. My post on seller closing costs in Santa Fe covers what comes out of your price at closing.
Source: IRS Publication 523 (2025), Selling Your Home.
Do I qualify for the $250,000 or $500,000 exclusion?
You do if you pass both the ownership test and the use test. You must have owned the home for at least 24 months, and lived in it as your main home for at least 24 months, during the five years ending on the date of sale. The two periods don't have to be the same 24 months.
On a joint return, either spouse can meet the ownership test, but both must meet the use test to get the full $500,000. Generally you can't use the exclusion if you already excluded gain on another home sale in the two years before this one.
If you sell sooner because of a job change, a health reason or certain unforeseen events, Publication 523 explains when a partial exclusion may apply.
Sources: IRS Tax Topic 701, Sale of Your Home; IRS Publication 523.
What if I sell a second home, a rental or a home I inherited?
The exclusion is for your main home, so a second home or a rental you never lived in doesn't qualify for it. The gain is generally taxable. If you owned it more than a year, the federal long-term capital gains rates are 0%, 15% or 20% depending on your taxable income. Gain on property held a year or less is taxed as ordinary income. A 3.8% net investment income tax can also apply at higher incomes.
Three situations I see often:
- A home you rented out at some point: depreciation you took, or could have taken, after May 6, 1997 can't be excluded, and time after 2008 when it wasn't your main home (for example, rented before you moved in) can reduce the exclusion. Time after you last lived there, within the five years before the sale, generally doesn't count against you. Publication 523 has the worksheets.
- A casita or guesthouse rented separately from your living space: Publication 523 has you figure that part of the property separately.
- An inherited home: your basis is generally the home's fair market value on the date of death (or an alternate valuation date the estate chose), not what the original owner paid. That often makes the taxable gain much smaller than people expect.
Sources: IRS Tax Topic 409, Capital Gains and Losses; IRS Tax Topic 559, Net Investment Income Tax; IRS Publication 523.
Does New Mexico tax the gain when I sell?
New Mexico's personal income tax starts from your federal adjusted gross income, so gain you exclude federally is generally not in your New Mexico income either. Taxable gain is taxed by the state as income. For 2025 and later, the state's net capital gains deduction is the greater of up to $2,500 of net capital gain, or 40% of up to $1,000,000 of gain from selling a New Mexico business. Gain from a home sale generally falls under the $2,500 option, which applies only to long-term net capital gain.
New Mexico has no real estate transfer tax. Inside Santa Fe city limits, the city's 3% high-end excise tax on the portion of a residential price above $1,029,000 is paid by the buyer, not the seller.
Sources: NM Taxation and Revenue Dept., 2025 PIT-1 and PIT-ADJ instructions (line 16); NMSA 1978 § 7-2-34; City of Santa Fe, High-End Excise Tax.
Do I have to report the sale if all my gain is excluded?
Sometimes. If you receive Form 1099-S, Proceeds From Real Estate Transactions, the IRS says you must report the sale even if the gain is excludable. You also report it if you can't exclude all of your gain, using Schedule D and Form 8949. Ask your title company whether one will be issued.
Source: IRS Tax Topic 701.
What's different in Santa Fe?
- Big gains for long-time owners. The Santa Fe Association of REALTORS® reports a Q3 2026 median single-family sale price of $683,500 inside city limits, up from $615,000 in Q3 2025. In the county outside the city, the median was $839,900. Owners who bought decades ago can be close to, or past, the $250,000 single-filer limit.
- Second homes and casitas. Many Santa Fe properties are part-time homes or have a guesthouse. That's where the main-home rules matter most.
- Adobe and older homes. Roof, stucco and system work can be capital improvements, so find those receipts early.
Source: SFAR MLS Quarterly Property Statistics, Q3 2026 (current as of October 1, 2026).
Illustration: how the math can work
This is a hypothetical example, not a typical result. The sale price is the Q3 2026 city median. The purchase price, improvements and selling expenses are made up for illustration.
| Line | Amount |
|---|---|
| Sale price | $683,500 |
| Minus selling expenses (hypothetical) | $40,000 |
| Amount realized | $643,500 |
| Purchase price plus improvements (hypothetical) | $350,000 |
| Gain | $293,500 |
| Excluded, single filer who qualifies | $250,000 (leaves $43,500 potentially taxable) |
| Excluded, joint filers who both qualify | $293,500 (nothing left to tax) |
Seller's checklist before you list
- Find your purchase closing statement.
- Gather receipts for improvements (additions, roofs, systems, remodels).
- Confirm the dates you owned the home and lived in it.
- List any rental, home office or casita use, and any depreciation you claimed.
- Get a realistic sale price from recent sold comparables.
- Review the numbers with a CPA or tax attorney before you sign a listing agreement.
Frequently asked questions
How much capital gain can I exclude when I sell my home? Up to $250,000, or up to $500,000 on a joint return, if you meet the IRS ownership and use tests for your main home.
Do I have to live in the home for two years to avoid capital gains tax? For the full exclusion, you generally need to have owned and lived in it as your main home for at least two of the five years before the sale. A partial exclusion may apply if you sell sooner for a job change, health reason or certain unforeseen events.
Does New Mexico have a capital gains tax on home sales? New Mexico taxes capital gains as part of your income rather than through a separate tax. Its income tax starts from federal adjusted gross income, so gain excluded federally is generally not taxed by the state.
Do improvements reduce my capital gains? Yes. Improvements are added to your basis, which lowers your gain. Repairs and maintenance generally aren't, so keep receipts and ask your tax professional which items count.
Is there capital gains tax on an inherited house? Your basis in an inherited home is generally its fair market value on the date of death (or an alternate valuation date the estate chose). If you sell for about that value, the taxable gain may be small.
Talk it through with Leland
Your likely sale price is the first number your tax professional will ask for. I'll pull recent sold comparables and walk you through what you could net.
Call or text me at (505) 388-0310, or call Santa Fe Realty Unlimited at (505) 467-8829, or get a free home valuation.
This article is general information, not tax or legal advice. Tax rules change and depend on your situation, so confirm the details with a CPA or tax attorney.
Sources
- IRS, Tax Topic 701, Sale of Your Home: irs.gov/taxtopics/tc701 (accessed Nov 25, 2026)
- IRS, Publication 523 (2025), Selling Your Home: irs.gov/publications/p523 (accessed Nov 25, 2026)
- IRS, Tax Topic 409, Capital Gains and Losses: irs.gov/taxtopics/tc409 (accessed Nov 25, 2026)
- IRS, Tax Topic 559, Net Investment Income Tax: irs.gov/taxtopics/tc559 (accessed Nov 25, 2026)
- NM Taxation and Revenue Dept., Instructions for 2025 PIT-ADJ (line 16, net capital gains deduction): realfile.tax.newmexico.gov (accessed Nov 25, 2026)
- NMSA 1978 § 7-2-34, Deduction; net capital gain income (as amended by Laws 2024, ch. 67, effective Jan 1, 2025)
- City of Santa Fe, High-End Excise Tax: santafenm.gov/finance-2/high-end-excise-tax (accessed Nov 25, 2026)
- Santa Fe Association of REALTORS® MLS, Santa Fe Area Quarterly Property Statistics, Q3 2026 (current as of October 1, 2026)