2022 Last-Minute Year-End Tax Strategies for Your Stock Portfolio

Tax Planning

Here’s the basic strategy:

  • Avoid the high taxes (up to 40.8 percent) on short-term capital gains and ordinary income.
  • Lower the taxes to zero—or if you can’t do that, lower them to 23.8 percent or less by making the profits subject to long-term capital gains taxes.

Think of this: you are paying taxes at a 71.4 percent higher rate when you pay at 40.8 percent rather than the tax favored 23.8 percent.

If you can avoid that higher rate with some easy adjustments in your stock portfolio, doesn’t it make sense to do that now?

Big Picture

Here are the seven basic tax rules you need to know to find the tax savings you desire in your stock portfolio:

  1. On your short-term capital gains and ordinary income, you pay federal income taxes at rates of up to 40.8 percent. The 40.8 percent comes from the top income tax rate of 37 percent plus the 3.8 percent Affordable Care Act tax on net investment income.
  2. You pay taxes on your long-term capital gains at rates from 0 up to 23.8 percent (20 percent for capital gains plus 3.8 percent on investment income), depending on your income level.
  3. You pay taxes on your stock dividends at rates from 0 to 23.8 percent, depending on your income level.
  4. Suppose your capital losses exceed your personal capital gains. In that case, the tax code limits your capital loss deductions to $3,000 and allows you to carry over losses above the $3,000 to future years until realized.
  5. You first offset long-term gains and losses before you offset short-term gains and losses.
  6. You donate appreciated stock to charity.
  7. You do not donate stock that would produce a tax loss.

Now that you have the basics, here are seven possible tax planning strategies.

Strategy 1

Examine your portfolio for stocks you want to unload, and make sales where you offset short-term gains subject to a high tax rate, such as 40.8 percent, with long-term losses (up to 23.8 percent).

In other words, make the high taxes disappear by offsetting them with low-taxed losses, and pocket the difference.

Strategy 2

Use long-term losses to create the $3,000 deduction allowed against ordinary income.

Again, you are trying to use the 23.8 percent loss to kill a 40.8 percent tax (or a 0 percent loss to kill a 12 percent tax, if you are in an income tax bracket of 12 percent or lower).

Strategy 3

As an individual investor, avoid the wash-sale loss rule.

Under the wash-sale loss rule, if you sell a stock or some other security and then purchase substantially identical stock or securities within 30 days before or after the date of sale, you don’t recognize your loss on that sale.

Instead, the tax code makes you add the loss amount to the basis of your new stock.

If you want to use the loss in 2022, then you’ll have to sell the stock and sit on your hands for more than 30 days before repurchasing that stock.

Strategy 4

If you have lots of capital losses or capital loss carryovers and the $3,000 allowance is looking extra tiny, sell additional stocks, rental properties, and other assets to create offsetting capital gains.

If you sell stocks to purge the capital losses, you can immediately repurchase the stock after you sell it—there’s no wash-sale “gain” rule.

Important note. Don’t die with large capital loss carryovers—they’ll disappear.

  • If your carryover originated from you only, then it all goes away if not used on your joint return in the year of your death.
  • If your carryover came from joint assets, then your surviving spouse gets 50 percent of the carryover to use going forward.

Strategy 5

Do you give money to your parents to assist them with their retirement or living expenses? How about children (specifically, children not subject to the kiddie tax)?

If so, consider giving appreciated stock to your parents and your non-kiddie-tax children. Why? If the parents or children are in a lower tax bracket than you are, you get a bigger bang for your buck by

  • gifting them stock,
  • having them sell the stock, and then
  • having them pay taxes on the stock sale at their lower tax rates.

You also get a similar family benefit if your parents or children hold the stock for the dividends and then pay taxes at their lower tax rate.

The 2022 dividend and individual capital gain tax rates grouped by taxable income are shown in the table below:

In addition, don’t forget to consider the 3.8 percent additional Affordable Care Act tax (technically known as the net investment income tax, or NIIT) if you are subject to it.

Strategy 6

If you are going to make a donation to a charity, consider appreciated stock rather than cash, because a donation of appreciated stock gives you more tax benefit.

“Whoa!” you exclaim. “Did you say ‘more tax benefit’?”

Yes. It works like this:

  • Benefit 1. You deduct the fair market value of the stock as a charitable donation.
  • Benefit 2. You don’t pay any of the taxes you would have had to pay if you sold the stock.

Example. You bought a publicly traded stock for $1,000, and it’s now worth $11,000. If you give it to a 501(c)(3) charity, the following happens:

  • You get a tax deduction for $11,000.
  • You pay no taxes on the $10,000 profit.

Two rules to know:

  1. Your deductions for donating appreciated stocks to 501(c)(3) organizations are not allowed to exceed 30 percent of your adjusted gross income.
  2. If your publicly traded stock donation exceeds 30 percent, no problem. Tax law allows you to carry forward the excess until used, for up to five years.

Strategy 7

If you could sell a publicly traded stock at a loss, do not give that loss-deduction stock to a 501(c)(3) charity. Why?

If you sell the stock, you have a tax loss that you can deduct. If you give the stock to a charity, you get no deduction for the loss—in other words, you can just kiss that tax-reducing loss goodbye.

Solution. Sell the stock first to create your tax-deductible loss. Then give the charity the cash realized from your sale of the stock to create your deduction for the charitable contribution.

Example. You bought a stock for $13,000, and it’s now worth $2,000. If you give the stock to a charity,

  • You deduct $2,000 (fair market value).
  • The charity receives $2,000 (the value of the stock).
  • You kiss your $11,000 ($13,000 - $2,000) tax-deductible loss goodbye.

Instead, do this:

  • Sell the stock.
  • Collect $2,000 in cash from the stock sale.
  • Give the $2,000 to the charity.
  • Deduct the $2,000 charitable donation.
  • Deduct the $11,000 stock loss.

Note. Whether you do this right or wrong, the charity gets $2,000. But with the second strategy—selling the stock at a loss and then donating the cash—you gain your rightful $11,000 additional tax deduction.

Look at it this way:

  • Do this wrong and deduct only $2,000.
  • Do this right and deduct $13,000.


Your stock portfolio can provide you with the seven great tax-planning opportunities we showed you in this article.

For example, if you give money to charity, your parents, and your non-kiddie-tax children, you keep more tax money in your pocket (or the family’s) by using appreciated stocks rather than cash.

You absolutely must plan for your opportunities inside the portfolio to offset your gains and losses. With planning, you win free money with the offsets, and you’ll find the offset game fun and easy to play.

The bottom line is that the seven strategies in this article give you straightforward ways to keep more of your money and send less to the IRS.

The end of the year is right around the corner. Because it takes time for stock transactions to settle and you don’t want to worry about settlement dates, get your portfolio tax-deduction optimized well before the end of the year—say, no later than December 20, 2022.

Christopher Ragain

My name is Christopher Ragain, I am the founder of Tax Planner Pro.  I love helping small business owners find creative and legal ways to beat the TaxMan.  My team and I love to write and you can find all of our insights on this blog!

Related Posts

Stay in Touch

Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form