Can I sell a stock immediately after I buy it?
Yes, in a normal brokerage account you can usually enter a sell order soon after buying shares, but “immediately” does not guarantee an execution price, and the account type, order type and settlement rules can affect what happens next.
Next question: Why does a stock open at a different price from yesterday’s close? →
Choose the order type deliberately and check your broker’s cash and margin rules before attempting very rapid buy-and-sell activity.
Investor.gov order typesRun your own numbers: Compound interest and savings calculator.
A market order can sell quickly, but price is not guaranteed
Investor.gov describes a market order as an instruction to buy or sell a security immediately. That makes it the most direct answer to the word “immediately”, but there is an important trade-off: execution is prioritised over price certainty.
A sell market order will generally execute at or near the current bid, not necessarily at the last price shown on the screen. In a thinly traded security, the available bids may be separated enough that the final fill differs materially from the displayed last trade.
A limit order gives you a price boundary instead
A sell limit order can execute only at the limit price or better. That protects the minimum acceptable price, but it also creates the possibility that the trade will not happen at all. Investors often confuse “sell immediately” with “sell at a price I choose immediately”; a limit order cannot promise both.
This distinction matters especially around earnings announcements, market opens and volatile periods when the price can move quickly between the order being submitted and the next available execution.
Buying and selling quickly is different from withdrawing cash
Even when a sale executes, the proceeds are subject to the securities settlement cycle. The US market now uses T+1 settlement for most securities, meaning a trade generally settles one business day after the trade date. That is not the same as saying you cannot sell the shares before settlement.
The settlement distinction becomes important in cash accounts. Using unsettled proceeds or selling before you have met the brokerage firm’s cash requirements can create account restrictions even though the underlying stock sale itself was permitted.
Margin and short-selling add another layer
If you use margin, rapid trading can trigger separate rules concerning available buying power, maintenance requirements and the broker’s own policies. A person who sells shares they do not own is making a short sale, which is a different transaction from simply buying a stock and then selling the same shares.
For most readers asking this question, the relevant point is simpler: confirm the account type and the broker’s trading permissions before treating repeated same-day transactions as routine.
Extended-hours trading is not identical to normal-session trading
After-hours and pre-market sessions can have lower liquidity and different order-handling characteristics. FINRA warns investors that extended-hours trading can involve wider spreads, fewer participants and more price volatility. A user who wants to sell “right away” may be tempted to use an extended session without considering the execution risk.
That is especially relevant for limit orders placed outside regular market hours, where the order may sit unfilled until an eligible trading session begins or until a matching price becomes available.
Selling quickly can create a taxable transaction
In a taxable US brokerage account, a sale can create a capital gain or loss even if you held the shares for only a short time. The IRS distinguishes holding periods for tax purposes, and the gain or loss starts with the relationship between your sales proceeds and tax basis.
A same-day sale is therefore not “tax free because it was fast”. The tax result still belongs in your records and may be affected by basis rules and other transactions in the account.
Execution quality can be more important than raw speed when the spread is wide. A trader who needs a fast exit should still consider whether a market order is appropriate for the stock’s liquidity and whether a limit order better expresses the price they are prepared to accept.
Worked example
Illustrative US example: Nina buys 50 shares at $20 and decides an hour later that she no longer wants the position. She places a market sell order while the regular market is open. If the available bid is $19.85 when the order reaches the market, the sale can execute around that level rather than at the last displayed trade.
- Purchase cost: 50 × $20 = $1,000.
- Illustrative sale proceeds: 50 × $19.85 = $992.50.
- Price P&L before costs: $992.50 − $1,000 = −$7.50.
Nina was able to sell quickly, but the example shows why immediate execution and a guaranteed price are different concepts. If she had used a sell limit at $20.00, the order would protect that minimum price but might not have executed at all.
Can I buy and sell the same stock on the same day?#
Generally yes, subject to your brokerage account type and applicable trading rules. A same-day round trip is commonly associated with day trading, and margin accounts can have specific restrictions. A cash-account trade also has settlement and good-faith considerations. Your broker can also apply its own risk controls and account restrictions.
Is a market order guaranteed to sell immediately?#
A market order is designed for immediate execution, but the investor does not control the final price. Investor.gov notes that the execution may differ from the last-traded price because the available bid or offer can move. The market can move while the order is waiting for a qualifying price.
Will a sell limit order always execute?#
No. A sell limit order requires the market to reach the specified price or better. If the stock never trades at that level, the order can remain unfilled. The benefit is greater price control; the cost is less certainty of execution. That trade-off is the central distinction between market and limit orders: one prioritises execution, while the other prioritises a price condition.
When can I withdraw the cash from a stock sale?#
Most US securities now settle on T+1, so a sale generally settles one business day after the trade date. Your broker can impose additional account-level rules. Settlement timing is different from the ability to place another trade. Settlement affects the use of the proceeds after the trade; it does not normally prevent you from entering the sale itself.
Can selling immediately create a tax bill?#
Yes. In a taxable account, a sale can realise a capital gain or loss regardless of how short the holding period was. The tax calculation uses your proceeds, basis and other applicable tax rules rather than simply asking how long you owned the shares. A rapid sale can therefore be economically different from a rapid cash withdrawal.
Is after-hours selling riskier?#
It can be. FINRA highlights lower liquidity, wider spreads and greater volatility in extended-hours sessions. A trader focused on speed should understand those conditions rather than assuming that an after-hours order behaves exactly like a normal-session trade. That can materially change the price you receive.
Keep reading
- What are the downsides of a credit card if you pay it off in full?Related question
- When does helping a family member financially count as a gift for Inheritance Tax?Related question
- Is it worth moving house when you have to pay stamp duty?Related question
- When should I send a 'prove it' letter for a debt?Related question
- Which IG stocks and shares ISA should you choose: Smart Portfolio or share dealing?Same topic
- Stocks and shares ISA, pension or cash savings: which is better?Same topic
- Do you need to wait for your statement to pay off your credit card in full?Popular question
- Compound interest and savings calculatorCalculator
- More in Investing: 39 answersTopic hub
Next question →Why does a stock open at a different price from yesterday’s close?
Sources
General information, not personal financial advice. Rules depend on your circumstances; check the official source or speak to a regulated adviser before acting.