2026-10-23 · 8 min read · Utah
Utah Capital Gains Tax on a Home Sale: What Sellers Need to Know
Start here
Most Utah homeowners selling their primary residence walk away without owing any federal capital gains tax at all. That one fact surprises a lot of people I work with, especially those selling during a divorce, an estate settlement, or a job relocation. The tax code includes a powerful exclusion that most homeowners qualify for, and understanding how it works changes both your financial picture and your timing decisions. Here is what you need to know before you close.
The federal exclusion most sellers qualify for
Under Section 121 of the Internal Revenue Code, most homeowners can exclude a significant portion of their gain from federal income tax when selling a primary residence. Single filers can exclude up to $250,000. Married couples filing jointly can exclude up to $500,000. This is a true exclusion, not a deferral. You do not pay it later. If your gain falls within those limits and you meet the eligibility rules, you simply do not owe federal capital gains tax on that amount.
In Utah markets like Davis County, Salt Lake County, and Utah County, many homeowners have seen their home values grow substantially over the years. But the exclusion limits are large enough that a meaningful share of sellers still walk away owing nothing at the federal level, even after years of appreciation.
How to qualify: the two tests
Two tests determine whether you qualify for the exclusion. The ownership test requires that you owned the home for at least two of the past five years before the sale. The use test requires that you lived in the home as your primary residence for at least two of the same five-year window. Both tests look back five years from the date of sale.
The two years do not have to be continuous. If you moved out temporarily, rented the home for a period, and then sold it, you can still qualify as long as your total time living there as a primary residence adds up to at least two years within that five-year lookback. You can generally use the exclusion only once every two years, and it applies only to a primary residence, not a vacation home, rental, or investment property.
When you do owe capital gains taxes
Understanding when you owe is just as important as knowing when you do not. A few situations change the picture significantly.
Your gain exceeds the exclusion. If you are a single filer and your taxable gain is $310,000, the first $250,000 is excluded and you owe federal capital gains tax on the remaining $60,000. Married couples work through the same math at $500,000. Long-term capital gains rates at the federal level apply to homes held more than one year.
You have not lived there long enough. If you owned and occupied the home for less than two years before selling, you do not meet the use test and the full exclusion does not apply. A partial exclusion may be available if the sale was triggered by a change in employment location, a health issue, or certain unforeseen circumstances, but this requires meeting specific IRS criteria. A CPA or tax attorney should review your situation before you close.
The home was a rental or vacation property. The Section 121 exclusion is for primary residences only. If you are selling a rental property, a vacation home, or any property you never lived in as your main home, the exclusion does not apply. Rental properties also involve depreciation recapture rules that can increase your taxable gain beyond what a simple sale price minus purchase price calculation would suggest. For more on selling a rental, read my guide on selling rental property in Utah.
How Utah handles capital gains from a home sale
Utah does not impose a separate, lower capital gains tax rate. The state taxes capital gains the same as ordinary income, at a flat individual income tax rate. Utah begins its state return calculation from federal adjusted gross income, which means any gain you successfully exclude at the federal level under Section 121 is also excluded from your Utah taxable income.
If you do owe federal capital gains tax on a home sale, you will also owe Utah taxes on that same gain. The current flat rate is published at tax.utah.gov, and a qualified CPA can apply the exact current rate to your specific situation.
Life-transition situations and what they change
Many of my clients are selling in the middle of a divorce, an estate settlement, or a long-distance relocation. These situations all interact with the tax exclusion in specific ways.
Divorce
If a home is sold while the owners are still married and filing jointly, the $500,000 married exclusion may apply if both spouses meet the ownership and use tests. If the home transfers to one spouse and that spouse later sells it, they may qualify for the $250,000 single exclusion, provided they independently meet both tests. In some cases, time spent in the home by both spouses can count toward one spouse's use test after a transfer incident to divorce. A CPA or tax attorney should review your situation before the sale, not after. For the real estate side of a divorce sale, read my guide on selling a home during divorce in Utah and how home equity is divided in a Utah divorce.
Inherited property
When you inherit a home, your cost basis is typically stepped up to the fair market value at the date of the original owner's death. If you sell the home shortly after inheriting it, your taxable gain may be very small or zero, because your basis is already close to the current market value. Inherited property does not qualify for the Section 121 exclusion unless you move in and live there long enough to meet the ownership and use tests yourself. For more on this situation, read my guide on selling an inherited house in Utah.
Relocation
Sellers who are moving for work or life reasons often worry about the two-year rule. If you have lived in your home at least two full years before the sale, the standard exclusion applies even when the reason for selling is a relocation. If you have lived there less than two years, a partial exclusion may still be available if the move was triggered by a qualifying employment change. For the full picture on selling during a move, read selling your home when relocating out of Utah.
Calculating your actual gain
Your taxable gain is not simply sale price minus what you paid originally. It is sale price minus your adjusted cost basis. Your adjusted basis starts with the original purchase price, then adds capital improvements you made over the years: a roof replacement, a room addition, a kitchen remodel, new HVAC equipment, or any improvement that added value or extended the useful life of the home. It does not include routine repairs or maintenance. Certain selling costs, including the real estate commission, can also reduce your taxable gain. Keeping records of major improvements is worth the effort, especially on a home you have owned for a decade or more.
Where to start
The real estate strategy is my job. The tax side belongs to a qualified CPA or tax attorney. In any of the life-transition situations described above, that tax conversation should happen before you list the home, not after you close. Getting both sides right means you walk away with a clear plan and no surprises at tax time.
If you are selling a Utah home and want to talk through your situation, call or text 801.201.2949. I will walk you through your options clearly, without leaving you in the dark. Two agents. One Lender. One Less Thing to Worry About.
FAQ
Do most Utah home sellers owe capital gains tax? Most primary residence sellers do not, because the federal Section 121 exclusion covers up to $250,000 in gain for single filers and up to $500,000 for married couples filing jointly. If your gain falls within those limits and you have owned and lived in the home for at least two of the past five years, you typically owe nothing at the federal level, and usually nothing to the state either.
Does Utah have a lower tax rate for capital gains than for ordinary income? No. Utah taxes capital gains at the same flat rate as ordinary income. There is no separate preferential rate for home sale gains at the state level.
What if I sell my home before I have lived there for two full years? If you have not met the two-year use test, the full exclusion does not apply. A partial exclusion may be available if the sale was forced by a qualifying employment change, a health issue, or another unforeseen circumstance that meets IRS guidelines. A CPA or tax attorney can tell you whether your situation qualifies.
Does an inherited home qualify for the Section 121 capital gains exclusion? Not automatically. The exclusion requires that you owned and lived in the home as your primary residence for at least two of the past five years. However, inherited homes typically receive a stepped-up cost basis to fair market value at the date of the original owner's death, which often makes the taxable gain very small or zero regardless.
How do I figure out my taxable gain on a home sale? Your taxable gain is your net sale price minus your adjusted cost basis. Your adjusted basis includes what you originally paid, plus capital improvements made over the years, plus certain selling costs. Keeping records of major improvements can significantly lower your taxable gain when you eventually sell.