Texas Capital Gains Tax on Home Sale 2026: Section 121 Exclusion and Investor Workarounds

Dated: January 1 2005

Views: 17

Couple reviewing real estate closing documents at a table with a financial advisor
Photo: Pexels

Texas Capital Gains Tax on Home Sale 2026: Section 121 Exclusion and Investor Workarounds

How Does Texas's Zero State Income Tax Change the Capital Gains Math When You Sell?

For most Houston homeowners selling a primary residence in 2026, the answer is: profoundly. Texas levies no state income tax and no state capital gains tax. That means a married couple selling a home for a $450,000 gain pays federal tax only on whatever portion exceeds the Section 121 exclusion and, in many cases, pays zero. But the calculation is not always simple. Depreciation recapture for converted rentals, the two-year use test, and missed basis records can turn a zero-tax sale into a five-figure federal tax bill.

TL;DR: Section 121 of the Internal Revenue Code excludes up to $250,000 of capital gain for single filers and $500,000 for married couples filing jointly from a primary residence sale. Both the ownership test and the use test (two years in the last five) must be met. Texas charges no state capital gains tax, so federal is your only exposure. For a married couple in Houston selling a home with a $450,000 gain below the $500,000 cap, the federal tax is zero. A couple with a $700,000 gain owes federal tax on $200,000 at rates as low as 15%. Former rentals add depreciation recapture taxed at up to 25%. Investors have four main workarounds: 1031 exchange, Opportunity Zones, installment sale, and primary-residence conversion.


Section 121: The Mechanics of the $250,000 and $500,000 Exclusion

Section 121 of the Internal Revenue Code as it stands in 2026 allows taxpayers to exclude from gross income the gain realized on the sale of a principal residence, subject to two tests and a dollar cap.

The ownership test: The seller must have owned the property for at least 24 months (two years) within the five-year period ending on the date of the sale.

The use test: The seller must have used the property as their principal residence for at least 24 months within the same five-year window. The ownership and use periods do not need to overlap with each other or be continuous. A seller who owned a Houston home for 24 months, moved to Dallas for 18 months while keeping the Houston home, then returned for six months and sold it can still potentially meet the two-year use test by combining the two occupancy periods.

The dollar cap: $250,000 for single filers, $500,000 for married couples filing a joint return. For the $500,000 cap to apply: (1) either spouse must meet the ownership test; (2) both spouses must meet the use test individually; and (3) neither spouse used the exclusion within the prior two years.

The two-year reuse limit: A seller cannot claim the Section 121 exclusion more than once every two years. Selling two primary residences and excluding gains on both within a 24-month window violates this rule, and the second exclusion is disallowed.

Reporting: If the entire gain is excluded, the sale does not need to be reported on the federal return. If any portion is taxable (either the gain exceeds the cap or the seller fails to meet the tests), IRS Topic 701 and Schedule D apply.


Building Your Cost Basis: Every Dollar Counts

The gain subject to the Section 121 cap is calculated as: sale price minus adjusted cost basis minus selling costs. Many Houston sellers significantly undercount their basis and overpay federal tax as a result.

Starting basis: For a purchase, this is the price paid for the property plus any amounts the buyer paid to assume the seller's debt and plus certain closing costs paid at acquisition (origination fees, transfer taxes, title insurance, recording fees). Items like prepaid interest and property tax proration collected by the settlement agent are not added to basis.

Capital improvements: Under IRS Publication 523, a capital improvement adds to basis if it materially adds to the value of the property, significantly prolongs its useful life, or adapts it to a new use. Common improvements that increase basis:

Eligible Capital ImprovementNotes
Room addition (bedroom, garage, sunroom)Full cost including permits and labor
New roof installationNot roof repair; full replacement
HVAC system replacementNot repair of existing unit
Kitchen or bathroom remodelCabinets, counters, fixtures
Foundation repair (structural)Cosmetic caulking is a repair
Swimming pool or spa installationFull installation cost
Deck, patio, or fence additionNew construction, not repair
Landscaping that adds to valuePermanent trees, grading, irrigation systems
New windows or exterior doorsReplacement of entire units
Electrical or plumbing upgradePanel upgrade, re-piping
Solar panel installationFull cost

Repairs vs. improvements (the Pub 523 line): IRS Publication 523 draws a clear distinction. A repair keeps the property in ordinary operating condition; it does not add to basis. Painting a room, fixing a leaky faucet, replacing a broken window pane, patching drywall, and treating termites are all repairs. The most common gray area is HVAC: replacing the entire system is an improvement; replacing a capacitor or a blower motor is a repair.

Selling costs: Real estate agent commissions, seller-paid title insurance, deed preparation fees, advertising costs, and legal fees attributable to the sale all reduce the amount realized (effectively increasing basis for purposes of the gain calculation). On a $700,000 sale in Houston at a 3% commission, the commission alone reduces realized gain by $21,000.

Documentation: Keep receipts, contractor invoices, permit records, and before/after photos for every capital improvement, organized by year. A seller who cannot document improvements cannot add them to basis in an audit. A simple spreadsheet tracking improvement date, vendor, description, and amount takes 10 minutes per project and can save tens of thousands of dollars in capital gains tax at sale.


The 2026 Federal Capital Gains Tax Rates: What You Owe on Taxable Gain

Texas has no state income tax and no state capital gains tax, so the only tax exposure on a home sale is federal. For 2026, per Bankrate and Experian, the long-term capital gains rates for married couples filing jointly are:

Taxable Income (MFJ)Long-Term Capital Gains Rate
$0 to $98,9000%
$98,901 to $613,70015%
Over $613,70020%

Married taxpayers with modified adjusted gross income (MAGI) above $250,000 are also subject to the 3.8% Net Investment Income Tax (NIIT) on the lesser of net investment income or MAGI above the threshold. For most primary-residence sellers who fully qualify for the Section 121 exclusion, the NIIT does not apply to the excluded portion.

The taxable income threshold for 0% capital gains for single filers is $49,450 in 2026. For married filing jointly it is $98,900. A retired couple in Houston with modest Social Security income and pension income below $98,900 who sells a home with a $150,000 gain above the Section 121 cap would owe zero federal capital gains tax because the capital gain falls within the 0% bracket.


Partial Exclusion: When the Two-Year Test Is Not Fully Met

Section 121 includes a partial exclusion provision for sellers who sell before meeting the full two-year test, provided the sale is due to a qualifying reason. Under IRS rules, qualifying reasons are:

  1. Change of employment: The new job must be at least 50 miles farther from the home than the prior job or prior home. A relocation from downtown Houston to Dallas that is 240 miles away qualifies easily. A lateral transfer within Houston to a location 10 miles away generally does not.

  2. Health reason: A physician-documented health condition that requires the move, either for treatment or because the current home is unsuitable given the condition.

  3. Unforeseen circumstances: IRS Revenue Procedure 2005-14 defines unforeseen circumstances as events the taxpayer could not reasonably anticipate before buying the home. These include natural disaster, death, divorce or legal separation, multiple births from one pregnancy, involuntary conversion, and acts of war or terrorism. Job loss that requires relocating to find work has been accepted in some circumstances.

How the partial exclusion is calculated: The excluded amount equals the full exclusion ($250,000 or $500,000) multiplied by the fraction of 24 months that the use and ownership tests were met. A single filer who owned and lived in a Houston home for 12 months before selling due to a qualifying employment relocation can exclude up to $125,000 (50% of $250,000). A married couple under the same circumstances can exclude up to $250,000.

Surviving spouse: Under Section 121(b)(4), a surviving spouse who has not remarried retains the right to use the $500,000 exclusion for a sale that occurs within two years of the date of the spouse's death, provided both spouses met the use and ownership tests at the time of death. This is a significant benefit: a widowed spouse who sells the family home in Houston within two years at a $480,000 gain pays no federal capital gains tax, while waiting beyond two years reduces the exclusion to the single-filer $250,000 cap.


Depreciation Recapture: The Former Rental Property Trap

When a homeowner converts a property from rental use to primary residence (or vice versa) before selling, depreciation recapture becomes a factor. This is the most costly and most frequently misunderstood area of real estate tax law for Houston investors.

The mechanics: Any depreciation claimed or allowable (including depreciation that should have been claimed but was not) after May 6, 1997 cannot be excluded under Section 121. It must be recognized as income at sale. The IRS categorizes this as unrecaptured Section 1250 gain, taxed at a maximum federal rate of 25%, as explained by EisnerAmper's depreciation recapture guide.

Worked example (former rental converted to primary): An investor purchased a single-family home in the Oak Forest neighborhood of Houston in 2014 for $220,000 and rented it for seven years. Straight-line depreciation on the residential portion (27.5 years) is $220,000 divided by 27.5 equals $8,000 per year. Over seven years: $56,000 of depreciation claimed.

In 2021 the owner moves in and lives there for two full years (meeting the use test). In 2026 she sells for $470,000.

CalculationAmount
Sale price$470,000
Adjusted cost basis ($220,000 minus $56,000 depreciation)$164,000
Selling costs (commissions + fees)$16,450
Amount realized$453,550
Gain$289,550
Section 121 exclusion (single filer, 2-of-5 test met)($250,000)
Taxable gain$39,550
Of that taxable gain: unrecaptured Section 1250 (depreciation)$39,550 (capped at $56,000 total depreciation; all is taxable here)
Federal tax on $39,550 at 25% max unrecaptured 1250 rate$9,888

The key point: Section 121 shelters $250,000 of the gain, but the depreciation recapture portion of the taxable gain is taxed first, before the regular capital gain rate applies. Texas imposes no additional state tax on this recapture amount.

If she had not moved in (and did not meet the use test), the entire $289,550 gain would be taxable, with the first $56,000 taxed at up to 25% recapture rates and the remaining $233,550 taxed at long-term capital gains rates.

The "allowable or allowed" rule: Depreciation is recaptured whether or not you actually claimed it. If a landlord failed to claim depreciation for three years out of ignorance, the IRS treats those three years' worth as claimed when computing the gain. Landlords who missed depreciation should file Form 3115 (Change in Accounting Method) to catch up before sale, so the tax basis is correctly reflected.

Architectural plans and financial documents spread on a table for real estate review


Investor Strategies: Four Ways to Defer or Reduce Capital Gains

When the gain exceeds the Section 121 cap, or when the property is a pure investment not eligible for the exclusion at all, four main strategies exist for deferring or reducing federal capital gains exposure.

Strategy 1: Section 1031 Like-Kind Exchange

A 1031 exchange allows a real estate investor to defer all capital gains tax by reinvesting the sale proceeds into a like-kind replacement property. The One Big Beautiful Bill Act (OBBBA), signed in July 2025, did not change the 1031 exchange rules. They remain intact for real property as under the Tax Cuts and Jobs Act.

Key 2026 mechanics: - 45 calendar days from the relinquished property closing to identify replacement properties in writing to a Qualified Intermediary (QI). - 180 calendar days from the relinquished property closing to close on the replacement property. - Neither deadline can be extended except in presidentially declared disasters. - Replacement property value and equity must equal or exceed the relinquished property values for full deferral. Receiving cash or acquiring lesser-value property creates "boot," which is taxable in the year of the exchange. - Primary residences and second homes used exclusively personally do not qualify. Investment properties and rentals do.

An investor selling a $1.2 million rental fourplex in Montrose and exchanging into a $1.4 million strip center in Katy defers the entire gain. The basis carries over to the new property, which is why 1031 is often called an interest-free loan from the IRS that compounds across generations.

Texas has no state capital gains tax, so 1031 is purely a federal deferral strategy here. Unlike California (which tracks deferred gain if property is moved out of state), Texas imposes no "clawback" on 1031 proceeds.

Strategy 2: Opportunity Zones

Opportunity Zones allow investors to reinvest capital gains from any asset sale (not just real estate) into a Qualified Opportunity Fund (QOF) within 180 days of the gain recognition. Under OZ 1.0 rules (for gains recognized before December 31, 2026), deferred gains are taxable on December 31, 2026 regardless of whether the QOF is sold.

The OBBBA created OZ 2.0, effective January 1, 2027, with new zone designations and a rolling five-year deferral period. Under OZ 2.0, investors receive a 10% basis step-up on the original invested gain after five years and a 30% step-up for investments in Qualified Rural Opportunity Zones. Any appreciation in the QOF investment itself is permanently excluded from income if held 10 or more years. New Texas OZ designations will be effective January 1, 2027.

Houston has active Opportunity Zones in the Third Ward, Fifth Ward, Near Northside, and portions of the Eastside Industrial Corridor. Investors with capital gains from a 2027 or later sale who reinvest within 180 days can defer federal tax and eliminate tax on appreciation after a 10-year hold.

Strategy 3: Installment Sale

An installment sale defers a portion of the gain to future years by spreading the sale proceeds over multiple tax years. The seller receives a down payment at closing and holds a seller-financed note for the balance. Each annual payment is allocated proportionally among basis recovery (tax-free), gain (taxable in the rate applicable in the year received), and interest income (taxable as ordinary income).

An important limitation: unrecaptured Section 1250 depreciation recapture is not eligible for installment deferral. It is owed in full in the year of sale even if no cash is received. This limits the installment sale's utility for former rentals with significant depreciation.

For a Houston investor selling a clean investment property (no depreciation recapture) at a $400,000 gain, spreading payments over 5 years at $80,000 per year can shift some gain into lower-rate brackets, particularly if the seller's total income varies year to year or if they are approaching retirement.

Strategy 4: Primary-Residence Conversion

Converting a rental property to a primary residence and living there for two full years qualifies the seller for the Section 121 exclusion on the post-conversion gain (less any depreciation recapture). This is the strategy demonstrated in the worked example above. It requires genuine occupancy: the taxpayer must actually use the property as their main home, not simply change their address on paper.

A 1031 exchange into a property later converted to a primary residence is also possible, but the post-1031 conversion requires holding the property for at least five years after the exchange before the Section 121 exclusion can apply, under the dual-use rules in Section 121(d)(10). Investors planning this hybrid path should confirm the five-year timeline with a CPA before proceeding.


Worked Example 1: $700,000 Houston Sale, Married Couple, Zero Federal Tax

Facts: A married couple (filing jointly) purchased a home in the Meyerland neighborhood of Houston in 2016 for $290,000. They paid $12,500 in closing costs added to basis. Over 10 years they invested in capital improvements documented with contractor invoices: $45,000 (kitchen remodel in 2018), $22,000 (new roof in 2020), $18,000 (master bath addition in 2022), and $11,000 (HVAC replacement in 2024). In 2026 they sell for $700,000 with a 3% seller-side commission ($21,000).

CalculationAmount
Original purchase price$290,000
Closing costs added to basis$12,500
Capital improvements$96,000
Adjusted cost basis$398,500
Sale price$700,000
Less selling costs (commission + fees)($23,500)
Amount realized$676,500
Gain$278,000
Section 121 exclusion (married, both met 2-of-5 use test)($278,000)
Taxable gain$0
Federal capital gains tax$0
Texas state capital gains tax$0
Total tax on $410,000 gross profit$0

The Meyerland home appreciation is fully sheltered by the $500,000 married exclusion. The couple nets the full $276,500 gain above their documented basis after commissions. Documentation of the $96,000 in capital improvements is what made the difference: without those records, the taxable gain would have been $374,000, and the couple would have owed nothing (still below $500K), but poor record-keeping on a higher-value sale could expose taxable gain.


Worked Example 2: $900,000 Houston Sale, Married Couple, Partial Taxable Gain

Facts: Same couple structure, but the home is in River Oaks. Purchased in 2010 for $350,000. Capital improvements of $80,000 (documented). Selling in 2026 for $900,000. Commission and fees: $28,000.

CalculationAmount
Adjusted cost basis ($350,000 + $80,000)$430,000
Selling costs$28,000
Amount realized ($900,000 - $28,000)$872,000
Gain$442,000
Section 121 exclusion (married)($500,000)
Wait, exclusion exceeds gain: taxable gain$0

At $442,000 of gain, the $500,000 exclusion still covers the entire gain. The couple pays zero federal capital gains tax. Now assume the same home sells for $1,050,000:

CalculationAmount
Amount realized ($1,050,000 - $30,000 selling costs)$1,020,000
Gain$590,000
Section 121 exclusion($500,000)
Taxable gain$90,000
Federal tax at 15% (assuming combined income in 15% bracket)$13,500
Texas state tax$0

At $90,000 of taxable gain and total income well below $613,700, the federal rate is 15%, producing a $13,500 federal tax bill on a $620,000 gross profit. If their combined income excluding the gain is below $98,900, the rate drops to 0% and the tax is zero.


Common Errors That Cost Texas Sellers Money

Error 1: Insufficient basis records. The single most expensive mistake. A seller who spent $120,000 in improvements over 15 years but has no receipts cannot add those amounts to basis. The IRS burden of proof is on the taxpayer. Bank statements alone are insufficient; contractor invoices, permit records, and project descriptions are needed.

Error 2: Missing the two-year use test after divorce. Divorce often triggers a property transfer before either party has lived in the home for two years. A buyout of a spouse's share, followed by a sale two months later, may not satisfy the use test for the remaining spouse. The surviving spouse provision only applies to death, not divorce. Post-divorce sellers should document continued occupancy carefully and time the sale to reach the 24-month mark.

Error 3: Counting non-qualifying periods toward the use test. Time spent away from the home temporarily does not automatically count toward the two-year use requirement. A taxpayer who owns a home but lives primarily elsewhere for work may fail the use test even if they intend to return. The IRS looks at factors including where the taxpayer works, sleeps, and maintains voter and driver registration.

Error 4: Forgetting depreciation on a home office. Homeowners who claimed a home office deduction for a room used regularly and exclusively for business may have taken depreciation on that portion of the home. That depreciation is not excludable under Section 121 and is recaptured at sale, even if the home was the primary residence the entire time.

Error 5: 1031 exchange into a property converted to primary residence without the five-year wait. An investor who uses a 1031 exchange to acquire a property and then converts it to primary residence and sells within five years is not entitled to the full Section 121 exclusion. The exclusion is limited to the period of qualified use after the conversion, less any nonqualified use period attributable to the exchange. This is a nuanced rule that frequently catches real estate investors.


Frequently Asked Questions

Can a surviving spouse in Texas use the $500,000 exclusion if they sell more than two years after the spouse's death?

No. The two-year window under Section 121(b)(4) is a hard deadline. A surviving spouse who does not sell the primary residence within two years of the date of death loses access to the $500,000 married exclusion and falls back to the $250,000 single-filer cap. For a home with a $400,000 gain, this means $150,000 of additional taxable gain that could have been excluded. Estate attorneys and real estate agents should flag this deadline for widowed homeowners who are considering selling. Texas's no-state-income-tax status reduces but does not eliminate the federal exposure on the gap.

Does Texas community property law affect how the Section 121 exclusion is calculated?

Yes, in a favorable way for heirs. Under Texas community property rules, when one spouse dies, both halves of community property receive a stepped-up basis to the fair market value on the date of death (under IRC Section 1014(b)(6)), not just the deceased spouse's half as in common-law states. This means a surviving Texas spouse often starts with a much higher adjusted cost basis than a surviving spouse in a common-law state, reducing the gain at sale. The combination of community property step-up and the two-year $500,000 exclusion window makes Texas one of the most favorable states for primary residence sales after a spouse's death.

What happens to capital gains tax if I convert my Houston investment property to a primary residence and sell after two years?

You may claim the Section 121 exclusion on the gain attributable to the period of primary-residence use, but depreciation claimed during the rental period is recaptured regardless. The exclusion does not apply to gain attributable to "periods of nonqualified use" (rental periods after January 1, 2009 that precede the conversion to primary residence). In practice, this means you allocate the total gain between the rental period and the primary-residence period based on months. The rental-period portion is not excluded. The primary-residence-period portion is excluded up to the applicable cap. And the full depreciation taken during the rental period is recaptured at up to 25% regardless of any allocation.

Is a 1031 exchange available for primary residences that I also used occasionally as a rental?

No. Section 1031 is available only for property held for investment or productive use in a trade or business. A primary residence does not qualify. Property that was a rental, converted to a primary residence, and then sold may qualify for Section 121 but not 1031. Conversely, a rental that has never been used as a primary residence qualifies for 1031 but not 121. The two sections cover different property types and are generally used for different seller profiles.

What IRS form do I use to report a taxable home sale in Texas?

Taxable gains from a home sale are reported on Schedule D (Capital Gains and Losses) and Form 8949 (Sales and Other Dispositions of Capital Assets), filed with your Form 1040. If you qualify for the full Section 121 exclusion and owe no tax, you do not need to report the sale at all, though some tax advisors recommend reporting it for documentation purposes. Depreciation recapture on a former rental converts a portion of the gain to unrecaptured Section 1250 gain, reported on the Unrecaptured Section 1250 Gain Worksheet within Schedule D. Texas does not require a separate state capital gains form.

Can I use a 1031 exchange to defer gain and then convert the replacement property to my primary residence to also use the Section 121 exclusion later?

Yes, but only after holding the replacement property for at least five years post-exchange, per the IRS rule added in 2008. If you 1031 into a property in 2024, you cannot sell using Section 121 until 2029 at the earliest (and you must also meet the two-year primary-residence use test separately). Some portion of the gain may still be excluded, and some portion may not, depending on the allocation between qualified and nonqualified use periods. The strategy is viable but requires careful timing and a CPA who specializes in both 1031 and Section 121 rules.


Sell Your Houston Home with the Right Capital Gains Strategy in Place

Capital gains tax planning for a home sale is not a topic for the week before closing. The best outcomes, such as zero federal tax on a $500,000 gain for a married couple or a clean 1031 exchange into a Spring-area rental portfolio, require 6 to 12 months of advance planning, properly documented improvement costs, and a realistic look at basis before you list.

Erick Harbert at The Harbert Real Estate Group at Realty Right works with Houston-area sellers from initial pricing strategy through closing, including coordinating with CPAs and qualified intermediaries for sellers with complex basis or 1031 situations. Whether you are selling a primary residence in Katy or a long-held rental in the Heights, understanding the tax picture before you sign a listing agreement changes the numbers materially.

Erick Harbert The Harbert Real Estate Group at Realty Right Phone: (281) 305-2520 Email: [email protected] Office: 6605 Cypresswood Dr Ste 300, Spring TX 77379 Web: harbertgroup.com

Additional guides on the Harbert Group blog for Houston sellers and investors:

Latest Blog Posts

How Seasonal Trends Affect Buying and Selling in The Woodlands TX

How Seasonal Trends Affect Buying and Selling in The Woodlands TXIf you are navigating How Seasonal Trends Affect Buying and Selling in The Woodlands TX, this guide provides clarity and direction.

Read More

What Interior Upgrades Matter Most to Buyers in The Woodlands TX

What Interior Upgrades Matter Most to Buyers in The Woodlands TXIf you are navigating What Interior Upgrades Matter Most to Buyers in The Woodlands TX, this guide provides clarity and direction.

Read More

How Lot Size Influences Property Value in Tomball TX

How Lot Size Influences Property Value in Tomball TXIf you are navigating How Lot Size Influences Property Value in Tomball TX, this guide provides clarity and direction. This market requires

Read More

What Role Do Lenders Play in Houston Real Estate Transactions?

What Role Do Lenders Play in Houston Real Estate Transactions?If you are navigating What Role Do Lenders Play in Houston Real Estate Transactions?, this guide provides clarity and direction. This

Read More