Utah homeowners reviewing a home-sale gain calculation explaining the $250,000 and $500,000 primary-residence capital gains tax exclusions.

Do You Pay Capital Gains Tax When Selling a Home in Utah?

July 27, 202610 min read

Many Utah homeowners assume capital gains tax is calculated by subtracting the original purchase price from the final selling price.

That is incomplete.

The tax calculation may also consider improvements, certain acquisition costs, selling expenses, prior depreciation, how long the property was owned, how it was used, and whether the seller qualifies for the federal primary-residence exclusion.

Here is the direct answer:

A qualifying homeowner may exclude up to $250,000 of gain from the sale of a primary residence. A qualifying married couple filing jointly may exclude up to $500,000.

The exclusion applies to gain, not the gross sale price and not the seller’s equity check at closing.

What Is Capital Gain on a Home Sale?

Capital gain is generally the amount left after subtracting the home’s adjusted basis and eligible selling expenses from the amount realized in the sale.

A simplified formula is:

Selling price
minus selling expenses
minus adjusted basis
equals gain

Suppose a homeowner:

  • Purchased a home for $400,000

  • Completed $75,000 of qualifying capital improvements

  • Sold it for $700,000

  • Paid $45,000 in eligible selling expenses

The simplified calculation would be:

  • Sale price: $700,000

  • Less selling expenses: $45,000

  • Less adjusted basis: $475,000

  • Estimated gain: $180,000

That $180,000 gain may be fully excluded when the seller qualifies for the $250,000 or $500,000 exclusion.

The IRS provides worksheets in Publication 523 to calculate adjusted basis, total gain, and the amount that may be excluded.

Who Qualifies for the $250,000 Exclusion?

A single taxpayer may generally exclude up to $250,000 of gain when the ownership, use, and look-back requirements are satisfied.

During the five-year period ending on the sale date, the seller generally must have:

  • Owned the home for at least two years

  • Used it as a primary residence for at least two years

  • Not claimed the home-sale exclusion on another property during the two years before the current sale

The ownership and residence periods do not necessarily need to be continuous or occur at exactly the same time.

Who Qualifies for the $500,000 Exclusion?

A married couple filing jointly may generally exclude up to $500,000 when:

  • Either spouse satisfies the ownership requirement

  • Both spouses satisfy the primary-residence use requirement

  • Neither spouse used the exclusion on another home during the applicable two-year period

Divorce, separation, a deceased spouse, military service, and certain other circumstances can change how the ownership and use tests are applied. Sellers facing a divorce-related sale should coordinate the tax review with the legal and real estate process described in Selling a Home During Divorce in Davis County.

Does the Home Need to Be Your Primary Residence for Two Consecutive Years?

Not necessarily.

The IRS generally requires a total of two years of qualifying use during the five-year period before the sale. The months do not always need to be consecutive.

This can matter when a homeowner:

  • Moved out and later returned

  • Rented the home temporarily

  • Was stationed elsewhere

  • Owned multiple residences

  • Moved into the property after initially using it as a rental

However, rental and business use can complicate the calculation. Certain periods of nonqualified use may create taxable gain, and depreciation claimed or allowable after May 6, 1997, generally cannot be excluded under the primary-residence exclusion.

What Increases the Home’s Adjusted Basis?

The original purchase price is only the starting point.

Adjusted basis may increase through qualifying capital improvements such as:

  • Additions

  • Finished basements

  • Major kitchen remodels

  • New roofing

  • HVAC replacement

  • Electrical or plumbing upgrades

  • New windows

  • Decks

  • Permanent landscaping

  • Certain energy improvements

  • Accessibility improvements

Routine maintenance and ordinary repairs generally do not increase basis by themselves.

For example, repainting a room or repairing a leaking faucet normally does not have the same basis treatment as replacing the roof or constructing an addition.

Keep:

  • Contractor invoices

  • Receipts

  • Permits

  • Canceled checks

  • Before-and-after photographs

  • Closing statements

  • Improvement records

Do not wait until the home is under contract to reconstruct 20 years of expenses.

Which Selling Expenses May Reduce the Gain?

Certain costs directly connected to selling the property may reduce the amount realized from the sale.

Examples may include:

  • Real estate compensation

  • Title and escrow charges paid by the seller

  • Recording and transfer expenses

  • Legal fees directly related to the sale

  • Advertising costs

  • Certain seller-paid closing expenses

The closing statement is important, but it may not contain every improvement or basis record needed for the final tax calculation.

A current seller net sheet also helps distinguish estimated proceeds from taxable gain. The two figures are not the same. Our guide to how much a Davis County home may sell for explains the difference between market value, debt payoff, transaction expenses, and estimated net proceeds.

Is the Mortgage Balance Part of the Capital-Gains Calculation?

Usually not directly.

The remaining mortgage determines how much cash the seller receives after closing, but it generally does not determine the gain.

Consider two homeowners who bought identical homes for the same price and sold them for the same amount.

One owner may owe $100,000.

The other may owe $400,000.

Their closing checks would be very different, but the gain calculation could be similar because mortgage principal is not generally part of the adjusted-basis formula.

This is one of the most common points of confusion:

Equity is not the same as taxable gain.

What If You Do Not Meet the Two-Year Requirement?

A seller who does not satisfy the full ownership or use tests may still qualify for a reduced exclusion when the primary reason for selling involves:

  • A qualifying job-location change

  • Health-related circumstances

  • Certain unforeseen events

The reduced exclusion is generally based on the portion of the two-year qualification period that was satisfied. The rules are detailed and should be reviewed with a tax professional before assuming the full gain will be taxable.

What If the Home Was Used as a Rental?

Rental use can complicate the exclusion.

A seller may still qualify to exclude part of the gain when the property later became the seller’s main home and the ownership and use requirements are met.

However:

  • Gain allocated to certain periods of nonqualified use may remain taxable.

  • Depreciation claimed or allowable during rental or business use generally cannot be excluded.

  • Depreciation-related gain may be subject to special federal tax treatment.

  • A taxable portion may also be subject to the Net Investment Income Tax depending on the seller’s circumstances.

Buyers purchasing properties with accessory units should also understand that rental use can affect taxes, insurance, financing, and recordkeeping. Review ADU Rules by City in Davis County.

What If You Inherited the Home?

An inherited home often receives a basis tied to the property’s fair market value at the prior owner’s death rather than the amount the deceased owner originally paid.

That can substantially change the gain calculation.

The estate should preserve:

  • Date-of-death valuation

  • Appraisal

  • Probate documents

  • Improvement records

  • Closing statements

  • Ownership and distribution documents

Families managing an inherited property should review Inherited a Home in Davis County? A Probate Sale Guide and obtain tax advice before setting aside money for assumed capital-gains liability.

Does Utah Charge Capital Gains Tax Separately?

Utah’s individual income-tax return begins with federal adjusted gross income. Therefore, gain excluded from federal income under the qualifying home-sale exclusion generally does not enter Utah taxable income through federal adjusted gross income.

Taxable gain that remains included federally may also flow into the Utah return, subject to Utah’s applicable additions, subtractions, credits, residency rules, and tax calculations. Utah’s current Form TC-40 specifically begins with federal adjusted gross income.

Do not confuse this income-tax issue with Utah’s 45% primary residence property-tax exemption. Property tax and capital-gains income tax are separate systems.

Do You Have to Report the Sale?

You may need to report the sale when:

  • Part of the gain is taxable

  • You choose not to claim the exclusion

  • You receive Form 1099-S

  • Depreciation or business use must be reported

The IRS states that a home sale should generally be reported on Form 8949 when the seller has nonexcluded gain, chooses not to claim the exclusion, or receives Form 1099-S.

A completely excludable sale without Form 1099-S may not require the same reporting, but sellers should confirm their filing obligations with a tax professional.

Common Capital-Gains Mistakes

Calculating tax from the selling price

The exclusion applies to gain—not gross proceeds.

Using the mortgage payoff as the basis

Debt balance and adjusted basis are different calculations.

Losing improvement records

Missing documentation can reduce the basis a seller can support.

Assuming every remodel qualifies

Maintenance, repairs, and capital improvements are not treated identically.

Ignoring rental depreciation

Depreciation may remain taxable even when other gain qualifies for exclusion.

Waiting until after closing

Tax planning is more useful before the sale than after the money has been distributed.

What Utah Sellers Should Do Before Listing

  1. Locate the original purchase closing statement.

  2. Gather improvement invoices and permits.

  3. Estimate the adjusted basis.

  4. Review the five-year ownership and occupancy history.

  5. Identify any rental or business use.

  6. Determine whether either spouse recently used an exclusion.

  7. Estimate selling expenses and net proceeds.

  8. Consult a qualified tax professional.

  9. Keep the final closing statement and Form 1099-S.

  10. Set aside funds when taxable gain may remain.

Timing can also affect preparation, carrying costs, and the seller’s larger plan. Review the best month to list a Davis County home before choosing a launch date based only on taxes.

The Bottom Line

Many Utah homeowners can sell a primary residence without paying federal income tax on the entire gain.

The exclusion may protect:

  • Up to $250,000 for a qualifying individual

  • Up to $500,000 for qualifying married taxpayers filing jointly

But the calculation depends on more than the purchase and selling prices.

Ownership, occupancy, improvements, selling expenses, rental use, depreciation, prior exclusions, divorce, inheritance, and reporting documents can all change the result.

Calculate the gain—not the equity. Preserve the records. Get tax advice before closing.

Frequently Asked Questions About Utah Home-Sale Capital Gains

Is the first $250,000 of my sale price tax-free?

No. The exclusion applies to qualifying gain, not the gross sale price.

Do married couples automatically receive a $500,000 exclusion?

No. The ownership, use, filing, and prior-exclusion requirements must be satisfied.

Do I need to live in the home for two consecutive years?

Not always. The use requirement generally looks for a total of two years within the five-year period before the sale.

Does paying off my mortgage reduce the capital gain?

Mortgage payoff affects net proceeds but generally does not reduce the taxable gain.

Can remodeling expenses reduce the gain?

Qualifying capital improvements may increase adjusted basis. Routine maintenance and ordinary repairs are generally treated differently.

What if I rented the property?

You may still qualify for part of the exclusion, but nonqualified use and depreciation can create taxable gain.

Can I receive a partial exclusion after owning the home for less than two years?

Possibly, when the primary reason for the sale involves qualifying work, health, or unforeseen circumstances.

Is a loss on the sale of my primary home deductible?

Generally, no. The IRS does not allow a deduction for a loss on personal-use property such as a primary residence.

Official Tax Sources

Thinking About Selling Your Utah Home?

Todd Porter, known as Utah Todd, helps homeowners evaluate market value, preparation, estimated net proceeds, timing, exposure, and the complete selling strategy.

Book Your Consultation

Todd Porter
SURE Group, brokered by Real Estate Essentials
SUREUtah.com
801-755-1882

Real estate is not only an agent’s business, it’s everyone’s business.

This article provides general educational information and is not tax, legal, accounting, estate-planning, or financial advice. Tax treatment depends on individual facts and current law. Consult a qualified tax professional before selling.

Todd L Porter aka "Utah Todd"

Todd L Porter aka "Utah Todd"

Todd Porter (Utah Todd) Todd Porter, widely known as “Utah Todd,” is an award-winning real estate strategist, investor, and media personality based in Davis County, Utah. As the founder of Synergy United Real Estate Group (SURE Group), Todd specializes in helping homeowners maximize their equity and guiding buyers to make smart, wealth-building real estate decisions across the Wasatch Front. With an investor-first mindset and a full-service approach, Todd is known for delivering results that go beyond the average agent. From pre-listing strategy and property preparation to high-impact digital marketing and expert negotiation, he consistently helps clients sell for top dollar and navigate complex transactions with confidence. Todd is also a featured personality on ABC 4’s Real Estate Essentials, where he shares market insights, real-time trends, and straight-forward guidance on buying and selling in today’s market. His content reaches thousands of Utah residents through platforms like Bountiful Buzz, social media, and video education—where he is recognized for telling the truth about real estate, not just what people want to hear. A lifelong Utahn and proud Woods Cross High School graduate, Todd has deep roots in the communities he serves, including Bountiful, North Salt Lake, Farmington, Kaysville, Layton, and beyond. His passion for real estate is grounded in a bigger mission: defending the principles of Life, Liberty, and Property, and helping individuals and families build lasting wealth through ownership. Whether working with first-time buyers, move-up sellers, or homeowners navigating major life transitions such as divorce or relocation, Todd brings clarity, strategy, and leadership to every situation. If you’re looking for straight answers, proven strategy, and a professional who treats your equity like it matters, Todd Porter is the expert to know. 📞 801-755-1882 🌐 sureutah.com

LinkedIn logo icon
Instagram logo icon
Youtube logo icon
Back to Blog