Capital Gains Tax on Stocks: What High-Net-Worth Investors Actually Face
The standard advice on capital gains tax on stocks is written for someone with a $200K brokerage account. If you're sitting on a concentrated position worth $5M or more, the math looks different, the strategies are more complex, and the cost of getting it wrong is measured in seven figures. Here's what actually matters at this level.
What the 2024 Capital Gains Tax Rates Mean for High Earners
Most financial media leads with the 20% long-term capital gains rate as the top federal number. That figure is misleading for anyone reading this.
According to the IRS, the 3.8% Net Investment Income Tax applies to individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). That means the effective top federal rate on long-term gains is 23.8%, not 20%. For short-term gains, you're looking at ordinary income rates up to 37%, plus NIIT where applicable.
The 2024 thresholds break down as follows:
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026 to $518,900 | Above $518,900 |
| Married Filing Jointly | Up to $94,050 | $94,051 to $583,750 | Above $583,750 |
| Head of Household | Up to $63,000 | $63,001 to $551,350 | Above $551,350 |
Add 3.8% NIIT for taxpayers above the MAGI thresholds. Federal rate for most FATFIRE investors: 23.8% on long-term gains.
If you're in California, add another 13.3% on top of that. The combined federal and state marginal rate on long-term gains for a California resident exceeds 37%. New York City residents face a combined state and city rate up to 10.9%, per Tax Foundation data. The standard 60/40 guidance ignores someone holding a concentrated $8M position in a high-tax state entirely.
Keep an eye on upcoming changes to capital gains tax brackets, particularly as several provisions from the 2017 Tax Cuts and Jobs Act approach their 2026 sunset.
State Capital Gains Taxes: The Variable Most Investors Underestimate
Federal rates get most of the attention. State rates are where FATFIRE investors often get surprised.
| State | Capital Gains Tax Treatment | Top Rate |
|---|---|---|
| California | Taxed as ordinary income | 13.3% |
| New York (NYC residents) | State + city combined | Up to 10.9% |
| Oregon | Taxed as ordinary income | 9.9% |
| Minnesota | Taxed as ordinary income | 9.85% |
| New Jersey | Taxed as ordinary income | 10.75% |
| Washington | Excise tax on long-term gains over $250K | 7.0% |
| Texas | No state income tax | 0% |
| Florida | No state income tax | 0% |
| Nevada | No state income tax | 0% |
| Wyoming | No state income tax | 0% |
For a California founder selling $20M in stock, the state tax alone exceeds $2.6M. Establishing legal domicile in a no-income-tax state before a liquidity event is one of the highest-leverage moves available, but it requires genuine relocation well before the transaction closes. California's Franchise Tax Board aggressively audits former residents who claim to have moved before a large gain, particularly when they retain property, business ties, or family in the state.
The timing and documentation requirements are strict. This is not a decision to make in the 90 days before a deal closes.
For investors considering international structures, countries with no capital gains tax offer context on how other jurisdictions handle investment income, though U.S. citizens face worldwide taxation regardless of residency.
How Tax Loss Harvesting Works (and Where It Breaks Down)
Tax loss harvesting is straightforward in concept: sell positions at a loss to offset realized gains, reducing your current-year tax liability. Vanguard research estimates that systematic tax-loss harvesting and asset location strategies can add up to 0.52% in net returns annually for taxable investors. On a $10M portfolio, that's $52,000 per year in compounding advantage.
The execution is where most investors create problems.
The wash-sale rule under IRC Section 1091 disallows the loss deduction when you sell a security at a loss and repurchase the same or substantially identical security within 30 days before or after the sale. More importantly, the disallowed loss doesn't disappear. It gets added to the cost basis of the repurchased shares, deferring rather than eliminating the tax liability.
The rule applies across all accounts you control. Selling Apple in your taxable brokerage account and buying it in your IRA within the 30-day window still triggers the wash-sale disallowance. Academic research published in the Journal of Financial Planning confirms that the harvesting benefit is substantially diminished when investors fail to account for this cross-account interaction.
Practical implications for multi-account portfolios:
- Coordinate harvesting decisions across taxable accounts, IRAs, and any accounts held by your spouse
- Maintain a 31-day substitution period using a correlated but not "substantially identical" security
- Track adjusted cost basis carefully after any wash-sale event, or the deferred gain will surprise you at exit
- Consider tax-efficient ETF strategies as substitutes during the wash-sale window, since switching between similar-but-distinct ETFs generally avoids triggering the rule
The net result of harvesting is tax deferral, not permanent elimination. The deferred gain eventually comes due unless you donate the position, hold it until death, or offset it with future losses.
The Net Investment Income Tax: The 3.8% Most People Forget
The NIIT deserves its own section because it consistently catches high earners off guard.
The IRS imposes a 3.8% surtax on net investment income for taxpayers whose MAGI exceeds $200,000 (single) or $250,000 (married filing jointly). These thresholds are not indexed for inflation, which means more taxpayers cross them every year. Net investment income includes capital gains, dividends, interest, rental income, and passive business income.
For a FATFIRE investor with $3M in realized long-term gains in a given year, the NIIT adds $114,000 to the federal tax bill beyond what the standard rate tables show. That's not a rounding error.
The NIIT does not apply to income from active trades or businesses in which you materially participate, which creates planning opportunities around business structure for those with operating companies. It also does not apply to distributions from qualified retirement plans, which reinforces the value of tax-advantaged retirement account strategies for sheltering investment income.
Strategies to manage NIIT exposure include accelerating deductions into high-income years, timing large gain recognition to years with offsetting losses, and structuring real estate investments as active rather than passive where the facts support it.
How to Avoid Capital Gains Tax on Stocks Through Charitable Vehicles
Donating appreciated stock directly to charity avoids capital gains tax on the embedded appreciation entirely and generates a fair market value deduction. That's the baseline. At the $5M+ level, the structure of the charitable vehicle matters as much as the decision to give.
According to Fidelity Investments, contributing appreciated securities to a donor-advised fund allows investors to claim a fair market value charitable deduction while avoiding capital gains tax on the appreciation. A DAF is the simplest structure: contribute stock, take the deduction in the year of contribution, and recommend grants to charities over time. You retain advisory control over grant timing without the administrative burden of a private foundation.
For larger positions with significant unrealized gains, a Charitable Remainder Unitrust offers more flexibility. The IRS confirms that a CRT allows a donor to contribute appreciated assets, avoid immediate capital gains tax on the sale within the trust, receive an income stream for life or a term of years, and claim a partial charitable deduction based on the present value of the remainder interest. A CRUT funded with highly appreciated stock allows the trust to sell the stock without triggering immediate capital gains recognition. Proceeds are reinvested, and the trust pays the donor an income stream, typically 5 to 8% of trust value annually.
For a FATFIRE investor holding a $5M concentrated position with a near-zero cost basis, a CRT simultaneously solves the diversification problem, generates retirement income, reduces estate value, and satisfies philanthropic goals.
| Vehicle | Tax Deduction | Capital Gains Avoidance | Income Stream | Control Over Grants |
|---|---|---|---|---|
| Donor-Advised Fund (DAF) | Fair market value | Yes, on contribution | No | Advisory (non-binding) |
| Charitable Remainder Trust (CRT) | Partial (present value) | Yes, on trust sale | Yes (5-8% annually) | No |
| Charitable Lead Trust (CLT) | Partial (income stream PV) | Partial | No (to charity first) | Remainder to heirs |
| Direct Donation | Fair market value | Yes | No | None |
Charitable Lead Trusts work in the opposite direction: the charity receives income for a term of years, and the remainder passes to heirs, often at a reduced gift or estate tax value. CLTs are primarily estate planning tools rather than capital gains tools, but they belong in the conversation when the goal is multi-generational wealth transfer alongside charitable intent.
Section 1202 QSBS: The $10M Exclusion Most Founders Don't Plan Around Early Enough
IRC Section 1202 allows non-corporate taxpayers to exclude up to 100% of capital gains on qualified small business stock held for more than five years, subject to a per-issuer limit of $10 million or 10 times the taxpayer's adjusted basis, whichever is greater.
For a founder who invested $1M in their own C-corporation at inception, the exclusion limit is $10M (the greater of $10M or 10x basis). On a $10M gain, the federal tax savings at 23.8% exceeds $2.3M.
The requirements are specific. The issuing company must be a domestic C-corporation with aggregate gross assets under $50M at the time of issuance. The stock must be acquired at original issuance, not on the secondary market. The company must be in a qualifying trade or business, which excludes professional services firms in fields like law, health, and financial services.
The California complication is significant. California does not conform to the federal QSBS exclusion. A $10M federal exclusion that eliminates federal tax entirely still generates a $1.33M California tax bill at the 13.3% rate. This is one of the clearest cases where establishing residency in a no-income-tax state before a liquidity event produces a quantifiable, eight-figure benefit.
QSBS planning is not something to initiate after a term sheet arrives. The five-year holding period and original issuance requirements mean the decisions that determine eligibility happen years before the exit.
Tax Loss Harvesting With Stock Options: ISOs, NSOs, and the AMT Trap
Stock options create a separate layer of capital gains complexity that standard harvesting strategies don't address.
Incentive Stock Options carry potential tax advantages but trigger the Alternative Minimum Tax on exercise. The AMT spread, which is the difference between the fair market value at exercise and the strike price, counts as an AMT preference item. In a year when a company's stock drops significantly after exercise, an ISO holder can face an AMT bill on paper gains that no longer exist as cash. This is not a theoretical risk. It destroyed significant wealth for technology employees during the 2000 and 2008 downturns.
Non-Qualified Stock Options are taxed more predictably. The spread at exercise is ordinary income, subject to withholding. Any subsequent appreciation from exercise price to sale price is a capital gain, long-term if held more than a year after exercise.
The Section 83(b) election applies to restricted stock rather than options. Filing within 30 days of grant allows you to pay ordinary income tax on the value at grant rather than at vesting. If the stock appreciates substantially between grant and vesting, the election converts what would have been ordinary income into capital gain and starts the long-term holding period clock earlier. If the stock declines or the grant is forfeited, the tax paid at grant is not recoverable.
The decision to file an 83(b) election is a bet on appreciation. It makes sense when the current value is low, the growth potential is high, and the risk of forfeiture is manageable.
Step-Up in Basis Through Inheritance: The Permanent Gain Elimination Strategy
Under IRC Section 1014, inherited assets receive a stepped-up cost basis to fair market value at the date of the decedent's death. For a position purchased at $500,000 that is worth $5M at death, the heir's basis becomes $5M. The $4.5M in embedded gains disappears entirely.
This is the only strategy that permanently eliminates capital gains rather than deferring them. Every other technique discussed here, including tax loss harvesting, CRTs, and Opportunity Zone investments, defers or reduces the gain. The step-up eliminates it.
The implications for portfolio management are real. Holding a highly appreciated position that you would otherwise sell purely for tax reasons may be rational if your estate plan passes it to heirs. The calculus changes when the position represents concentrated risk that threatens the portfolio's overall stability, or when the estate is large enough to face federal estate tax, which effectively taxes the same appreciation at a different rate.
For more on how inherited positions are treated, see step-up in basis through inheritance.
The step-up in basis has faced legislative challenges. Proposals to eliminate or limit it have appeared in multiple budget frameworks over the past decade. None have passed as of this writing, but the political risk is real enough to factor into long-term planning. Structures that rely entirely on the step-up as an exit strategy carry legislative risk that pure deferral strategies do not.
Opportunity Zone Investments: Deferral Plus Permanent Exclusion
Opportunity Zone investments under IRC Section 1400Z-2 allow investors to defer capital gains from any asset sale by reinvesting proceeds into a Qualified Opportunity Fund within 180 days. The deferred gain is not recognized until the earlier of the fund sale or December 31, 2026.
The more compelling feature is the permanent exclusion. Gains on the Opportunity Zone investment itself are permanently excluded from federal capital gains tax if the fund interest is held for 10 or more years. The temporary basis step-up benefits that applied to gains held through 2021 have expired, but the permanent exclusion on appreciation within the fund remains intact.
For a FATFIRE investor who realized a $10M gain from a business sale or stock position, rolling proceeds into a QOF defers the original tax bill to 2026 while potentially eliminating all future appreciation on the reinvested capital. On a fund that doubles over 10 years, the tax-free appreciation on the reinvested $10M could represent another $2M or more in federal tax savings.
The risks are real. Opportunity Zone funds vary substantially in quality, liquidity, and management. The tax benefit does not compensate for a poor underlying investment. Underwriting the investment on its own merits before considering the tax treatment is the correct sequence.
Trusts and Capital Gains: What the Structure Actually Does
Trusts are frequently mentioned in capital gains planning conversations, often without precision about what they actually accomplish. The answer depends entirely on the trust type.
Revocable living trusts provide no capital gains tax benefit during the grantor's lifetime. The IRS treats the grantor and the trust as the same taxpayer. Assets held in a revocable trust receive the step-up in basis at death, the same as assets held outright.
Irrevocable grantor trusts, including Grantor Retained Annuity Trusts and Spousal Lifetime Access Trusts, are treated as grantor trusts for income tax purposes, meaning the grantor pays the income and capital gains tax on trust assets. This is often intentional: the grantor's tax payments reduce the taxable estate without triggering gift tax, effectively transferring additional wealth to beneficiaries tax-free.
Non-grantor irrevocable trusts are separate taxpayers. They reach the top income tax bracket at $15,200 of taxable income in 2024, which means capital gains in a non-grantor trust are taxed at the 20% rate (plus NIIT) far sooner than they would be for an individual. Distributing gains to beneficiaries in lower brackets can reduce the overall tax burden, but this requires careful trust drafting and distribution planning.
For a detailed breakdown of how different trust structures interact with capital gains, see capital gains tax implications for trusts.
Building a Capital Gains Tax Strategy Around Your Actual Situation
The strategies above are not a menu to work through sequentially. They interact, and the right combination depends on your specific position.
A founder with $15M in a single stock, California residency, and a planned liquidity event in 18 months faces a different set of decisions than a retired investor with a diversified $8M portfolio generating $400K annually in dividends and realized gains. Both face capital gains tax on stocks, but the tools, sequencing, and tradeoffs are almost entirely different.
A few principles that apply broadly at the $5M+ level:
The 23.8% federal rate plus state taxes means the after-tax cost of a bad decision is large. The asymmetry between a well-planned exit and a poorly timed one can exceed $3M on a $15M position in California.
Deferral is not the same as elimination. Most strategies buy time. The step-up in basis and QSBS exclusion are the only mechanisms that permanently eliminate federal capital gains tax. Everything else shifts the timing.
Tax planning works best when it runs parallel to investment decisions, not after them. The 83(b) election window is 30 days. QSBS eligibility is determined at issuance. Residency changes require months of documented preparation. The strategies that produce the largest savings require the most lead time.
For investors transitioning out of active income, tax planning when you stop earning addresses how the capital gains picture shifts when W-2 income disappears and investment income becomes the primary tax driver.
References
- Internal Revenue Service -- "Topic No. 409: Capital Gains and Losses" (2024)
- Internal Revenue Service -- "Publication 550: Investment Income and Expenses" (2023)
- Internal Revenue Service -- "Questions and Answers on the Net Investment Income Tax" (2023)
- Internal Revenue Service -- "IRC Section 1014: Basis of Property Acquired from a Decedent"
- Internal Revenue Service -- "IRC Section 1202: Partial Exclusion for Gain from Certain Small Business Stock"
- Internal Revenue Service -- "Charitable Remainder Trusts" (2023)
- Vanguard -- "Putting a value on your value: Quantifying Vanguard Advisor's Alpha" (2022)
- Fidelity Investments -- "Donor-Advised Funds: A Tax-Smart Way to Give" (2023)
- Tax Foundation -- "State Individual Income Tax Rates and Brackets 2024" (2024)
- Journal of Financial Planning -- "Tax-Loss Harvesting: The Role of Wash Sales and Optimal Rebalancing" (2020)
