Do I Pay Capital Gains Tax When I Sell My Home? The 2026 Rules for Charlotte Homeowners

Do I have to pay capital gains tax when I sell my house? It is one of the most common questions we hear from sellers, especially long-time owners who have watched their Charlotte home climb in value. The good news is that most people selling their main home owe no federal capital gains tax at all.

Below we walk through the IRS rules as they stand in November 2026: how much profit you can exclude, the 2-out-of-5-year test, how to figure your actual gain, the exceptions, what happens when part of your gain is taxable, and how North Carolina treats it. Everything here comes from the IRS, the NC Department of Revenue and other official sources listed at the bottom.

 

The Short Answer: Up to $500,000 Can Be Tax Free

If you have a gain from selling your main home, the IRS lets you exclude up to $250,000 of that gain from your income. If you are married and file a joint return, you can exclude up to $500,000. This is the home sale exclusion under Section 121 of the tax code, and it is explained in IRS Topic 701 and Publication 523, Selling Your Home.

The key word is gain, not sale price. Your gain is roughly what you sold the home for, minus your selling costs, minus what you paid for it and what you put into it. A couple who bought for $300,000 and sells for $650,000 does not have a $650,000 problem. After costs and improvements, their gain is likely well under $350,000, which sits comfortably inside the $500,000 exclusion.

If you qualify and your gain falls under your limit, there is no federal income tax on the sale. Only the part of the gain above the limit is taxed, and it is usually taxed at the lower long-term capital gains rates. One thing the exclusion does not do is work in reverse. If you sell your main home at a loss, the IRS does not let you deduct that loss.

 

The 2-Out-of-5-Year Rule

To get the full exclusion, you have to pass three tests, all measured on the date of the closing.

  • Ownership: you owned the home for at least 24 months out of the 5 years before the sale.

  • Residence: you lived in the home as your main home for at least 24 months of those same 5 years. The time does not have to be one block. A total of 730 days is enough.

  • Look-back: you did not exclude the gain on another home sale in the 2 years before this one. You can use the exclusion once every 2 years.

The ownership and residence periods can be different stretches of time, as long as both fall inside the 5-year window. Short absences like vacations still count as time you lived there, even if you rented the home out while you were away. If you became physically or mentally unable to care for yourself, lived in the home for at least 12 months, and then moved to a licensed care facility, the time in that facility counts toward the residence test.

Married couples have their own rules. For the full $500,000, only one spouse needs to meet the ownership test, but both spouses must meet the residence test on their own, and neither can have used the exclusion in the past 2 years. If only one spouse qualifies, that spouse may still get $250,000.

 
 

How to Figure Your Actual Gain

Publication 523 lays out the math in three steps. Start with your selling price and subtract your selling expenses, such as real estate commissions and seller-paid closing costs. That gives you the amount realized. Then subtract your adjusted basis. What is left is your gain or loss.

Your adjusted basis starts with what you paid for the home. You can add some of the settlement costs from your purchase, including title and legal fees, recording fees, survey fees, transfer or stamp taxes and owner's title insurance. Loan costs like points, appraisal fees and mortgage insurance do not count.

The biggest lever most homeowners have is improvements. The IRS counts projects that add value, extend the life of the home or adapt it to a new use. Its own examples include additions like a bedroom, bathroom, deck, garage or porch; a new roof or siding; HVAC, furnace and duct work; landscaping, a driveway, fencing or a pool; and a kitchen modernization, new flooring or built-in appliances. Routine repairs and maintenance, like painting or fixing a leak, do not count. And if you claimed an energy tax credit for an improvement, you subtract that credit from your basis.

Here is a simple example with made-up numbers. You sell for $700,000 and pay $40,000 in selling costs, so your amount realized is $660,000. You bought for $350,000 and spent $60,000 on a kitchen, a roof and a deck, so your adjusted basis is $410,000. Your gain is $250,000. A single filer who passes the tests owes nothing. This is why we tell clients to keep every receipt for major projects.

 
 

Exceptions and the Partial Exclusion

Life does not always line up with a 2-year clock. If you sell before you hit 24 months, or within 2 years of using the exclusion on another home, you may still get a partial exclusion if the main reason for the sale was one of these:

  • A work move: a new job location at least 50 miles farther from the home than your old one.

  • Health: moving to get or provide care for a disease, illness or injury for yourself or a family member, or a doctor recommending a move.

  • An unforeseeable event: such as the home being destroyed or condemned, a death, a divorce or legal separation, multiple births from the same pregnancy, becoming eligible for unemployment, or no longer being able to pay basic living expenses after a change in employment.

The partial exclusion is a fraction of the full amount. You take the shortest of your time living there, your time owning it, or the time since your last exclusion, and divide it by 24 months. For example, a single filer who lived in the home for 15 months before a qualifying job transfer could exclude $250,000 times 15/24, or $156,250.

A few other groups get special treatment. A surviving spouse who has not remarried can still claim the full $500,000 if the home sells within 2 years of the spouse's death and the other tests are met. Members of the Uniformed Services, the Foreign Service, the intelligence community and some Peace Corps personnel on qualified extended duty can suspend the 5-year window for up to 10 years. There are also special rules if you divorced or separated while you owned the home.

 

When Part of Your Gain Is Taxable

If your gain is bigger than your exclusion, or you do not qualify for the exclusion, the taxable part is a capital gain. If you owned the home more than one year, it is a long-term gain. For 2026, the IRS sets the federal long-term rates at 0%, 15% and 20% based on your total taxable income. Married couples filing jointly pay 0% up to $98,900 of taxable income and 15% up to $613,700, with 20% above that. For single filers, the 0% band runs to $49,450 and the 15% band to $545,500. Homes owned one year or less are taxed at ordinary income rates.

Higher earners may also owe the 3.8% Net Investment Income Tax. It applies when modified adjusted gross income is above $250,000 for married couples filing jointly or $200,000 for single filers. The IRS is clear that this tax does not apply to the part of your home sale gain that is excluded. It only reaches the gain above the exclusion.

Watch for three situations that shrink or remove the exclusion. First, depreciation. If you claimed depreciation for a home office or for renting out part of the home after May 6, 1997, that amount cannot be excluded and is taxed as unrecaptured Section 1250 gain at a maximum rate of 25%. Second, nonqualified use. If the home was a rental or second home for a period after 2008 before you moved in, part of the gain tied to that period may not qualify. Third, a home you got through a 1031 like-kind exchange in the past 5 years does not qualify at all. Second homes and investment properties never qualify, because the exclusion only covers your main home.

 

Which Situation Fits You?

Here is a quick way to see where you likely land. Your tax professional can confirm the details for your situation.

How North Carolina Taxes a Home Sale

North Carolina makes this easier than many states. According to the NC Department of Revenue, your North Carolina taxable income starts with your federal adjusted gross income. Because the excluded part of your gain never makes it into federal income, it is not taxed by North Carolina either.

If part of your gain is taxable, North Carolina does not have a separate, lower capital gains rate. The gain is taxed like the rest of your income at the state's flat individual income tax rate, which is 3.99% for 2026 under N.C. General Statute 105-153.7. The state has been lowering this rate over the past several years, so check the NCDOR site for the rate in the year you sell.

Many of our clients sell in North Carolina and buy in South Carolina, or the other way around. Each state has its own rules for residents and nonresidents, so if you are moving across the line, it is worth asking your tax professional how the sale will be reported in both states.

 

Reporting the Sale on Your Tax Return

Many sellers with a fully excluded gain do not have to report the sale at all. The exception is the Form 1099-S. If your closing attorney issues you a Form 1099-S, Proceeds From Real Estate Transactions, the IRS says you must report the sale even if all of the gain is excluded. You must also report it if any part of the gain is taxable. The sale goes on Form 8949 and Schedule D of your Form 1040.

Keep good records for as long as you own the home and for several years after you sell it: your purchase closing statement, your sale closing statement, and receipts for every improvement. Those papers prove your basis and protect you if the IRS ever asks questions. If you sell on an installment basis, where the buyer pays you over time, you can still use the exclusion.

 

Is Congress Changing the Home Sale Exclusion?

The $250,000 and $500,000 limits were set in 1997 and are not adjusted for inflation, so more long-time owners now have gains above the cap than when the rule started. That has led to proposals in Congress. The best known is the No Tax on Home Sales Act, H.R. 4327, introduced in the House on July 10, 2025. It would remove the dollar limits on the exclusion entirely.

As of late October 2026, the bill is still listed as introduced on Congress.gov and has not passed either chamber, so it is not law. Until something actually passes, plan your sale around the current $250,000 and $500,000 limits. If the rules do change, we will update this post.

 

Your Next Step

Knowing your likely gain starts with knowing what your home would sell for today. Use our free home value tool to get a current estimate, then pull together your purchase paperwork and improvement receipts. If your numbers are close to the $250,000 or $500,000 limit, or you have rented the home or used it for business, talk with a CPA or tax attorney before you list. We are a real estate team, not tax advisors, and this post is general information, not tax advice.

When you are ready, reach out to The Finigan Group. We can run a detailed pricing analysis on your home and help you plan the timing of your sale with your tax professional.

 
We’d love to hear from you.
Next
Next

Charlotte Suburbs Ranked: Every Suburb From S Tier to D Tier