Stocks are not passive income under IRS rules. The agency puts dividends, interest, and capital gains from stocks into a separate category called portfolio income, which has its own tax rates, its own loss rules, and its own reporting lines. So when people ask whether stocks count as passive income, the short answer is no, and the distinction matters because it decides whether losses from other investments can shelter your stock returns at tax time.
Why the IRS Doesn’t Count Stocks as Passive
In plain speech, buying a fund and holding it for years feels passive. The tax code uses the word more narrowly. A passive activity is a trade or business you don’t materially participate in, or a rental activity.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited Owning shares of a public company is neither.
The Treasury regulations go a step further and specifically exclude portfolio income from passive activity gross income. Dividends, interest, annuities, royalties, and gains from selling investment property are all pulled out of the passive bucket by rule.2eCFR. 26 CFR 1.469-2T – Passive Activity Loss (Temporary) Your effort level is beside the point. Stock returns land in the portfolio category regardless of how little you did to earn them.
What Portfolio Classification Changes at Tax Time
The most common trap involves losses. If you own a rental property that throws off a passive loss, you generally cannot use that loss to reduce the tax on your stock dividends or capital gains. Passive losses offset passive income; portfolio income sits outside that ring.3Internal Revenue Service. Publication 925 (2025), Passive Activity and At-Risk Rules
Investors who diversified into both rental real estate and stocks sometimes discover this the hard way. A rental loss will not shelter dividend income. The narrow exception is the special allowance that lets active participants in rental real estate deduct up to $25,000 of rental losses against non-passive income, and only below certain income thresholds.
How Dividends Are Taxed
Dividends split into two types with very different tax bills. Ordinary dividends are taxed at your regular income rate, up to 37% at the top. Qualified dividends get the same preferential rates as long-term capital gains: 0%, 15%, or 20% depending on taxable income.4Internal Revenue Service. Topic No. 404, Dividends and Other Corporate Distributions
For 2026, single filers pay 0% on qualified dividends up to $49,450 in taxable income, 15% up to $545,500, and 20% above that. Joint filers hit the 15% rate at $98,900 and the 20% rate at $613,700.5Internal Revenue Service. Revenue Procedure 2025-32
To qualify for those lower rates, the dividend has to come from a domestic corporation or qualifying foreign corporation, and you have to hold the stock for more than 60 days during the 121-day window that begins 60 days before the ex-dividend date.6LII / Legal Information Institute. 26 USC 1(h)(11) – Qualified Dividend Income Buy right before a dividend and sell right after, and you’ll likely fail the holding test and pay ordinary rates.
How Capital Gains Are Taxed
When you sell a stock for a profit, the tax rate depends on how long you owned it. One year is the line. Gains on stock held for one year or less are short-term and taxed at ordinary income rates. Gains on stock held for more than one year are long-term and taxed at 0%, 15%, or 20%.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses
The 2026 long-term capital gains brackets:
- 0% rate: taxable income up to $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household)
- 15% rate: above those thresholds up to $545,500 (single), $613,700 (married filing jointly), or $579,600 (head of household)
- 20% rate: taxable income above the 15% threshold
These figures come from IRS Revenue Procedure 2025-32.5Internal Revenue Service. Revenue Procedure 2025-32 The spread between short- and long-term rates is one of the biggest levers you have. Someone in the 32% bracket who sells at 11 months instead of 13 can more than double the rate on the same gain.
Capital gains and losses go on Schedule D of Form 1040, with short-term transactions in Part I and long-term in Part II.8Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040)
The $3,000 Capital Loss Cap
If your stock losses exceed your gains, the IRS limits how much of the net loss you can deduct against other income. Losses offset gains without limit. But once losses run past gains, only $3,000 per year ($1,500 if married filing separately) can be deducted against wages, salary, or other ordinary income.9Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses
Unused losses carry forward indefinitely, which helps, but it doesn’t fully cure a bad year. A $30,000 net loss would take a decade of $3,000 deductions to absorb on its own. That math is why tax-loss harvesting usually pairs realized losses with realized gains in the same year rather than leaning on the annual cap.
The Wash Sale Rule
Selling a stock at a loss and buying it right back to keep your position while claiming the deduction sounds tidy. The IRS closed that door. If you sell at a loss and repurchase substantially identical shares within 30 days before or after the sale, the loss is disallowed for that year.10Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities
The disallowed loss isn’t erased. It’s added to the cost basis of the replacement shares, so it reduces your gain when you eventually sell those. Sell for a $250 loss, buy substantially identical shares for $800 inside the window, and the new basis is $1,050 rather than $800.11Internal Revenue Service. Case Study 1: Wash Sales The benefit is deferred, not lost.
What counts as “substantially identical” isn’t always intuitive. Shares of different companies are generally safe. Preferred stock of the same company usually isn’t treated as identical to the common. Convertible preferred can trigger the rule depending on the facts, and buying an option or contract to acquire the same stock also counts.
The 3.8% Net Investment Income Tax
Higher-income investors owe an extra 3.8% on net investment income, on top of whatever capital gains or dividend rate applies.12Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The tax applies once your modified adjusted gross income clears:
- $250,000 for married couples filing jointly
- $200,000 for single filers and heads of household
- $125,000 for married individuals filing separately
These thresholds are not indexed for inflation, so more people cross them each year as wages and returns rise.13Internal Revenue Service. Topic No. 559, Net Investment Income Tax The NIIT reaches dividends, capital gains, interest, rental income, and other investment returns.14Internal Revenue Service. 2025 Instructions for Form 8960 Someone in the 20% long-term bracket who also owes the NIIT pays 23.8% at the federal level. State income tax comes on top, from 0% to over 13%.
When Stock Trading Is Treated as a Business
Everything above applies to investors, which is how the IRS classifies most people who buy and sell stocks. If trading is your full-time occupation, you may qualify as a trader in securities, and the tax picture shifts.
The IRS looks for profit driven by short-term price swings rather than dividends or long-term appreciation, substantial activity in both frequency and dollar amount, and continuity and regularity of trading.15Internal Revenue Service. Topic No. 429, Traders in Securities Buying index funds and rebalancing quarterly doesn’t come close.
Qualifying traders can make a Section 475(f) mark-to-market election. That treats all securities held at year-end as sold at fair market value on the last business day of the year, and gains and losses become ordinary rather than capital.16Office of the Law Revision Counsel. 26 USC 475 – Mark to Market Accounting Method for Dealers in Securities The $3,000 loss cap and the wash sale rule fall away, which matters for anyone repeatedly moving in and out of the same positions. The election has to be made by the due date of the prior year’s return, and once made it applies to future years unless the IRS approves revocation.15Internal Revenue Service. Topic No. 429, Traders in Securities
For everyone else, stocks stay in the portfolio bucket. That single classification is what drives the qualified dividend holding period, the short- versus long-term gain split, the $3,000 loss cap, the wash sale rule, and the NIIT thresholds. Plan around those rules and you keep more of the return. Meet them for the first time in April and the bill is usually higher than it needed to be.