Texas has no state income tax — but that does not mean selling your home is tax-free. Federal capital gains rules still apply to home sales, and for homeowners who purchased years ago and have seen significant appreciation, the tax implications deserve careful attention before the for-sale sign goes up. This article explains the general framework and identifies the questions worth discussing with a CPA before you list.

Tax Disclaimer: This article explains general concepts only. Your specific tax situation depends on your individual circumstances, filing status, and applicable law. Always consult a licensed CPA or tax attorney before making decisions based on tax considerations.

What Is a Capital Gain on a Home Sale?

A capital gain is the difference between what you paid for the property — your cost basis — and what you sell it for, typically measured as your net sale price after allowable selling costs. In a market like North Texas, where home values have risen substantially over the past decade, many sellers are sitting on gains that are larger than they may realize.

Consider a simplified example: you purchased a home in 2017 for $250,000 and are now selling for $520,000. Your gross gain before any exclusion or adjustment is $270,000. Whether you owe federal income tax on all, some, or none of that gain depends on a set of factors your CPA will analyze — including your filing status, how long you have owned and lived in the property, whether any portion of the home was used for business, and whether you have made capital improvements that increase your cost basis.

Cost basis is not always the purchase price alone. It can be adjusted upward for qualifying capital improvements you made during your ownership — a kitchen renovation, a new roof, an addition — which reduces the gain on paper. Your CPA will help you identify which expenditures qualify and reconstruct your adjusted basis using receipts, permits, and contractor records.

The Primary Residence Exclusion: A General Overview

Federal tax law provides an exclusion for capital gains from the sale of a primary residence under Internal Revenue Code Section 121. At a general level, single filers may be able to exclude up to $250,000 of qualifying gain from gross income, and married taxpayers filing jointly may be able to exclude up to $500,000. These figures are general thresholds and are not automatic entitlements — meeting the exclusion requires satisfying specific ownership and use requirements as defined by the IRS.

It is worth understanding what the exclusion is and is not. It is not a tax credit that offsets other income. It is not a deferral mechanism. When it applies, qualifying gain is simply excluded from the calculation of taxable income for that year. When it does not apply — or applies only partially — the remaining gain is subject to federal capital gains tax at rates that depend on your income and holding period. Your CPA is the appropriate professional to determine how current law applies to your specific situation, since tax rules can and do change.

The Two-Out-of-Five-Year Test

To qualify for the primary residence exclusion under current general rules, homeowners must have owned and lived in the property as their primary residence for at least two of the five years immediately preceding the date of sale. This is commonly called the ownership and use test.

Several nuances matter in practice. The two years of ownership and two years of use do not need to run concurrently. The test looks back at any two years within the five-year window before closing — not simply the most recent two years. If you have traveled extensively, maintained another residence, rented out the property, or been on extended assignment elsewhere, the calculation of qualifying use periods becomes more complex. A homeowner who has partially converted a primary residence to a rental for several years before listing will likely need to work through the computation with a CPA rather than assuming the full exclusion applies.

The IRS also places a frequency limit on how often this exclusion can be claimed. In general, it may not be used more than once every two years. If you claimed the exclusion on a prior home sale within the recent past, your CPA will need to confirm your eligibility before you proceed.

Married Filing Jointly vs. Single Filers

Filing status at the time of sale is a material factor in how much gain may potentially be excluded. The general $500,000 threshold available to married taxpayers filing jointly is double the $250,000 threshold available to single filers — which means the exclusion can significantly change the tax picture depending on marital status.

This distinction becomes particularly important in a few scenarios. If one spouse has owned the property longer than the other, the ownership test analysis may differ from the use test analysis. In situations where a homeowner recently married, divorced, or lost a spouse, the rules can become more nuanced. Surviving spouses may have a limited window during which they can still access the married filing jointly threshold. Divorced homeowners may be subject to entirely different rules depending on how and when the marital home was transferred. These are not edge cases to brush past — they are precisely the situations where a CPA's guidance before listing can prevent a costly surprise.

Situations That Require Extra Tax Guidance

Not every home sale is a straightforward primary residence sale. Several scenarios introduce layers of complexity that make early CPA engagement especially important.

Rental conversion. If you lived in the home as your primary residence but then rented it out for a period before deciding to sell, the gain calculation becomes more involved. A portion of the gain attributable to rental periods may not qualify for the Section 121 exclusion. Additionally, if you claimed depreciation deductions during the rental period, depreciation recapture rules under Section 1250 may apply — meaning a portion of those prior deductions may be taxed at a different rate upon sale. This is a common situation in DFW, where homeowners who moved and initially chose to rent their prior home are now considering selling.

Second homes and investment properties. The primary residence exclusion applies only to property that qualifies as your primary home. Second homes, vacation properties, and investment properties you have never occupied as a primary residence are taxed under different rules entirely. Gains on those properties are generally subject to capital gains tax without access to the Section 121 exclusion, and depreciation recapture may apply in addition.

Inherited homes. When a home is inherited, the cost basis is generally stepped up (or stepped down) to the fair market value at the date of the original owner's death. This stepped-up basis rule changes the gain calculation significantly compared to a purchase you made yourself. The gain — if any — would be measured from the inherited value, not the original purchase price paid decades earlier. CPA guidance is essential when selling an inherited property, as additional considerations around estate administration and title may also apply.

Divorce. The treatment of a marital home in a divorce situation involves rules that intersect both family law and tax law. When a home is transferred to one spouse as part of a divorce settlement, the tax implications of a later sale depend on facts including who transferred the property, when, and under what legal instrument. Special rules exist that may allow a spouse who did not live in the home during the ownership period to count certain years toward the use test. Given the stakes involved, sellers in this situation should work with both a family law attorney and a CPA.

Home office deductions. If you claimed a home office deduction during your ownership period, a portion of the home may have been allocated to business use. That allocation can affect the exclusion calculation, and the IRS applies specific rules to home-office portions of a gain. Ask your CPA directly whether any prior home office deductions need to be factored into the analysis.

Partial exclusions. If you do not meet the full two-of-five-year test, you are not automatically disqualified from any exclusion. IRS rules allow for a partial exclusion in specific circumstances — job change, health reasons, or other unforeseen circumstances that forced the sale before the two-year threshold was met. The partial exclusion is calculated based on the fraction of the two years you did satisfy. Whether a qualifying reason exists and how large the partial exclusion would be are questions for your CPA.

When to engage a CPA early: If your home sale involves a prior rental period, a divorce, an inheritance, a home office, or if you have not lived in the home for the full two years, engage a CPA before you set your listing price or accept an offer. The tax implications can affect how you structure the sale and what terms you accept.

Why Sellers Should Calculate Net Proceeds Before Listing

One of the most important conversations a seller can have before signing a listing agreement is a net proceeds analysis. The list price is not the amount you walk away with — and for sellers with significant equity, the difference between gross sale price and after-tax net proceeds can be substantial.

A thorough net proceeds picture accounts for mortgage payoff, real estate commissions and fees, title and closing costs, any agreed-upon repairs or credits, and the potential tax liability on the gain. If a seller has not worked through the tax piece before listing, an accepted offer can create unexpected urgency to make financial decisions under time pressure.

Working backward from an estimated net proceeds figure also helps sellers think more clearly about their next move. If you are selling one home and purchasing another, understanding the after-tax proceeds shapes your down payment, your price range, and your timeline. If you are moving out of Texas, your destination state's income tax rules may also apply to investment property gains — another reason to have a CPA involved before you commit to a sale timeline.

Estimated proceeds vs. tax liability: A seller net sheet from your real estate agent shows estimated proceeds before taxes. It does not — and cannot — show your tax liability on the gain. Those are two separate calculations. Bring your net sheet to your CPA so they can complete the full picture.

Documents Homeowners Should Gather

Before meeting with a CPA to discuss the tax implications of a home sale, it helps to organize the relevant documents. Having these materials ready makes the CPA's analysis faster and more accurate:

  • Original purchase contract and the HUD-1 Settlement Statement or Closing Disclosure from when you purchased the home
  • Records of capital improvements made during your ownership, including receipts, permits, and contractor invoices — this is the documentation that supports an increased cost basis
  • Prior tax returns if you claimed a home office deduction at any point during your ownership
  • Documentation of any rental income periods, including lease agreements and any depreciation schedules claimed
  • Estate documents if the home was inherited, including the date-of-death valuation if available
  • Any prior Section 121 exclusion claims from previous home sales

If you cannot locate the original closing documents, your title company or county records may be able to help reconstruct the purchase price and date.

10 Questions to Ask a CPA Before Accepting an Offer

When you sit down with your CPA before listing or before accepting an offer, these are the questions worth covering:

  1. Do I meet the ownership and use tests for the Section 121 exclusion based on my specific situation?
  2. What is my adjusted cost basis, including qualifying capital improvements?
  3. Is any portion of the gain attributable to a period when the property was not my primary residence?
  4. Does depreciation recapture apply to any portion of the gain?
  5. What is your estimate of my potential tax liability at the expected net sale price?
  6. Should I consider the timing of the sale relative to my income level in the current tax year versus the next?
  7. If I am filing jointly, does my marital status at the time of closing affect the available exclusion amount?
  8. Are there any installment sale structures worth considering given my situation?
  9. Will I need to make estimated tax payments if I close this year?
  10. Are there any 1031 exchange considerations if I am also selling or purchasing an investment property around the same time?

No single answer applies universally across sellers. The value of working through these questions with a CPA before you are under contract is that you retain flexibility — in timing, in pricing strategy, and in how you structure the transaction.

Frequently Asked Questions

Does Texas have a state capital gains tax?

Texas does not impose a state income tax, which means Texas does not have a separate state-level capital gains tax. However, the absence of state tax does not eliminate the federal capital gains tax, which is imposed by the IRS and applies to Texas residents in the same manner it applies elsewhere. The federal tax consequence of a home sale is determined by your federal return, not your state of residence.

Can I use the primary residence exclusion if I have used it before?

The Section 121 exclusion can generally be used more than once, but not more frequently than once every two years. If you sold a prior primary residence and claimed the exclusion within the two years preceding your planned sale, you may not be eligible to claim it again on the upcoming sale. Your CPA can confirm whether the timing of any prior exclusion claim affects your current eligibility.

What counts as a capital improvement for cost basis purposes?

A capital improvement is generally a permanent addition or upgrade that adds value to the home, prolongs its useful life, or adapts it to a new use — as opposed to routine maintenance or repairs. Examples typically include adding a room or garage, replacing a roof, installing a new HVAC system, or making substantial renovations to a kitchen or bathroom. Painting, fixing a leaky faucet, and routine landscaping are generally maintenance expenses and do not adjust the basis. The IRS provides guidance in Publication 523 on the distinction, but your CPA can help you assess which of your specific expenditures qualify.

What if I have lived in the home less than two years?

Not meeting the two-year use test does not automatically disqualify you from all exclusion benefit. In certain circumstances — including a qualifying job change, a health-related move, or other unforeseen circumstances recognized by the IRS — a partial exclusion may be available. The partial exclusion is prorated based on how much of the two-year requirement you did satisfy. If you are considering selling before reaching the two-year mark, this is a specific conversation to have with your CPA before you list, not after you accept an offer.

Does selling a rental property work the same as selling a primary residence?

No. The Section 121 primary residence exclusion does not apply to properties that have been used exclusively as rentals and never qualified as your primary residence. Gains on investment or rental properties are generally taxed as capital gains — at short-term or long-term rates depending on your holding period — and depreciation recapture may apply on top of that. The tax considerations for investment property sales differ meaningfully from primary residence sales and warrant a separate, dedicated conversation with a CPA who understands real estate taxation.

Related Reading