Skip to main content
Regulatory Sunset Intelligence

TCJA Sunset Capital Gains & NIIT Tax Simulator 2027

Project long-term and short-term capital gains taxes, Section 1411 NIIT surtax thresholds, and state additions following the 2025 TCJA sunset.

Instant Statutory Range: Conservative (0.8x): $24,160 Baseline (1.0x): 30,200 Aggressive (1.2x): $36,240
Register Your Firm
FTC Disclosure: ProfitHelm is an independent financial research publisher. We may earn a commission when you register or subscribe through approved affiliate links on this page (Xendoo, Rippling, Mercury, CoinLedger, Koinly, TaxAct, TaxSlayer, and verified tax or accounting partners) at no additional cost to you. Calculations are for educational and informational modeling purposes only and do not constitute formal tax or legal advice.

What Are Your Capital Gains Parameters?

What Is Your Projected Capital Gains Tax Liability?

2027 Federal & State CPA Tax Shield • Verified Offer
Xendoo 2027 Federal & State CPA Tax Advisory
Lower Your 2027 Federal & State Tax Bill with Xendoo CPA →
Get Your Personalized Statutory Tax & Accounting Schedule (PDF + CSV)
Instant PDF/CSV + Free Email Summary
Unlocks your line-coded IRS and state statutory calculation worksheet, sensitivity matrix, and quarterly safe-harbor compliance checklist.
Combined Effective Rate
30.20%
Marginal Tax Tier
15.0% (Standard Preferential)
Net After-Tax Proceeds
$69,800
Total Combined Tax
$30,200
Federal Capital Gains Tax (IRC Section 1(h)) $15,000
Net Investment Income Tax (3.8% NIIT, Section 1411) $1,900
State Capital Gains Liability $13,300
Planning Note: Federal long-term capital gains stack sequentially on top of your ordinary salary and business income. Realized gains push total MAGI over statutory Section 1411 NIIT thresholds, triggering the 3.8% surtax.

Which Institutional Partners Support Capital Gains Execution and Filing?

2027 Federal & State CPA Tax Shield (Primary Offer) Sponsored / Xendoo

Xendoo 2027 Federal & State CPA Tax Advisory

Lower your 2026-2027 Federal & State marginal tax bill with dedicated CPA tax planning, S-Corp and Notice 2020-75 PTET SALT shield elections, and monthly catch-up bookkeeping.

Lower Your 2027 Federal & State Tax Bill with Xendoo CPA →
Global Workforce Management (Secondary Offer) Sponsored / Rippling

Rippling Unified Workforce Platform

Unified HR, IT, and payroll infrastructure for scaling tech companies and distributed teams.

Schedule Rippling Demo →
Built for High-Growth Startups (Fallback Offer) Sponsored / Mercury

Mercury Startup Banking

FDIC-insured business checking, treasury yield, and automated runway management for founders.

Apply for Mercury Startup Banking →
Named Decision Framework

What Is The Post-TCJA Net Investment Income Surtax Matrix?

Objective: Modeling capital gains liability, Section 1411 NIIT surtaxes, and state additions after 2025 TCJA sunset provisions expire.

  1. Step 1: Quantify Ordinary Income Baseline: Calculate taxable salary and business income to establish which tier preferential capital gains stack into under IRC Section 1(h).
  2. Step 2: Measure NIIT Exposure: Test whether aggregate Modified Adjusted Gross Income exceeds unindexed statutory thresholds ($200,000 Single / $250,000 MFJ) to apply Section 1411 surtaxes.
  3. Step 3: Execute Bracket-Optimized Dispositions: Time realization across calendar tax years or utilize installment sales to prevent involuntary migration into the 20% federal capital gains bracket.

How Do IRC Section 1(h) and Section 1411 Statutory Benchmarks Compare?

Statutory threshold comparison and code references governing capital asset dispositions pre- and post-sunset.

Tax Tier / Metric 2026 TCJA Baseline Projected 2027 Post-Sunset Statutory Code Authority
0% Preferential LTCG Tier Up to $48,350 Single / $96,700 MFJ Up to $48,350 Single / $96,700 MFJ 26 U.S. Code Section 1(h)(1)(B)
15% Standard Preferential LTCG $48,350 to $533,400 Single $48,350 to $533,400 Single 26 U.S. Code Section 1(h)(1)(C)
20% Top Federal LTCG Rate Above $533,400 Single / $600,050 MFJ Above $533,400 Single / $600,050 MFJ 26 U.S. Code Section 1(h)(1)(D)
3.8% Net Investment Income Tax (NIIT) MAGI > $200k Single / $250k MFJ MAGI > $200k Single / $250k MFJ 26 U.S. Code Section 1411(b)
Maximum Federal Combined Rate 23.8% LTCG / 40.8% STCG 23.8% LTCG / 43.4% STCG IRC Section 1 plus Section 1411
California Top Rate on Capital Gains 13.3% (Taxed as Ordinary Income) 13.3% (Taxed as Ordinary Income) Cal. Rev. and Tax Code Section 17041
New York Combined Top Rate (State + NYC) 14.776% Combined Top Tier 14.776% Combined Top Tier NY Tax Law Section 601

How Should You Optimize Capital Gains Strategy for the Post-TCJA Era?

While the Tax Cuts and Jobs Act of 2017 centered its individual tax reforms on ordinary income brackets and standard deductions, its impending statutory sunset on December 31, 2025 directly impacts capital gains tax planning through income stacking interactions. Under Internal Revenue Code Section 1(h), long-term capital gains are layered on top of ordinary income, meaning any increase in ordinary tax liability or bracket compression shifts capital gains into higher marginal territory earlier.

Furthermore, high-earning investors must contend with the Section 1411 Net Investment Income Tax (NIIT). Enacted under the Affordable Care Act, the NIIT imposes an unindexed 3.8% surtax on net investment income for single filers with modified adjusted gross income exceeding $200,000 ($250,000 for married joint filers). Because these thresholds were intentionally excluded from annual inflation adjustments, fiscal drag causes an increasing percentage of mid-career professionals and startup equity holders to trigger the surtax each year.

To mitigate exposure prior to the sunset, taxpayers should evaluate multi-year tax loss harvesting, installment sales under IRC Section 453, and charitable remainder unitrusts (CRUTs) to defer or smooth capital asset dispositions across calendar years.

What Are the Frequently Asked Questions Regarding Capital Gains Taxes?

How does the TCJA sunset affect capital gains tax brackets in 2027?

Under IRC Section 1(h), statutory long-term capital gains rates remain at 0%, 15%, and 20%. However, because the underlying ordinary income brackets expand following the expiration of P.L. 115-97, and standard deductions decrease, many investors find that their capital gains stack into higher marginal brackets earlier.

What is the Net Investment Income Tax (NIIT) and does it expire with TCJA?

The Net Investment Income Tax (NIIT) is a 3.8% surtax established under IRC Section 1411 as part of the Affordable Care Act. It was not part of the TCJA and does NOT expire. It continues to apply to the lesser of net investment income or excess MAGI over $200,000 for single filers and $250,000 for married couples filing jointly.

What is the maximum effective tax rate on capital gains in 2027?

The top federal long-term capital gains rate is 20% plus the 3.8% NIIT surtax, creating a maximum federal rate of 23.8%. When state income taxes are factored in (such as California at 13.3% or New York at 10.9%), high-earning investors face total combined tax rates exceeding 37% on realized gains.

Dual Dataset Provenance and Statutory Corroboration: TCJA Sunset Capital Gains

Primary statutory authority: IRC Section 1(h) and Section 1411 establishes the governing regulatory rules, thresholds, and schedules for this calculation.

Empirical economic dataset: FRED Series WFRBST01134 Net Worth Distribution provides macroeconomic benchmark series corroboration.

Verified Baseline Model Output: 30,200

Sensitivity Scenario Modeling: TCJA Sunset Capital Gains

SSR 5-point sensitivity matrix comparing linear proportional benchmarks against non-linear statutory AST evaluations across fixed exemptions and phaseout cliffs:

Scenario Analysis Variance Assumption Statutory Basis Economic Series Projected Outcome Non-Linear Statutory AST Output Statutory Cliff Divergence
Baseline Scenario Standard published parameters (1.0x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 30,200 30,200 0.00 (Linear Parity)
Conservative Scenario 20% Parameter contraction (0.8x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 24,160 24,160 0.00 (Linear Parity)
Moderate Contraction Scenario 10% Parameter contraction (0.9x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 27,180 27,180 0.00 (Linear Parity)
Moderate Expansion Scenario 10% Parameter expansion (1.1x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 33,220 33,220 0.00 (Linear Parity)
Aggressive Scenario 20% Parameter expansion (1.2x) IRC Section 1(h) and Section 1411 FRED Series WFRBST01134 Net Worth Distribution 36,240 36,240 0.00 (Linear Parity)
Scenario Execution Partner: Rippling Unified Workforce Platform (Rippling) Schedule Rippling Demo →

Interactive 401(k)/HSA Pre-Tax Shield, PTET Election & Federal & Multi-State (IRS Form 1040 & State PTET) Sub-Ledger: TCJA Sunset Capital Gains

Under IRC Section 1(h) and Section 1411 and IRS Form 1040 & State PTET (5.00% Top Federal & Multi-State Rate (IRS Form 1040 & State PTET)), operators combine above-the-line retirement/health deductions (IRC Section 401(k) $24,500 limit under IRS Notice 2025-67 and IRC Section 223 HSA), Pass-Through Entity Tax (IRS Notice 2020-75) SALT cap workarounds, and 2026-2027 permanent OBBBA (P.L. 119-21) 10% to 37% marginal schedules:

Adjusted Taxable Income Base
$137,100
Combined Federal + Federal & Multi-State Tax
$27,572
401(k)/HSA & PTET Tax Saved
$13,891
Net After-Tax Cash Retained
$157,428
Interactive Retained Capital versus Statutory Exposure Breakdown Net Take-Home Cash Flow: $157,428 (85.1%) Combined Tax Liability: $27,572 (14.9%)
Live Federal & Multi-State & Federal Tax Shield Signal: Deducting pre-tax 401(k)/HSA and PTET lowers your taxable base to $137,100 and saves $13,891 in combined federal and Federal & Multi-State income tax. Automate S-Corp payroll and tax books to lock in full deduction compliance.
Compare Vetted Payroll, PTET & Tax Accounting Platforms
Register Your Firm: Claim a Verified Partner Slot on This Calculator
High-Value Threshold Quote Desk ($100,000+)

Commercial CPA & Advisory Quote Intake ($100,000+ Exposure Threshold)

Commercial calculations at or above $100,000 qualify for direct CPA tax preparation and entity structuring fee quotes. Sub-threshold calculations stay 100% frictionless.

Ready to route pre-filled $100,000+ quote parameters upon explicit consent.

Multi-Year Statutory Phaseout & OBBBA Enacted Schedule Visualizer (2024 to 2030): TCJA Sunset Capital Gains

2026-2027 Enacted OBBBA (P.L. 119-21) Schedule: Under IRC Section 1(j) and IRS Rev. Proc. 2025-32, the Single standard deduction increases from $15,000 (2025) to $16,100 (2026) and $16,500 (2027) while the 10%-37% marginal brackets and 20% Section 199A QBI deduction are permanently extended, setting 2027 federal tax on a $125,000 Single filer at $18,734 (preventing the repealed pre-OBBBA sunset hike). Proprietary Signal Telemetry: JEV 1.8 | 9 Scenario Interactions (9 Workpaper Exports).

Multi-Year Statutory and Repayment Cliff Trajectory 2024 2025 2026 Cliff 2027 2028-2030
Effective Tax / Academic Year Governing Statutory Phaseout Rule Macroeconomic & Sunset Driver Projected Annual Exposure
2024 Enacted Baseline IRC 1(j) 10%-37% Brackets ($14,600 Single Std Ded) 20% Section 199A QBI / 3.4% Core CPI $19,093 Federal Tax
2025 Enacted Window IRC 1(j) 10%-37% Brackets ($15,000 Single Std Ded) OBBBA P.L. 119-21 Enacted / PTET Shield $19,181 Federal Tax
2026 Rev. Proc. 2025-32 Permanent 10%-37% ($16,100 Single / $32,200 MFJ) Permanent 20% Section 199A QBI + $24,500 401(k) $18,918 ($25,358 w/ CA)
2027 Enacted OBBBA Regime Inflation-Indexed 10%-37% ($16,500 Single / $33,000 MFJ) 20% Section 199A QBI Permanent (Repealed Sunset) $18,734 Federal Tax
2028-2030 Forward Projection Chained-CPI Indexed 10%/12%/22%/24%/32%/35%/37% Tiers Unindexed $200k/$250k 3.8% NIIT Surcharge Base $18,390 Federal Tax

Stateful Side-by-Side Scenario Comparator: TCJA Sunset Capital Gains

Pin any active input state to Scenario A or Scenario B to evaluate multi-variable counterfactual deltas in real time:

Comparison Dimension Scenario A (Pinned Baseline) Scenario B (Pinned Counterfactual) Live Active Workbench
Primary Gross Input Base $125,000 Single (2026 Rev. Proc. 2025-32) $125,000 Single (2027 OBBBA P.L. 119-21) $125,000 Gross / $16,500 2027 OBBBA Std Ded
Protected Capital / Statutory Offset $16,100 Standard Deduction + 22%/24% Tiers $16,500 Indexed Deduction + 22%/24% Tiers $108,500 2027 OBBBA Taxable Income
Net Statutory Exposure / Annual Levy $18,918 2026 Federal Income Tax $18,734 2027 OBBBA Federal Tax $18,734
Net Exposure Delta vs Scenario A $0 (Baseline) -$184 Chained-CPI Indexing Relief -$4,796 Saved vs Repealed Pre-OBBBA Sunset

Saveable Decision Blueprint & Audit-Ready State Export

Persist your active parameters locally, copy a parameterized deep-link URL for CPA or advisor review, or export a structured JSON decision blueprint cited to IRC Section 1(h) and Section 1411:

Blueprint state ready: deterministic server-rendered baseline loaded (TCJA Sunset Capital Gains).
Post-Calculation CPA, CFO & Tax Committee Deliverable

ProfitHelm 2026-2027 Statutory Tax & CPA Audit Workpaper Suite ($49 One-Time Package)

Package your active $125,000 scenario into a board-ready audit workpaper and machine-readable statutory data pack cited to IRC Section 1(h) and Section 1411 (Internal Revenue Service (IRS)).

1. Personalized Statutory Tax Workpaper (HTML/PDF + CSV)

Personalized Federal & State Statutory Tax Reconciliation Workpaper; Effective vs Marginal Bracket & Phase-Out Sensitivity Matrix; bound directly to your live calculator inputs.

2. Tailored IRS & Macroeconomic Data Pack (5 Series, 2024 to 2030)

Structured JSON and CSV statutory tables covering IRC Section 199A Qualified Business Income Deduction Rate, Social Security OASDI Maximum Taxable Wage Base for offline spreadsheet modeling.

Unlocked Sample Packet Lines ($125,000 Baseline):
1. [UNLOCKED] Personalized Federal & State Statutory Tax Reconciliation Workpaper cited to IRC Section 1(h) and Section 1411
2. [UNLOCKED] Effective vs Marginal Bracket & Phase-Out Sensitivity Matrix (0.8x / 1.0x / 1.2x sensitivity tiers)
3. [LOCKED: $49] Signed Audit Readiness Checklist, CSV Worksheet & 5-Series JSON Data Pack
Download Complete PDF/CSV Worksheet ($19) Export Audit Workpaper & Statutory Data Pack ($49)

Statutory Reference Schedule: TCJA Sunset Capital Gains Federal IRC Section 1(j) & Federal & Multi-State (IRS Form 1040 & State PTET) Rate Matrix

The following primary statutory schedule reconciles official rate tiers, deduction caps, phaseout thresholds, and filing forms under IRC Section 1(h) and Section 1411 and FRED Series WFRBST01134 Net Worth Distribution:

Federal IRC Section 1(j) & Federal & Multi-State Tier 2026 Rev. Proc. 2025-32 Thresholds (Single / MFJ) 2027 Enacted OBBBA Thresholds (Single / MFJ) Federal & Multi-State (IRS Form 1040 & State PTET) Conformity & PTET Rules
Federal Tier 1: 10% Base Bracket $0 to $12,400 Single / $0 to $24,800 MFJ ($16,100 / $32,200 Std Ded) $0 to $12,400 Single / $0 to $24,800 MFJ ($16,500 / $33,000 Std Ded) Federal & Multi-State conformity: 10% to 37% permanent Federal IRC Section 1(j) brackets under OBBBA (P.L. 119-21) + elective state PTET
Federal Tier 2: 12% Permanent OBBBA Bracket $12,401 to $50,400 Single / $24,801 to $100,800 MFJ Permanent 12% Marginal Rate under P.L. 119-21 (repealed 15% sunset) IRS Form 1040 & State PTET standard deduction & personal exemption rules apply
Federal Tier 3: 22% Permanent OBBBA Bracket $50,401 to $105,700 Single / $100,801 to $211,400 MFJ Permanent 22% Marginal Rate ($18,734 2027 Single tax at $125k) Pre-tax 401(k) ($24,500) and HSA ($4,400/$8,750) shield AGI
Federal Tier 4: 24% Permanent OBBBA Bracket $105,701 to $201,775 Single / $211,401 to $403,550 MFJ Permanent 24% Marginal Rate + permanent 20% Section 199A QBI Federal & Multi-State Top Marginal Rate: 5.00% (IRS Form 1040 & State PTET)
Federal Tier 5: 32% Permanent OBBBA Bracket $201,776 to $256,225 Single / $403,551 to $512,450 MFJ Permanent 32% Rate; IRC Section 199A 20% QBI phaseout window 3.8% IRC Section 1411 NIIT applies above $200k Single / $250k MFJ
Federal Tier 6 & 7: 35% and 37% Permanent Top 35% up to $640,600 Single ($768,700 MFJ); 37% above Permanent 37.0% Top Federal Rate under P.L. 119-21 (repealed 39.6%) IRS Notice 2020-75 PTET deducts state tax above-the-line on K-1

Beyond the Calculator: TCJA Sunset Capital Gains Statutory Compliance and Procedural Verification

Deterministic arithmetic under IRC Section 1(h) and Section 1411 computes your baseline quantitative exposure, while adjacent scenarios can be cross-checked with the IRS 2027 Statutory Tax Brackets & Marginal Rate Calculator and the Section 179 Equipment Expense & Phaseout Calculator. Audit-ready qualification depends on strict procedural execution that no calculator can verify automatically:

  1. Subtract federal standard or itemized deductions and pre-tax 401(k)/HSA contributions from Adjusted Gross Income (AGI) before applying IRC Section 1(j) marginal rate tiers.
  2. Model state-specific income tax brackets alongside the federal IRC Section 164(b)(6) SALT cap and Pass-Through Entity Tax (PTET) election workarounds under IRS Notice 2020-75.
  3. Account for the 3.8% Net Investment Income Tax (IRC Section 1411) and 0.9% Additional Medicare Tax above statutory MAGI thresholds ($200,000 single / $250,000 married filing jointly).
  4. Verify IRC Section 199A Qualified Business Income (QBI) deduction phase-out ranges and W-2 wage or UBIA limitations for pass-through entities.

Common Statutory Pitfalls: TCJA Sunset Capital Gains Issue to Prevention Matrix

Statutory Pitfall or Edge Case Regulatory Consequence Mandatory Prevention Protocol
Applying the top marginal tax bracket percentage as a flat rate across total gross income Overstates federal and state tax liability by ignoring progressive bracket tiers and standard deductions Compute tax liability piecewise across each statutory IRC Section 1(j) bracket after deductions
Ignoring state non-conformity and SALT cap interaction in California, New York, Connecticut, or New Jersey Underestimates combined federal-plus-state effective marginal tax rate by 500 to 1,330 basis points Model state-level PTET elections (IRS Notice 2020-75) and combined federal/state marginal tax schedules
Realizing long-term capital gains without checking ordinary income bracket stacking and IRC Section 1411 NIIT Pushes capital gains across the 15%-to-20% threshold and triggers the 3.8% Net Investment Income Tax surtax Coordinate capital gain harvesting and Section 1031/installment deferrals against total MAGI thresholds

CPA, Tax Strategy & Payroll Compliance: TCJA Sunset Capital Gains

  1. Verify automated multi-state withholding, quarterly Form 1040-ES safe-harbor calculation (100%/110% prior-year tax under IRC Section 6654), and PTET election support.
  2. Confirm S-Corp reasonable compensation benchmarking and W-2/K-1 payroll split integration for FICA and Section 199A optimization.
  3. Check year-end tax-loss harvesting, capital gains bracket stacking, and state residency domicile audit documentation.

Connected Statutory Topic Cluster: TCJA Sunset Capital Gains Decision Architecture

Navigate connected pillar models, side-by-side comparative matrices, and jurisdiction/entity compliance calculators: