What Is the Tax Rate on Stocks Sold in 2026?
The tax rate on stocks sold in 2026 depends on how long you held the investment before selling. If you held the stock for more than one year, you’ll pay long-term capital gains tax rates of 0%, 15%, or 20% based on your taxable income. If you sold within one year of purchase, you’ll pay short-term capital gains tax at your ordinary income tax rate, which can be as high as 37% at the federal level. For California residents, add another 1% to 13.3% in state tax on top of federal rates. That difference can cost you thousands.
Most investors don’t realize they’re paying double the tax they should because they sold too early or failed to coordinate their stock sales with other income. Understanding the exact rates, holding period rules, and strategic timing can save you $5,000 to $15,000+ per year depending on your income bracket and the size of your portfolio.
Quick Answer
The tax rate on stocks sold in 2026 ranges from 0% to 37% federally, plus up to 13.3% for California residents. Long-term capital gains (held over one year) are taxed at 0%, 15%, or 20%. Short-term gains (held one year or less) are taxed as ordinary income at rates up to 37%. Your holding period and income level determine which rate applies.
Long-Term vs Short-Term: Why One Year Matters
The IRS divides stock sales into two categories based on your holding period. This single factor can double or triple your tax bill on the exact same gain.
Long-Term Capital Gains (Held Over One Year)
If you bought stock on January 15, 2025 and sold it on January 16, 2026 or later, you qualify for long-term capital gains treatment. These preferential rates are significantly lower than ordinary income tax rates.
2026 Long-Term Capital Gains Tax Rates (Federal):
- 0% rate: Single filers with taxable income up to $47,025; married filing jointly up to $94,050
- 15% rate: Single filers with taxable income from $47,026 to $518,900; married filing jointly from $94,051 to $583,750
- 20% rate: Single filers with taxable income over $518,900; married filing jointly over $583,750
High-income earners may also pay the 3.8% Net Investment Income Tax (NIIT) if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), bringing the effective top federal rate to 23.8%.
Short-Term Capital Gains (Held One Year or Less)
If you bought stock on March 1, 2026 and sold it on December 15, 2026, you held it for less than one year. The IRS treats this gain as ordinary income and taxes it at your regular income tax bracket.
2026 Ordinary Income Tax Brackets (Federal):
- 10% on income up to $11,600 (single) or $23,200 (married filing jointly)
- 12% on income from $11,601 to $47,150 (single) or $23,201 to $94,300 (married filing jointly)
- 22% on income from $47,151 to $100,525 (single) or $94,301 to $201,050 (married filing jointly)
- 24% on income from $100,526 to $191,950 (single) or $201,051 to $383,900 (married filing jointly)
- 32% on income from $191,951 to $243,725 (single) or $383,901 to $487,450 (married filing jointly)
- 35% on income from $243,726 to $609,350 (single) or $487,451 to $731,200 (married filing jointly)
- 37% on income over $609,350 (single) or $731,200 (married filing jointly)
Here’s the brutal reality: A $50,000 short-term gain for someone in the 32% bracket costs $16,000 in federal tax. That same $50,000 as a long-term gain costs $7,500 at the 15% rate. Waiting one extra day to sell can save you $8,500.
California State Tax on Stock Sales
California does not distinguish between long-term and short-term capital gains for state tax purposes. All capital gains are taxed as ordinary income at California’s progressive income tax rates, which range from 1% to 13.3% depending on your total taxable income.
2026 California Tax Rates (Top Brackets):
- 9.3% on taxable income over $61,214 (single) or $122,428 (married filing jointly)
- 10.3% on taxable income over $312,686 (single) or $625,372 (married filing jointly)
- 11.3% on taxable income over $375,221 (single) or $750,442 (married filing jointly)
- 12.3% on taxable income over $625,369 (single) or $1,250,738 (married filing jointly)
- 13.3% on taxable income over $1,000,000 (all filing statuses)
For California residents, the combined federal and state tax on a long-term capital gain can reach 36.1% (20% federal + 3.8% NIIT + 12.3% California) for high earners, or 37.1% if you hit the 13.3% California bracket.
Real-World Tax Calculation Examples
Let’s break down exactly what you’ll pay based on different scenarios. These examples use 2026 tax rates and assume the taxpayer has no other capital gains or losses for the year.
Example 1: W-2 Employee Selling Tech Stock (Long-Term)
Marcus, a software engineer in San Francisco, earns $140,000 in W-2 income. He purchased $30,000 of his company’s stock through an employee stock purchase plan in January 2024 and sold it in March 2026 for $65,000, realizing a $35,000 long-term capital gain.
Federal Tax Calculation:
Taxable income: $140,000 + $35,000 = $175,000
Long-term capital gains rate: 15%
Federal tax on gain: $35,000 × 15% = $5,250
California Tax Calculation:
California treats all capital gains as ordinary income
Tax bracket: 9.3%
California tax on gain: $35,000 × 9.3% = $3,255
Total Tax: $5,250 + $3,255 = $8,505
After-Tax Proceeds: $35,000 – $8,505 = $26,495
Example 2: Day Trader Selling Stock (Short-Term)
Jennifer, a self-employed day trader in Los Angeles, has $180,000 in trading income from stocks held less than one year. She’s in the 32% federal tax bracket.
Federal Tax Calculation:
Short-term capital gains rate: 32% (ordinary income)
Federal tax: $180,000 × 32% = $57,600
Self-Employment Tax:
If structured as trading income: Additional 15.3% on first $168,600 = $25,795
(Note: Day trading classification affects SE tax applicability)
California Tax Calculation:
Tax bracket: 9.3%
California tax: $180,000 × 9.3% = $16,740
Total Tax (excluding SE tax complexity): $57,600 + $16,740 = $74,340
Effective Tax Rate: 41.3%
If Jennifer held positions longer than one year, she’d pay the 15% long-term rate instead, saving approximately $30,600 in federal tax alone.
Example 3: Retired Investor in Low Tax Bracket
Robert, age 68, is retired with $38,000 in Social Security and pension income. He sells stock held for three years, realizing a $25,000 long-term capital gain.
Federal Tax Calculation:
Taxable income: $38,000 + $25,000 = $63,000
Long-term capital gains rate: 15%
Federal tax on gain: $25,000 × 15% = $3,750
Potential 0% Rate Strategy:
If Robert could reduce his taxable income below $47,025 through deductions, he’d qualify for the 0% long-term capital gains rate, eliminating the entire $3,750 federal tax bill. This is where strategic timing and bunching deductions becomes critical.
KDA Case Study: High-Income Business Owner
Sandra owns a successful marketing agency in Orange County generating $420,000 in annual net income through her S Corporation. In January 2026, she wanted to sell $180,000 worth of Apple and Tesla stock she’d accumulated over the past eight years to fund a commercial real estate investment.
The Problem: Sandra’s accountant was planning to report the entire $180,000 as a long-term capital gain on her 2026 return, which would have pushed her into the 20% federal long-term capital gains bracket plus the 3.8% NIIT, for a total federal rate of 23.8%. Combined with California’s 10.3% rate, she was looking at a 34.1% effective tax rate, or $61,380 in total taxes.
What KDA Did: We analyzed Sandra’s complete tax situation and identified a multi-year stock sale strategy. Instead of selling everything in 2026, we recommended she:
- Sell $90,000 of stock in December 2025 to stay under the 15% federal threshold
- Maximize her 401(k) and defined benefit plan contributions ($70,000 total) to reduce taxable income
- Sell the remaining $90,000 in January 2027 after adjusting her S Corp salary to optimize brackets
- Use tax-loss harvesting on underperforming positions to offset $12,000 of gains
Tax Savings Result: By splitting the sale across two tax years and coordinating with retirement contributions, Sandra reduced her effective rate on the stock sale from 34.1% to 24.6%, saving $17,100 in total taxes. She paid KDA $4,200 for comprehensive planning, netting a $12,900 benefit and a 3.1x return on investment in year one.
Ready to see how we can help you? Explore more success stories on our case studies page to discover proven strategies that have saved our clients thousands in taxes.
Special Situations and Edge Cases
Qualified Small Business Stock (QSBS) Exclusion
If you hold stock in a qualified small business (defined under Section 1202) for more than five years, you may exclude up to $10 million or 10 times your basis (whichever is greater) from federal taxation. This is a massive benefit for early startup employees and investors, but California only provides a partial exclusion. California taxpayers can exclude 50% of the gain that’s excluded federally if the stock was issued before September 28, 2010, but California provides no exclusion for stock issued after that date.
Wash Sale Rules
If you sell stock at a loss and repurchase the same or substantially identical security within 30 days before or after the sale, the IRS disallows the loss deduction under the wash sale rule. This applies to purchases made in taxable accounts, IRAs, and even your spouse’s accounts. Many investors trigger wash sales accidentally during tax-loss harvesting in December, losing valuable deductions.
Net Investment Income Tax (NIIT)
High earners pay an additional 3.8% tax on net investment income, including capital gains from stock sales. The NIIT applies when your modified adjusted gross income exceeds $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately). This tax is often overlooked in DIY tax planning and can add thousands to your bill.
Alternative Minimum Tax (AMT) Considerations
While regular capital gains rates generally apply under AMT, exercising incentive stock options (ISOs) can trigger AMT in the exercise year, and selling those shares can create complex interactions. ISO holders need specialized planning to avoid paying tax twice on the same income.
Red Flag Alert: Common Mistakes That Trigger Audits or Cost You Money
Red Flag #1: Ignoring Cost Basis Adjustments
Your cost basis isn’t always what you paid for the stock. Reinvested dividends, stock splits, return of capital distributions, and wash sales all adjust your basis. Brokers report basis to the IRS on Form 1099-B, and mismatches trigger automated IRS notices. Failing to track basis accurately can cause you to overpay tax or face penalties for underreporting.
Red Flag #2: Selling Stock in the Wrong Account
If you hold the same stock in both a taxable brokerage account and a retirement account (IRA, 401k), always sell from the tax-advantaged account first when possible. Selling appreciated stock from a taxable account triggers immediate capital gains tax, while selling inside an IRA or 401(k) has no current tax impact.
Red Flag #3: Missing the Holding Period by One Day
The holding period for long-term capital gains treatment is more than one year, not one year exactly. If you bought stock on March 15, 2025, you must hold until March 16, 2026 to qualify for long-term rates. Selling on March 15, 2026 (exactly one year) results in short-term treatment and potentially double the tax.
Red Flag #4: Not Coordinating Stock Sales With Other Income
Selling stock in a year when you also receive a bonus, RSU vesting, or business income spike can push you into a higher tax bracket on both the stock gain and your other income. Strategic planning involves timing stock sales in low-income years, such as after retirement, during a sabbatical, or in a year with business losses.
How California’s Unique Rules Affect Stock Sales
California’s tax treatment of capital gains differs significantly from federal rules, creating planning complexity for residents.
No Preferential Rate for Long-Term Gains
Unlike federal tax law, California taxes all capital gains as ordinary income. There’s no benefit to holding stock longer than one year for state tax purposes. A $100,000 long-term capital gain is taxed the same as $100,000 of salary or business income in California.
No Step-Up in Basis for Non-Residents
If you move out of California and later sell appreciated stock, you won’t owe California tax on the sale as long as you’re a non-resident when you sell. This creates a massive planning opportunity: California residents considering relocation can save 13.3% on large stock sales by establishing residency in a no-income-tax state like Nevada, Texas, or Florida before selling. For a $2 million gain, that’s $266,000 in California tax avoided.
Moving to California With Appreciated Assets
If you move to California with appreciated stock you purchased while living elsewhere, California only taxes the appreciation that occurs after you become a resident. Proper documentation of fair market value on your move date is essential to avoid overpaying California tax later.
Tax-Loss Harvesting: Turn Losses Into Savings
Tax-loss harvesting is the strategy of selling investments at a loss to offset capital gains and reduce your tax bill. You can deduct capital losses against capital gains dollar-for-dollar. If your losses exceed your gains, you can deduct up to $3,000 of net capital losses against ordinary income per year, with unlimited carryforward of excess losses.
How to Implement Tax-Loss Harvesting
Step 1: Review your portfolio for positions with unrealized losses before December 31. Identify stocks trading below your purchase price.
Step 2: Sell losing positions to realize the loss. Make sure the sale settles before year-end (typically T+2 settlement, meaning you must sell by December 29 for a December 31 settlement).
Step 3: Immediately replace the sold position with a similar but not substantially identical investment to maintain market exposure. For example, if you sell the S&P 500 ETF (SPY) at a loss, you can immediately buy a different S&P 500 ETF (VOO or IVV) without triggering wash sale rules.
Step 4: Wait 31 days before repurchasing the original security to comply with wash sale rules.
Example: You have $40,000 in capital gains from selling Apple stock. You also hold Meta stock with a $15,000 unrealized loss. By selling Meta before year-end, you realize the $15,000 loss, reducing your taxable gains to $25,000. At a 15% long-term capital gains rate, you save $2,250 in federal tax plus California state tax. You can immediately buy a similar tech stock to maintain exposure without waiting 31 days.
Coordination With Retirement Accounts and Stock Options
RSUs (Restricted Stock Units)
When RSUs vest, you pay ordinary income tax on the fair market value at vesting. Your employer withholds taxes (typically 22% federal supplemental rate), but this is often insufficient for high earners. When you later sell the vested shares, you’ll pay capital gains tax on any appreciation from the vesting date to the sale date.
Example: Your RSUs vest when the stock is worth $50,000. You pay ordinary income tax on $50,000 at vesting. Two years later, you sell the shares for $70,000. You pay long-term capital gains tax on the $20,000 appreciation ($70,000 – $50,000 basis).
Employee Stock Purchase Plans (ESPP)
ESPP taxation is complex and depends on whether you make a qualifying or disqualifying disposition. A qualifying disposition occurs when you sell the stock at least two years after the offering date and one year after the purchase date. Disqualifying dispositions (selling earlier) result in a portion of the gain being taxed as ordinary income.
Incentive Stock Options (ISOs)
ISOs receive favorable tax treatment if you hold the shares for at least one year after exercise and two years after the grant date. Meeting these requirements allows the entire gain to be taxed as long-term capital gains. However, exercising ISOs triggers AMT liability based on the spread between exercise price and fair market value, even though you haven’t sold the stock yet.
Step-by-Step: Reporting Stock Sales on Your Tax Return
Here’s exactly how to report stock sales to avoid IRS notices and ensure accuracy.
Step 1: Gather Your Form 1099-B
Your brokerage will issue Form 1099-B by mid-February showing all stock sales during the tax year. This form reports the sale date, proceeds, cost basis, and whether the gain is short-term or long-term. Verify the information matches your records.
Step 2: Complete Form 8949
Transfer the information from Form 1099-B to Form 8949, Sales and Other Dispositions of Capital Assets. You’ll complete separate sections for short-term and long-term transactions. Make adjustments for wash sales, non-deductible losses, or basis corrections in Column G.
Step 3: Transfer Totals to Schedule D
Summarize your Form 8949 totals on Schedule D, Capital Gains and Losses. This form calculates your net capital gain or loss and applies the appropriate tax rates.
Step 4: Report on Form 1040
Transfer your net capital gain from Schedule D, Line 16 to Form 1040, Line 7. If you have a capital loss, you’ll deduct up to $3,000 against ordinary income and carry forward any excess.
Step 5: Calculate Net Investment Income Tax
If your modified adjusted gross income exceeds the NIIT thresholds, complete Form 8960 to calculate the 3.8% additional tax on investment income.
Strategies to Reduce Your Tax Rate on Stocks Sold
Strategy 1: Hold for Long-Term Treatment
The simplest strategy is to hold investments for more than one year before selling. This alone can cut your tax rate in half or more. If you’re approaching the one-year mark on a position, review whether waiting a few extra weeks makes sense from both a tax and investment perspective.
Strategy 2: Time Sales to Low-Income Years
If you anticipate a year with lower income (sabbatical, between jobs, first year of retirement, business loss year), that’s the optimal time to realize capital gains. You may qualify for the 0% or 15% federal rate instead of 20%, saving thousands.
Strategy 3: Gift Appreciated Stock Instead of Cash
If you’re planning charitable donations, donate appreciated stock instead of cash. You’ll receive a deduction for the full fair market value and avoid paying capital gains tax on the appreciation. For a $10,000 donation of stock with a $3,000 basis, you save the capital gains tax on $7,000 of appreciation plus receive a $10,000 charitable deduction.
Strategy 4: Use a Qualified Opportunity Zone Fund
If you invest capital gains from stock sales into a Qualified Opportunity Zone Fund within 180 days, you can defer the tax until 2026 or when you sell the QOZ investment, whichever is earlier. If you hold the QOZ investment for 10 years, you pay no tax on the appreciation within the QOZ investment itself.
Strategy 5: Sell Stock From an Inherited Account
Inherited stock receives a step-up in basis to the fair market value on the date of death. If you inherited stock worth $100,000 that your parent purchased for $20,000, your basis is $100,000. Selling immediately generates little or no capital gains tax. Coordinate stock sales between inherited accounts and purchased accounts to minimize overall tax.
What Happens If You Don’t Report Stock Sales?
The IRS receives a copy of every Form 1099-B your broker issues. If you fail to report a stock sale on your return, the IRS will send you a CP2000 notice proposing additional tax, penalties, and interest. These automated matching notices typically arrive 12-18 months after you file your return.
The penalty for failure to report income is generally 20% of the underreported tax, plus interest that compounds daily. If the IRS determines the omission was intentional, penalties can reach 75% of the underreported tax. Even innocent mistakes can be expensive, so accurate reporting is essential.
Ready to Reduce Your Tax Bill?
KDA Inc. specializes in strategic tax planning for business owners, S Corps, LLCs, and high-net-worth individuals. Book a personalized consultation and walk away with a clear plan.
Frequently Asked Questions
Do I pay taxes on stocks if I don’t sell them?
No. You only pay capital gains tax when you sell stock and realize the gain. Unrealized appreciation (paper gains) is not taxable. However, you may owe tax on dividends paid by the stock even if you don’t sell, and certain stock compensation (RSUs, non-qualified stock options) triggers tax at vesting or exercise even if you hold the shares.
Can I avoid capital gains tax by reinvesting the proceeds?
Generally, no. Unlike real estate 1031 exchanges, there’s no provision in the tax code that allows you to defer capital gains tax on stock by reinvesting the proceeds in other stocks. The exception is Qualified Opportunity Zone investments, which allow deferral and potential elimination of gains if you meet strict requirements.
How do I calculate cost basis for stock I bought years ago?
Your broker should maintain cost basis records for stock purchased after 2011. For older purchases, you’ll need to reconstruct basis using original purchase confirmations, monthly statements, or historical price data. Don’t forget to adjust basis for stock splits, reinvested dividends, return of capital distributions, and corporate actions like mergers.
What’s the difference between qualified and ordinary dividends?
Qualified dividends are taxed at the same preferential rates as long-term capital gains (0%, 15%, or 20%). Ordinary dividends are taxed at ordinary income tax rates. To qualify for preferential treatment, you must hold the stock for more than 60 days during the 121-day period beginning 60 days before the ex-dividend date. Your Form 1099-DIV will indicate which dividends are qualified.
Should I sell losing stock before or after year-end?
If you want to claim the loss on your current-year tax return, sell before December 31 and ensure the trade settles by year-end (typically requires selling by December 29 due to T+2 settlement). If you expect higher income next year or already have substantial losses this year, you might wait and realize the loss next year when it provides more benefit.
Can I deduct stock losses if I’m not a day trader?
Yes. All investors can deduct capital losses against capital gains. If your losses exceed your gains, you can deduct up to $3,000 of net capital losses against ordinary income per year. Excess losses carry forward indefinitely to future tax years. You don’t need to be classified as a trader to claim capital losses.
Does the tax rate differ for stocks vs mutual funds vs ETFs?
The tax rate is the same for all three when you sell. However, mutual funds can distribute capital gains to shareholders even if you didn’t sell your shares, creating a tax bill without you taking any action. ETFs are generally more tax-efficient because they rarely distribute capital gains. Your Form 1099-DIV will report any capital gains distributions from mutual funds or ETFs.
When Professional Help Pays for Itself
DIY tax software handles basic stock sales adequately, but complex situations require professional guidance. You should consult a tax strategist if you:
- Have capital gains exceeding $50,000 in a single year
- Hold employee stock options (ISOs, NSOs, ESPP shares)
- Are considering a move out of California with significant unrealized gains
- Own qualified small business stock (QSBS) you plan to sell
- Have wash sales, complex basis adjustments, or inherited stock
- Are starting a business and wondering whether to fund it with cash or appreciated stock
- Have capital loss carryovers from prior years exceeding $20,000
- Are subject to Alternative Minimum Tax
The tax savings from proper planning typically exceeds the cost of professional help by 3x to 10x, especially when you’re dealing with six-figure stock sales or complex equity compensation.
Key Takeaway
Key Takeaway: The difference between short-term and long-term capital gains treatment can cost you thousands of dollars in unnecessary taxes. A $50,000 stock sale held 366 days costs $7,500 in federal tax at the 15% long-term rate, while the same sale held 364 days costs $16,000 at the 32% ordinary income rate. One day makes an $8,500 difference. Combine this with California’s additional 9.3% to 13.3% state tax on all gains, and strategic planning becomes essential for anyone with significant stock holdings.
Book Your Stock Sale Tax Strategy Session
If you’re sitting on appreciated stock and you’re unsure whether selling now will cost you thousands in avoidable taxes, let’s create a clear plan. Our team will analyze your complete tax situation, identify the optimal timing for your stock sales, and show you exactly how much you can save through strategic planning. We’ve helped California investors save an average of $12,000 per year on stock sale taxes through proper timing, loss harvesting, and bracket management. Book your personalized stock sale tax consultation now and stop leaving money on the table.
This information is current as of 4/30/2026. Tax laws change frequently. Verify updates with the IRS or FTB if reading this later.