Big Sale TaxHans Goldstein: Tax & Exit Planning
Alabama capital gains tax

Capital gains tax in Alabama (2026): selling a business, real estate or farm

Short answerAlabama taxes capital gains as ordinary income, and nearly all of a big gain lands in the 5% bracket, which starts at $6,000 of joint taxable income (ALDOR, 2026). What makes Alabama unusual is the deduction for federal income tax. On a $2,000,000 stock sale the engine shows $100,000 of Alabama tax before that deduction, and $571,065 in all.

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 runAlabama resident sells company stock, $2M gainSame stock sale after moving to FloridaAlabama rental building, $2M gain
Filing statusMarried, jointMarried, jointMarried, joint
StateAlabamaFloridaAlabama
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 gain28.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

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

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.

Free PDF sheet

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.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

Does Alabama tax capital gains differently than income?
No. Alabama has no special capital gains rate; gains are added to other income and taxed at 2%, 4% and 5%, with 5% applying above $6,000 of joint taxable income (ALDOR, 2026). The difference from most states is the deduction for federal income tax, which lowers the effective Alabama rate in a big sale year.
How much is capital gains tax in Alabama?
On a large gain, close to 5% of the gain at the state level, less the effect of deducting the federal income tax and NIIT the sale creates. Federal tax comes on top: 15% or 20% on long-term gain for 2026, 25% on unrecaptured Section 1250 gain, plus 3.8% NIIT for passive owners and investors.
Does Alabama have capital gains tax on real estate?
Yes. Real estate gains are ordinary income for Alabama residents. Nonresidents also owe Alabama tax on Alabama property, and the buyer withholds 3% of the price (4% for entity buyers) at closing on sales of $300,000 or more unless an exemption applies (Sec. 40-18-86).
Does Alabama tax the gain on my home sale?
Only to the extent the federal return does. Alabama taxes home sale gain to the same extent as reported federally, so gain excluded under Section 121 (up to $250,000 single or $500,000 joint) is excluded for Alabama too. A principal residence is also exempt from nonresident withholding.
Is there an Alabama capital gains tax exemption?
There is no general capital gains exclusion. Alabama does exclude net gain on precious metal bullion from 2025, follows the federal home sale exclusion, and lets you deduct federal income tax. Deferral tools such as a 1031 exchange or an installment sale work for Alabama as they do federally.
How can I reduce capital gains tax in Alabama?
The main levers are timing and form: spread gain with an installment sale (Alabama even lets recapture follow the payments), defer with a 1031 exchange, give appreciated property to a charitable trust, or hold for the step-up at death. Moving only helps for stock or other intangibles, not Alabama land.
How Hans helps: the $5,000 Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know 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.

Book a callCall Hans