A friend called me last year after discovering she’d accidentally triggered the wash-sale rule in her Roth IRA. She’d sold a tech stock at a $2,400 loss, bought it back three weeks later when it dipped lower, and then learned the loss was permanently disallowed — not deferred, not deductible, just gone. She’d assumed retirement accounts were exempt from that rule. They’re not.
The short answer
Yes, you can trade stocks in most retirement accounts — IRAs (both Traditional and Roth) generally allow unlimited trades, and some 401(k) plans offer a self-directed brokerage window. But three major restrictions catch people off guard: wash-sale rules still apply, many 401(k) plans don’t allow individual stock trading at all, and losses inside retirement accounts aren’t tax-deductible.
What’s allowed in a Roth IRA
Roth IRAs offer the most trading flexibility of any retirement account. You can buy and sell stocks, ETFs, mutual funds, and (depending on your broker) options as many times as you want. There’s no Pattern Day Trader rule here — the regulation that limits taxable brokerage accounts to four day trades per five-day rolling period doesn’t apply to IRAs. If you want to make ten round-trip trades in a single day, the account structure allows it.
All gains stay inside the account and grow tax-free. If you buy a stock at $30, sell it at $50, that $20 gain isn’t taxed — not now, not when you withdraw it at 59½, not ever (as long as you follow Roth IRA withdrawal rules).
But here’s where the flexibility ends: losses don’t leave the account either. If you sell that same stock at a $20 loss, you can’t deduct it on your tax return. In a taxable brokerage account, you could use that loss to offset other gains or deduct up to $3,000 against ordinary income. In a Roth, the loss just disappears into the account’s history. You get no tax benefit from it.
The wash-sale trap in retirement accounts
This is the rule that catches the most people. The IRS wash-sale rule — which disallows a loss if you buy back the same (or a “substantially identical”) security within 30 days before or after selling it — applies to Roth and Traditional IRAs. A lot of active traders assume retirement accounts are exempt. They’re not.
IRS Notice 2008-15 explicitly closed this loophole. If you sell Stock A at a loss in your Roth IRA and buy it back (or buy a nearly identical security) within the 30-day window, the loss is disallowed. It doesn’t get added to your new cost basis like it would in a taxable account. It’s just gone.
Example: You buy 100 shares of XYZ at $50 ($5,000 total). It drops to $35, and you sell at a $1,500 loss. Three weeks later, you buy it back at $32. The wash-sale rule disallows the $1,500 loss entirely. You don’t get to claim it, you don’t get to defer it, and because this is a Roth, you weren’t going to get a tax deduction anyway — but now you’ve also lost the ability to adjust your cost basis. You’re starting from scratch at $32 with no memory of the $50 entry.
This hits frequent traders hardest. If you’re used to tax-loss harvesting in a taxable account, that strategy doesn’t translate to a Roth.
401(k)s: What you can’t do
Whether you can trade individual stocks in a 401(k) depends entirely on your employer’s plan, and the news here isn’t great. Most 401(k) plans don’t offer individual stock trading at all. Among those that do, many limit access through a self-directed brokerage window with restrictions — sometimes a 30-day holding period between trades, sometimes per-transaction fees, sometimes a narrow list of approved securities. A smaller fraction of plans offer true self-directed brokerage that works like a regular brokerage account.
If your plan is one of those, you’ll see it mentioned in your Summary Plan Description (SPD) — usually as a “brokerage window” or “self-directed option.” If that language isn’t there, you’re probably limited to the mutual funds and target-date funds the plan administrator selected.
401(k) restrictions also extend to timing. Some plans allow stock trading but restrict it to certain windows — quarterly, monthly, or only during open enrollment. Others charge a flat fee ($25-$50) per trade, which makes frequent trading prohibitively expensive. The Department of Labor requires plan sponsors to disclose these restrictions in the SPD, but a lot of people don’t read that document until they’ve already tried to place a trade.
If you’re considering active trading in a 401(k), the first step is to call your plan administrator and ask: “Does this plan offer a self-directed brokerage window, and if so, what are the trading restrictions?”
Traditional IRAs: Same trading rules, different tax treatment
Traditional IRAs allow the same unlimited trading as Roth IRAs — no day-trader restrictions, no transaction limits. The mechanics are identical. The difference is on the tax side.
Gains in a Traditional IRA grow tax-deferred, not tax-free. When you withdraw money at retirement, you’ll pay ordinary income tax on the full amount (both contributions and gains). If you’re an active trader and you’ve grown a $10,000 account to $50,000 through frequent trading, you’ll owe income tax on that $40,000 in gains when you take it out — even if some of those gains came from stocks you sold at a loss along the way.
And just like in a Roth, losses inside a Traditional IRA aren’t tax-deductible. The IRS doesn’t let you write off trading losses that happen inside a tax-advantaged account. The only time you can deduct an IRA loss is if you liquidate the entire account and the total distributions are less than your unrecovered basis — and even then, the deduction is limited. For practical purposes, if you’re trading actively in a Traditional IRA, assume losses stay in the account.
The interesting wrinkle: RMDs don’t care about your losses
If you’re over 73 and trading in a Traditional IRA, you’re subject to Required Minimum Distributions (RMDs). The IRS requires you to withdraw a percentage of your account balance every year, and that percentage increases as you age. Here’s the part that surprises people: your RMD is calculated on your account balance, not on your original contributions or your unrealized gains.
Let’s say you had $100,000 in your Traditional IRA at the start of the year. You trade actively, take some losses, and by the end of the year your balance is $80,000. Your RMD for the following year is calculated on that $80,000 — let’s call it roughly $3,200 (around 4% at age 73). You have to withdraw that $3,200 and pay income tax on it, even though you lost $20,000 trading. The losses don’t reduce your tax bill. They don’t offset the RMD. They just sit there.
This dynamic punishes active traders in Traditional IRAs more than buy-and-hold investors. If you’re holding dividend-paying stocks and letting them compound, you’re growing the balance and your RMDs reflect that growth. If you’re trading frequently and taking losses, you’re shrinking the balance but still paying tax on the withdrawals.
The pro-rata rule trap
One more curveball: if you’re doing Roth conversions while also trading in a Traditional IRA, the IRS pro-rata rule applies. This rule says that when you convert money from a Traditional IRA to a Roth, the IRS treats the conversion as coming proportionally from all your Traditional IRA balances — not just the account you’re converting from.
Example: You have $50,000 in a Traditional IRA and $10,000 in a separate Traditional IRA that you want to convert to a Roth. You might assume you’ll only pay tax on the $10,000 you’re converting. Not quite. The IRS calculates the taxable portion based on the ratio of your total pre-tax IRA balances to your total IRA balances. If all $60,000 is pre-tax, you’re paying tax on the full $10,000. If you’ve made after-tax contributions to your Traditional IRA (rare, but it happens), the pro-rata rule determines how much of that $10,000 conversion is taxable.
This catches active traders who think they can convert losses out of a Traditional IRA without paying tax on the full amount. You can’t. The IRS looks at the aggregate balance, not the individual account’s performance.
What this means if you’re considering active trading
If you’re thinking about trading stocks in a retirement account, here are the practical takeaways:
Roth IRAs are the most flexible option for active traders — no PDT rule, no RMDs, and all gains are tax-free. But you give up the ability to deduct losses, and the wash-sale rule still applies. If your strategy depends on tax-loss harvesting, a Roth won’t work.
Traditional IRAs have the same trading freedom but worse tax consequences. You’ll pay ordinary income tax on all withdrawals, and if you’re over 73, you’ll owe RMDs even if you’ve taken trading losses.
401(k)s are a gamble. Check your plan documents before assuming you can trade stocks. If your plan doesn’t mention a self-directed brokerage window, you’re probably stuck with the fund menu the administrator chose.
If you’re just starting out with investing, ETFs or a diversified portfolio might be a better fit than active stock trading. Retirement accounts have contribution limits — $7,000/year for IRAs in 2024, $8,000 if you’re over 50 — and using that limited space for high-risk trades means you can’t get it back if the trades go wrong.
FAQ
Can you day trade in a Roth IRA?
Yes. The Pattern Day Trader rule (which limits taxable brokerage accounts to four day trades per five-day period) doesn’t apply to IRAs. You can make as many day trades as you want in a Roth IRA. But remember: losses aren’t deductible, and the wash-sale rule still applies if you’re buying and selling the same security within 30 days.
Does the wash-sale rule apply to retirement accounts?
Yes. The IRS explicitly closed this loophole in Notice 2008-15. If you sell a stock at a loss in an IRA (Traditional or Roth) and buy back the same or a substantially identical security within 30 days, the loss is disallowed.
What happens if I lose money trading in a Roth IRA?
The loss stays inside the account and isn’t tax-deductible. In a taxable brokerage account, you could use the loss to offset gains or deduct up to $3,000 per year against ordinary income. In a Roth, you get no tax benefit — the loss just reduces your account balance.
Can I trade stocks in my 401(k)?
Only if your plan offers a self-directed brokerage window. Most plans don’t. Check your Summary Plan Description or call your plan administrator to find out. If the option exists, it’ll be explicitly mentioned in your plan documents.
Active trading in a retirement account is legal and often logistically easier than trading in a taxable account — but the tax rules, loss restrictions, and plan-level limits make it a different game. If you’re using an IRA or 401(k) for trading, go in knowing the wash-sale rule applies, losses don’t generate deductions, and your plan might not allow it at all.
This article explains how trading rules work in retirement accounts. It is not financial advice and does not recommend any specific securities or trading strategy. Retirement account trading carries significant risks, including permanent loss of contribution growth and tax benefits. Tax laws vary by your jurisdiction and individual situation. Consult a CPA or tax professional before executing a Roth conversion or placing large trades in a retirement account.