Skip to content

Medicare and Senior Benefits

Why a Large Stock Sale Could Endanger Medicaid Even If the Tax Bill Is Zero

Digilifetrends Published 4 min read

Cashing in a winning stock can trigger no federal income tax and still jeopardize Medicaid coverage, because the eligibility calculation depends on a detail many enrollees never consider before selling.

Medicaid’s income test for working-age adults does not look at brokerage balances. A 60-year-old can own a $100,000 stock portfolio and still remain covered, since MAGI-based Medicaid, which serves most adults under 65, does not use an asset test. The problem can arise when she sells a big winner.

A woman with grey curly hair and glasses, wearing a dark blue sweater, sits at a white desk. She holds white papers in both hands, appearing to review them, with a silver laptop open in front of her. A light beige coffee mug is visible on the desk to her right, and a blurred bright living room with a sofa and a potted plant is in the background.
A woman carefully reviews financial documents and works on her laptop, illustrating the precise attention needed when managing investments that could impact Medicaid eligibility.

Medicaid’s MAGI training materials say net capital gains, meaning profit after subtracting capital losses, are part of taxable income and therefore count. An unrealized gain does not affect eligibility. Once the stock is sold, the profit is included in the same income calculation as wages.

Many older investors could run into this issue. Households ages 55 to 69 held 39.3% of the household sector’s stocks and mutual fund shares outside workplace retirement plans in the second quarter of 2026. Those holdings were up 24.9% from a year earlier, according to Federal Reserve distributional data.

Why the $100,000 Portfolio Never Counted Against Her

Consider a hypothetical 60-year-old woman in a Medicaid expansion state who earns $18,000 a year from part-time work. The example is illustrative, but the situation is common. Her $100,000 portfolio is heavily weighted toward AI stocks that have surged.

She is still several years away from Medicare, the federal health program that begins at 65. Her coverage comes from Medicaid, the joint federal-state program for low-income people. Federal guidance says states do not apply a resource test to eligibility groups using MAGI-based rules. Nursing-home Medicaid operates under separate asset-based rules, and confusion between the two often causes unnecessary concern.

For expansion adults, the income limit is 138% of the federal poverty level. The 2026 poverty guideline for one person in the 48 contiguous states is $15,960, which sets the limit at $22,024.80 a year, or about $1,835 a month. Her wages fall comfortably below that threshold.

How a $40,000 AI Gain Becomes Countable Income

Now assume she sells AI shares worth $70,000 that she originally bought for $30,000. That transaction produces a $40,000 taxable gain. Medicaid counts that gain, while the rest of the sale proceeds do not matter for the calculation. Tax rules treat gains from property transactions as gross income, and Treasury rules define basis as the original cost. The $30,000 she paid is her cost basis and is not treated as new income.

Her overall net worth changes little because she has simply exchanged stock for cash. But her countable income for the year rises from $18,000 to $58,000, far above the limit.

She also cannot sell the shares now and spread that same gain over future years. Publicly traded stock does not qualify for installment-sale treatment, so the gain is recognized in the year of the sale. She can, however, choose to sell only part of the position now and delay the rest until another year.

Her federal tax bill may still be small. For 2026, the 0% long-term capital gains rate applies to single filers with taxable income up to $49,450. A gain that owes no tax still counts in full for Medicaid, so a sale can preserve tax savings while costing coverage.

Losses can offset the impact. Medicaid counts net gains, so selling a losing investment in the same tax year can reduce the total. Cost basis matters as well, because shares bought at higher prices create smaller gains on the same sale.

Monthly or Annual Income: State Rules Determine How the Gain Is Measured

Federal Medicaid rules give states flexibility in measuring income. New applicants are typically evaluated on current monthly household income. For people already enrolled, states may use current monthly income or projected annual household income and family size for the rest of the calendar year. They may also use a reasonable method to reflect expected income changes.

That difference affects how a stock sale is treated. In a monthly-income state, a $40,000 gain would push her well above a roughly $1,835 monthly limit in the month she sells. In a state using annual projections, the gain could raise her full-year income above $22,024.80. Some states spread irregular income over a longer period, so the agency’s written policy controls which method applies.

Run Two Numbers Before You Sell

Careful investors calculate the tax impact and the Medicaid impact side by side, both for the month and the year of the sale. Spreading sales across calendar years, offsetting gains with losses, or selling higher-basis shares first can all reduce the countable gain.

Timing matters most. Medicaid and Medicare follow very different income rules. Under 2026 Medicare brackets, a single filer does not face the Part B income surcharge until modified adjusted gross income exceeds $109,000. So the same gain that can create a Medicaid problem at 60 may not trigger an IRMAA issue after Medicare starts.

More from Digilifetrends