Capital gains tax rates for 2021 and 2022 followed the same two-track structure. Long-term gains, on assets held more than one year, were taxed at 0%, 15%, or 20% depending on taxable income and filing status. Short-term gains, on assets held one year or less, were taxed at ordinary income rates from 10% to 37%. The dollar thresholds separating the brackets rose modestly from 2021 to 2022 to account for inflation, so identical profits could land in different brackets in the two years.
Short-Term Rates in 2021 and 2022
A gain on an asset held a year or less was added to the rest of your taxable income and taxed at the same seven ordinary rates: 10%, 12%, 22%, 24%, 32%, 35%, and 37%. Those rate percentages were identical in both years. What changed were the income cutoffs.
In 2021, a single filer paid 10% on the first $9,950 of taxable income, and the 37% top rate kicked in above $523,600. For married couples filing jointly, the 37% rate started above $628,300. In 2022, the 10% bracket for singles covered income up to $10,275, the top 37% rate began above $539,900 for single filers, and joint filers hit 37% above $647,850.
Short-term winners and losers within the same year were netted against each other before the rate was applied. A $5,000 short-term gain paired with a $2,000 short-term loss produced $3,000 of net short-term gain to add to ordinary income.
Long-Term Rates in 2021
Long-term gains ran on their own three-tier structure with wider brackets than the ordinary income schedule. In 2021, single filers paid 0% on long-term gains if taxable income stayed at or below $40,400. For married couples filing jointly, the 0% ceiling was $80,800. The 15% rate applied above those amounts and extended to $445,850 for single filers and $501,600 for joint filers. Any long-term gain that pushed income past those caps was taxed at 20%.
Long-Term Rates in 2022
For 2022, every threshold moved up. The 0% rate covered single filers with taxable income up to $41,675 and joint filers up to $83,350. The 15% rate ran up to $459,750 for singles and $517,200 for joint filers. Gains above those figures fell into the 20% tier. The rate percentages themselves did not change; only the income lines separating them did.
Asset Types With Their Own Maximum Rates
Not every long-term gain used the 0/15/20% ladder. A few categories carried their own ceilings in both 2021 and 2022.
Collectibles
Long-term gains on collectibles like artwork, antiques, coins, gems, stamps, and precious metals were taxed at a maximum rate of 28% instead of 20%. The bracket comes from Section 1(h) of the Internal Revenue Code.1Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed If your ordinary rate happened to be lower than 28%, you paid the lower rate; otherwise the 28% cap applied.
Depreciation Recapture on Real Estate
When you sold depreciable real estate at a profit, the portion of the gain tied to depreciation you had previously claimed was taxed at a maximum rate of 25%. This is called “unrecaptured Section 1250 gain.”2Internal Revenue Service. Topic No. 409, Capital Gains and Losses Gain above the recapture portion fell into the regular long-term brackets.
Qualified Small Business Stock
Section 1202 of the Internal Revenue Code allowed gains from qualified small business stock acquired after September 27, 2010, and held for at least five years, to be fully excluded from federal tax.3Office of the Law Revision Counsel. 26 USC 1202 – Partial Exclusion for Gain From Certain Small Business Stock The shares had to be in a domestic C corporation with gross assets under $50 million when issued, among other requirements. Shares held three or four years qualified for a 50% or 75% exclusion, respectively. The provision was available in both 2021 and 2022.
Selling Your Primary Home
Section 121 let single filers exclude up to $250,000 of gain on the sale of a principal residence, and married couples filing jointly could exclude up to $500,000.4Office of the Law Revision Counsel. 26 US Code 121 – Exclusion of Gain From Sale of Principal Residence You needed to have owned the home and used it as your primary residence for at least two of the five years before the sale, and you couldn’t have claimed the exclusion on another home sale in the prior two years.5Internal Revenue Service. Topic No. 701, Sale of Your Home For a couple filing jointly, only one spouse had to meet the ownership requirement, but both had to independently meet the two-year residence test.6Internal Revenue Service. Publication 523, Selling Your Home The rules were identical in 2021 and 2022. Any gain above the exclusion was taxed at the applicable long-term rate.
The 3.8% Net Investment Income Tax
Higher-income taxpayers faced a 3.8% surtax on investment income in both years. The Net Investment Income Tax applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds a fixed threshold: $200,000 for single and head-of-household filers, and $250,000 for married couples filing jointly.7Office of the Law Revision Counsel. 26 US Code 1411 – Imposition of Tax These thresholds are not indexed for inflation.8Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
Because the NIIT stacks on top of the regular capital gains rate, a taxpayer in the 20% long-term bracket with income above the NIIT threshold paid an effective 23.8% on long-term gains. At the 28% collectibles rate, the combined figure reached 31.8%.
How Losses Affected the Rate You Paid
Capital losses reduced the gain that was actually taxed. Within each holding period, losses offset gains first: short-term against short-term, long-term against long-term. Excess losses in one category then offset gains in the other. If total losses exceeded total gains for the year, you could deduct up to $3,000 of the net loss against ordinary income ($1,500 if married filing separately).9Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything left over carried forward to future years with no expiration, subject to the same $3,000 annual cap each year.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses
One trap to watch was the wash sale rule. Selling a security at a loss and buying a “substantially identical” security within 30 days before or after the sale disallowed the loss, adding it to the basis of the replacement shares instead.10Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The rule applied to stocks, bonds, options, and similar securities, but not to commodities or real estate.
Figuring the Gain in the First Place
Your taxable gain was the sale price minus your cost basis. Basis started with what you originally paid, including commissions and transaction fees. Improvements to real property increased basis and shrank the eventual gain. Depreciation on rental or business property worked the other direction, lowering basis and enlarging the gain at sale.
Inherited property received a stepped-up basis equal to the fair market value on the date the original owner died. Stock a parent bought for $10,000 that was worth $80,000 at their death gave the heir an $80,000 basis, so a sale at $85,000 produced only a $5,000 taxable gain.11Internal Revenue Service. Gifts and Inheritances Gifted property was different: the recipient took the donor’s original basis, adjusted for any gift tax paid, regardless of the asset’s value on the day of the gift. Both the step-up rule and the carryover-basis rule for gifts applied in 2021 and 2022.