How Do State Taxes Affect My Investment Returns?
How Do State Taxes Affect My Investment Returns?
Most investors focus on federal taxes—capital gains rates, qualified dividend treatment, tax brackets—but overlook a significant drag on returns: state and local income taxes. A resident of California or New York pays roughly 50% more in combined state and local taxes on investment income than a resident of Florida or Texas. Over a 30-year investing career, that difference compounds into hundreds of thousands of dollars in lost wealth.
Quick definition: State income taxes apply to investment income (capital gains, dividends, and interest) earned within a state's jurisdiction. Rates, definitions of taxable gains, and exemptions vary dramatically, and together with local taxes can reduce after-tax returns by 1–2% annually—the same drag as a moderately active fund or robo-advisor fee.
Key takeaways
- State income tax rates on investment income range from 0% (nine states) to over 13% (California), a spread that erodes returns by hundreds of thousands over a career
- Unlike federal tax, most states do not distinguish between long-term and short-term capital gains; both are taxed as ordinary income
- High-tax states also impose local income taxes (New York City, Los Angeles, Philadelphia), which stack on top of state rates
- Moving to a lower-tax state or establishing residency elsewhere can recapture 1–2% of annual returns
- Tax-advantaged accounts (IRAs, 401k) shield most investment income from state taxation, but taxable accounts are fully exposed
Why state taxes matter more than most investors realize
Federal income tax dominates investor awareness—the 0%/15%/20% long-term capital gains brackets, the 3.8% net investment income surtax. But federal taxes are only half the story. A married couple in California earning <$583,750 (the top federal long-term gains bracket threshold for 2024–2025) will owe federal tax at 15%, plus California's flat 13.3% state tax, plus potentially 1.25% Bay Area local tax—a combined 29.55% on every dollar of long-term gains. The same couple in Texas pays 15% federal and 0% state (no income tax), and the remaining couple in Florida also pays 15% federal and 0% state.
This asymmetry is not accidental. States that rely heavily on income tax (California, New York, Connecticut, Illinois, Minnesota) use the revenue to fund public services and pensions. States that avoid income tax (Florida, Texas, Nevada, Wyoming, South Dakota) fund government through sales tax, property tax, and corporate tax. The trade-offs are real, but for investment income specifically, the tax differences are stark.
Consider a $100,000 capital gain realized in a taxable brokerage account:
| Jurisdiction | Federal Tax (15%) | State Tax | Total Tax | After-Tax Gain |
|---|---|---|---|---|
| Texas | $15,000 | $0 | $15,000 | $85,000 |
| Florida | $15,000 | $0 | $15,000 | $85,000 |
| New York State | $15,000 | ~$6,850 | $21,850 | $78,150 |
| California | $15,000 | $13,300 | $28,300 | $71,700 |
| New York City (resident) | $15,000 | ~$7,200 | $22,200 | $77,800 |
The California investor nets $13,300 less—a 13% reduction in after-tax return compared to the Texas equivalent, on a single gain. Over a career of reinvested gains, that compounds.
How state income taxes are calculated
State income tax on investments follows one of two models:
Proportional or flat-tax states impose a single tax rate on all income. Colorado (4.63%), Indiana (3.15%), and Pennsylvania (3.07%) use flat rates. The rate applies regardless of income level, and most of these states do not distinguish between long-term and short-term capital gains.
Progressive-bracket states use rising tax rates as income increases. California, New York, and Massachusetts apply rates that jump from <1% at the lowest brackets to 13%+ at the highest. Progressive states typically tax all capital gains (long-term and short-term) at the same rates as ordinary income, meaning a $100,000 long-term gain is treated as $100,000 of ordinary income for tax purposes, possibly pushing you into a higher bracket.
A critical difference from federal tax: Most states do not grant preferential rates for long-term capital gains. At the federal level, you pay 15% (or 20% if you're very high-income) on long-term gains, versus your marginal ordinary income rate (up to 37%) on short-term gains and ordinary income. Many states eliminate this benefit entirely, taxing long-term gains at their full ordinary income rate. A few states (Hawaii, Delaware, Montana, and Colorado under certain rules) have moved toward preferential treatment, but the majority have not.
State taxation of different investment income types
Investment income comes in three flavors, and states treat each differently:
Capital gains (realized gains from selling stocks or funds). Most states tax all realized capital gains as ordinary income. A few states (Massachusetts, Vermont) tax only short-term capital gains at the ordinary rate, allowing long-term gains a lower rate or exclusion. Illinois recently passed a law to tax only short-term gains, effective 2025. However, even these exceptions still apply federal treatment only—the state benefit is modest compared to federal preferential rates.
Dividends. Most states tax dividends as ordinary income. Some states (Vermont, Delaware, Montana) exclude or partially exclude qualified dividends from state taxation. Federal qualified dividends are taxed at 0%, 15%, or 20%; at the state level, these exemptions are rarer and often capped or phased out.
Interest income (from bonds, savings accounts, money market funds, and CDs). Interest is universally taxed as ordinary income at both federal and state levels. Some states (for example, a few exclude interest from Treasury and municipal bonds, discussed later) provide narrow exemptions, but the general rule is that all interest is fully taxable.
The role of local income taxes
Adding complexity, about 20 jurisdictions (primarily in Ohio, Pennsylvania, New York, Maryland, and New Jersey) layer local income taxes on top of state taxes. New York City residents pay a city income tax of up to 3.876% on top of state tax. Philadelphia residents pay a city tax of 3.8%. Baltimore adds 2.75%. For a New York City resident with a high income, the combined federal + state + city rate on long-term gains can exceed 30%.
Tax-advantaged accounts shield you from state tax
The primary exception to state income tax on investment income is inside tax-advantaged accounts:
- Traditional IRAs and Roth IRAs are exempt from state income tax on all investment gains, dividends, and interest while the funds remain in the account. Some states (California, Maryland, New York) tax the withdrawals after retirement (and these rules are complex), but most states do not tax IRA distributions.
- 401(k)s and 403(b)s are similarly sheltered from state tax on investment gains while inside the plan.
- 529 college savings plans are exempt from state income tax on investment growth and withdrawals for qualified education expenses. Some states also allow deductions for contributions, further reducing state tax.
The implication: Maximize your contributions to tax-advantaged accounts first, because the state tax shield is powerful. A dollar saved inside a traditional IRA is entirely free of state tax on growth; a dollar in a taxable account is subject to full state tax on all gains and distributions.
The federal surtax and state coordination
One subtlety: The 3.8% federal Net Investment Income Tax (NIIT) applies in addition to ordinary federal income tax on certain high-income earners. Some states (Rhode Island, Vermont) have their own NIIT. State taxes and the federal NIIT stack—they do not offset each other. A California resident with net investment income over the NIIT threshold pays federal NIIT (3.8%) plus California state tax (13.3%) plus any local tax, totaling roughly 17% before even counting the federal capital gains or ordinary income tax.
Decision tree: State tax impact on your portfolio
Real-world examples
Example 1: Realizing a $250,000 gain in stock options. An engineer in San Francisco exercises and sells 500 shares of company stock, realizing a $250,000 long-term capital gain. Federal tax at 15% is $37,500. California state tax is $33,250. San Francisco local tax is $3,125. Combined state + local: $36,375. Total tax: $73,875. After-tax gain: $176,125. The same engineer, if relocated to Austin, Texas, pays $37,500 federal and $0 state/local. After-tax gain: $212,500. The tax difference is $36,375—nearly 17% of the initial gain lost to state/local taxation.
Example 2: $50,000 annual dividend income in a taxable account. A retired investor receives $50,000 in qualified dividend income and lives in New York City. Federal tax on qualified dividends at 15% is $7,500. New York State tax (assuming top bracket) is roughly $2,700. New York City tax is roughly $1,940. Total state + local: $4,640. Total tax: $12,140. After-tax income: $37,860. The same investor in Fort Lauderdale, Florida, pays $7,500 federal and $0 state, keeping $42,500. The state and local taxes cost $4,640 per year, or $116,000 over 25 years (before accounting for growth on that amount).
Example 3: Estate planning and domicile in a high-tax state. A retiree with a $5 million portfolio lives in Connecticut (12.7% top income tax rate) and generates $100,000 in annual investment income. If the portfolio is entirely in a taxable account, state taxes amount to roughly $12,700 per year, or $317,500 over 25 years. Moving to a no-income-tax state would recapture that $317,500, which could instead be compounded at 6% growth, adding nearly $90,000 in additional wealth.
Common mistakes
Mistake 1: Ignoring state taxes in investment selection. Many investors optimize fund selection and rebalancing entirely around federal tax considerations (harvesting short-term losses, minimizing turnover for long-term gains treatment). But they live in a 10%+ tax state and realize all gains, ignoring the fact that state taxes will reduce returns by 10% of the gain. Even a slight adjustment—such as holding a position longer to reduce state-plus-federal taxes, or routing dividend stocks into tax-advantaged accounts—can recover more than the expense ratio of the fund.
Mistake 2: Not leveraging tax-advantaged accounts to offset state tax. Investors in high-tax states often have $23,500 (401k limit as of mid-2020s) of room in retirement accounts and are not using it. A single individual in California can contribute $7,000 to a traditional IRA annually, instantly shielding that $7,000 and all its growth from California's 13.3% state tax. Over 30 years at 7% growth, that shield is worth roughly $93,000 in taxes avoided—equivalent to owning a low-cost fund and never paying its expense ratio.
Mistake 3: Underestimating local tax. Investors in New York City, Philadelphia, or Baltimore sometimes forget to add the local income tax layer. A 3% local tax does not sound like much, but it compounds. Over a 30-year career, a 3% state/local tax differential between two locations cuts your after-tax wealth by nearly 40% (because the tax is taken from both the principal and the compounded returns).
Mistake 4: Assuming moving to a lower-tax state is too disruptive. Residency moves are possible and increasingly common among retirees and remote workers. The costs (moving, establishing new residence, legal fees) are typically recouped within 3–5 years if you are a high-income earner or have a large taxable portfolio generating significant gains. For someone planning to live 20+ more years, the math is compelling.
Mistake 5: Not documenting residency when spending time in multiple states. Residency is determined by intent and presence, not just home address. An investor who spends significant time in multiple states (say, winter in Arizona, summer in Connecticut) can inadvertently establish residency in both, triggering audits and double taxation. Clear records—days present in each state, driver's license address, voter registration—are essential if you live a multi-state lifestyle.
FAQ
Which states have no income tax?
Nine states have no income tax on any form of income: Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire. (Note: New Hampshire and Tennessee have taxes on limited forms of income but exempt capital gains and dividends entirely.)
Do I have to pay state tax on gains while I'm holding a stock, or only when I sell?
Only when you sell. Unrealized gains (while you hold the stock) are not taxable at either federal or state level. Once you sell and realize the gain, both federal and state income taxes apply. Some proposals to implement an "unrealized gains" tax have circulated, but as of mid-2020s, no state or the federal government has enacted a broad unrealized gains tax.
Can I claim a deduction for state taxes paid on my federal return?
The federal deduction for state and local taxes (SALT) is capped at $10,000 per year for married couples filing jointly (as of the mid-2020s). Investment-related state taxes can be part of this deduction if you itemize, but the cap limits its benefit for high-income investors in high-tax states.
If I move to a lower-tax state, do I owe tax on my existing gains?
No. Unrealized gains are not taxable. However, states use complex rules to determine residency; moving your home address is not always sufficient. You must establish "domicile" (intent to make a state your home) and sever ties to the old state. Holding a home, maintaining voter registration, or spending too much time in the former state can trigger a residency dispute and tax bills from both states.
Do charitable donations reduce state taxes?
Yes, if you itemize deductions on your federal return. Most states allow the same charitable deduction, which reduces your state taxable income. However, the federal SALT cap ($10,000) limits the overall deduction available to high-income earners, reducing the state tax benefit in high-tax states.
How is state tax calculated for multi-state earners?
If you earn income in multiple states, you must file returns and pay tax in each state where you earn income (source-based taxation) or where you are a resident (residency-based taxation). Most states use a combination: you owe tax in your state of residency on all income, and in any other state where you earned income. To prevent double taxation, you claim a credit on your home-state return for taxes paid to other states.
Related concepts
- Understanding Capital Gains Tax: Short-Term vs. Long-Term
- Dividend Taxation and Qualified Dividend Treatment
- Tax-Advantaged Accounts: IRAs, 401(k)s, and 529s
- Bond Taxation and the Role of Municipal Bonds
- States with No Income Tax
Summary
State income taxes reduce investment returns by 1–2% annually, and in high-tax jurisdictions by considerably more. Unlike federal tax, most states do not grant preferential rates for long-term capital gains, meaning a realized gain is taxed at your full ordinary income rate, often exceeding 13% when combined with local taxes. However, tax-advantaged accounts (IRAs, 401(k)s) shield investment gains from state taxation entirely, making them the first priority for any investor seeking to optimize state tax burden. For those with large taxable accounts or high annual investment income, domicile planning—establishing residency in a lower-tax state—can recapture hundreds of thousands of dollars over a career. Rules change periodically; confirm current state tax rates and definitions with the IRS or a qualified tax professional. The magnitude of the state tax lever means it deserves the same attention investors give to federal brackets and charitable giving strategies.