Capital Gains Tax Strategy 2026: post-OBBBA decision framework
Updated for 2026 IRS Rev. Proc. 2025-32 LTCG brackets ($48,350/$533,400 single; $96,700/$600,050 MFJ), OBBBA July 2025 changes to QOZ (extended indefinitely + new 5-year deferral) and QSBS Section 1202 (tiered 3/4/5-year holding period + $15M cap), NIIT bracket creep, Section 121 bracket creep, crypto wash sale status, and step-up basis estate planning integration.
Capital gains tax planning is presented in US financial media as binary short-term-versus-long-term framing β assets held more than 12 months get preferential 0/15/20 percent rates; assets held 12 months or less get ordinary income rates 10-37 percent. The framing is correct for the basic holding-period decision affecting roughly 70 percent of investor situations. For the remaining 30 percent, structural choices materially shape after-tax returns: tax-loss harvesting timing within a multi-year horizon, qualified dividend treatment for stock-versus-bond income mix, Net Investment Income Tax (NIIT) 3.8 percent threshold management at $200,000 single / $250,000 MFJ MAGI (not inflation-indexed since 2013, sustained bracket creep), Section 121 home sale exclusion $250,000/$500,000 (also not inflation-indexed since 1997), step-up basis at death (TCJA preserved plus OBBBA estate exemption $15M/$30M permanent β cross-link Post #2 Batch 11) eliminating capital gains tax for inherited assets, Qualified Opportunity Zone (QOZ) deferral strategies (newly extended indefinitely by OBBBA July 2025 with 5-year rolling deferral structure), and Qualified Small Business Stock (QSBS) Section 1202 exclusion (newly restructured by OBBBA with tiered 3/4/5-year holding period and $15 million cap for stock issued after July 4, 2025). The OBBBA changes to QOZ and QSBS were not widely covered in aggregator capital gains content through Q1-Q2 2026 β much published advice still references the pre-OBBBA program structures. This guide covers the math validated against Q1-Q2 2026 IRS data, the five advanced strategies that materially reduce after-tax returns, and the decision framework that recognizes capital gains tax as a portfolio decision intersecting estate planning, retirement planning, and current-year tax optimization.
How capital gains tax actually works in 2026
LTCG versus STCG mechanics. Holding period runs from the day after acquisition to the day of sale. Assets held more than 12 months qualify as long-term capital gains and receive preferential rates 0/15/20 percent based on taxable income. Assets held 12 months or less are short-term capital gains taxed at ordinary income rates 10/12/22/24/32/35/37 percent (OBBBA permanent post-Post #2 Batch 11). Lot identification matters when you sell partial positions: FIFO is the default, but specific identification (broker statements documenting which shares were sold) optimizes after-tax outcome by allowing you to sell highest-basis shares first for losses or lowest-basis shares first for gain realization at favorable rates. Mutual fund holders also have access to average cost method, less flexible than specific identification but easier to administer.
LTCG brackets 2026 per IRS Rev. Proc. 2025-32. Single filer: 0 percent on taxable income up to $48,350; 15 percent from $48,350 to $533,400; 20 percent above $533,400. Married filing jointly: 0 percent up to $96,700; 15 percent to $600,050; 20 percent above $600,050. Head of household: 0 percent to $64,750; 15 percent to $566,700; 20 percent above. Married filing separately: 0 percent to $48,350; 15 percent to $300,025; 20 percent above. Critical point: LTCG income stacks on top of ordinary income for bracket determination. A filer with $40,000 ordinary income plus $20,000 LTCG has $60,000 taxable income; the LTCG falls partly in the 0 percent bracket (up to $48,350 single) and partly in the 15 percent bracket (above $48,350).
NIIT (Net Investment Income Tax) 3.8 percent. NIIT applies to the lesser of net investment income OR the excess of modified adjusted gross income (MAGI) above $200,000 single / $250,000 MFJ / $125,000 MFS / $250,000 qualifying surviving spouse. Thresholds are NOT inflation-indexed and have remained fixed since the 2013 inception under the Affordable Care Act. The fixed threshold combined with 13 years of cumulative inflation produces sustained bracket creep β the $200,000 single threshold in 2013 dollars equals approximately $265,000 in 2026 purchasing power, so the effective bite of NIIT has grown materially across middle-and-upper-middle class filers. Investment income subject to NIIT includes interest, dividends, capital gains, rental income, royalties, and passive business income. Wages, self-employment income, and distributions from qualified retirement plans are excluded. Estates and trusts have separate NIIT exposure beginning at $16,000 undistributed net investment income for 2026.
Section 121 home sale exclusion mechanics. Primary residence owned and used as principal residence at least 24 of the prior 60 months qualifies for $250,000 single / $500,000 MFJ exclusion on the capital gain at sale. The 2-of-5 rule resets after each qualifying sale β a household can claim the exclusion every 2 years if both ownership and use requirements are met for each sale. The 1997 Taxpayer Relief Act established these thresholds; they have NOT been inflation-indexed in 29 years. The $250,000 single threshold from 1997 dollars equals approximately $500,000 in 2026 purchasing power, and the $500,000 MFJ threshold equals approximately $1,000,000 in 2026 dollars. The structural bracket creep is now severe in high-cost coastal markets (California, New York, Massachusetts, Washington). The More Homes on the Market Act (HR 1340) introduced February 2025 proposes raising the exclusion but has not passed as of Q1-Q2 2026.
Step-up basis at death. Inherited assets receive a basis adjustment to fair market value at date of death. The accumulated capital gain during the original owner lifetime evaporates for tax purposes β heirs sell with cost basis equal to FMV at inheritance, owing capital gains tax only on appreciation between date of death and date of sale. Combined with OBBBA-permanent estate exemption $15 million per individual / $30 million MFJ (cross-link Post #2 Batch 11), this is the most material long-term capital gains strategy available to high-net-worth and many middle-net-worth households. Gift inter vivos transfers (during the donor lifetime) preserve the donor cost basis rather than triggering step-up β gifting appreciated assets does not eliminate the embedded gain; bequest is required for step-up.
Worked examples with Q1-Q2 2026 data
Setup matters. The following profiles use 2026 IRS Rev. Proc. 2025-32 thresholds, OBBBA-permanent ordinary income brackets, and NIIT thresholds $200,000 single / $250,000 MFJ.
Profile A: Mid-income investor with realized LTCG. Single filer, $75,000 W-2 income, $25,000 LTCG realized on stock held 5 years. Taxable income: $75,000 + $25,000 = $100,000 (assuming standard deduction $16,100 already applied). LTCG bracket position: ordinary income $75,000 is below the LTCG 0 percent ceiling of $48,350 β but only by stacking. Actual position: $25,000 LTCG stacks on top of $75,000 ordinary, so LTCG occupies the $75,000 to $100,000 range. Since the 15 percent LTCG bracket starts at $48,350, the entire $25,000 falls in 15 percent bracket. LTCG tax: $25,000 Γ 15% = $3,750. NIIT: not applicable (MAGI well below $200,000). Total federal capital gains tax: $3,750.
Compare to STCG hypothetical (held 11 months instead of 5 years): $25,000 Γ 22% marginal ordinary bracket = $5,500. Holding more than 12 months saves $1,750 (32 percent tax reduction). The lesson: even at mid-income, the LTCG preferential treatment is material. Many investor decisions to sell at the 11-month mark to "lock in gains" cost meaningfully more in tax than waiting 30 days for LTCG qualification.
Profile B: High-income investor crossing NIIT threshold. MFJ couple, combined $250,000 W-2 income, $80,000 LTCG realized on diversified portfolio. Taxable income: $250,000 + $80,000 = $330,000 (assuming standard deduction $32,200 already applied). LTCG bracket position: ordinary income $250,000 plus the $80,000 LTCG stacks to $330,000. The 15 percent LTCG bracket runs from $96,700 to $600,050 MFJ, so the entire $80,000 falls in 15 percent. LTCG tax: $80,000 Γ 15% = $12,000.
NIIT calculation: MAGI $330,000 exceeds the $250,000 MFJ threshold by $80,000. Net investment income $80,000 (the LTCG). NIIT applies to the lesser of net investment income ($80,000) or MAGI excess over threshold ($80,000) β both are $80,000, so NIIT applies to the full $80,000. NIIT: $80,000 Γ 3.8% = $3,040. Total federal capital gains tax: $12,000 + $3,040 = $15,040 (effective rate 18.8 percent on the $80,000 gain).
Strategic insight: Profile B is the prototype for NIIT-aware planning. Without NIIT, the federal capital gains rate is 15 percent β with NIIT, the effective rate is 18.8 percent. For very high earners in the 20 percent LTCG bracket plus NIIT, the combined rate is 23.8 percent. The 3.8 percent NIIT increment is material across the upper-middle and high-income population, and the fixed $200k/$250k thresholds mean more households cross into NIIT exposure every year through inflation alone.
Profile C: Tax-loss harvesting scenario. Single filer, $120,000 W-2 income, two positions: Stock A with $90,000 unrealized LTCG (held 18 months), Stock B with $35,000 unrealized loss (held 8 months, would be STCG loss if sold now). Marginal ordinary bracket 24 percent; LTCG bracket 15 percent. MAGI below NIIT threshold.
Strategy 1 β harvest the Stock B loss against the Stock A gain. Sell both. STCG loss of $35,000 first offsets STCG gains (none in this scenario), then offsets LTCG gains. Net LTCG: $90,000 - $35,000 = $55,000. LTCG tax: $55,000 Γ 15% = $8,250. Wash sale management: replace Stock B exposure with a similar-but-not-identical fund (different index, different ETF family) to avoid the 30-day rule.
Strategy 2 β sell only Stock A, hold Stock B. LTCG: $90,000 Γ 15% = $13,500. Stock B unrealized loss remains for future harvest opportunity.
Strategy 1 saves $5,250 (39 percent tax reduction on the realized gain). The harvest converts the unrealized Stock B loss into a current-year tax shield rather than letting it sit dormant. Strategy 1 is materially superior when the Stock B replacement is straightforward and the investor has no intent to retain the original Stock B specifically.
OBBBA July 2025: material capital gains changes via QOZ and QSBS
OBBBA was widely framed as primarily an income tax bill (cross-link Post #2 Batch 11 for tax brackets, standard deduction, SALT cap, CTC, estate exemption). The aggregator narrative through Q1-Q2 2026 often described OBBBA as having "minimal capital gains impact." That framing is incomplete. OBBBA materially restructured two narrow-but-important capital gains provisions: Qualified Opportunity Zones (QOZ) and Qualified Small Business Stock (QSBS) Section 1202.
QOZ post-OBBBA: indefinite extension + 5-year rolling deferral. The pre-OBBBA QOZ program (established by TCJA 2017) had a fixed December 31, 2026 deferral recognition deadline β investors who deferred gains into QOZ funds would owe the deferred tax in 2026 regardless of whether they continued to hold the QOZ investment. OBBBA eliminated the sunset entirely. The QOZ program is now indefinite. For investments made after December 31, 2026, the deferral structure converts from a fixed end-date to a 5-year rolling deferral: the deferred gain recognizes on the 5-year anniversary of the QOZ fund investment, not on a calendar date. OBBBA also made permanent a 10 percent basis step-up benefit that triggers at the 5-year close of the deferral period. The structural change is material for capital gains planning: QOZ remains a viable deferral strategy indefinitely, and the 5-year rolling structure aligns deferral timing with the investor decision rather than a regulatory cliff.
QSBS Section 1202 post-OBBBA: tiered holding period + $15M cap. Pre-OBBBA QSBS provided 100 percent exclusion on gains from Qualified Small Business Stock acquired after September 28, 2010, with a 5-year minimum holding period and a per-issuer cap of the greater of $10 million or 10 times basis. OBBBA introduced a tiered holding period for stock issued after July 4, 2025: 3 years equals 50 percent exclusion, 4 years equals 75 percent exclusion, 5+ years equals 100 percent exclusion. Per-issuer cap raised from $10 million to $15 million, with inflation indexing applied from 2027. Aggregate gross asset ceiling raised from $50 million to $75 million, expanding the universe of startups whose stock qualifies. The tiered holding period is a partial answer to the long-standing complaint that the 5-year cliff trapped many startup employees and early investors who needed liquidity before the 5-year mark.
The 28% rate trap on partial QSBS exclusion. Important nuance for the new tiered structure: the unexcluded portion of QSBS gain at 3-4 year holding periods is subject to a 28 percent capital gains rate, not the standard 15 or 20 percent rates. A 3-year holding with 50 percent exclusion produces 50 percent of gain excluded plus 50 percent of gain taxed at 28 percent. The effective rate on the full gain at 3-year holding: 50% Γ 0% + 50% Γ 28% = 14 percent. At 4-year holding: 25% Γ 28% = 7 percent. At 5+ year holding: 0 percent. The 5-year mark remains the structurally cleanest outcome; the tiered structure offers earlier partial liquidity at a higher effective rate but is materially more efficient than realizing as ordinary capital gain.
Practical implications for capital gains planning Q1-Q2 2026. Investors with large embedded capital gains and willingness to commit capital to QOZ funds gain extended planning flexibility β the December 31, 2026 cliff disappears. Startup founders, early employees, and angel investors whose stock was issued after July 4, 2025 face a different liquidity-versus-tax-efficiency calculus than under pre-OBBBA rules. Pre-July 4, 2025 QSBS stock continues under the old 5-year/$10M-or-10x-basis rules. Aggregator content from 2024 and early 2025 describing QSBS as "100% exclusion at 5 years with $10M cap" is structurally incomplete for post-OBBBA stock.
Bracket creep: NIIT and Section 121 exclusion thresholds
Two capital gains-adjacent provisions illustrate textbook bracket creep β fixed nominal thresholds that lose real value to inflation over time, sweeping more taxpayers into tax exposure even when nominal incomes track only cost-of-living adjustments.
NIIT thresholds: fixed since 2013. The $200,000 single / $250,000 MFJ NIIT thresholds were established by the Affordable Care Act in 2013. They have NOT been adjusted for inflation in 13 years. Cumulative inflation 2013-2026 is approximately 32 percent (CPI). The 2013 dollar threshold of $200,000 single corresponds to approximately $265,000 in 2026 purchasing power β meaning a single filer earning $200,000 in 2026 has less real purchasing power than a filer earning $200,000 in 2013, yet pays the same NIIT exposure threshold. The structural effect: each year of inflation pulls additional households across the NIIT threshold even as their real wealth and real spending power stagnate.
Strategic implication: NIIT-aware investors near the threshold can manage MAGI through timing of investment sales, retirement account contributions (Traditional IRA and 401(k) reduce MAGI; cross-link Post #3 Batch 11), HSA contributions ($4,400 single / $8,750 family for 2026 with FICA exemption β cross-link Post #3 Batch 10), and charitable giving timing to control NIIT exposure year-by-year. Workers within $20,000 of the threshold often gain materially from $7,500 Traditional IRA contribution that reduces MAGI below the NIIT line.
Section 121 home sale exclusion: fixed since 1997. The $250,000 single / $500,000 MFJ Section 121 home sale exclusion was established in the 1997 Taxpayer Relief Act and has not been inflation-adjusted in 29 years. Cumulative inflation 1997-2026 is approximately 100 percent (CPI). The 1997 dollar thresholds correspond to approximately $500,000 single / $1,000,000 MFJ in 2026 purchasing power. The structural effect on high-cost coastal markets is severe: median home prices in San Francisco, San Jose, Boston, New York, and Seattle routinely produce 10-30 year appreciation that exceeds the exclusion by hundreds of thousands of dollars, meaning the homeowner pays substantial LTCG on what was historically expected to be a tax-free home equity event.
Strategic implication: high-cost-market homeowners with embedded primary residence gains exceeding the exclusion can plan transactions to: (a) time sale within marriage status windows where MFJ exclusion applies; (b) document material home improvements over the holding period to raise cost basis (qualifying capital improvements add to basis, reducing taxable gain); (c) consider 1031-like exchanges where applicable (limited to investment real estate β primary residences do not qualify for 1031 treatment); (d) where the gain exceeds the exclusion materially, plan for the LTCG plus potential NIIT exposure in the year of sale. The More Homes on the Market Act (HR 1340) introduced February 2025 by Rep. Jimmy Panetta (D-CA) proposes increasing the exclusion but has not advanced through committee as of Q1-Q2 2026.
Five advanced strategies for capital gains optimization
Strategy 1: Tax-loss harvesting in volatile markets. Realize unrealized losses to offset current-year gains and reduce taxable income. Net capital losses up to $3,000 annually offset ordinary income; remaining losses carry forward indefinitely. The wash sale rule (Section 1091) prevents claiming the loss if you buy substantially identical securities within 30 days before or after the loss sale. Workaround: invest in a similar-but-not-identical fund (different index, different ETF family) for 31 days, then optionally rotate back. Volatile years like 2022 and 2024 produced harvesting opportunities that lifetime offset gains across subsequent years. The strategy is best executed systematically (quarterly review) rather than reactively at year-end.
Strategy 2: Section 121 primary residence timing. $250,000 single / $500,000 MFJ exclusion every 2 years (2-of-5 rule) creates opportunities for high-cost-market homeowners with rising equity. Strategic patterns: (a) marriage timing β if you bought as a single filer, the MFJ exclusion becomes available after 24 months of joint ownership and use; (b) sale-and-replacement timing β selling a primary residence at the exclusion limit and reinvesting in the next residence resets the holding clock for a future qualifying sale; (c) capital improvement documentation β keeping records of substantial improvements (additions, major renovations, system replacements) raises cost basis and reduces taxable gain on eventual sale.
Strategy 3: QOZ deferral and 10-year hold (post-OBBBA structure). Defer recognition of existing capital gains by investing in a Qualified Opportunity Zone fund within 180 days of the original gain realization. For post-2026 investments under the new OBBBA structure, the deferred gain recognizes on the 5-year anniversary of the QOZ fund investment plus the permanent 10 percent basis step-up triggers at that point. Hold the QOZ investment 10 years from initial investment for exemption from QOZ-related gains entirely. The strategy is most effective for investors with large embedded gains and willingness to commit capital to QOZ-eligible projects (typically real estate development or operating businesses in designated zones) for the multi-year hold.
Strategy 4: QSBS Section 1202 for startup equity (post-OBBBA structure). Founders, early employees, and angel investors holding C-corporation stock acquired after July 4, 2025 can plan for the new tiered exclusion: 3 years equals 50 percent exclusion, 4 years equals 75 percent exclusion, 5+ years equals 100 percent exclusion per issuer up to $15 million (with inflation indexing from 2027). Plan corporate structure to qualify: must be C-corp, must be Qualified Trade or Business (excludes services like law, health, consulting, financial services), and aggregate gross assets at issuance must be under $75 million. Stacking opportunities exist for trust planning β splitting QSBS stock across multiple non-grantor trusts can multiply the per-issuer cap. Pre-July 4, 2025 stock continues under old rules (5-year hold, $10M-or-10x cap).
Strategy 5: Step-up basis estate planning with OBBBA-permanent exemption. Hold highly appreciated assets to death for full step-up to FMV. Combined with the OBBBA-permanent estate exemption of $15 million per individual / $30 million MFJ (cross-link Post #2 Batch 11), the strategy transfers wealth tax-free up to the exemption and eliminates capital gains tax on the lifetime appreciation. The decision rule: for assets with large embedded gain and no urgent liquidity need, holding to death often produces materially better after-tax outcome for heirs than selling and reinvesting proceeds. Gifting during the donor lifetime preserves the donor cost basis (no step-up) and uses lifetime exemption β bequest is preferable when step-up is the strategic goal. Charitable contribution of appreciated assets (donor-advised funds, qualified charities) avoids capital gains tax entirely and produces a charitable deduction at fair market value.
Cryptocurrency tax treatment Q1-Q2 2026
Cryptocurrency continues to be treated as property under IRS Notice 2014-21 through Q1-Q2 2026. The classification has material capital gains implications.
Wash sale rule status. Section 1091 wash sale rule applies to "stock or securities," and cryptocurrency is property β not stock or security β under the current IRS classification. Direct cryptocurrency holdings (Bitcoin, Ethereum, and other tokens held on exchanges or in self-custody) are NOT subject to wash sale restrictions on direct trades. An investor can sell crypto at a loss and immediately repurchase without the 30-day wait period required for traditional securities. Exception: crypto exposure held through securities wrappers (Bitcoin ETF, Ethereum ETF, certain mining company stocks) is subject to wash sale rules because the wrapper itself is a security.
Form 1099-DA reporting beginning 2026 tax year. The IRS introduced Form 1099-DA (Digital Asset transactions) effective for the 2026 tax year β brokers and exchanges that handle digital asset transactions must report sales to both the holder and the IRS. The form includes a wash sale loss disallowed reporting box. The form structure signals likely future regulatory direction even if Section 1091 has not been formally extended to crypto. Pending legislation has repeatedly proposed extending wash sale rules to digital assets; multiple industry analyses suggest the regulatory direction is clear even if no law has passed as of Q1-Q2 2026.
Strategic implications. Aggressive crypto tax-loss harvesting on direct holdings remains available Q1-Q2 2026 β investors can systematically realize losses and immediately repurchase without wash sale restrictions. Conservative approach for high-conviction positions: respect a 30-day window voluntarily to align with eventual regulatory direction and avoid record-keeping complications if rules change retroactively. For tokenized securities and security-token offerings, wash sale rules apply because the underlying asset meets the Section 1091 definition of a security. Crypto held in retirement accounts (self-directed IRAs that hold crypto) has different tax treatment β gains are tax-deferred (Traditional) or tax-free (Roth) per the account type, and wash sale considerations do not apply within tax-advantaged accounts.
Decision framework: six-step capital gains optimization
For each potential capital gains transaction, work through the following sequence:
Step 1: Determine holding period and classification. Day after acquisition to day of sale. More than 12 months equals LTCG (preferential rates); 12 months or less equals STCG (ordinary rates). For multiple-lot positions, use specific identification to optimize after-tax outcome.
Step 2: Apply 2026 LTCG brackets and calculate base capital gains tax. Single 0% to $48,350 / 15% to $533,400 / 20% above. MFJ 0% to $96,700 / 15% to $600,050 / 20% above. Stack LTCG on top of ordinary income for bracket determination. Verify the bracket position after combining all income sources for the year.
Step 3: Calculate NIIT exposure. MAGI versus $200,000 single / $250,000 MFJ thresholds. NIIT 3.8 percent applies to the lesser of net investment income OR MAGI excess above threshold. Plan retirement account contributions and HSA contributions to manage MAGI at the margin.
Step 4: Evaluate tax-loss harvesting opportunities. Review unrealized losses in the portfolio. Harvest losses to offset current-year gains and up to $3,000 ordinary income. Manage wash sale rule (30-day window) by replacing with similar-but-not-identical securities. For crypto, direct holdings remain wash-sale exempt Q1-Q2 2026.
Step 5: Consider Section 121 timing for primary residence. $250,000 single / $500,000 MFJ exclusion every 2 years. Time sale within marriage status windows and capital improvement documentation. For high-cost markets where gain exceeds exclusion, plan for the LTCG plus potential NIIT exposure in the sale year.
Step 6: Integrate with estate planning. Step-up basis at death plus OBBBA-permanent estate exemption $15M/$30M (cross-link Post #2 Batch 11) make holding highly appreciated assets to death the highest-utility outcome for large embedded gains without urgent liquidity need. For high-net-worth households with founder stock issued after July 4, 2025, integrate QSBS Section 1202 planning with estate planning across non-grantor trusts.
Cross-cluster: capital gains, retirement, and estate integration
Capital gains tax planning intersects materially with adjacent verticals covered in Batch 11 and Batch 10 cluster content.
With Post #1 Batch 11 (W-2 versus 1099 self-employed tax). Self-employed investors face additional Schedule SE on self-employment income but their investment gains are treated identically to W-2 filers for LTCG/STCG/NIIT purposes. Section 199A QBI deduction (cross-link Post #1 Batch 11) interacts with NIIT: QBI deduction reduces taxable income but not MAGI used for NIIT threshold, so high-income self-employed filers may still face NIIT on investment income even after maxing QBI. Solo 401(k) and SEP-IRA contributions for self-employed reduce MAGI dollar-for-dollar and can manage NIIT exposure at the margin.
With Post #2 Batch 11 (OBBBA + TCJA post-sunset reality). OBBBA-permanent ordinary income brackets stabilize STCG rate projection β short-term gains remain at 10/12/22/24/32/35/37 percent indefinitely (subject to future legislative change). Estate exemption $15M/$30M permanent (cross-link Post #2 Batch 11) makes step-up basis estate planning a stable long-horizon strategy rather than a TCJA-sunset-rush planning question. SALT cap $40,000 (2025-2029) increases itemize-versus-standard-deduction value for high-tax-state itemizers, indirectly affecting capital gains planning for households at the SALT-cap-versus-standard-deduction decision boundary.
With Post #3 Batch 11 (Roth IRA versus Traditional 401(k) tax-optimization). Capital gains inside Roth IRA grow tax-free with no LTCG, STCG, or NIIT consequence β making Roth IRA the dominant vehicle for high-appreciation expected investments. Traditional 401(k) and Traditional IRA convert capital gains to ordinary income at withdrawal, which can be advantageous if retirement bracket is materially lower than current bracket but is structurally less efficient than direct LTCG treatment outside retirement accounts for assets held long-term. Multi-vehicle planning often allocates high-appreciation expected assets (growth stocks, QSBS) to Roth accounts, dividend-and-interest income to Traditional accounts (where ordinary rate conversion is acceptable), and balanced exposure to taxable accounts where LTCG treatment plus step-up basis at death can be planned.
With Post #3 Batch 10 (HDHP+HSA versus PPO health insurance). HSA balances invested in capital markets grow tax-deferred and withdraw tax-free for qualified medical expenses (cross-link Post #3 Batch 10). HSA invested in equity markets over 20-30 years can produce $300,000-$700,000+ balances, all of which exit tax-free for qualified medical use or at ordinary income rate for non-medical use after age 65. HSA is the only US tax-advantaged vehicle where capital gains exit completely tax-free without holding-period requirements β strictly superior to taxable account LTCG treatment for HDHP-eligible workers.
Forthcoming Post #5 Batch 11 (Self-Employed Quarterly Estimated Tax). Capital gains realized during the tax year affect quarterly estimated tax safe harbor calculations. Realized LTCG (and STCG) trigger underpayment penalties if quarterly payments fall short of safe harbor (100/110 percent of prior year tax or 90 percent of current year). Investors planning large gain realizations should adjust quarterly estimated payments in the quarter of realization rather than waiting until tax-filing time.
Try the calculator
Calculators mentioned in this post:
Compound Interest
Calculate compound interest with monthly contributions. See how your money grows over time.
Retirement Calculator 2026: 401(k), IRA, Roth + SECURE 2.0
Plan retirement with 2026 IRS limits ($24,500 401(k), $7,500 IRA, $11,250 super catch-up 60-63), employer match modeling with vesting, Roth vs Traditional bracket arbitrage, SECURE 2.0 Roth catch-up rule, and 30-year projection with inflation.
Frequently asked questions
Should I sell investments before year-end for tax-loss harvesting?
Tax-loss harvesting is most effective when executed systematically (quarterly review) rather than reactively at year-end. The mechanic: sell positions with unrealized losses to offset realized gains in the same tax year. Net capital losses up to $3,000 annually offset ordinary income; remaining losses carry forward indefinitely against future capital gains. The wash sale rule (Section 1091) prevents claiming the loss if you buy substantially identical securities within 30 days before or after the loss sale β workaround by replacing with similar-but-not-identical fund (different index, different ETF family) for 31 days. Year-end harvesting is fine if you have unrealized losses in mid-December and want to offset realized gains for the current year, but waiting until December 31 limits replacement timing and can produce tracking error in the wash sale window. Cryptocurrency direct holdings remain NOT subject to wash sale rule for Q1-Q2 2026 (Section 1091 applies only to "stock or securities," and IRS Notice 2014-21 classifies crypto as property), though new Form 1099-DA reporting signals likely future regulatory direction.
How does NIIT 3.8% affect my investment income in 2026?
Net Investment Income Tax (NIIT) is a 3.8 percent additional tax on the lesser of (a) net investment income OR (b) the excess of modified adjusted gross income (MAGI) above $200,000 single / $250,000 MFJ / $125,000 MFS / $250,000 qualifying surviving spouse. Thresholds have NOT been adjusted for inflation since the 2013 inception under the Affordable Care Act, producing 13 years of cumulative bracket creep that captures growing middle class. Investment income subject to NIIT: interest, dividends, capital gains (both LTCG and STCG), rental income, royalties, and passive business income. Excludes wages, self-employment income, distributions from qualified retirement plans. For high earners in the 20 percent LTCG bracket plus NIIT, combined federal capital gains effective rate reaches 23.8 percent. Strategic implication: filers near the threshold can manage MAGI through Traditional IRA / 401(k) contributions (cross-link Post #3 Batch 11), HSA contributions (cross-link Post #3 Batch 10), and timing of investment sales across tax years to control NIIT exposure year-by-year.
Can I avoid capital gains tax by holding investments until death?
Yes, through the step-up basis at death mechanism. Inherited assets receive a basis adjustment to fair market value at the date of death, eliminating capital gains tax on the lifetime appreciation. Heirs sell with cost basis equal to FMV at inheritance, owing capital gains tax only on the appreciation between date of death and date of sale. Combined with OBBBA-permanent estate exemption $15 million per individual / $30 million MFJ (cross-link Post #2 Batch 11), this is the highest-utility long-term capital gains strategy for highly appreciated assets without urgent liquidity need. Important distinctions: gift inter vivos transfers (during the donor lifetime) preserve the donor cost basis rather than triggering step-up β gifting appreciated assets does NOT eliminate the embedded gain. Bequest at death is required for step-up. Strategic implication: for assets with large embedded gain and where the holder does not need liquidity, holding to death often produces materially better after-tax outcome for heirs than selling, paying capital gains tax, and reinvesting proceeds. The trade-off: liquidity needs and risk concentration may favor selling and rebalancing during lifetime despite the step-up sacrifice.
Is cryptocurrency subject to the wash sale rule in 2026?
Direct cryptocurrency holdings (Bitcoin, Ethereum, and other tokens held on exchanges or in self-custody) are NOT subject to the wash sale rule under current law as of Q1-Q2 2026. IRS Notice 2014-21 classifies cryptocurrency as property, and Section 1091 (the wash sale rule) applies only to "stock or securities." An investor can sell crypto at a loss and immediately repurchase without triggering wash sale disallowance β a material tax advantage versus traditional securities. Exception: crypto exposure held through securities wrappers (Bitcoin ETF, Ethereum ETF, certain mining company stocks) is subject to wash sale rules because the wrapper itself is a security. Tokenized securities and security-token offerings that meet the definition of a "security" under Section 1091 are also subject to wash sale treatment. New IRS Form 1099-DA effective for the 2026 tax year β brokers and exchanges must report digital asset sales β includes a wash sale loss disallowed reporting box, signaling likely future regulatory direction. Conservative approach for high-conviction positions: respect a 30-day window voluntarily to align with eventual regulatory direction, even though Section 1091 has not been formally extended to crypto. Aggressive harvesters can continue to realize losses and immediately repurchase Q1-Q2 2026 within current law.
How does the Section 121 home sale exclusion work for my primary residence?
Section 121 provides exclusion of up to $250,000 single / $500,000 MFJ on capital gains from the sale of a primary residence, provided the seller owned and used the property as principal residence for at least 24 months of the prior 60 months (the 2-of-5 rule). These thresholds were established by the 1997 Taxpayer Relief Act and have NOT been adjusted for inflation in 29 years β producing severe bracket creep in high-cost coastal markets where median home appreciation routinely exceeds the exclusion. The exclusion can be claimed every 2 years if the residence requirements are met for each sale. Capital improvements (additions, major renovations, system replacements) add to cost basis and reduce taxable gain β keep records throughout ownership. Excess gain above the exclusion is taxed as LTCG (if held more than 12 months) at the applicable bracket. The More Homes on the Market Act (HR 1340) introduced February 2025 by Rep. Jimmy Panetta (D-CA) proposes increasing the exclusion but has not advanced through committee as of Q1-Q2 2026. Strategic timing: marriage shifts single $250k exclusion to MFJ $500k after 24 months of joint ownership and use; documenting capital improvements raises cost basis throughout the holding period.
What is the QOZ deferral strategy and is it still available in 2026?
Yes, and OBBBA July 2025 materially expanded the Qualified Opportunity Zone (QOZ) program. The mechanic: investors with realized capital gains can defer recognition by investing the gain amount into a QOZ fund within 180 days of the original realization. The fund invests in designated low-income census tracts (residential development, commercial real estate, operating businesses in eligible zones). Pre-OBBBA, deferred gains had to be recognized on December 31, 2026 regardless of continued QOZ investment β a fixed cliff. OBBBA eliminated the sunset entirely. For investments made after December 31, 2026 under the new structure, deferred gains recognize on the 5-year anniversary of the QOZ fund investment (rolling, not a calendar date), and a permanent 10 percent basis step-up triggers at the 5-year close. Hold the QOZ investment 10 years from initial investment for exemption from QOZ-related gains entirely (the 10-year exemption is the most material long-term benefit). Strategic implication: investors with large embedded capital gains and willingness to commit capital to QOZ-eligible projects for the multi-year hold gain extended planning flexibility. Aggregator content from 2024 and early 2025 describing QOZ as "expiring December 31, 2026" is structurally outdated post-OBBBA.
Sources
- IRS Revenue Procedure 2025-32 β 2026 inflation adjustments including LTCG brackets
- IRS Topic No. 559 β Net Investment Income Tax
- IRS Publication 523 β Selling Your Home (Section 121 home sale exclusion)
- IRS Publication 550 β Investment Income and Expenses
- IRS Notice 2014-21 β Virtual currency as property and subsequent guidance
- Tax Foundation β One Big Beautiful Bill Act capital gains, QOZ, and QSBS provisions

