What happens when you place a stock trade
When you sell or buy a stock, you place an order through a brokerage account — the financial company that holds your investments. That order goes to an exchange (like the New York Stock Exchange or NASDAQ), where it matches with someone on the other side: a buyer if you're selling, a seller if you're buying. The trade executes at the current market price or a price you set in advance. Settlement — the actual transfer of money and shares — takes two business days.
You don't need to do anything special to make this happen. You log into your brokerage account, find the stock ticker symbol, enter the number of shares, and confirm. The brokerage handles the rest. The entire process is electronic and happens in seconds, though the money doesn't leave your account until settlement day.
Key Takeaways
- Stock trades execute through a brokerage account and settle two business days later, meaning your cash or shares don't move until then.
- You can place a market order (sell at today's price immediately) or a limit order (sell only if the price reaches a number you choose).
- Every trade costs money: brokerage commissions, bid-ask spreads, and sometimes exchange fees reduce what you actually receive or increase what you pay.
- Selling stock triggers a tax event; you owe capital gains tax on the profit, and the rate depends on how long you held the shares.
- Most brokerages let you trade during regular market hours (9:30 a.m. to 4 p.m. Eastern) and some offer after-hours trading at higher risk and wider price swings.
Market orders versus limit orders
A market order sells your shares at the best available price right now. If you own 100 shares of a stock trading at $50, a market order executes almost instantly at or near $50 per share. You get the speed and certainty that the trade will go through, but you don't control the exact price — it could be $49.98 or $50.02 depending on what buyers are offering at that exact moment.
A limit order lets you name the lowest price you'll accept when selling (or the highest price you'll pay when buying). If you own shares trading at $50 and place a limit order to sell at $55, the trade only executes if the price reaches $55 or higher. The advantage is price control; the risk is that the stock never reaches your target and your shares stay unsold. Limit orders can sit open for days or weeks.
For most stocks, the difference between market and limit prices is small — a few cents per share. For thinly traded stocks or during volatile market hours, the gap widens and limit orders become more useful.
Costs that reduce your proceeds
When you sell stock, several costs come out before you see the money. The bid-ask spread is the difference between what a buyer will pay (the bid) and what a seller is asking (the ask). If a stock's bid is $50.00 and the ask is $50.05, you receive $50.00 when you sell at market price, not $50.05. On 100 shares, that's a $5 loss before any other costs.
Many brokerages charge no commission on stock trades, but some still do — typically $5 to $10 per trade. Certain brokerages also charge exchange fees, usually under $1 per trade. If you trade frequently, these add up. A trader making 20 trades per month at $5 commission each pays $100 monthly just in commissions.
Tax is not a trading cost in the traditional sense, but it reduces what you keep. When you sell stock at a profit, you owe capital gains tax. The rate depends on how long you held the shares: if you held them less than one year, you pay short-term capital gains tax at your ordinary income tax rate (up to 37% federally). If you held them one year or longer, you pay long-term capital gains tax (0%, 15%, or 20% federally, depending on your income). Losses can offset gains.
How settlement and cash availability work
After you sell stock, the trade settles two business days later. On settlement day, the shares leave your account and the cash arrives. You can't use that cash to buy other stocks until it settles — attempting to do so creates a good-faith violation on some accounts, and brokerages may restrict your trading for 90 days.
Some brokerages offer margin accounts, which let you borrow money to buy stocks or use unsettled cash immediately. This comes with interest charges and risk: if your account value drops, the brokerage can force you to sell positions to cover the loan. Margin is not a tool for beginners.
If you need cash urgently, selling stock is not the fastest route. Brokerages can hold proceeds for up to five business days if you're a new account or if the stock is illiquid (rarely traded). Plan ahead if you know you'll need the money.
Trading during market hours and after-hours
The stock market's regular trading hours are 9:30 a.m. to 4 p.m. Eastern, Monday through Friday. Most trades happen during these hours, and prices are most stable. Bid-ask spreads are tightest, meaning you lose less to the spread when you sell.
Many brokerages offer after-hours trading from 4 p.m. to 8 p.m. Eastern. Prices can swing wildly during after-hours sessions because fewer traders are active and information (like earnings announcements) often comes out after the close. A stock might trade at $50 during the day and $48 after-hours on the same news. Bid-ask spreads widen, sometimes to 50 cents or more per share. Unless you have a specific reason to trade after-hours, avoid it.
Pre-market trading (before 9:30 a.m.) exists but is even thinner and riskier than after-hours. Most individual traders should stick to regular market hours.
What to know about selling at a loss
If you sell stock for less than you paid, you have a capital loss. You can use this loss to offset capital gains from other sales in the same year, reducing your tax bill. If your losses exceed your gains, you can deduct up to $3,000 of the net loss against your ordinary income in that year. Any loss beyond $3,000 carries forward to future years.
Some traders use this strategically: they sell losing positions late in the year to offset gains from winning trades, then buy the stock back a few days later. This is called tax-loss harvesting. Be aware of the wash-sale rule: if you sell a stock at a loss and buy the same stock (or a substantially identical one) within 30 days before or after the sale, the IRS disallows the loss. You can buy a similar but not identical stock — for example, a different index fund — without triggering the rule.
Frequently Asked Questions
Can I sell stock I don't own yet?
Yes, through a practice called short selling, but it requires a margin account and carries significant risk. You borrow shares from your brokerage, sell them at today's price, and hope to buy them back later at a lower price. If the price rises instead, your losses are theoretically unlimited. Most beginners should not short sell.
What if I place a limit order and the stock price jumps past my target?
Your order executes at your limit price or better. If you set a limit to sell at $55 and the stock jumps to $57, you sell at $55 (your limit), not $57. The order fills as soon as the price touches your target, but you don't benefit from further price movement.
Do I have to pay taxes on stock I sell at a loss?
No. You only owe capital gains tax on profits. Losses reduce your tax bill instead. You must report the sale on your tax return, but there's no tax due on the loss itself.
How long does it take to receive money after I sell stock?
Settlement takes two business days. The cash appears in your brokerage account on the settlement date, but you may not be able to withdraw it to your bank account immediately — some brokerages hold it for an additional one to five business days, especially for new accounts.
Can I cancel a trade after I place it?
If the order hasn't executed yet, yes. Market orders usually execute in seconds, so cancellation is difficult. Limit orders that haven't filled can be cancelled anytime before they execute. Once a trade settles, it cannot be reversed — you'd have to place a new trade to buy the shares back.