Do I Owe Taxes on the Sale of My Investment?

July 09, 2025

Whether you're cashing out of stocks, mutual funds, real estate, or another investment, one of the first questions many investors ask is: “Will I owe taxes?”

The short answer? Most likely yes—but how much you’ll owe depends on several factors. Here’s what you need to know:


1. Capital Gains Tax Basics

When you sell an investment for more than you paid for it, the profit is considered a capital gain, and it's typically subject to taxes¹.

There are two types of capital gains:

  • Short-term capital gains: If you sell an investment you’ve held for one year or less, the gain is taxed at your ordinary income tax rate—the same rate you pay on your salary¹.
  • Long-term capital gains: If you sell after holding the investment for more than one year, the gain is usually taxed at a lower rate (typically 0%, 15%, or 20%, depending on your income level).


2. What If You Lost Money?

If you sell an investment for less than you paid, you’ll have a capital loss. While no one likes losing money, there is a silver lining:

  • You can use capital losses to offset capital gains in the same year¹.
  • If your losses exceed your gains, you can deduct up to $3,000 ($1,500 if married filing separately) against your ordinary income, and carry over the rest to future years¹.


3. Other Taxes to Consider

In some cases, additional taxes may apply:

  • Net Investment Income Tax (NIIT): If your income exceeds certain thresholds ($200,000 for single filers, $250,000 for married couples), you may owe an extra 3.8% tax on investment gains⁵ ⁶.
  • State Taxes: Don’t forget your state may also tax capital gains, depending on where you live⁷.


4. What About Dividends, Interest, or Rental Income?

If your investment also generated income before the sale, like dividends or rent, those may also be taxable separately, even if you reinvested the proceeds².

Qualified dividends may be taxed at capital gains rates, but interest and rental income are typically taxed at ordinary income rates².


5. Retirement Accounts Are Treated Differently

Investments held inside retirement accounts (like IRAs or 401(k)s) follow different rules:

  • If you sell investments inside a Roth IRA, you may not owe taxes at all (as long as certain conditions are met)⁸ ⁹.
  • In a traditional IRA or 401(k), the gains aren’t taxed at the time of sale but will be taxed as ordinary income when you withdraw the funds⁸.


6. Keeping Records Is Critical

To report gains or losses accurately, you’ll need to know your cost basis (what you paid for the investment) and the date of purchase and sale. Brokerages usually track this, but it’s important to double-check—especially for inherited or gifted investments, where different rules may apply¹⁰ ¹¹.


When in Doubt, Get Help

Tax rules around investments can be nuanced—especially if you have a mix of taxable, tax-deferred, or tax-exempt accounts. It’s worth checking with a financial advisor or tax professional to make sure you're not caught off guard come tax time.

Ready to Schedule a Meeting?
Click here or the photo below to schedule an in-person, virtual, or phone call meeting.

We look forward to working with you!

📚 Footnotes

  1. Internal Revenue Service. Topic No. 409 – Capital Gains and Losses

  2. Internal Revenue Service. Publication 550 – Investment Income and Expenses

  3. Internal Revenue Service. Capital Gain Tax Rates for 2024

  4. Tax Foundation. 2024 Long-Term Capital Gains Tax Rates

  5. Internal Revenue Service. Topic No. 559 – Net Investment Income Tax

  6. Internal Revenue Service. Form 8960 – Net Investment Income Tax Instructions

  7. Tax Foundation. 2024 State Individual Income Tax Rates and Brackets

  8. Internal Revenue Service. Publication 590-B – Distributions from IRAs

  9. Internal Revenue Service. Roth IRAs

  10. Internal Revenue Service. Publication 551 – Basis of Assets

  11. FINRA. What Is Cost Basis and Why Should You Care?