If you’re self-employed and investing through a Solo 401(k), you may be wondering how capital gains taxes come into play. After all, capital gains can take a significant bite out of your profits in a regular brokerage account. So, what happens when the assets in your Solo 401(k)—stocks, real estate, crypto, or even private equity—appreciate in value?
Let’s break down the details and clear up the confusion.
What Is a Capital Gain?
A capital gain occurs when you sell an asset for more than you paid for it. For example, if you buy Walmart stock for $1,000 and later sell it for $1,500, your capital gain is $500.
There are two types of capital gains:
-
Short-term capital gains: Gains on assets held for one year or less. These are taxed at ordinary income tax rates (like a paycheck).
-
Long-term capital gains: Gains on assets held for more than one year. These are taxed at preferential rates of 0%, 15%, or 20%, depending on your income bracket.
But here’s the good news: Capital gains taxes do not apply to assets held in a Solo 401(k).
Why Capital Gains Taxes Don’t Apply to a Solo 401(k)
No. Capital gains taxes do not apply to Solo 401(k) investments.
Solo 401(k) accounts—like IRAs—are considered tax-sheltered retirement accounts.
This means any capital gains generated within the account are not taxed when the gains occur. Whether you’re using:
-
a Roth Solo 401(k)
-
a pre-tax Solo 401(k)
-
or an after-tax Solo 401(k)
-
You don’t pay capital gains taxes when you buy or sell investments inside the plan.
-
Your investment growth is tax-deferred (in the case of pre-tax Solo 401(k)s), or tax-free (in the case of Roth Solo 401(k)s).
Whether you invest in stocks, real estate, crypto, private equity, or promissory notes, gains made inside the Solo 401(k) are not subject to capital gains tax.
What Happens When You Sell Investments in the Plan?
Let’s say Jane uses her Solo 401(k) to buy a rental property, with the title held in the name of the plan. If she sells that property for a profit a few years later, all the gains return to the Solo 401(k) account—free from capital gains taxes. Here’s how the taxation works based on the account type:
-
Pre-Tax Solo 401(k): No tax at the time of sale. Taxes are due only when funds are withdrawn, and they are taxed as ordinary income.
-
Roth Solo 401(k): No tax at the time of sale or withdrawal—provided the account is at least five years old and the account holder is age 59½ or older.
When Taxes Do Apply
Although capital gains taxes don’t apply inside the Solo 401(k), regular income taxes can apply when you take distributions—depending on the type of account (i.e., pre tax solo 401k Vs. Roth solo 401k) and your age.
If the funds are in a pre-tax Solo 401(k):
-
You pay ordinary income tax on distributions.
-
If you take distributions before age 59½, a 10% early withdrawal penalty may also apply (unless an exception is met).
If the funds are in a Roth Solo 401(k):
-
Distributions are tax-free and penalty-free if:
-
You are at least 59½ years old, and
-
The Roth account has been open for at least five years.
-
If these conditions are not met, the earnings portion of the distribution could be subject to tax and penalties.
Summary: Capital Gains and Solo 401(k)s
Here are the key takeaways:
✅ Capital gains taxes do not apply to Solo 401(k) investments
✅ Gains on assets held in the plan remain tax-deferred or tax-free, depending on the account type
✅ Taxes only apply when you take a distribution
✅ Roth Solo 401(k) distributions are tax-free if you meet the age and holding requirements
✅ Pre-tax Solo 401(k) distributions are taxed as ordinary income, not capital gains
Here is the visual chart illustrating tax and penalty implications for various Solo 401(k) and taxable account scenarios. Each cell shows whether capital gains tax, ordinary income tax, or early withdrawal penalties apply, using color codes for clarity.
Final Thoughts
So, do you pay capital gains on a Solo 401(k)? Absolutely not. This is one of the major advantages of using a retirement plan like a Solo 401(k). It allows your investments to grow either tax-deferred or tax-free, depending on the account type.
If you’re self-employed and want to grow your wealth efficiently while minimizing taxes, the Solo 401(k) is a powerful tool that shields you from capital gains and gives you the flexibility to invest in a wide range of asset classes.
















