When You Sell a Stock, Where Does the Money Go?

When you sell a stock, the money goes into your brokerage account first, not straight to your bank. It lands in a cash sweep balance inside the brokerage, becomes available to withdraw one business day after the trade settles, and then takes another one to three business days to reach your bank once you request a transfer. The sale is also a taxable event the moment it executes, whether you move the cash out or leave it invested.

Where the Cash Lands First

The proceeds from a sell order don’t leave the brokerage platform. They post to your brokerage’s internal cash balance, often called a sweep account, which acts as a holding area for uninvested cash inside your portfolio. Your dashboard will usually display two figures: total account value, which includes holdings plus cash, and cash available to withdraw. Right after a sale those numbers won’t line up, because the trade hasn’t finished settling.

Most investors leave the proceeds where they land and reinvest. Brokerages generally let you buy new securities with expected proceeds before the original sale settles, extending buying power as a courtesy. That convenience disappears the moment you want the money out of the account entirely. Withdrawing requires waiting for settlement and then starting a separate transfer.

Cash inside a brokerage is protected differently than cash inside a bank. If a SIPC-member brokerage firm fails, the Securities Investor Protection Corporation covers up to $500,000 per account, with a $250,000 sublimit for cash.1SIPC. For Investors – What SIPC Protects That coverage replaces missing assets if the firm collapses. It does not protect you against a stock losing value.

Why You Have to Wait: T+1 Settlement

A trade doesn’t become final the second you click sell. Federal regulations require most securities transactions to settle no later than one business day after the trade date, a standard known as T+1.2eCFR. 17 CFR 240.15c6-1 Settlement Cycle During that window, the National Securities Clearing Corporation verifies the trade, confirms the buyer’s payment, and officially transfers ownership. Only after that finishes does your cash status flip from pending to settled.

The distinction matters when withdrawal is the goal. Your brokerage may update buying power immediately so you can trade again, but credited buying power is not the same as withdrawable cash. Unsettled funds cannot leave the account.

The Good Faith Violation Trap

Trading with unsettled funds in a cash account can trigger a good faith violation. It happens when you buy a security with proceeds that haven’t settled yet and then sell that new security before the original proceeds clear. Under Regulation T, the consequence is a 90-day restriction: for the next 90 calendar days, you can only buy securities if you already have settled funds in the account to cover the purchase.3eCFR. Part 220 Credit by Brokers and Dealers (Regulation T) The restriction lifts after 90 days, but it’s easy to fall into if you don’t track which dollars have settled.

Moving the Money to Your Bank Account

Once cash is settled, getting it to your bank requires an external transfer. The most common method is an ACH transfer, which routes funds electronically between financial institutions and typically takes one to three business days to arrive. Timing depends on when you submit the request. ACH runs in batch cycles, so a late-afternoon request may not enter the queue until the next morning.

Wire transfers are faster, often arriving the same business day if you initiate them before your brokerage’s cutoff time.4J.P. Morgan. Wire Transfers: How They Work, Security and Fees The tradeoff is cost, since brokerages commonly charge a flat fee per outgoing wire. Some brokerages also issue debit cards linked to your sweep account, letting you spend settled cash directly through point-of-sale purchases or ATM withdrawals without moving the money to a separate bank at all.

Outbound transfers pass through fraud screening before release. Brokerages must maintain written procedures protecting customer information and preventing unauthorized access.5eCFR. Part 248 Regulations S-P, S-AM, and S-ID Large withdrawals, or transfers to a newly linked bank, may get flagged for manual review and add a day or two.

What You’ll Owe in Taxes

Every stock sale creates a taxable event, whether or not you withdraw the proceeds. Your brokerage reports each sale to the IRS on Form 1099-B, which lists the sale price, cost basis, and whether the gain or loss was short-term or long-term.6Internal Revenue Service. Instructions for Form 1099-B (2026) You’ll get a copy early in the following year.

The taxable gain, or deductible loss, is the difference between what you received for the stock and your adjusted basis, which is essentially what you paid, including commissions.7Office of the Law Revision Counsel. 26 U.S. Code 1001 – Determination of Amount of and Recognition of Gain or Loss If you bought shares of the same stock at different times and prices, which shares you sell affects your tax bill. The default at most brokerages is first-in, first-out, meaning the oldest shares are treated as sold first. You can also use specific identification to choose exactly which shares to sell. Picking higher-cost shares reduces your taxable gain; picking shares held longer than a year can qualify the sale for lower rates.

Unlike a paycheck, brokerages generally do not withhold federal income tax from stock sale proceeds for U.S. citizens. The exception is backup withholding, which kicks in if you haven’t provided a valid taxpayer identification number.6Internal Revenue Service. Instructions for Form 1099-B (2026) Otherwise, setting money aside for taxes is on you.

Short-Term vs. Long-Term Rates

How long you held the stock decides the rate. Gains on stock held for one year or less are short-term and taxed at your ordinary income rate, which can run as high as 37%.8Internal Revenue Service. Topic No. 409, Capital Gains and Losses Gains on stock held for more than one year are long-term and taxed at preferential rates of 0%, 15%, or 20%, depending on your taxable income.9Office of the Law Revision Counsel. 26 U.S. Code 1222 – Other Terms Relating to Capital Gains and Losses For 2026, the 0% rate applies to taxable income up to $49,450 for single filers and $98,900 for joint filers; the 20% rate kicks in above $545,500 single and $613,700 joint, with the 15% rate in between. These thresholds are adjusted annually for inflation.10Internal Revenue Service. Revenue Procedure 2025-32 The difference between holding a profitable stock for 11 months and 13 months can be the difference between a 24% rate and a 15% rate, or 0% for lower-income investors.

The Net Investment Income Tax

Higher earners face an additional 3.8% tax on net investment income, capital gains included. This surtax applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers.11Office of the Law Revision Counsel. 26 U.S. Code 1411 – Imposition of Tax These thresholds are not indexed for inflation and haven’t changed since the tax was introduced, so more taxpayers cross them each year as wages rise.

State Taxes

Federal tax is only part of the picture. Most states tax capital gains as ordinary income, with rates that run from roughly 2% to over 13% depending on the state and your income. About nine states impose no income tax on capital gains at all. A few apply special rules, taxing only long-term gains above a high threshold or allowing partial deductions. The state you lived in on December 31 of the tax year generally decides which state taxes your gains.

Watch Out for the Wash Sale Rule

If you sell a stock at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the IRS disallows the loss deduction under the wash sale rule.12Office of the Law Revision Counsel. 26 U.S. Code 1091 – Loss From Wash Sales of Stock or Securities The window spans 61 days total: 30 days before, the sale date, and 30 days after. To safely claim the loss, wait until the 31st day after selling before repurchasing.

The disallowed loss isn’t gone forever. It gets added to the cost basis of the replacement shares. If you lost $500 on the original sale and immediately bought the same stock for $2,000, your new basis becomes $2,500. You recognize the loss when you eventually sell the replacement shares, assuming you don’t trigger another wash sale. The holding period of the original shares carries over as well, which can help you reach long-term treatment sooner.

One trap to know: if you repurchase the same stock inside an IRA or Roth IRA rather than your taxable account, the disallowed loss is permanently forfeited. The IRA doesn’t get an increased basis, so the loss simply vanishes. This catches people who try to “move” a losing position into a tax-advantaged account.

When You May Owe Quarterly Estimated Tax

Because brokerages don’t withhold, a large stock sale can leave you owing estimated tax during the year. If you expect to owe $1,000 or more in taxes after subtracting withholding and credits, you’re generally required to make quarterly estimated payments.13Internal Revenue Service. Estimated Taxes

You can avoid an underpayment penalty by meeting an IRS safe harbor: pay at least 90% of the current year’s tax liability, or 100% of last year’s tax (110% if your prior-year adjusted gross income exceeded $150,000).13Internal Revenue Service. Estimated Taxes If the gain is small and your regular W-2 withholding is close to covering your total bill, you may owe less than $1,000 and can skip quarterly payments. For a large, unexpected gain, waiting until April of the following year usually means penalties and interest on top of the tax.

A Note on Retirement Accounts

All of the above applies to taxable brokerage accounts. Selling stock inside a traditional IRA or 401(k) works differently: the sale itself generates no tax event at all. No capital gains, no Form 1099-B, no wash sale concerns. The cash stays inside the account, and tax comes due only when you eventually withdraw, at which point the entire withdrawal is taxed as ordinary income regardless of how long you held the underlying stocks. Withdrawals before age 59½ generally add a 10% early distribution penalty, with limited exceptions.14Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Roth IRAs are the most favorable for stock sales: contributions can be withdrawn at any time without tax or penalty, and qualified withdrawals of earnings, after age 59½ and at least five years after your first Roth contribution, are entirely tax-free.