You can usually buy another stock the moment your sell order fills. Most brokerages let you use the unsettled proceeds right away, even though the sale itself doesn’t legally settle until the next business day. So the real question of how soon you can buy a stock after selling it isn’t about the clock. It’s about three traps that can bite you regardless of how fast your broker moves: selling the new purchase before your old sale settles, rebuying the same stock at a loss, and resetting your holding period into a higher tax bracket.
What T+1 Settlement Actually Means for You
When you sell a stock, execution takes milliseconds, but the legal transfer of shares and cash finalizes one business day later. This is called T+1 settlement, and it applies to stocks, ETFs, bonds, and most exchange-traded mutual funds.1FINRA. Understanding Settlement Cycles: What Does T+1 Mean for You During that one-day window, the clearinghouse confirms the seller delivered shares and the buyer’s money is real.
What you experience at your brokerage is different from what the clearinghouse is doing. Your broker sees the sale, credits your account with pending proceeds, and in almost all cases lets you place a new buy order immediately. The settlement clock keeps ticking in the background. Problems only surface if you take an action that assumes the money is fully yours before it is.
Buying Immediately in a Cash Account
A cash account is the default at most brokerages. You buy with money you already have, and your sale proceeds technically belong to you only after settlement completes the next business day. Brokerages routinely extend a short credit to bridge that gap, which is why you can reinvest right away. The three violations below all describe what happens when that credit gets abused.
Good Faith Violations
A good faith violation happens when you buy a stock with unsettled proceeds, then sell that new stock before the original proceeds settle. You’ve closed the position before real money backed it. One is a warning. Three within a rolling 12-month period puts a 90-day restriction on your account, during which you can only buy with fully settled cash.
Free Riding
Free riding is the more serious version: buying a stock and selling it before ever paying for it, effectively pocketing a profit on a trade you never funded. This violates Regulation T and triggers a 90-day account freeze. You can still trade during the freeze, but every buy order must be covered by settled cash upfront.2Investor.gov. Freeriding
Cash Liquidation Violations
A cash liquidation violation happens when you buy securities one day and then sell other holdings the next day specifically to cover that purchase. You’re funding a trade retroactively by selling something else. Three of these in 12 months also triggers the 90-day settled-cash restriction.
The pattern across all three is the same: in a cash account, either have the money before you spend it, or leave a new purchase alone until the funds backing it have settled. Reinvesting one sale into one new position and holding it works fine.
How a Margin Account Changes Things
A margin account sidesteps the settlement question because the brokerage extends you a credit line backed by your portfolio. Under Regulation T, you can borrow up to 50% of a stock’s purchase price.3U.S. Securities and Exchange Commission. Understanding Margin Accounts Your buying power comes from total portfolio equity, not just settled cash, so good faith violations and free riding effectively don’t apply.
The tradeoff is cost and risk. FINRA Rule 4210 requires equity of at least 25% of your securities’ market value at all times, and most brokerages set the bar at 30% to 40%.4FINRA. 4210. Margin Requirements Fall below that and you’ll face a margin call, meaning you deposit funds or sell holdings immediately. You also pay interest on the borrowed balance for as long as it’s outstanding.
If You Plan to Sell the Same Day
Buying and selling the same stock within a single trading day triggers a separate set of rules. FINRA classifies you as a pattern day trader if you make four or more day trades within five business days and those trades account for more than 6% of your total activity in that period.5FINRA. Day Trading Once flagged, you must keep at least $25,000 in equity in your margin account on any day you day trade. Drop below that and your broker will block further day trading until the balance is restored. Miss a day-trading margin call for five business days and the account gets restricted to cash-only trading for 90 days.6FINRA. Pattern Day Trader Interpretation
Cash accounts aren’t subject to the pattern day trader rules, but settlement constraints make day trading in one impractical anyway. If you plan to buy and sell the same stock within hours, you need a margin account with $25,000 in it.
Rebuying the Same Stock You Just Sold
Nothing stops you from buying the exact stock you just sold, five minutes later. Whether it’s a good idea depends on whether you sold at a gain or a loss.
If you sold at a gain, rebuy whenever you want. The wash sale rule doesn’t apply to gains.
If you sold at a loss, the IRS gets involved. Under IRC Section 1091, if you sell a security at a loss and buy the same or a “substantially identical” security within 30 days before or after the sale, the loss is disallowed on your tax return.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The full window covers 61 days: 30 before, the sale date, and 30 after.
What Counts as Substantially Identical
The IRS has never given a bright-line definition. The exact same stock clearly qualifies. A call option on the same stock likely does too, since options to acquire stock are covered by the statute. Replacing an individual stock with a broad-market ETF or mutual fund in the same sector generally avoids a wash sale because those funds hold many different securities. Swapping one S&P 500 index fund for a different provider’s S&P 500 fund is riskier, since both track the same index. Automatic dividend reinvestments through a DRIP can also trigger a wash sale if they land inside the 61-day window.
The Loss Isn’t Gone, It’s Deferred
A wash sale disallows the loss in the current year but adds it to the cost basis of the replacement shares.8Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities So if you took a $500 loss and rebought, your new shares have a cost basis $500 higher than you paid, and you recover the loss when you eventually sell them. The holding period of the original shares also carries over to the replacement shares, which matters for whether a future sale qualifies for long-term capital gains treatment.
Brokerages track wash sales on identical securities within the same account and report them on Form 1099-B. They generally cannot track wash sales across accounts at different firms, so that’s on you to monitor.9Internal Revenue Service. Instructions for Form 1099-B (2026)
The IRA Trap
Selling a stock at a loss in your taxable account and buying it back inside your IRA within 30 days still triggers the wash sale rule. The loss is disallowed. But because IRAs don’t track cost basis the way taxable accounts do, the disallowed loss doesn’t get added to anything. It’s permanently gone.10Internal Revenue Service. Revenue Ruling 2008-5 If you’re harvesting losses, keep your IRA away from whatever you just sold at a loss.
The Tax Cost of Selling Too Soon
Every stock sale in a taxable account is a taxable event, and the rate depends on how long you held the shares. Selling and rebuying resets that clock, which can push a future sale from the long-term rate into the short-term rate.
Sell after holding for one year or less and any profit is taxed as ordinary income, at rates from 10% up to 37% depending on your total taxable income. Sell after more than one year and the gain qualifies for long-term capital gains rates:
- 0% on taxable income up to $49,450 (single) or $98,900 (married filing jointly)
- 15% on taxable income from $49,451 to $545,500 (single) or $98,901 to $613,700 (married filing jointly)
- 20% above those upper thresholds
Someone in the 32% bracket who sells at 11 months pays close to double what they’d owe by waiting one more month. When you sell and rebuy, the new shares start a fresh holding period at day one, unless a wash sale carries the old one over. If a stock is close to its one-year mark, that month often matters more than any short-term reason to sell.
If You’re Pulling Cash Out Instead
Reinvesting inside your brokerage doesn’t require waiting. Withdrawing cash to your bank does. You have to wait for T+1 settlement, then for the transfer itself.
Wire transfers typically process the same business day once funds settle. ACH transfers take another one to three business days. The fastest realistic path (sell Monday, settle Tuesday, wire Tuesday) puts cash in your bank two business days after the sale. The slowest ACH path can run four or five business days.
You cannot withdraw unsettled proceeds. If you’re timing a large purchase around a stock sale, build in at least three to four business days of buffer.