Here is the money question every Texas seller should ask before listing: how much of my profit does the IRS get? For most homeowners the answer is none, zero, nothing, if you have lived in the home long enough. That exclusion is worth tens of thousands of dollars, Patriot Nation, and it is yours if you play by the rules.

Quick Answer

Most homeowners can exclude up to $250,000 of gain ($500,000 married) when selling after owning and living in the home two of the past five years.

Get help estimating your seller proceeds and capital gains.

How does the capital gains exclusion work when selling a home?

When you sell a primary residence, the IRS lets you exclude a large portion of the gain from income tax: up to $250,000 if single and up to $500,000 if married filing jointly. To qualify, you generally must have owned the home and used it as your main home for at least two years out of the five years before the sale. [1] Internal Revenue Service.

The gain is the sale proceeds minus your adjusted basis, which includes what you paid, closing costs, and improvements you made. [1] If your gain stays under the exclusion, most sellers owe no federal tax on the sale, though you still report the sale on your return. Texas has no state income tax, so there is no separate Texas capital gains tax, but property tax exemptions work differently from the IRS exclusion. [2] Texas Comptroller. There are partial and reduced exclusions for sales caused by job changes, health issues, or other specified circumstances, and different rules apply to rental or business use. [1] Keep records of improvements and speak to a tax professional for your exact situation.

The plain-English version: the IRS hands most homeowners a tax-free allowance on the sale of their main home, and in Texas that allowance is even better because the state does not add its own income tax on top. The whole game is qualifying for it, and the whole game is worth it.

The 2-of-5-year rule, in plain English

The term: the 2-of-5-year rule. What it means: you must have owned the home and used it as your main home for at least two years out of the five years before the sale. The two years do not have to be consecutive, and they do not have to be the final two years.

The money: hit the two-year mark and you unlock the full exclusion, up to $250,000 of gain tax free as a single filer and $500,000 married filing jointly. Miss it and the gain is taxable, which can turn a great sale into a painful tax bill.

The real-world consequence: I have seen sellers list a few months before their two-year anniversary and give up tens of thousands of dollars. If you are close to the mark, it is often worth waiting out the calendar before you put the sign in the yard.

What counts as gain, and how to shrink it

The term: adjusted basis. What it means: the number you subtract from the sale price to find your gain. It starts with what you paid, then adds your closing costs and the cost of improvements you made while you owned the home.

The money: every dollar of qualifying improvements raises your basis and lowers your gain, dollar for dollar. A new roof, a kitchen update, a finished space, they all count when they are improvements rather than routine repairs.

The real-world consequence: the seller who kept receipts and paperwork can document a higher basis and a smaller gain. The seller who threw everything away pays tax on money they never really made. Keep the paper, Patriot Nation.

The Mortgage Patriot YouTube channel showing Patrick's library of real estate and mortgage videos
Patrick breaks down the money side of buying and selling in plain English on The Mortgage Patriot channel.

The Texas angle: no state capital gains tax

Texas has no state income tax, which means there is no separate Texas capital gains tax on the sale of your home. The federal exclusion is the only tax hurdle most sellers face, and it is a generous one.

Do not confuse the IRS exclusion with Texas property tax exemptions. They are two different systems: the property tax exemption lowers the taxable value of your home each year, while the capital gains exclusion protects your profit at sale. You can use both, and you should. [2] Texas Comptroller.

When the exclusion is partial or reduced

Life does not always wait for the two-year mark. The rules allow a partial exclusion when you sell early because of a job change, a health issue, or other specified circumstances, and the amount you can exclude is prorated based on how long you lived there.

Different rules apply if the home was rented or used for business, and the exclusion is generally not available for a home you never lived in as your main residence. If any of that sounds like your situation, run the facts past a tax professional before you price the sale around a tax break that may not apply.

Records that protect your money

The sale is won or lost on paper. Keep the closing statement from the day you bought, receipts for every improvement, and records of any selling costs, and you can document your basis and your gain with confidence.

Make it a great one: most Texas sellers owe no federal tax on their home sale because of the exclusion, but the proof lives in your records. Keep them organized, and let a tax professional confirm your exact numbers before closing.

Ask Patrick about capital gains exclusion

Get a clear answer on the home sale capital gains exclusion and how much tax you can avoid.

By submitting, you agree Patrick may contact you by phone, email, or text about your question. Consent is not a condition of purchasing any product or service.

Patrick's Take

"The 2-year ownership and use test is straightforward but timing matters. I always advise clients: if you are thinking about selling, make sure you have lived there for at least 2 years. That $250K to $500K tax-free benefit is worth waiting for."
PF
Patrick Kevin Fagan

Want to Understand Your Tax Situation?

Patrick can explain how the capital gains exclusion applies to your specific sale.

Answered by Patrick Kevin Fagan

Texas Real Estate Sales Agent #454749, AXEN Realty LLC · Senior Loan Officer, NMLS ID #877741, NEXA Mortgage, LLC

Call or text: 210-317-6514

Sources

  1. https://www.irs.gov/publications/p523
  2. https://comptroller.texas.gov/taxes/property-tax/exemptions/

Researched: October 2, 2026

Patrick Kevin Fagan is a Texas licensed real estate sales agent (TREC #454749) with AXEN Realty LLC and a mortgage loan officer (NMLS #877741) with NEXA Lending (NMLS #1660690). Equal Housing Opportunity.