How to Sell ETFs: Trade Steps, Taxes, and Wash Sales

To sell an ETF, you log into your brokerage, enter the ticker and number of shares, choose an order type, select which tax lots you’re selling, and confirm the trade; the cash settles one business day later. That’s the mechanical part. The part that costs people money is what happens on the tax return, and most of those decisions have to be made before you click sell, not after.

Placing the Sell Order

On the trade ticket you’ll pick between a market order and a limit order. A market order fills immediately at the best available price. You get speed and give up control, which matters when prices are moving fast. A limit order only executes if a buyer will pay your specified price or better, so you get price certainty at the risk of the order sitting unfilled.1Investor.gov. Types of Orders

For a broadly traded fund like a large S&P 500 ETF, a market order usually fills within a penny or two of the quote. For a thinly traded sector or niche fund, the limit order is worth the extra step.

Even with zero-commission brokerages, you still pay the bid-ask spread. When you sell, you receive the bid price, and the gap between bid and ask is effectively your transaction cost. On a heavily traded ETF that gap might be a single penny per share. On a low-volume fund it can run 10 to 20 cents.2FINRA.org. Exchange-Traded Funds and Products Check the spread before you submit. If it looks wide, use a limit order set slightly above the current bid.

After you confirm, the brokerage generates a trade confirmation showing the exact fill price, time, share count, and net proceeds. Keep it. It’s your record if anything on the year-end tax forms looks off.

When You Actually Get the Cash

The trade executes in seconds; the cash isn’t fully yours until settlement. Since May 28, 2024, SEC Rule 15c6-1 has set the standard settlement cycle at T+1, meaning one business day after the trade date.3U.S. Securities and Exchange Commission. Shortening the Securities Transaction Settlement Cycle

During that one-day window the proceeds are pending. Most brokerages let you use unsettled funds to buy other securities in the same account. Once settlement completes, the cash is fully available. Moving it to your bank by ACH usually takes another one to three business days. A wire arrives faster, often same-day, but most brokerages charge $25 or more.

Picking Which Shares to Sell

If you bought your ETF shares at different times and prices, your brokerage needs to know which lots you’re selling. This choice drives how much taxable gain or loss you report, and it’s the single biggest lever you control on the tax side.

The default at most brokerages is First-In, First-Out, which treats the oldest shares as sold first. When the ETF has climbed steadily, FIFO tends to produce the largest gain because those early shares have the lowest cost basis.4FINRA. Cost Basis Basics

Specific Identification lets you pick the exact lots. Selling high-cost lots first shrinks the taxable gain. Selling lots held longer than a year locks in the lower long-term capital gains rate. A few minutes of planning here can meaningfully change your bill.4FINRA. Cost Basis Basics

You have to select the method before or at the time of the sale. Changing it after the fact is limited and sometimes impossible, so don’t leave the default in place without a reason.

What You’ll Owe on the Gain

The IRS splits capital gains by holding period. Shares held one year or less produce short-term gains taxed at your ordinary income rate. For 2026, that’s 10% to 37% depending on total taxable income.5Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses6Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

Shares held more than a year get the preferential long-term rates. For 2026:

  • 0% for single filers with taxable income up to $49,450, or joint filers up to $98,900.
  • 15% for single filers from $49,451 to $545,500, or joint filers from $98,901 to $613,700.
  • 20% for income above those thresholds.

That 0% bracket catches people by surprise. In a low-income year, between jobs or early in retirement, you may be able to sell long-held shares and owe no federal capital gains tax.7Internal Revenue Service. Topic No. 409, Capital Gains and Losses

High earners face an additional 3.8% surtax on net investment income, capital gains included. It applies when modified adjusted gross income exceeds $200,000 for single filers, $250,000 for joint filers, or $125,000 if married filing separately. Those thresholds aren’t indexed for inflation and haven’t moved since 2013.8Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The 3.8% hits the lesser of your net investment income or the amount by which MAGI exceeds the threshold, reported on Form 8960.9Internal Revenue Service. About Form 8960, Net Investment Income Tax Individuals, Estates, and Trusts Stacked on the 20% long-term rate, the effective top federal rate on capital gains is 23.8%.

The Wash Sale Trap

Sell an ETF at a loss and buy back a “substantially identical” fund within 30 days before or after the sale, and the IRS disallows the loss. This is the wash sale rule, and it snags investors who sell to harvest a loss and then repurchase immediately.10Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities

The disallowed loss isn’t destroyed. It gets added to the cost basis of the replacement shares, so you recover it when you eventually sell those. But you can’t use it on this year’s return.11Internal Revenue Service. Case Study 1 – Wash Sales

The usual workaround is buying a similar but not identical ETF inside the 61-day window. Selling an S&P 500 fund at a loss and buying a total stock market fund is generally acceptable because they track different indexes. Swapping one S&P 500 ETF for another that tracks the same index is riskier, since the IRS could treat them as substantially identical.

Using Losses to Cut the Bill

When a sale produces a loss, you can use it to offset capital gains from other investments dollar for dollar. If losses exceed gains for the year, you can deduct up to $3,000 of the excess against ordinary income, $1,500 if married filing separately. Anything left carries forward indefinitely.12Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses7Internal Revenue Service. Topic No. 409, Capital Gains and Losses

Say you have $5,000 in gains from one ETF sale. Sell another position that’s underwater for a $5,000 loss and you wipe out the tax on the gain. Just stay clear of the wash sale window on any loss you plan to use.

Selling ETFs Inside an IRA or 401(k)

Everything above applies to taxable brokerage accounts. Sales inside a Traditional IRA, Roth IRA, or 401(k) don’t trigger capital gains tax at the time of the trade. The proceeds stay in the account and you can reinvest without a tax event.

Tax enters the picture only on withdrawal. Traditional IRA and 401(k) withdrawals are taxed as ordinary income regardless of whether the underlying gains were short- or long-term. Qualified Roth IRA withdrawals are tax-free.

Pull money out before age 59½ and you generally owe a 10% early withdrawal penalty on top of income tax, with limited exceptions for disability, first-time home purchases, and certain other situations. For SIMPLE IRAs the penalty is 25% if the withdrawal happens within the first two years of participation.13Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

Because these sales don’t generate taxable events, cost basis selection, wash sale rules, and loss harvesting don’t apply inside retirement accounts.

Reporting the Sale and Paying Along the Way

Your brokerage will send Form 1099-B by mid-February of the year after the sale, showing gross proceeds and, for covered securities, the cost basis. You use it to complete Form 8949 and Schedule D of your Form 1040. When the brokerage has already reported the basis to the IRS and no adjustments are needed, you can skip Form 8949 and put the totals directly on Schedule D.14Internal Revenue Service. Instructions for Form 1099-B (2026)

Read the 1099-B carefully. Cost basis errors are common, especially on shares transferred between brokerages or acquired through reinvested dividends. If the basis is wrong, correct it on Form 8949 rather than accepting the brokerage figures.

If the sale produces a large gain and you don’t have enough tax withheld from wages to cover it, you may owe estimated tax payments. The IRS generally requires them when you expect to owe $1,000 or more after withholding and credits.15Internal Revenue Service. Estimated Taxes For 2026 the quarterly deadlines are April 15, June 15, September 15, and January 15, 2027.16Internal Revenue Service. 2026 Form 1040-ES Estimated Tax for Individuals

You can avoid the underpayment penalty by paying at least 90% of your 2026 tax liability or 100% of your 2025 tax, whichever is smaller. If your 2025 adjusted gross income was over $150,000, that second safe harbor rises to 110%.16Internal Revenue Service. 2026 Form 1040-ES Estimated Tax for Individuals