North Carolina Capital Gains Tax on Home Sale: Exclusion and Recapture

The North Carolina capital gains tax on a home sale is the state’s flat individual income tax, 3.99% for the 2026 tax year, applied only to the portion of your profit that survives the federal home-sale exclusion. If you lived in the home for at least two of the last five years and your gain is under $250,000 (single) or $500,000 (married filing jointly), you likely owe nothing to either the IRS or the state. When there is a taxable gain, both governments tax it, and both calculations start from the same number.

Figuring the Gain

The gain is your profit, not the closing check. Take your amount realized and subtract your adjusted basis.

Your adjusted basis begins with the original purchase price plus certain settlement costs from when you bought, such as title insurance, recording fees, survey fees, legal fees, and transfer taxes you paid at closing. Add the cost of capital improvements: a new roof, HVAC system, kitchen remodel, room addition, landscaping. Routine maintenance like repainting or fixing a faucet does not count. If you ever claimed depreciation on part of the home for a rental or home office, reduce your basis by the total depreciation deducted.

Your amount realized is the sale price minus selling expenses: agent commissions, advertising, legal fees, and transfer taxes paid by you as the seller. North Carolina charges an excise tax of $1 per $500 of sale price, roughly 0.2%, paid by the seller to the county register of deeds before the deed is recorded. On a $400,000 sale, that is $800, and because the seller pays it, it reduces your amount realized.

Amount realized minus adjusted basis is your gain. A loss on a personal residence is not deductible.

The Federal Exclusion That Decides Everything

Internal Revenue Code Section 121 lets you exclude up to $250,000 of gain if you file single, or $500,000 if you file jointly. Because North Carolina builds its return on your federal adjusted gross income, any gain excluded federally never reaches the state calculation. If the exclusion wipes out the entire gain, you owe nothing to either government.

To claim the full exclusion, you must pass two tests during the five-year window ending on the sale date. You (or your spouse, if filing jointly) must have owned the home for at least two of those years, and you must have used it as your primary residence for at least two of those years. The two years need not be consecutive. For joint filers, only one spouse has to meet the ownership test, but both must independently meet the use test. You can only claim the exclusion once every two years.

Partial Exclusion for Early Sales

Selling before hitting two years can still qualify you for a reduced exclusion if the sale was triggered by a specific life event. The IRS recognizes three categories:

  • Employment change: you took or were transferred to a new job at least 50 miles farther from the home than your previous workplace, or you started a new job at least 50 miles away when you had no prior workplace.
  • Health reasons: you moved to get medical care or provide care for a family member, or a doctor recommended a change of residence for health reasons.
  • Unforeseeable events: the home was destroyed or condemned, you divorced or legally separated, you became eligible for unemployment, or another qualifying event occurred.

The reduced exclusion equals the shortest of three periods (your time living in the home, your time owning it, or the time since you last used the exclusion), divided by 24 months, times the $250,000 or $500,000 maximum. Fifteen months of use before a qualifying job transfer produces an exclusion of 15 ÷ 24 × $250,000, or $156,250.

What North Carolina Charges on the Rest

North Carolina has no preferential rate for capital gains. All income is taxed at the same flat rate: 3.99% for the 2026 tax year, down from 4.25% in 2025.

The state calculation starts from your federal AGI, which already reflects the Section 121 exclusion. Whatever remained taxable federally flows into your North Carolina return. Apply the state’s standard deduction ($12,750 for single filers, $25,500 for married filing jointly, based on 2025 figures) or your itemized deductions, and the 3.99% rate hits everything that remains.

At the federal level, gain above the exclusion is taxed at long-term capital gains rates if you owned the home more than a year. For 2026, those rates are 0%, 15%, or 20% depending on total taxable income, with most homeowners landing in the 15% bracket. High earners may also owe the 3.8% Net Investment Income Tax on the non-excluded portion of the gain when modified AGI exceeds $200,000 (single) or $250,000 (joint). None of that federal math changes the North Carolina rate, but it changes your total bill.

Because capital losses pass through federal AGI, North Carolina effectively follows the federal $3,000 annual limit on net capital losses against ordinary income, with the excess carrying forward.

One state-specific trap: North Carolina did not adopt the federal Opportunity Zone deferral under IRC Section 1400Z-2. If you deferred a gain federally by reinvesting in a Qualified Opportunity Fund, you must add that deferred gain back to your North Carolina income in the year of the original sale.

Depreciation Recapture

If you claimed depreciation for a rental portion or a home office, that deduction comes back at sale. The gain attributable to prior depreciation is taxed at a flat 25% federal rate as unrecaptured Section 1250 gain, regardless of your bracket. The Section 121 exclusion does not cover this piece, so recapture applies even when the exclusion shelters the rest of your gain.

North Carolina taxes the recapture amount too, but at its ordinary 3.99% rate. On $20,000 of prior depreciation, expect roughly $5,000 in federal recapture tax plus about $798 to North Carolina, on top of anything owed on remaining gain.

Inherited Homes

Inherited property gets a stepped-up basis. Instead of the deceased owner’s purchase price, your basis is the fair market value on the date of death. A house bought for $80,000 in 1990 and worth $350,000 at death gives you a $350,000 basis; sell for $370,000 and the taxable gain is $20,000.

Federal law also treats an inherited home as long-term no matter how quickly you sell, so you qualify for long-term capital gains rates even on a same-week sale. The Section 121 exclusion is separate: to use it, you would need to live in the inherited home as your primary residence and meet the ownership and use tests. Heirs who sell without living there cannot claim the exclusion but usually find the stepped-up basis eliminates most or all of the gain anyway.

If You Live Outside North Carolina

A nonresident who sells North Carolina property owes North Carolina income tax on the gain at the same 3.99% rate. The buyer files Form NC-1099NRS reporting the sale, and the seller files a North Carolina individual income tax return (Form D-400) reporting the gain.

Estimated tax payments may also be required. North Carolina requires them if you expect to owe at least $1,000 and your withholding and credits will cover less than 90% of the current year’s tax (or 100% of the prior year’s). Nonresidents usually have no North Carolina withholding, so a large property sale can produce a surprise estimated tax obligation. Setting the expected tax aside from the proceeds is the simplest way to avoid penalties.

Reporting the Sale

Federal reporting comes first. If your gain exceeds the exclusion or you received a Form 1099-S at closing, report the sale on Form 8949, entering the exclusion as a negative adjustment in column (g). The totals flow to Schedule D and then to Form 1040. If the entire gain is excluded and no Form 1099-S was issued, you do not need to report the sale federally at all.

On the state side, Form D-400 starts from federal AGI, so any taxable gain is already carried in. If you need to add back a deferred Opportunity Zone gain or make other state-specific adjustments, use Schedule S and attach it to Form D-400. The 3.99% rate then applies to your total North Carolina taxable income after deductions.

Keep your closing statements, improvement receipts, contractor invoices, building permits, and depreciation records. The IRS recommends holding them at least three years after filing the return for the sale year, and because the agency has six years to audit when it suspects underreported income of 25% or more, many tax professionals suggest six to seven.