Do Stocks Count as Income? Tax Rules, Rates, and Exceptions

Stocks count as income in three tax situations: when you sell shares for a profit, when you receive dividends, and when your employer pays you in stock. Simply holding shares that have gone up in value does not create income, no matter how much the price has climbed. That said, the tax code isn’t the only place the question matters. Financial aid formulas, Medicaid, SSI, and mortgage lenders all look at stock holdings in their own ways, and some of them count your portfolio even if you never sell a share.

Selling Stock at a Profit

Federal tax law defines gross income to include gains from dealings in property, and stocks fall squarely inside that definition.1Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined Your gain is the sale price minus your cost basis, which is what you originally paid for the shares plus any transaction fees. Buy 100 shares at $30 and sell them at $50, and you have a $2,000 capital gain.

How long you held the shares before selling determines the rate. Stock held more than one year produces a long-term capital gain.2Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses Stock held one year or less produces a short-term gain, taxed at the same rate as your wages. Your broker reports the sale to the IRS on Form 1099-B, including dates, proceeds, and cost basis for covered securities.3Internal Revenue Service. Instructions for Form 1099-B (2026)

2026 Long-Term Capital Gains Rates

Long-term rates run in three tiers.4Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed – Section: Maximum Capital Gains Rate For 2026:5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

  • 0% on taxable income up to $49,450 single, $98,900 married filing jointly, $66,200 head of household.
  • 15% from those thresholds up to $545,500 single, $613,700 married filing jointly, $579,600 head of household.
  • 20% above the upper thresholds.

Short-term gains get no preferential rate. They stack onto your ordinary income and can be taxed as high as 37% in 2026 for single filers earning above $640,600.5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Most states also tax gains as regular income, from 0% in states with no income tax up to about 13% in the highest.

Dividends

When a company distributes part of its earnings to shareholders, those payments are income the year you receive them, even if you reinvest them into more shares. Your broker reports the total on Form 1099-DIV.6Internal Revenue Service. Instructions for Form 1099-DIV (01/2024)

The rate depends on whether the dividend is ordinary or qualified. Ordinary dividends are taxed at your regular income tax rate. Qualified dividends get the long-term capital gains rates above, but only if you held the shares more than 60 days within the 121-day window starting 60 days before the ex-dividend date.7Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed – Section: Qualified Dividend Income Most dividends from large U.S. companies qualify. Your broker breaks the qualified portion out in Box 1b of the 1099-DIV.8Internal Revenue Service. Form 1099-DIV – Dividends and Distributions

Stock From Your Employer

When your employer pays you in stock, the IRS treats it as compensation, taxed like salary. The details depend on the form.

With a restricted stock grant, the tax event happens when the shares vest. The fair market value at vesting, minus anything you paid, is wages, reported on your W-2 and subject to Social Security and Medicare withholding.9Office of the Law Revision Counsel. 26 USC 83 – Property Transferred in Connection With Performance of Services Restricted stock units work the same way in practice: the full value at delivery is ordinary income, and most employers withhold shares to cover the tax. If you hold the shares after vesting and later sell for more, that additional appreciation is a separate capital gain.

Stock options create an income event when you exercise them. The spread between your exercise price and the market price on the exercise date is compensation, taxed at ordinary rates. Employee Stock Purchase Plans follow a similar structure: the discount you got at purchase is ordinary income, and how much of it is compensation versus capital gain depends on whether you held the shares long enough to meet the plan’s holding period.

What Isn’t Income: Paper Gains

If you bought a stock at $10 and it’s worth $100, you have $90 of unrealized gain and owe zero federal tax on it. Until you sell, no transaction has occurred and no income exists to report.1Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined You can hold appreciating shares for decades and never trigger a tax bill. In a low-income year, you can sell some appreciated shares and potentially pay 0% if you stay under the lowest long-term bracket.

Losses and the Wash Sale Rule

Selling at a loss cuts the other way. Capital losses offset capital gains dollar for dollar, and if losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income ($1,500 married filing separately).10Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything left over carries forward to future years indefinitely.11Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040)

The wash sale rule is the trap. Sell a stock at a loss and buy the same stock, or something substantially identical, within 30 days before or after the sale, and the IRS disallows the loss.12Internal Revenue Service. Publication 550 (2025) – Investment Income and Expenses The disallowed amount is added to the basis of the replacement shares, so it isn’t lost permanently, but you can’t use it against this year’s taxes.

Stocks Inside Retirement Accounts

Stocks held in a traditional IRA or 401(k) generate no annual tax. You don’t report dividends, gains, or trading activity that stays inside the account. The tax comes out when you take money out: distributions are taxed as ordinary income regardless of whether the growth came from stock appreciation or anything else.13Internal Revenue Service. IRA FAQs – Distributions (Withdrawals) Withdrawals before age 59½ face a 10% penalty on top of that.

Roth IRAs work the other way. Contributions are after-tax, but qualified distributions come out tax-free, including all investment growth. The account must have been open at least five years, and the distribution must meet one of the qualifying conditions: you’re 59½ or older, disabled, taking it as a beneficiary after the account holder’s death, or using up to $10,000 for a first home.14Internal Revenue Service. Publication 590-B (2025) – Distributions From Individual Retirement Arrangements (IRAs) Stock gains inside a qualifying Roth never count as income.

The 3.8% Net Investment Income Tax

Higher earners pay an extra 3.8% on net investment income, including capital gains and dividends. It applies to the lesser of your net investment income or the amount your modified adjusted gross income exceeds the threshold.15Internal Revenue Service. Net Investment Income Tax The thresholds are $200,000 single or head of household, $250,000 married filing jointly, and $125,000 married filing separately. They aren’t adjusted for inflation. Combined with the 20% long-term rate, top-bracket investors can hit a federal rate of 23.8% on stock profits before state tax.

Paying Tax on Stock Gains During the Year

Stock income generally has no automatic withholding, except when it comes from your employer. If you sell a large position or collect substantial dividends, you may need to make quarterly estimated payments to avoid a penalty. The IRS requires estimated tax when you expect to owe at least $1,000 after withholding and refundable credits, and your withholding won’t cover at least 90% of the current year’s tax or 100% of last year’s (110% if your prior-year AGI exceeded $150,000).16Internal Revenue Service. Estimated Tax

For 2026, estimated payments are due April 15, June 15, and September 15 of 2026, and January 15, 2027.17Internal Revenue Service. 2026 Form 1040-ES If a large gain lands in a single quarter, you can annualize your income and make a bigger payment for that quarter. You can also increase your wage withholding for the rest of the year, which the IRS treats as paid evenly across the year no matter when it actually happens.

Inherited Stock Gets a Fresh Basis

Inherited stock works differently, and the difference is large. When the owner dies, the cost basis of the shares resets to the fair market value on the date of death.18Internal Revenue Service. Gifts and Inheritances All the appreciation from the original purchase to the date of death is wiped out for tax purposes.

If a parent bought stock for $5,000 and it was worth $100,000 at death, your basis is $100,000. Sell at $101,000 and your taxable gain is $1,000. The $95,000 that built up during your parent’s lifetime never gets taxed. This step-up is why advisors often recommend holding highly appreciated stock rather than selling it late in life.

When Stocks Count Even If You Don’t Sell

Several programs and lenders look at what you hold, not just what you sold.

Federal Student Aid

The FAFSA counts non-retirement stocks as investments feeding into the Student Aid Index.19Federal Student Aid. FAFSA Simplification Fact Sheet – Student Aid Index (SAI) You report the net value of your stocks, mutual funds, and other non-retirement investments at market value on the day you file.20Federal Student Aid. Current Net Worth of Investments, Including Real Estate (2025-26) Retirement accounts like 401(k)s and IRAs are excluded. A sizable brokerage account can reduce aid eligibility even if the family never touches the money.

Medicaid and SSI

Medicaid programs for elderly and disabled applicants count stocks and bonds as part of your countable assets.21Administration for Community Living. Medicaid Eligibility Limits vary by state, with many at $2,000 for a single applicant. Supplemental Security Income works the same way: the SSA counts stocks toward your total resources, with 2026 limits of $2,000 for an individual and $3,000 for a couple.22Social Security Administration. Are You Eligible for Supplemental Security Income (SSI)? Even a small brokerage account can push someone over the line.

Mortgage Lending

Mortgage lenders treat stock accounts as assets, not income, for qualifying purposes. Your balance can help you meet reserve requirements, but it won’t improve your debt-to-income ratio unless you’re receiving consistent dividends. Lenders that count dividend income typically want a two-year history and may discount the average by around 30% for market volatility. The exact rules vary by lender and program, so ask your loan officer early how they’ll treat your portfolio.