Capital gains tax in Alabama (2026): selling a business, real estate or farm
The federal tax deduction: Alabama's quiet discount on a big sale
Alabama is one of the few states that lets individuals subtract the federal income tax they owe. The 2025 Form 40 worksheet starts with federal income tax, adds the 3.8% Net Investment Income Tax from Form 8960, and subtracts certain refundable credits; the result is deducted on the Alabama return (2025 Form 40 instructions, page 31). In a sale year the federal bill is large, so the deduction is large too, and it lands in the same year as the gain.
The practical effect: each dollar of federal tax the sale creates shrinks Alabama taxable income by a dollar, which removes 5% of that dollar from the Alabama bill (ALDOR rate FAQ, 2026). The engine examples below leave that deduction out on purpose, so treat their Alabama line as a ceiling. Federal tax still runs 0%, 15% or 20% on long-term gain for 2026 under Rev. Proc. 2025-32; the federal capital gains guide covers that side.
Worked numbers: stock, a move, and a rental
A joint-filing couple with $150,000 of other income sells company stock for a $2,000,000 long-term gain in 2026. As Alabama residents the sale adds $100,000 of state tax before the federal deduction, and $571,065 in total, an effective 28.6%. If they had truly moved to Florida before signing, the same sale costs $471,065; the gap of $100,000 is the Alabama layer at its maximum.
Real estate behaves differently. An Alabama rental building with $500,000 of unrecaptured Section 1250 gain costs $610,353 federal plus state for a resident, and a move does not help: a nonresident still owes Alabama on Alabama real property, which is why the withholding rules below exist. For the move-first plan and its domicile tests, see changing residency before a sale.
Seller financing: recapture can follow the payments in Alabama
Federally, Section 453(i) forces all depreciation recapture into the year of sale even when the buyer pays over ten years. Alabama's instructions say installment income is reported under Section 453 "with the exception of 453(i)" (2025 Form 40 instructions, Line 5). For an equipment-heavy business or a building with years of depreciation, that means the Alabama share of recapture is not front-loaded the way the federal share is, so the state return and the federal return will show different gain each year. Keep a separate Alabama installment schedule.
Federal rules for the note itself, such as the interest rate floor and pledging limits, are covered in the installment sale analysis and recapture on an installment sale.
Selling Alabama property as a nonresident: Section 40-18-86
When the seller is not an Alabama resident, the buyer must withhold at closing: 3% of the purchase price if the buyer is an individual, 4% if the buyer is an entity, capped at net proceeds. If the seller signs Form NR-AF2 swearing to the gain, the same percentage applies to the gain instead. The rule does not apply below a $300,000 price or to a Section 121 principal residence (ALDOR nonresident withholding package, revised September 22, 2025).
- Installment sales (2025 package): withholding on the down payment equals price less the note, then 3% or 4% of the principal in each later payment.
- Note interest: ALDOR treats interest on a note from Alabama investment or rental real estate as Alabama income to the nonresident, but it is not subject to withholding unless both sides agree. Many states let interest follow the seller home; Alabama does not.
- Deemed resident: a nonresident who filed Alabama returns for the prior two years, keeps doing business or keeps enough Alabama real estate in the state, and will report the sale can avoid withholding with Form NR-AF1.
Conformity details that change the Alabama gain
- No passive loss limit. Alabama has no provision like the federal passive activity rules (2025 Form 40 instructions), so rental losses were generally used as they occurred. A sale that frees suspended federal losses under IRC 469 usually frees nothing extra on the Alabama return.
- Depreciation. Alabama allows Section 179 expensing for years after 1989 and treats MACRS as a reasonable allowance (2025 Form 40 instructions); assets placed in service before 1990 may carry a different Alabama basis.
- Home sales. Gain on a personal residence is taxable to the same extent as on the federal return, so the Section 121 exclusion carries over, and a loss is not deductible.
- Bullion. Since January 1, 2025, net gain on exchanges of precious metal bullion is excluded (Act 2024-0447).
Closing costs and the estate side
Alabama's deed tax is 50 cents per $500 of value, or $1 per $1,000 (Code of Alabama 40-22-1), modest next to the 4% to 5.95% big-city transfer taxes elsewhere. Who pays is set by the contract. For older owners, the federal step-up in basis at death under IRC 1014 removes the built-in gain for heirs and therefore the Alabama tax on it too. Compare Alabama with its neighbors on the capital gains tax by state table, including Tennessee and Florida. To weigh a cash sale, a note, a 1031 and a move together, get the Big Sale Tax Analysis.
What to know
The federal tax deduction cuts both ways: if you defer federal tax with a 1031 or a note, the Alabama deduction shrinks in the same year, so the state saving from deferral is smaller than the rate alone suggests. Moving before a stock sale only works with a real change of domicile completed first, and Alabama real estate stays taxable to you wherever you live. A seller-financed note adds buyer-credit risk that a cash closing does not.
Worked example
Married filing jointly, $150,000 of other income, $2,000,000 long-term gain on a stock sale in 2026; NIIT applies (passive owner). The engine applies Alabama's 5% without the federal tax deduction. Same couple, domicile moved to Florida before signing; stock gain is sourced to the state of residence. Resident couple sells a commercial rental: $1,500,000 long-term gain plus $500,000 of unrecaptured Section 1250 gain, cash at closing in 2026.
| Engine run | Alabama resident sells company stock, $2M gain | Same stock sale after moving to Florida | Alabama rental building, $2M gain |
|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint |
| State | Alabama | Florida | Alabama |
| Other income (wages, pension, interest) | $150,000 | $150,000 | $150,000 |
| Long-term capital gain | $2,000,000 | $2,000,000 | $1,500,000 |
| Unrecaptured Section 1250 gain (25% max) | $0 | $0 | $500,000 |
| Federal income tax on the sale | $398,865 | $398,865 | $438,153 |
| Net investment income tax (3.8%) | $72,200 | $72,200 | $72,200 |
| State income tax on the sale | $100,000 | $0 | $100,000 |
| Total tax caused by the sale | $571,065 | $471,065 | $610,353 |
| Effective rate on the gain | 28.6% | 23.6% | 30.5% |
| Gain kept after these taxes | $1,428,935 | $1,528,935 | $1,389,648 |
Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.
Run your own numbers
2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.
Long-Term vs Short-Term Capital Gains (2026)
The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.
Frequently asked questions
Does Alabama tax capital gains differently than income?
How much is capital gains tax in Alabama?
Does Alabama have capital gains tax on real estate?
Does Alabama tax the gain on my home sale?
Is there an Alabama capital gains tax exemption?
How can I reduce capital gains tax in Alabama?
Sources
- ALDOR: What is Alabama's individual income tax rate?
- ALDOR: 2025 Form 40 instruction booklet
- ALDOR: Nonresident real property withholding package (Sec. 40-18-86), rev. 9/22/2025
- ALDOR FAQ: installment sales by nonresidents and Sec. 40-18-86
- Code of Alabama 40-22-1 (deed tax)
- IRC 453 (Cornell LII)
- IRC 469 (Cornell LII)
Figures as of October 7, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Moving states before a sale
Becoming a resident of a no-income-tax state before you sell can remove state tax on some gains, but only for the right asset, with the right timing and a real
ReadInstallment sale (Section 453)
Report the gain as the buyer pays you instead of all in the year of sale, under rules that have been in the tax code for decades.
ReadDepreciation recapture on an installment sale
Recapture is taxed in year one no matter how the buyer pays; here is how much, why, and the down payment that covers it.
Read1031 exchange
Defer the whole gain by trading investment real estate for more real estate, if you can find it and close inside 180 days.
ReadFlorida
Florida taxes no individual's capital gain, but a big sale still meets documentary stamps, the corporate income tax for C corporations, and homestead reass
ReadTennessee
No tax on individuals since the Hall tax ended, but an LLC or corporation that sells its assets pays 6.5% excise tax on the gain.
ReadKnow your number before you sign.
The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.
Prefer email? Request the analysis by email.