At a glance:
Taxes on stock gains
Minimizing taxes for stocks
Tax strategies for stocks
Summary of taxes on stocks
Let’s examine the basic framework of individual taxation in the United States as it relates to stock investing and review some simple steps you can take to be a more tax-efficient investor.
The information in this lesson is not necessarily exclusive to stock investing; much of it is also relevant to mutual fund investing.
Nevertheless, if you are going to invest in any asset class, including stocks, it is imperative to understand exactly how taxes work so you may keep as many dollars as possible in your pocket and away from Uncle Sam.
Taxes on stocks gains
Capital gains — the difference between what you sell a stock for and what you paid for it—are "tax preferred," and may be taxed at lower rates than ordinary income.
Ordinary income includes items such as wages and interest income.
What are capital gains?
Capital gains arise when you sell a capital asset, such as a stock, for more than its purchase price, or basis. Capital gains are further subdivided into short-term and long-term.
If a stock is sold within one year of purchase, the gain is short term and is taxed at the higher ordinary income rate.
On the other hand, if you hold the stock for more than a year before selling, the gain is long term and is taxed at the lower capital gains rate.
What is a capital loss?
Conversely, you realize a capital loss when you sell the asset for less than its basis. While it's never fun to lose money, you can reduce your tax bill by using capital losses to offset capital gains.
Also, to the extent that capital losses exceed capital gains, you can deduct the losses against your other income up to an annual limit of $3,000.
Any additional loss above the $3,000 threshold is carried over to be used in subsequent years. (Note that due to the IRS' wash-sale rule, you cannot claim a loss if you purchase substantially identical securities 30 days before or after the sale.)
Tax on capital gains and dividends
Most taxpayers pay a 15% rate on both dividends and long-term capital gains — the same level has been in place since 2003, when the Jobs & Growth Tax Relief Reconciliation Act was passed. The Tax Cuts and Jobs Act of 2017 made a number of other changes.
Capital gains and qualified dividend rates will remain the same, but the income thresholds have changed somewhat. Following are the amounts starting in 2020:
The 0% capital gains rate applies to income up to $40,000 for single filers and up to $80,000 for joint filers.
The 15% rate applies to income between $40,000 and $441,450 for single filers, and to income between $80,000 and $496,600 for joint filers.
The 20% rate applies to income over $441,450 for single filers and to income over $496,600 for joint filers.
Prior to 2003, dividends were taxed at an investor's ordinary income tax rate.
The basic idea behind the 2003 dividend tax cut was to reduce the burden of "double taxation," or taxation of the same profits at both the corporate and shareholder levels, so any dividends paid out of profits not subject to corporate taxation will not be considered "qualified dividends" eligible for the reduced tax rate.
Therefore, one notable exception is dividends from real estate investment trusts, or REITs, which are typically still taxed at ordinary income rates.
In addition, to qualify for the reduced dividend tax rate, you must have held a stock for at least 60 days out of the 120-day period beginning 60 days before the ex-dividend date (the date on which you must be holding a stock to receive the dividend).
As mentioned above, qualified dividends, which use the same tax rates as long-term capital gains, are now subject to revised income thresholds.
Minimizing taxes on stocks
These special accounts allow you to enjoy either tax-deferred or tax-free growth of your investments.
Tax deferral can lead to significant savings over time. Let's assume two investors each start with $10,000 and earn a 10% annual return for 30 years.
One has 100% of her gains tax-deferred, while the other realizes the full amount of his capital gains each year and pays a 20% tax on those gains. Under this scenario, the tax-deferred investor ends up with almost $75,000 more at the end than the investor with the taxable gains.
Clearly, it is worthwhile to learn about the types of tax-advantaged accounts available. Below are some of the most popular:
401k plans, so named after a section of the Internal Revenue Code, are set up by employers as a retirement-savings vehicle. The primary advantage of a 401k is tax deferral.
First, employees can contribute a percentage of their income from each paycheck to their own 401k accounts on a pretax basis. This means the amount you contribute to your 401k is exempt from current federal income tax. For example, if you are in the 24% income tax bracket, a $100 contribution will reduce your current tax burden by $24.
Second, dividends and capital gains earned inside a 401k are not subject to current taxation. In short, 401k plans allow you to defer taxation on dividends, capital gains, and a portion of your wages until you begin withdrawing from the plan, presumably during retirement, when you may be in a lower tax bracket. (All withdrawals are taxed at ordinary income rates.)
The amount you can contribute to your 401k plan is limited to $19,500 in 2020. You also must begin mandatory withdrawals from your 401k when you reach age 70½. Withdrawals made before you turn 59½ are taxed as ordinary income, and you may be subject to an additional 10% penalty.
Individual retirement accounts are another vehicle for tax deferral.
When you contribute to a traditional IRA, the IRS allows you to take an income tax deduction up to the amount of the contribution, subject to income limitations. In addition, dividends and capital gains earned inside a traditional IRA are not subject to tax until withdrawal.
However, there are some important limitations to remember.
First, you must be age 70½ or younger with earned income to contribute to a traditional IRA. Second, the annual contribution limit is $6,000 in 2020. If you are age 50 or older, you can make additional "catch-up" contributions of $1,000.
Finally, like 401k plans, you must begin mandatory withdrawals when you reach age 70½. Withdrawals made before you turn 59½ are taxed and may be subject to an additional 10% penalty.
These are typically the best retirement account option for many taxpayers. As with traditional IRAs, interest income, dividends, and capital gains accumulate tax-free.
However, the main feature of Roth IRAs is that they are funded with after-tax dollars (contributions are not tax deductible). The upside of this is that qualified distributions from a Roth IRA are exempt from federal taxation.
The Roth IRA has the same annual contribution limits and "catch-up" provisions as a traditional IRA, but you must meet certain income requirements to contribute to a Roth IRA.
Generally, single filers with income up to $124,000 and joint filers with income up to $196,000 are eligible to make the full annual contribution to a Roth IRA.
Contributions to a Roth IRA can be withdrawn at any time without paying taxes or penalties, but withdrawal of earnings may be subject to income taxation and a 10% early withdrawal penalty if made before you turn 59½.
In addition, the distribution must also be made after a five-tax-year period from the time a conversion or contribution is first made into any Roth IRA.
So, if you opened your first Roth IRA and make your first contribution on April 15, 2020, for the 2019 tax year, your five-year period started on Jan. 1, 2019.
Assuming you meet the other requirements, distributions made in this case after Dec. 31, 2024, from any Roth IRA will receive tax-free treatment.
Tax strategies for stocks
You can follow a few basic planning strategies for stock investments held in taxable accounts.
However, you should keep in mind that your goal as an investor should be to achieve the highest after-tax rate of return, not to avoid paying taxes.
Taxes are a consideration, but they should not control your investment decisions.
The value of deferral and stepped-up basis
All things being equal, it is better to pay taxes later than sooner. Therefore, you should endeavor to defer taxation as long as possible.
An investor who purchases the shares of sound businesses and patiently holds them will not only enjoy the benefits of tax-free compounding, but will also save on brokerage commissions.
At the least, toward the end of the year, you should consider delaying the realization of capital gains until January to defer your tax liability until the following year.
If you are extremely patient and die still owning a stock, your beneficiaries will receive the stock with a "stepped-up" basis, or a basis equal to the market value on the date of your death.
Your beneficiaries can then sell the stock and owe no tax on the capital gains accumulated during your lifetime.
Wait for long-term capital gain treatment
Purchasing a stock on Jan. 1 and selling it for a gain on Dec. 31 of the same year is likely not to be a smart tax move. In this case, your capital gain is short term and taxed at ordinary income rates.
Had you sold the same stock a few days later on Jan. 2 of the following year, the gain would have been treated as long term and taxed at lower long-term capital gains rates, and in addition would be delayed another year.
Take short-term losses
If you happen to have both short-term and long-term capital gains, you may want to consider realizing short-term capital losses on stocks you have held for less than one year.
These short-term losses will offset your short-term gains, which are taxed at higher ordinary income rates.
This will give you the most tax mileage for your capital loss.
Timing capital gains and losses
When faced with large capital gains and losses, it may be advantageous for you to realize both in the same year.
Suppose you have $30,000 of capital gains and $30,000 of capital losses. If you realize only the gain this year, you will have to pay tax on the entire $30,000.
If you decide to realize only your loss, you'd have no capital gains to offset it, and you could deduct only $3,000 against your other income. The remaining $27,000 loss must be carried over into future years.
Instead of delaying the tax benefits of your loss, you could choose to realize both the capital gain and loss in the same year. Since they completely offset each other, you would not owe any taxes.
On the other hand, if you do not have a large capital loss to offset, you should generally time the realization of long-term capital gains — which will be taxed at favorable rates — for years when you do not realize any capital losses.
Then you can realize your future capital losses in years when you can immediately deduct them against other income that may be taxed at higher ordinary income rates.
Summary of taxes on stocks
As you can see, taxes can have a meaningful impact on your long-term investment performance. Investing in stocks without regard to the tax impact can greatly reduce your return.
But by understanding the basic framework of investment taxation and using a few simple tax-planning strategies, you can work to maximize the only number that matters in the end: the amount of money that goes into your pocket.
This content was created in partnership with the Financial Fitness Group, a leading e-learning provider of FINRA compliant financial wellness solutions that help improve financial literacy.
Read more information and tips in our Taxes section