Selling stocks or mutual funds at a profit can change whether you qualify for government benefits, sometimes in ways that catch people off guard. Capital gains count as income under most federal benefit programs, meaning a single sale in January could push your annual income above the threshold for Medicaid, SNAP, or marketplace subsidies. Understanding how each program treats capital gains before you sell can help you avoid losing coverage or benefits unexpectedly.
What Are Capital Gains and Why Do They Count as Income?
When you sell a stock, ETF, or mutual fund for more than you paid, the difference is a capital gain. The IRS distinguishes between short-term gains (assets held less than one year, taxed as ordinary income) and long-term gains (assets held more than one year, taxed at preferential rates). For federal benefit programs, this distinction matters less than the fact that the gain shows up on your tax return as income.
Most benefit programs that use income to determine eligibility rely on a measure called Modified Adjusted Gross Income, or MAGI. MAGI is your adjusted gross income (from your tax return) plus a few additions like untaxed foreign income and non-taxable Social Security. Capital gains from selling stocks or funds flow directly into AGI and therefore into MAGI. There is no special exclusion for them.
The key rule: only the gain counts, not the full sale proceeds. If you paid $10,000 for shares that are now worth $15,000, only the $5,000 profit counts as income. The $10,000 return of your original investment does not.
How Capital Gains Affect Medicaid
Medicaid eligibility in expansion states uses MAGI as the income measure. The standard limit is 138% of the federal poverty level (FPL). In 2025, those thresholds work out to:
| Household Size | 100% FPL | 138% FPL (Medicaid limit) |
|---|
| 1 | $15,650 | $21,597 |
| 2 | $21,150 | $29,187 |
| 3 | $26,650 | $36,777 |
| 4 | $32,150 | $44,367 |
| 5 | $37,650 | $51,957 |
If your income is below these limits and you sell stock with a $10,000 gain, that gain gets added to your income for the year. Depending on where you started, it could push you over the limit and make you ineligible for Medicaid for that coverage year.
An important nuance for Medicaid: there is no reconciliation process like the one ACA marketplace plans use. Medicaid eligibility is evaluated when you apply or when you report a change. If your income goes up during the year, you are supposed to report it. If your reported income exceeds the limit, your Medicaid coverage can end. You would then need to enroll in marketplace coverage, possibly with a premium tax credit.
Long-Term Care Medicaid Is Different
For people applying for Medicaid to cover nursing home or long-term care costs, the rules are completely different. Long-term care Medicaid does not use MAGI. Instead, it applies asset tests and income caps that vary by state. In these cases, capital gains from an investment sale could either count as income in the month received or affect the asset calculation depending on how the proceeds are held afterward. Anyone planning around long-term care Medicaid should consult a benefits attorney or elder law specialist given how complex state rules are.
How Capital Gains Affect ACA Marketplace Subsidies
The Affordable Care Act's premium tax credits are also based on MAGI. People with incomes between 100% and 400% FPL qualify for subsidies; in recent years, enhanced subsidies have also been available above that range. Capital gains that push your income above these thresholds can reduce or eliminate your subsidy.
The ACA marketplace adds a wrinkle that Medicaid does not: reconciliation. If you receive subsidies during the year based on an estimated income but your actual income (including capital gains) turns out higher, you may have to repay some or all of the advance premium tax credits when you file your taxes. This is a real financial risk for people who sell appreciated stock mid-year and do not adjust their marketplace enrollment.
| MAGI as % of FPL | Marketplace Subsidy Status |
|---|
| Below 100% | Generally not eligible (Medicaid instead) |
| 100% to 150% | Largest subsidies available |
| 150% to 400% | Subsidies phase down |
| Above 400% | Subsidies may still be available under enhanced rules |
If you sell stocks and realize significant gains, it is worth updating your income estimate on HealthCare.gov to avoid a surprise repayment bill in April.
How Capital Gains Affect SNAP
SNAP (Supplemental Nutrition Assistance Program) uses a different income calculation. It generally looks at gross monthly income compared to 130% of FPL, and net monthly income compared to 100% of FPL after deductions.
Capital gains from selling stocks count as unearned income in the month the sale proceeds are received. A large one-time gain could temporarily push your household income above the SNAP limit for that month, but it would not affect future months if your income returns to normal.
SNAP gross income limits for 2025 (130% FPL):
| Household Size | Monthly Gross Income Limit |
|---|
| 1 | $1,702 |
| 2 | $2,299 |
| 3 | $2,896 |
| 4 | $3,494 |
| 5 | $4,091 |
One important point: many states have adopted Broad-Based Categorical Eligibility (BBCE), which can raise or eliminate asset limits for SNAP. This means simply owning stock in a brokerage account may not disqualify you in many states, even if it would under the federal standard rules. But the profit you actually receive from selling that stock is still income.
If you receive SNAP and sell stock, you are generally required to report the income to your state SNAP office. Failing to report can result in an overpayment that you would have to repay.
Capital Gains vs. Other Investment Income
Not all investment activity creates capital gains. Here is how different investment income types are treated across benefit programs:
| Income Type | Counts as MAGI Income? | Affects Medicaid/ACA? |
|---|
| Capital gains from stock sale | Yes | Yes |
| Qualified dividends | Yes | Yes |
| Interest income | Yes | Yes |
| Return of cost basis (principal) | No | No |
| Unrealized gains (you still own the stock) | No | No |
| Roth IRA withdrawals (qualified) | No | No |
| Traditional IRA withdrawals | Yes | Yes |
The fact that unrealized gains do not count is significant. You can hold an appreciated stock indefinitely without it affecting your Medicaid or ACA eligibility. The impact only happens when you sell.
Strategies for Managing Capital Gains While on Benefits
There are legitimate ways to manage how capital gains affect your benefit eligibility. These are not loopholes; they are standard tax planning approaches.
Spread sales across years. If you have shares to sell, splitting the sale over two tax years can keep income below program thresholds in any single year.
Harvest losses to offset gains. If you have stocks trading below your purchase price, selling them in the same year as gains can reduce your net capital gain and therefore your MAGI.
Use tax-advantaged accounts. Investments held in a Roth IRA grow and can be withdrawn tax-free in retirement. Those withdrawals do not count as MAGI and do not affect benefit eligibility. Traditional 401(k) and IRA withdrawals do count.
Time sales around open enrollment. If selling stock will push your income above Medicaid limits, plan the sale for a time when you can smoothly transition to marketplace coverage during open enrollment, rather than being caught mid-year without coverage.
Model your income before selling. Before any large stock sale, estimate your projected annual MAGI including the gain. Compare it to the program thresholds that apply to you. The math is worth doing before the transaction, not after.
What to Do if a Capital Gain Makes You Ineligible
If you sell stock and realize your income will exceed Medicaid limits for the year, take these steps:
- Update your Medicaid case. Report the income change to your state Medicaid office. You may be disenrolled from Medicaid.
- Apply for marketplace coverage. Losing Medicaid qualifies you for a Special Enrollment Period. You typically have 60 days to enroll in a marketplace plan.
- Check your ACA subsidy eligibility. At your new income level, you may qualify for a premium tax credit on a marketplace plan.
- Update your marketplace application. If you are already on a marketplace plan with subsidies, log in to HealthCare.gov and update your projected income to avoid repayment surprises.
- Check SNAP separately. If the gain was a one-time event, your SNAP eligibility may return to normal the following month once your income drops back to its regular level.
Run a Free Eligibility Check
Knowing exactly where you stand before making investment decisions is easier with the right tool. The Benefits Navigator screener can estimate your eligibility across multiple programs based on your current income. If you are considering a stock sale that would change your income, running the screener with your projected post-sale income gives you a picture of what benefits you might qualify for, or lose, before you act.
Frequently Asked Questions
Does selling stock always count as income for Medicaid?
Yes, the capital gain portion of a stock sale counts as income for MAGI-based Medicaid. Only the profit counts, not the return of your original investment. If you sell shares and break even or take a loss, there is no income to report.
Can a one-time stock sale permanently disqualify me from Medicaid?
No. Medicaid eligibility is evaluated annually. If a large capital gain pushes you over the income limit for one year, you may lose Medicaid for that coverage period. The following year, if your income returns to normal, you can reapply and likely qualify again.
Do unrealized gains affect my benefits?
No. You only have a capital gain when you actually sell. Holding appreciated stock does not count as income for Medicaid, SNAP, or ACA purposes. Some long-term care Medicaid programs consider assets (the value of things you own), but standard Medicaid for working-age adults does not have an asset test.
What if I sell stock to pay medical bills while on Medicaid?
Selling stock creates a capital gain that counts as income. The reason you sold it does not change how it is treated for eligibility purposes. If the sale pushes you over the Medicaid income limit, you would need to transition to marketplace coverage.
Does SNAP count the full sale amount or just the gain?
Only the net capital gain counts, not the gross proceeds. If you sold $20,000 in stock but only $3,000 was profit above your original purchase price, SNAP would count $3,000 as unearned income for the month of the sale.
How do dividends from stocks compare to capital gains for benefit eligibility?
Dividends, like capital gains, count as income for MAGI-based programs. Qualified dividends are included in MAGI and can affect Medicaid and ACA eligibility the same way capital gains do. The difference is that dividends arrive as regular income throughout the year, while capital gains are typically a one-time event when you sell.
Should I talk to a financial advisor before selling stock while on benefits?
If you are receiving Medicaid, ACA subsidies, or SNAP and are considering a stock sale large enough to meaningfully change your annual income, getting professional advice is worth considering. A tax professional or benefits counselor can model the exact impact on your eligibility before you make the sale. Benefits Navigator is an information resource; it does not provide tax or legal advice.