Study guide
12.3 Capital Gains Harvesting, Basis Step-Up & Medicare IRMAA Coordination
Retirement Income Certified Professional RICP
Track your progress as you read
Finished sections get a check mark.
1 Introduction
About the RICP Program & Course Exams
2 Chapter 1: The Retirement Income Planning Process & Client Discovery
1.1 Foundations of Retirement Income Planning 1.2 Retirement Income Goal Setting & Expense Categorization 1.3 Evaluating Retirement Readiness & Modeling Feasibility 1.4 Choosing the Retirement Date & The Power of Working Longer
3 Chapter 2: Managing Retirement Risks
2.1 Longevity Risk & Mortality Projections 2.2 Sequence-of-Returns Risk & The Fragility Zone 2.3 Inflation & Healthcare Cost Escalation 2.4 Cognitive Decline & Late-Life Decision-Making Risks 2.5 The Full Retirement Risk Inventory & Risk-Management Tools
4 Chapter 3: Safe Withdrawal Rates & Sustainable Spending
3.1 The Bengen 4% Rule & Trinity Study Dynamics 3.2 Dynamic Spending Rules & Guyton-Klinger Guardrails 3.3 Modern Safe Withdrawal Research & Failure-Rate Modeling
5 Chapter 4: Social Security Retirement & Spousal Benefits
4.1 Social Security Mechanics: PIA, AIME & Work Credits 4.2 Claiming Ages: Early Claiming vs Delayed Retirement Credits 4.3 Spousal & Divorced Spousal Benefits 4.4 Survivor Benefits & Strategy Coordination
6 Chapter 5: Social Security Tax Integration & Medicare
5.1 Taxation of Social Security Benefits & The Tax Torpedo 5.2 The Retirement Earnings Test & the Repeal of WEP and GPO 5.3 Medicare Structure (Parts A, B, C, D) & Medigap Supplements 5.4 IRMAA Surcharges & High-Income Medicare Planning 5.5 Health Coverage Before Medicare & the Retiree Health Expense Budget
7 Chapter 6: Qualified Plan & IRA Distribution Rules
6.1 Defined Contribution & Qualified Plan Distributions 6.2 Traditional vs Roth IRA Distribution Mechanics 6.3 Required Minimum Distributions (RMDs) Under SECURE 2.0 6.4 Inherited IRAs, The 10-Year Rule & Eligible Designated Beneficiaries
8 Chapter 7: Specialized Distribution & Employer Stock Strategies
7.1 Net Unrealized Appreciation (NUA) for Employer Securities 7.2 Substantially Equal Periodic Payments (IRC §72(t) / §72(q)) 7.3 Qualified Charitable Distributions (QCDs) & Charitable Planning
9 Chapter 8: Employer, Executive & Government Retirement Benefits
8.1 Defined Benefit Pension Decisions: Annuity Options vs. Lump Sum 8.2 Executive Benefits: Nonqualified Deferred Compensation, SERPs & Equity Awards 8.3 Federal Employee Retirement Benefits: FERS, CSRS & the Thrift Savings Plan 8.4 Military Retirement Benefits: High-3, the Blended Retirement System, SBP & VA Benefits
10 Chapter 9: Annuities & Guaranteed Lifetime Income
9.1 Commercial Annuity Structures & Mortality Risk Pooling 9.2 Single Premium Immediate Annuities (SPIAs) & Deferred Income Annuities (DIAs) 9.3 Qualified Longevity Annuity Contracts (QLACs) 9.4 Guaranteed Living Benefits (GLWB, GMWB, GMIB)
11 Chapter 10: Retirement Portfolio Architecture & Decumulation Glide Paths
10.1 Total Return vs Income-Matching Paradigms 10.2 The Time-Segmentation (Three-Bucket) Strategy 10.3 Floor-and-Upside / Safety-First Framework 10.4 Choosing a Strategy: Retirement Income Styles (RISA) & the Risk-Wrap Approach
12 Chapter 11: Advanced Asset Allocation & Glide Paths in Decumulation
11.1 Rising Equity Glide Paths 11.2 Asset Location in Decumulation 11.3 Buffer Assets & Volatility Management
13 Chapter 12: Tax-Efficient Withdrawal Sequencing
12.1 Conventional Withdrawal Order vs Coordinated Drawdown 12.2 Strategic Roth Conversions in the Low-Bracket Window 12.3 Capital Gains Harvesting, Basis Step-Up & Medicare IRMAA Coordination
14 Chapter 13: Long-Term Care, Healthcare & Home Equity
13.1 Long-Term Care Risks & Activities of Daily Living 13.2 LTC Insurance Solutions: Traditional vs Asset-Based Hybrid Policies 13.3 Medicaid Planning & Asset Protection Guidelines 13.4 Home Equity Monetization & HECM Reverse Mortgages 13.5 Retirement Housing Decisions: Aging in Place, Downsizing, Relocation & Senior Living Communities
15 Chapter 14: Life Insurance, Business Owners & Legacy Planning
14.1 Life Insurance in Retirement Income Planning 14.2 Retirement Planning for Small Business Owners: Plan Design, Exit Strategies & Concentration Risk 14.3 Estate & Legacy Planning for Retirees: Documents, Beneficiary Designations, Trusts & 2026 Transfer Taxes
16 Chapter 15: Ethics, Fiduciary Standards & Regulatory Compliance
15.1 The American College Code of Ethics & Professional Procedures 15.2 Fiduciary Standards vs Best Interest Regulations 15.3 Managing Conflicts of Interest & Vulnerable Adult Protection
12.3 Capital Gains Harvesting, Basis Step-Up & Medicare IRMAA Coordination
Key Takeaways Explain This Topic AI
Under federal tax stacking rules, ordinary income occupies the bottom tax brackets first, and long-term capital gains and qualified dividends stack on top to determine their preferential rate.
The 0% federal long-term capital gains bracket allows retirees to harvest substantial investment gains tax-free, but realized gains still elevate Adjusted Gross Income (AGI).
IRC §1014 provides a step-up in basis to fair market value at death, establishing a powerful estate planning rule: spend high-basis taxable lots during life and hold highly appreciated, low-basis lots until death.
Tax-loss harvesting in retirement permits offsetting unlimited capital gains plus up to $3,000 of ordinary income annually, with indefinite carryover under IRC §1212.
True tax efficiency requires multi-system coordination to ensure that harvesting gains or taking withdrawals does not trigger stealth surtaxes: the 3.8% Net Investment Income Tax (NIIT), Medicare IRMAA cliffs, or excessive Social Security taxation.
Last updated: September 2026
Capital Gains Harvesting, Basis Step-Up & Medicare IRMAA Coordination
Core Principle: Decumulation requires managing cost basis, capital gain brackets, and the IRC §1014 basis step-up at death inside taxable accounts, while coordinating with stealth surtaxes including Medicare IRMAA and the 3.8% Net Investment Income Tax.
The 0% Long-Term Capital Gains Bracket and Stacking Rules
Long-term capital gains (assets held >1 year) and qualified dividends receive preferential rates of 0%, 15%, or 20% . For early retirees, the statutory 0% capital gains bracket offers an opportunity to harvest gains with zero federal income tax.
The IRS "Stacking Rule"
Under federal tax law, capital gains are not evaluated in isolation. The IRS enforces strict stacking rules :
Ordinary Income Sits at the Bottom: Ordinary income (pensions, IRA withdrawals, taxable Social Security) fills the lowest tax brackets first, absorbing the standard deduction.
Capital Gains Stack on Top: Long-term capital gains and qualified dividends are placed on top of ordinary income to determine their tax bracket.
Headroom Determines Rate: Only long-term gains that fall within the 0% range (taxable income up to $98,900 MFJ / $49,450 single in 2026 ) are taxed at 0% . Any excess is taxed at 15% (or 20%).
Capital Gains Harvesting (Basis Bumping)
Retirees within the 0% capital gains threshold can sell appreciated securities and immediately repurchase them. This capital gains harvesting resets cost basis higher at zero tax liability. Importantly, the wash-sale rule (IRC §1091) applies only to losses, never to gains .
Tax-Loss Harvesting and Carryover Rules in Decumulation
During market downturns, retirees should execute disciplined tax-loss harvesting in taxable accounts:
Capital Gain Offsetting: Realized capital losses offset realized capital gains dollar-for-dollar.
Ordinary Income Deduction: Under IRC §1211, net capital losses exceeding capital gains offset up to $3,000 of ordinary income per year ($1,500 if married filing separately).
Indefinite Carryforward: Under IRC §1212, unused net losses carry forward indefinitely to shelter future gains or offset $3,000 of ordinary income annually.
Wash-Sale Rule: Repurchasing substantially identical securities within 30 days before or after the sale date disallows the loss. Advisors must use compliant substitutes (e.g., swapping an S&P 500 ETF for a Total Stock Market ETF).
IRC §1014 Step-Up in Basis at Death: Strategic Lot Sequencing
IRC §1014 provides that property acquired from a decedent receives a cost basis equal to the fair market value (FMV) at the date of death (or alternate valuation date under IRC §2032). Decades of accumulated, unrealized capital gains are permanently erased for heirs.
Strategic Tax-Lot Liquidation Protocol
Advisors must implement a clear liquidation hierarchy:
Spend High-Basis Lots First: Liquidating high-basis lots generates cash with minimal taxable capital gains.
Hold Low-Basis Lots Until Death: Assets with large embedded gains should be retained until death. The §1014 step-up extinguishes the embedded gain entirely, delivering maximum after-tax wealth to beneficiaries.
Community Property Advantage: In common law states, joint property receives a basis step-up on only the decedent's 50% share. Under IRC §1014(b)(6) , married couples in community property states receive a 100% full "double" step-up in basis on the entire asset upon the first spouse's death.
Multi-System Coordination: The Triple Stealth Tax Threat
Advisors must coordinate distributions across three interrelated systems that penalize elevated Adjusted Gross Income (AGI):
Medicare IRMAA Surcharges: Modified Adjusted Gross Income (MAGI) includes all taxable income plus tax-exempt municipal interest. Realized capital gains (even at 0%) increase AGI and can trigger cliff-edge Medicare Part B and Part D surcharges under the two-year lookback rule.
Net Investment Income Tax (NIIT - IRC §1411): A 3.8% surtax applies to the lesser of net investment income or Modified AGI exceeding statutory, unindexed thresholds: $250,000 MFJ or $200,000 Single .
Social Security Tax Torpedo: Realized capital gains increase provisional income, potentially pushing up to 85% of Social Security benefits into ordinary taxable income.
Comparative Framework: Tax-Lot Treatment and Liquidation Strategy
Tax Lot Type Decumulation Strategy Lifetime Tax Impact Estate & Beneficiary Impact
High Basis / Low Gain Liquidate first for spending Minimal realized capital gain Step-up provides minimal added value
Unrealized Losses Harvest immediately Offsets gains + shelters $3k ordinary income Losses vanish at death; harvest during life
Low Basis / High Gain Preserve until death Avoids LTCG, NIIT, and IRMAA Full IRC §1014 Step-Up : 100% gain erased
0% LTCG Window Gains Harvest selectively 0% federal tax (verify IRMAA headroom) Resets basis higher for future flexibility
Advisor-Client Case Scenario: The Costly "Free" Capital Gain
Robert and Linda (both 68, filing jointly) have $45,000 of pension income and $35,000 of combined Social Security. Believing gains under the 0% threshold ($98,900 of taxable income for joint filers in 2026) are completely free, Robert sells stock with a $40,000 long-term capital gain (basis $10,000, proceeds $50,000).
Multi-System Fallout: The gain itself is taxed at 0% because their taxable income, including the gain, stays under $98,900. But the gain raises provisional income from $62,500 to $102,500. Taxable Social Security jumps from $21,725 to the $29,750 maximum (85% of benefits), an increase of $8,025 of ordinary income. After their $35,500 standard deduction and $12,000 senior deduction, that added income is taxed at 10% and 12%, producing about $850 of unexpected federal tax .
IRMAA check: Their MAGI of about $114,750 is far below the $218,000 joint IRMAA threshold, so there is no Medicare surcharge in this case. A household already near a threshold, however, could see the same gain trigger IRMAA two years later.
Solution: Splitting the gain across tax years, pairing it with harvested losses, or realizing it before Social Security starts would have reduced or avoided the extra tax.
Practical Calculation: IRC §1014 Step-Up vs. Lifetime Liquidation
Evelyn (age 82, single) owns stock worth $500,000 with a $50,000 basis ($450,000 embedded gain). Her pension and taxable Social Security total $40,000, and her benefits are already 85% taxable. She compares selling now with leaving the shares to her daughter (2026 rules, 6% state tax):
Alternative A (Sell During Life):
Federal capital gains tax: After her $18,150 standard deduction, $21,850 of ordinary income fills the bottom of the brackets. The first $27,600 of gain fills the rest of the 0% range (up to $49,450), and the remaining $422,400 is taxed at 15%: about $63,360 .
3.8% NIIT: On the lesser of the $450,000 gain or MAGI above $200,000 ($290,000): about $11,020 .
State income tax: 6% × $450,000 = $27,000 .
Medicare IRMAA (two years later): MAGI of about $490,000 lands in the single-filer tier between $205,000 and $500,000 ($446.30 Part B plus $83.30 Part D surcharges a month at 2026 rates): about $6,355 for that year.
Total cost: roughly $107,700 , leaving about $392,300 of after-tax value (ignoring any spending of the proceeds).
Alternative B (Hold Until Death, IRC §1014):
Her daughter receives a stepped-up basis of about $500,000 (fair market value at death).
An immediate sale produces little or no taxable gain: about $500,000 to her daughter.
Holding the shares preserves about $107,700 more for the family (about 21.5% of the position), provided Evelyn does not need the money and the position's concentration risk is acceptable.
Exam Tip
Stacking Rule: Ordinary income sits at the bottom; LTCG and qualified dividends stack on top.
Wash-Sale Rule (IRC §1091): Applies to losses only (30 days before/after sale). Does not apply to gains.
Capital Loss Offset: Net losses offset ordinary income up to $3,000/year ($1,500 MFS); excess carries forward indefinitely.
IRC §1014 Step-Up: FMV basis at death eliminates pre-death gains. Community property receives a 100% double step-up (§1014(b)(6)).
Multi-System Limits: NIIT 3.8% surtax triggers at unindexed thresholds ($250k MFJ / $200k Single). Capital gains inflate AGI, affecting IRMAA and Social Security.