There is no legal minimum period you have to hold a stock before selling it. If you buy shares of a public company through a regular brokerage account, you can sell them minutes later. What actually controls how long you should hold a stock before selling is tax: profit on stock held one year or less is taxed as ordinary income at rates up to 37%, while stock held longer than one year qualifies for long-term capital gains rates of 0%, 15%, or 20%.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses A handful of other rules impose real waiting periods in narrower situations, mostly involving restricted shares, employee stock, and loss harvesting.
No Legal Minimum for Shares Bought on the Open Market
Stocks purchased through a standard brokerage account carry no mandatory holding period. The SEC does not prevent same-day or same-minute sales. The limits that exist on quick trading are financial and procedural: trade settlement timing, pattern day-trading thresholds in margin accounts, and the tax hit on short-term profits. Restricted and privately placed securities are a separate matter, covered later.
The One-Year Line That Controls Your Tax Rate
For most investors, the practical answer to “how long” is one year and one day. The IRS splits capital gains into two categories based on how long you held the stock.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Hold one year or less, and your profit is a short-term capital gain taxed at your ordinary income rate. For 2026, that top rate is 37%, which hits single filers above $640,600 and joint filers above $768,700 in taxable income.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 At more typical income levels, short-term gains are taxed at 22% to 32%.
Hold more than one year and the gain qualifies for long-term capital gains rates, which for 2026 run:
- 0% for single filers with taxable income up to $49,450, or joint filers up to $98,900
- 15% for single filers from $49,450 to $545,500, or joint filers from $98,900 to $613,700
- 20% for single filers above $545,500, or joint filers above $613,700
The gap between the two sets of rates is the real cost of selling early. A single filer with $80,000 of taxable income who sells at a $10,000 profit owes $1,500 at the 15% long-term rate but $2,200 at the 22% short-term rate. Selling one day too soon costs $700.
How the IRS Counts the Days
The clock starts the day after you buy, not the trade date itself. Buy on March 1, 2026 and your holding period begins March 2, 2026. Selling on March 1, 2027 is exactly one year of ownership, which still counts as short-term. You have to wait until March 2, 2027 for the sale to qualify as long-term.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses The trade date, not the settlement date, is what matters for counting.
The 3.8% Surtax on Higher Incomes
If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (joint), an additional 3.8% net investment income tax applies to capital gains and other investment income.3Internal Revenue Service. Topic No. 559, Net Investment Income Tax Those thresholds are not inflation-indexed. For investors above them, the effective rate on long-term gains is 18.8% or 23.8% rather than 15% or 20%.
Dividends Have Their Own Holding Clock
The one-year rule governs sales. Dividends have a separate test. To have dividends taxed at the lower qualified-dividend rates (the same 0%, 15%, and 20% brackets as long-term gains), you have to hold the stock for at least 61 days during the 121-day window that starts 60 days before the ex-dividend date.4Internal Revenue Service. Instructions for Form 1099-DIV Buy right before the ex-dividend date and sell soon after, and the dividend gets taxed as ordinary income. For certain preferred stock, the requirement is stricter: 91 days within a 181-day window.
Selling at a Loss: Wait 31 Days Before Buying Back
If you sell a stock at a loss and want to claim the loss on your taxes, you can’t repurchase the same or substantially identical security within 30 days before or after the sale. That is the wash sale rule.5Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities In practical terms, it creates a 61-day exclusion window around the sale.
A wash sale doesn’t erase the loss outright. It gets added to the cost basis of the replacement shares and is recovered when you eventually sell those shares without triggering another wash.6Internal Revenue Service. Case Study 1: Wash Sales Sell at a $250 loss, buy back within the window for $800, and your new basis is $1,050.
The rule crosses accounts. Selling in a taxable account and buying the same stock in an IRA within 30 days still counts as a wash sale.7Investor.gov. Wash Sales That version is worse, because IRAs don’t track cost basis for tax purposes, so the disallowed loss is effectively gone rather than deferred.
Settlement and Day-Trading Rules That Can Delay a Quick Sale
Even when nothing stops you legally, a few mechanical rules can block or penalize rapid trading.
Trades settle one business day after execution under the T+1 settlement cycle required by the SEC.8U.S. Securities and Exchange Commission. Shortening the Securities Transaction Settlement Cycle In a margin account the broker usually covers the gap. In a cash account, using unsettled proceeds to buy stock and then selling that stock before the original trade settles is “freeriding,” which triggers a 90-day restriction requiring fully settled cash for every purchase.9Investor.gov. Freeriding One violation is enough.
Make four or more day trades (buying and selling the same stock in the same session) within five business days in a margin account and you’re flagged as a pattern day trader, which requires maintaining at least $25,000 of equity in that account.10Financial Industry Regulatory Authority. Regulatory Notice 21-1311Financial Industry Regulatory Authority. 4210 Margin Requirements You avoid the designation if your day trades are 6% or fewer of your total trades during the five-business-day period. Cash accounts aren’t subject to the $25,000 threshold but still face settlement constraints.
When the Stock Itself Comes With a Required Holding Period
Everything above assumes shares bought on the open market. Several types of stock carry actual mandatory holding periods baked into how you acquired them.
Restricted Securities Under Rule 144
Shares acquired through private placements, direct deals with an issuer, or employee compensation are “restricted” and can’t be sold publicly right away. Under SEC Rule 144, if the issuing company files regular reports with the SEC, you must hold restricted shares for at least six months before reselling. If the company doesn’t file those reports, the holding period is one year.12eCFR. 17 CFR 230.144 – Persons Deemed Not to Be Engaged in a Distribution and Therefore Not Underwriters Restricted shares usually carry a restrictive legend on the certificate that has to be removed through the issuer’s transfer agent before you can sell.13U.S. Securities and Exchange Commission. Restricted Securities: Removing the Restrictive Legend
IPO Lock-Up Periods
Insiders and early investors in a newly public company typically agree to a lock-up that bars them from selling for a set period after the IPO, most often 180 days.14Investor.gov. Initial Public Offerings: Lockup Agreements Lock-ups are contractual rather than regulatory, negotiated between the company, its underwriters, and shareholders. Selling in violation is a breach of contract.
Incentive Stock Options
Employees exercising incentive stock options face two overlapping holding periods for favorable tax treatment: at least two years from the grant date and at least one year from the exercise date.15Office of the Law Revision Counsel. 26 USC 422 – Incentive Stock Options Both must be satisfied. Selling before either is met creates a disqualifying disposition and the profit is taxed as ordinary income instead of at long-term capital gains rates.
The 83(b) Election on Restricted Stock
Employees who receive restricted stock (distinct from restricted stock units) can elect under Section 83(b) to pay tax on the grant-date value rather than the vesting-date value. The election has to be filed with the IRS within 30 days of receiving the stock, with no exceptions for a late filing.16Office of the Law Revision Counsel. 26 USC 83 – Property Transferred in Connection With Performance of Services If the stock appreciates substantially before vesting, the election can shift future gains into capital gains territory, but if you forfeit the stock after leaving the company, the tax already paid is not recoverable.
Qualified Small Business Stock
Section 1202 lets investors in certain small C corporations exclude capital gains from federal tax based on how long they hold the shares. For stock acquired after the applicable date in 2025, the exclusion phases in at 50% after three years, 75% after four years, and 100% after five years or more.17Office of the Law Revision Counsel. 26 USC 1202 – Partial Exclusion for Gain From Certain Small Business Stock The stock must be acquired directly from the company at original issuance, the company must have been a domestic C corporation with gross assets of $75 million or less at issuance, and a number of industry and asset-use conditions apply.
Inherited Stock Is Automatically Long-Term
Stock you inherit is treated as a long-term holding regardless of how long you or the decedent actually owned it. Sell it the day after inheriting and any gain or loss is still long-term.18Office of the Law Revision Counsel. 26 USC 1223 – Holding Period of Property Inherited stock also receives a stepped-up basis to its fair market value on the date of death.19Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent A stock bought by the decedent for $10 and worth $100 at death has a $100 basis in your hands. Selling at $100 produces no taxable gain, so there is usually no tax reason to wait.
Quick Reference
- Public stock bought on the open market: no minimum holding period
- Long-term capital gains rate: more than one year from the day after purchase
- Qualified dividends: at least 61 days within the 121-day window around the ex-dividend date
- Wash sale avoidance: wait at least 31 days before repurchasing a stock sold at a loss
- Restricted securities, reporting company: six months under Rule 144
- Restricted securities, non-reporting company: one year under Rule 144
- IPO lock-up: typically 180 days by contract
- Incentive stock options: two years from grant and one year from exercise
- Section 83(b) election: file within 30 days of receiving the stock
- QSBS full gain exclusion: five years
- Inherited stock: automatically long-term with no waiting period