Yes. In most years, if you earn a paycheck and also sell an investment at a profit, you pay both capital gains tax and income tax. They are two separate parts of the federal tax system with their own rate structures, and they land on the same return. Ordinary income tax covers wages, salaries, freelance earnings, and bank interest at rates from 10% to 37% in 2026. Capital gains tax covers profit from selling assets like stocks, real estate, or a business interest, at rates that depend on how long you held what you sold. The two categories are not independent: your ordinary income level helps determine which capital gains rate applies to your investment profits.
Why Both Taxes Apply in the Same Year
The IRS treats what you earn from working and what you earn from selling assets as different kinds of income. Your salary, bonuses, freelance income, and interest flow through the standard progressive brackets. Profit from selling a capital asset goes through a separate framework with its own rates. Neither one absorbs the other. If you draw a paycheck in March and sell appreciated stock in July, both events show up on your Form 1040, and each is taxed under its own rules.
That is why “do I pay both” is almost always yes for working investors. The paycheck creates ordinary income tax liability. The sale creates capital gains tax liability. They add together into your total federal bill.
How Your Salary Changes the Rate on Your Gains
The interaction between the two taxes is where people get tripped up. Your total ordinary income sets the baseline that determines which long-term capital gains rate applies to your investment profits. Someone with a $300,000 salary who sells stock at a profit pays a higher capital gains rate than someone earning $40,000 who sells the same stock for the same gain. The gain is not taxed as salary, but the salary influences the rate on the gain.
For the 2026 tax year, single filers face these long-term capital gains brackets:
- 0% on taxable income up to $49,450
- 15% on taxable income from $49,451 to $545,500
- 20% on taxable income above $545,500
For married couples filing jointly, the 0% rate applies up to $98,900, the 15% rate runs to $613,700, and the 20% rate takes over above that. Heads of household sit between the two, with 15% starting at $66,200 and 20% kicking in above $579,600.1Tax Foundation. 2026 Tax Brackets
The brackets are tiered, not flat. A large long-term gain that pushes you past a threshold gets taxed at the higher rate only on the portion above the line. A $600,000 gain does not mean 20% on the whole thing. It fills each bracket in sequence, the same way ordinary income does.2Internal Revenue Service. Federal Income Tax Rates and Brackets
The practical result: your wages and your gains are separately taxed, but the size of your wages helps decide how heavy the gains tax is.
Short-Term Gains Are Taxed as Ordinary Income
Not every sale gets the lower capital gains rate. The dividing line is one year. Assets sold after being held one year or less produce short-term capital gains, which are taxed at the same rates as your ordinary income. If your salary puts you in the 24% bracket, short-term stock profits are taxed at 24% too. There is no discount for short-term investments.
So if you sold quickly, the answer to “do I pay both” shifts slightly: you still pay both taxes, but the gain is taxed under the ordinary income schedule rather than the preferential long-term schedule. Holding for more than a year moves the gain into the 0%, 15%, or 20% brackets described above. The difference between 364 days and 366 days can be the difference between a 37% rate and a 15% rate, so purchase and sale dates matter. Brokerages track this, but transferred or inherited shares are worth confirming yourself.
The Extra 3.8% for Higher Earners
Above certain income levels, a third layer joins the two main taxes. The Net Investment Income Tax adds 3.8% on top of the standard capital gains rates when your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.3Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax These thresholds are not indexed for inflation, so more taxpayers cross them each year as wages rise.
The tax applies to the lesser of your net investment income or the amount your income exceeds the threshold. A single filer earning $240,000 with $80,000 in net investment income would pay 3.8% on $40,000, since that is the amount by which income exceeds $200,000, and it is less than the investment income figure.3Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax For someone already in the 20% long-term bracket, the effective federal rate on investment income becomes 23.8%.4Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
Investment income for this purpose includes capital gains, interest, dividends, rental income, and royalties. Wages are not investment income, but they count toward the modified adjusted gross income figure that determines whether the tax applies. Once again, the paycheck influences the tax on the gain.
When You Might Not Owe Capital Gains Tax
The general rule is that both taxes apply, but several situations reduce or eliminate the capital gains side even when your income tax bill is unchanged.
Selling Your Primary Home
The home sale exclusion is the most generous rule in the code for individual sellers. You can exclude up to $250,000 of gain from the sale of your primary residence if you are single, or up to $500,000 if you are married filing jointly. To qualify, you must have owned and used the home as your principal residence for at least two of the five years before the sale. The two years do not need to be consecutive. For joint filers claiming the $500,000 exclusion, both spouses must meet the use test, though only one needs to meet the ownership test.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Only gain above the exclusion is taxable, at long-term capital gains rates. Most homeowners never pay capital gains tax on a home sale as a result.
Sales Inside a 401(k) or IRA
Investments held inside tax-advantaged retirement accounts operate under different rules. You do not pay capital gains tax on trades within these accounts, however often you buy and sell or however large the profits are. The tax event happens when money comes out, not when you trade inside. Withdrawals from a traditional 401(k) or IRA in retirement are taxed as ordinary income regardless of whether the growth came from gains or dividends. Qualified withdrawals from a Roth 401(k) or Roth IRA are tax-free.
Losses That Cancel Gains
Capital losses offset capital gains dollar for dollar. If your total losses exceed your total gains for the year, you can deduct up to $3,000 of the excess against ordinary income, or $1,500 if married filing separately.6Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything beyond that carries forward indefinitely.7Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040) A year of net losses is one of the few situations where you can pay income tax but not capital gains tax, and even reduce the income tax slightly.
Inherited Assets
When you inherit an investment or property, your cost basis is generally reset to the fair market value on the date the previous owner died.8Internal Revenue Service. Gifts and Inheritances If a parent bought stock for $10,000 that was worth $200,000 at death, your basis becomes $200,000. Selling shortly after inheriting for $205,000 means capital gains tax on $5,000, not on $195,000.
Paying Through the Year So the Combined Bill Doesn’t Sting
When both taxes come due on the same return, the total can be much larger than what your employer withheld from your paycheck. The IRS expects you to pay as you go, and waiting until April to settle a big investment tax bill can trigger an underpayment penalty.
You can generally avoid the penalty if you owe less than $1,000 at filing, or if you have paid at least 90% of the current year’s tax through withholding and estimated payments. Paying at least 100% of your prior year’s total tax also works as a safe harbor, though that jumps to 110% if your adjusted gross income exceeded $150,000 the previous year.9Internal Revenue Service. Underpayment of Estimated Tax by Individuals Penalty Quarterly estimated payments for 2026 are due April 15, June 15, September 15, and January 15, 2027.10Taxpayer Advocate Service. Making Estimated Payments Sell a stock in March and owe $15,000 in capital gains tax, and waiting until the following January to pay means interest charges for three quarters.
Your State Probably Takes a Cut Too
Federal rates are only part of the picture. Most states also tax capital gains, and the rates vary. Several states impose no income tax at all, which means no state-level capital gains tax either. At the high end, combined state rates including surcharges can exceed 13% on top of the federal rate. The typical state rate falls around 5%. Some states offer reduced rates or special deductions for long-term holdings. Before a large sale, checking your state’s treatment matters, because the combined federal and state rate is what actually leaves your pocket.