Do I Have to Pay Taxes on Gains From Stocks?

If you enjoyed stock market success in 2021, you might owe the IRS. Here's our quick, easy guide to paying taxes on your stock gains.

A man demanding money
(Image credit: Getty Images)

2022 might be off to a rough start, but we started this year with the major stock market indices hitting new all-time highs. That was largely built on momentum from 2021, which was profitable year for many investors, including many first-time investors.

But now that we've entered tax season, a great many of them are finding that they have to pay taxes on the wild gains from their stocks.

The Wall Street Journal reported that more than 10 million new brokerage accounts were opened in the first half of 2021, roughly matching number of new accounts for all of 2020… which was itself a huge year for first-time investors.

Subscribe to Kiplinger’s Personal Finance

Be a smarter, better informed investor.

Save up to 74%
https://cdn.mos.cms.futurecdn.net/hwgJ7osrMtUWhk5koeVme7-200-80.png

Sign up for Kiplinger’s Free E-Newsletters

Profit and prosper with the best of expert advice on investing, taxes, retirement, personal finance and more - straight to your e-mail.

Profit and prosper with the best of expert advice - straight to your e-mail.

Sign up

It's not hard to see why. The stock market was a one-way street for the better part of the past two years, with the S&P 500 delivering a total return (price plus dividends) of nearly 120% between its pandemic lows of March 2020 and year-end 2021.

Who wouldn't want a piece of that action?

Let's say you're one of those new investors. You might be sitting pretty if you happened to catch some of the highfliers on their way up. But you should also know that if you earned those gains outside of a tax-advantaged account, such as a 401(k) or IRA, you're likely going to have to pay taxes on your stock gains, known as capital gains taxes.

Today, we're going to cover some basic tax questions for those readers that might be enjoying stock market gains for the first time.

FREE SPECIAL REPORT: Kiplinger's Guide to Roth Conversions

But first, a note: The IRS really isn't out to get you. If they catch a mistake or a failure to report income, they'll zing you. But if you're honest and make a legitimate attempt to follow the rules, they're not going to rake you over the coals. So, do your duty as an honest citizen, of course, but don't let the prospect stress you out.

With that out of the way, let's go over three common questions:

How Do I Know If I Have to Report?

If you sold any stocks, bonds, options or other investments in 2020, then you will need to report it on your tax return on Schedule D. TurboTax and other mainstream tax preparation software vendors will generally do this for you after asking you to input some data.

If you sold stocks at a profit, you will owe taxes on gains from your stocks. If you sold stocks at a loss, you might get to write off up to $3,000 of those losses. And if you earned dividends or interest, you will have to report those on your tax return as well.

However, if you bought securities but did not actually sell anything in 2020, you will not have to pay any "stock taxes."

Will My Broker Give Me a Form?

In a word: yes.

If you sold any investments, your broker will be providing you with a 1099-B. This is the form you'll use to fill in Schedule D on your tax return. The beauty of this is that it's generally plug-and-play. Everything you need can be ripped right off of the 1099-B and inputted into the tax return.

Furthermore, if you received dividends from stocks or interest from bonds, you should also receive a 1099-DIV or a 1099-INT. Often, you'll all of these forms in a single package from your broker, which is supposed to be sent to you no later than Jan. 31. (1099-Bs technically aren't due to recipients until Feb. 15.)

What Will I Owe in Taxes on My Stock Gains?

Here's where it gets tricky. The amount you owe in taxes on your stocks will depend on what tax bracket you're in. Short-term capital gains are taxed as ordinary income, just like your paycheck.

We don't need to go through every bracket here (you can see which federal tax bracket you're in here), but for most investors, the rate is tolerably low. For example, a married couple filing jointly with taxable income of $81,051 to $172,750 will be in the 22% bracket. So, if that's you, and you earned $1,000 in short-term trading, you'll be paying $220 in capital gains taxes.

If you sold stock that you owned for at least a year, you'll benefit from the lower long-term capital gains tax rate. In 2021, a married couple filing jointly with taxable income of up to $80,800 pays nothing in long-term capital gains. Those with incomes from $80,801 to $501,600 pay 15%. And those with higher incomes pay 20%.

There's also a 3.8% surtax on net investment income, which applies to single taxpayers with modified adjusted gross incomes (MAGI) over $200,000 and joint filers with MAGI over $250,000. Net investment income includes, among other things, taxable interest, dividends, gains, passive rents, annuities and royalties.

The important thing to remember here is that most tax software – even the cheap ones – will generally do these calculations for you. You don't have to remember any of this. You can just pull the numbers off the 1099-B, input them into your tax program, and voila, the program does the rest.

But perhaps it's even more important to remember that paying taxes on your investment income isn't the worst thing in the world. It means you made money. And while it might be painful to part with 20% or more of your earnings as taxes, just remind yourself that the remaining 80% or so is still profit that you didn't have before.

And remind yourself to set aside money for the tax man when you enjoy gains on your stocks in the years to come.

Charles Lewis Sizemore, CFA
Contributing Writer, Kiplinger.com

Charles Lewis Sizemore, CFA is the Chief Investment Officer of Sizemore Capital Management LLC, a registered investment advisor based in Dallas, Texas, where he specializes in dividend-focused portfolios and in building alternative allocations with minimal correlation to the stock market.