Capital Gains Tax in Utah: How a Home Sale Is Taxed

by | Nov 17, 2026

You bought in Utah a while back, and the house is worth a lot more now. Good news, mostly. Then a coworker brings up capital gains tax in Utah, and the napkin math starts.

Here’s how it works. Two governments care about your gain: the IRS and Utah. However, the federal rule does most of the heavy lifting.

Short answer: Most Utah homeowners owe no capital gains tax on a main home sale. Federal law excludes up to $250,000 of gain ($500,000 for most joint filers) if you owned and lived there 2 of the last 5 years. Utah has no separate capital gains tax. It taxes any taxable gain at its flat income tax rate.

Do you pay capital gains tax in Utah when you sell your house?

Usually not, if it was your main home and your gain fits under the federal exclusion. You owe tax only on gain above the exclusion, or on a home that doesn’t qualify.

Gain is profit, not the sale price. So a Salt Lake County home that sells for $700,000 isn’t $700,000 of income. First you subtract what you paid, what you put in and what it cost to sell. Then the exclusion comes off the rest.

How does the federal home sale exclusion work?

You can exclude up to $250,000 of gain, or $500,000 on a joint return. To qualify, you pass two tests. Per IRS Topic 701, you must have owned the home and lived in it for 24 months of the 5 years before the sale.

The 24 months don’t have to be in a row. IRS Publication 523 says they can fall anywhere in the 5-year window, as long as they total 730 days. So a year away from your Ogden house doesn’t automatically knock you out.

Married and filing jointly? Only one spouse has to meet the ownership test. But both must meet the use test. Also, you generally can’t use the exclusion twice within 2 years.

What if you lived in the home less than 2 years?

You may still get a partial exclusion if you sold mainly because of a job, health or an unforeseeable event. Otherwise, the full gain is generally taxable.

Publication 523 sets the bar for a work move. Your new job must be at least 50 miles farther from the home than your old one. Unforeseeable events include a death, a divorce or a casualty loss from a disaster. The reduced amount is figured as a fraction: your qualifying months divided by 24, times $250,000 per person.

So a single seller who qualifies after 12 months could exclude up to half, or $125,000. Ask a CPA whether your reason counts.

How do you figure the gain on a Utah home sale?

Start with the sale price and subtract selling expenses. Then subtract your adjusted basis. Publication 523 puts it plainly: “Subtract the adjusted basis from the amount realized to get your gain or loss.”

Here’s an illustrative example with hypothetical round numbers:

Line (illustrative example) Amount What it means
Sale price $700,000 What the buyer pays
Minus selling expenses $40,000 Commissions, advertising, legal fees
Amount realized $660,000 Sale price minus selling expenses
Purchase price plus eligible closing costs $355,000 Your starting basis
Plus improvements $45,000 A new roof and a finished basement, say
Adjusted basis $400,000 Starting basis plus improvements
Gain $260,000 Amount realized minus adjusted basis

In this example, a married couple filing jointly could exclude the whole $260,000. A single seller would have $10,000 above the $250,000 limit. Your numbers will differ, so confirm them with a CPA or tax professional.

Do home improvements count toward your cost basis?

Yes, if they’re true improvements still part of the home when you sell. Repairs and upkeep don’t count. Publication 523 says improvements “add to the value of your home, prolong its useful life, or adapt it to new uses.”

Examples from the IRS list include:

  • A new roof, siding or insulation
  • A water heater, soft water system or septic system
  • A kitchen modernization, built-in appliances or new flooring
  • Some purchase closing costs, such as recording fees and owner’s title insurance

Fixing a broken windowpane is a repair. Replacing every window in the house counts as an improvement. Also, keep the receipts. “Pretty sure we finished the basement in 2017” isn’t documentation.

Does Utah have its own capital gains tax?

No. Utah has no separate capital gains tax. Instead, taxable gain counts as regular income. It’s taxed at Utah’s flat income tax rate, which is 4.45% for 2026.

Utah Code 59-10-104 sets that rate. The cut from 4.5% came from S.B. 60 (2026), which applies to taxable years beginning on or after January 1, 2026. The Governor’s office listed it among bills signed March 23, 2026.

Utah’s return starts with your federal adjusted gross income. The 2025 Utah State Tax Commission TC-40 then multiplies Utah taxable income by 4.5%. So gain you exclude federally generally never reaches the Utah return. A tax professional can explain how Utah’s credits apply.

What federal capital gains rate applies if part of your gain is taxable?

Owned it more than a year? Then taxable gain is long-term and usually taxed at 0%, 15% or 20%. Owned it a year or less? It’s short-term and taxed as ordinary income, per IRS Topic 409.

For 2026, IRS Revenue Procedure 2025-32 sets the 0% bracket. It covers taxable income up to $49,450 single or $98,900 joint. The 15% rate runs to $545,500 single and $613,700 joint. Above that, it’s 20%. Some sellers may also owe the net investment income tax, so ask a CPA.

How is capital gains tax in Utah handled on a rental or second home?

A rental or second home generally doesn’t get the main home exclusion. Utah still taxes the gain at its flat rate, and the federal rules get stricter.

Publication 523 says you can have “only one main home at a time.” So that cabin near Bear Lake usually isn’t it. Moving into a former rental? Then time after 2008 when it wasn’t your main home can shrink the exclusion.

Depreciation is the other catch. Publication 523 says Section 121 requires you to recognize depreciation claimed after May 6, 1997, so the exclusion can’t cover it. IRS Topic 409 says that “unrecaptured section 1250 gain” is taxed at a maximum 25% rate. A CPA should run these numbers.

What if you moved out of Utah before selling?

Utah can still tax gain on a Utah home after you move. Utah Code 59-10-117 counts income from owning real property in Utah as Utah-source income for nonresidents.

The Utah State Tax Commission says nonresidents with Utah-source income file a Utah return if they must file federally. Its TC-40B schedule then prorates the tax. Moved to Mesa and sold the Sandy house later? Your new state has its own rules, so ask a tax professional who knows both.

How are inherited homes taxed in Utah?

Heirs usually get a stepped-up basis, so only gain after the owner’s death counts. The IRS gifts and inheritances FAQ says basis is generally fair market value on the date of death.

That’s why a Holladay house bought decades ago may carry little taxable gain for the heirs who sell it. Probate, signatures and timing are their own puzzle. Homie’s guide to selling an inherited house in Utah walks through them.

Do you have to report a home sale on your taxes?

You must report it if you have taxable gain or if you received Form 1099-S. Per Publication 523, a 1099-S means you report the sale on Form 8949 “even if you have no taxable gain to report.”

Taxable gain then flows to Schedule D and on to your Utah return. Also, keep the settlement statement from your Utah closing. It’s the first thing your tax preparer will ask for.

How does your sale price change the capital gains math?

The sale price is the biggest number in the equation, so it’s step one in estimating your gain. Guess high, and the estimate is off before you start.

Pricing also affects the timeline. Homie’s November 2026 market analysis found 53% of sold listings needed a price reduction. Correctly priced listings averaged 34 days on market, compared with 101 days for listings that needed reductions. So start with a free home value report for a realistic number. Then check Homie’s guide to seller closing costs.

Quick answers

Can you deduct a loss on the sale of your home?

No. IRS Publication 523 says a loss on the sale of your main home isn’t deductible. The upside is that you don’t owe tax on the money you received, either. Rentals follow different rules, though. So have a CPA review any sale that involved rental or business use.

What if your spouse died before the sale?

Publication 523 has a surviving spouse rule. If you haven’t remarried, you can count time your late spouse owned and lived in the home. You may also be able to claim up to $500,000 if you sell within 2 years of the death and meet the other conditions. A tax professional can confirm you qualify.

How often can you use the home sale exclusion?

Generally once every 2 years. IRS Topic 701 says you’re not eligible if you excluded gain from another home sale within the 2 years before this one, though Publication 523 lists exceptions. Selling one Utah home and then another soon after? Ask a CPA how the timing affects both sales before you list the second.

Does a home bought through a 1031 exchange qualify?

Not right away. Publication 523 says you can’t claim the exclusion if you acquired the home in a like-kind exchange and sell it within 5 years of that exchange. This matters for investors who swapped into a Utah rental and later moved in. A qualified intermediary and a CPA can explain how your holding period works.

The bottom line

For most Utah sellers of a main home, the federal exclusion covers the whole gain. Utah then follows the federal number. Tax shows up when gain tops the limit, the 2-year tests fall short, or the home was a rental. So run your numbers with a CPA before you list.

Your gain starts with a realistic sale price. Get a free Homie home value report to see what your Utah home could sell for. When you’re ready, see how selling with a local Homie agent works. Whether you’re buying, selling, or doing both, Homie has your back.

— The Homie Team


*Examples are for illustrative purposes only. This article is general information, not legal, tax, lending or insurance advice.

*All brokerage fees, including listing and buyer agent compensation, are fully negotiable and determined solely by the seller and service provider. Flat-fee pricing and service availability may vary by location.

*Market data from Homie’s November 2026 market analysis. Tax rules and rates from the IRS, the Utah State Tax Commission and the Utah Legislature, checked November 16, 2026. All data obtained from sources deemed reliable but not verified. Information not guaranteed.