Do states tax capital gains differently than the federal government does?

Sold some shares this year and I'm trying to figure out if do states tax capital gains the same way the IRS does. Federally I know it goes on Schedule D and Form 8949, and my broker sent a 1099-B with everything. But I have no idea how my state handles the gain. I lived in the same state all year, so at least that part is simple. The gain is long-term. I didn't see anything on my state return that looked like a separate capital gains schedule, but I also don't know if I'm missing something. Do states just piggyback off the federal number, or do they compute it completely separately? And are there states that don't tax it at all?

32 comments

Schedule D on your federal return produces an adjusted net capital gain number that most states then pull into their own return as a starting point. What happens after that varies a lot by state. Some states conform fully to federal treatment, so your state gain equals your federal gain. Others start from federal AGI or federal taxable income but then add back or subtract things like the lower federal rates for long-term gains, because those states tax everything at the same ordinary income rate. A handful of states have their own preferential rates for long-term capital gains. And a few states have no income tax at all, so no capital gains tax either.

Tara G.

Author

Thanks, that framing helps. So it really just depends on the state. I'll look at my state's conformity rules specifically rather than assuming it matches federal.

Worth knowing: the federal preferential rates for long-term capital gains (the 0%, 15%, 20% brackets) are a federal-only thing. Most states don't apply those same brackets. Even if your state starts from your federal Schedule D number, they usually tax it at your regular state income tax rate. So the tax on the same gain can be meaningfully different at the state level than federal.

California is an example that often surprises people. CA fully taxes capital gains as ordinary income at CA rates with no preferential rate for long-term gains. The CA return pulls from your federal AGI and you don't get a break for holding more than a year the way you do federally. So a long-term gain that's taxed at a low federal rate can still hit a high CA rate.

Tara G.

Author

Good to know, I'm not in CA but that's a useful concrete example of how different it can be from federal.

Same is true for most states honestly. The federal rate break for long-term is not something states generally copy.

Uploaded my 1099-B and state return draft to taxr.ai last month when I was sorting out exactly this. It flagged that my state was adding back a depreciation recapture adjustment that I hadn't noticed the state form was asking for. Wouldn't have caught that just by eyeballing the numbers. Worth doing if you have a state with any adjustments layered on top of the federal gain.

Tara G.

Author

Thanks, I'll check that out. I don't think my state has depreciation recapture issues since these are plain stock shares, but good to know it can read the state form side by side.

States with no income tax (like Florida, Texas, Nevada, Washington, Wyoming, South Dakota, Alaska) generally don't have a separate capital gains tax either, because capital gains would otherwise flow through the income tax. Washington is a partial exception — they enacted a capital gains excise tax on certain high-value long-term gains that is separate from an income tax. So even "no income tax" states can have something to check.

The Washington capital gains excise tax situation is genuinely confusing because they kept saying it wasn't an income tax for legal reasons. Good call flagging that one specifically.

Tara G.

Author

I'm not in Washington but that's exactly the kind of edge case I wouldn't have known to check. Noted.

Form 8949 and Schedule D are purely federal forms. Your state will have its own capital gains schedule or worksheet if it taxes gains separately from ordinary income. Many states just incorporate the federal Schedule D number and then apply state modifications. Check your state's specific instructions for the equivalent of their income schedule — that's usually where capital gains modifications live.

One thing that gets people: wash sale adjustments from box 1g on your 1099-B carry through to your federal Form 8949 and reduce the loss you can claim. Some states do not conform to the federal wash sale rules, which means your state capital gain or loss could actually differ from your federal figure even on the same set of trades. Worth checking your state's conformity to IRC section 1091 specifically.

This is real. State nonconformity to wash sale rules catches people off guard especially after a volatile year of trading.

Tara G.

Author

Hadn't even considered that. So I'd need to recompute gains and losses under the state's rules separately if the state doesn't conform to wash sale treatment?

Exactly right. If your state doesn't follow IRC 1091, you recalculate the affected trades using state rules and enter the state-specific number on the state return, not the federal Form 8949 number.

Had a situation where my state return had a capital gains deduction worksheet that I completely missed. Gave Taxr my federal Schedule D and my state return PDF and it read through both and listed every line where the state was making an adjustment that differed from the federal, including one place where I had an entry in the wrong column. That saved me from filing something that would have needed an amendment.

Tara G.

Author

Thanks — that's the kind of thing I worry about, an easy-to-miss column error that changes the number.

The holding period rules are the same for state purposes in conforming states: more than one year from the day after acquisition through the trade date of the sale is long-term. Begin counting the day after you acquired the shares; the day you sold counts in the holding period. Most states that have capital gains taxes accept the federal holding period classification. If your 1099-B shows long-term in box 2, your state almost certainly treats it the same unless you're in a nonconforming state.

Publication 550 on irs.gov is the best federal reference for holding period and what counts as a capital gain, but it doesn't cover state rules at all. For state rules you need your state's department of revenue publication or the instructions for your state income tax form. There's no single federal document that maps out every state's treatment — you have to go state by state.

Correct and worth emphasizing. The IRS publications are silent on state tax. State DOR websites are the only authoritative source for state conformity.

If you moved during the year, the state picture gets more complicated. Each state you lived in during the year generally wants to tax the gains that were realized while you were a resident, and you file part-year resident returns in each. Allocation of gains between states when you sold shares after moving can require checking each state's sourcing rules, which differ.

Tara G.

Author

I stayed in one state all year so I think I'm okay here, but good flag for anyone reading who moved.

Cost basis matters the same way at the state level. If you have a corrected basis situation (code B on Form 8949, column f), and your state starts from the federal figures, the correction flows through. But if your state has nonconformity on basis rules — some states didn't conform to the 2008 cost basis reporting law changes — you may need to track your own state basis separately for older lots.

RSU income shows up on your W-2 as ordinary income at vest, and the state that taxed your wages at vest generally gets to tax that RSU income regardless of where you are when you sell. The capital gain portion — the difference between the sale price and the fair market value at vest that was already on your W-2 — is what your current state taxes. If you moved between vest and sale that can create a split state situation.

This is specifically an issue for RSUs where you lived in a high-tax state at vest and a low-tax or no-tax state when you sell. The vest-state can still claim the ordinary income piece.

Tara G.

Author

My situation is just plain stock purchases through a brokerage, no RSUs, so I think this doesn't apply to me but it's useful context.

Topic no. 409 on irs.gov walks through the federal capital gains rules clearly, but as others have said it doesn't address state tax at all. For the state piece, your state DOR's instructions for the individual income tax return are the right place to look. Usually there's a specific line or worksheet labeled something like "capital gains deduction" or "additions and subtractions" that's where state modifications happen.

Some states let you deduct a portion of long-term capital gains. Montana and Colorado historically have had partial exclusions, and a few others. These exclusions usually have their own state form or worksheet separate from the main return. If you're in a state with one of those, missing it means overpaying.

This is true and those worksheets are easy to miss if your software doesn't auto-populate them based on the state you selected.

To summarize what this thread has covered: states vary widely — some piggyback on federal AGI, some use their own rates, some have no capital gains tax at all. Wash sale conformity can create state/federal differences on the same trades. The best path is your state's DOR instructions for its income tax form, specifically the capital gains or additions/subtractions section. Federal publications won't have that answer.

Tara G.

Author

Thanks all, this is exactly the map I needed. Going to pull my state DOR instructions and check the capital gains worksheet section specifically.