Yes, you can generally buy stock in the company you work for, either through an employer-sponsored purchase plan or through your own brokerage account on the open market. Federal securities laws don’t prohibit employees from owning shares in their employer. What they do restrict is when you can trade and what you can know at the time. Before you buy, understand the insider trading limits, the mechanics of any employee plan, the tax rules that follow, and one wash sale trap that catches ESPP participants off guard.
When You’re Allowed to Trade
The main legal constraint is the ban on trading while you possess material nonpublic information about your employer. SEC Rule 10b-5 makes it illegal to use any deceptive practice in connection with buying or selling securities, and courts have long applied that rule to prohibit trading on inside information.1eCFR. 17 CFR 240.10b-5 – Employment of Manipulative and Deceptive Devices Material information is anything a reasonable investor would consider important: upcoming earnings, a pending merger, a major contract win or loss, significant litigation.
To keep employees clear of the rule, most public companies set trading windows. These are periods when employees may buy or sell company stock, typically opening a day or two after the quarterly earnings release and closing several weeks before the next quarter ends. Outside those windows, blackout periods apply and all trading is off-limits. Your compliance or legal department notifies you when windows open and close.
The penalties for getting this wrong are steep. The SEC can seek civil penalties of up to three times the profit gained or loss avoided on the trade.2Office of the Law Revision Counsel. 15 USC 78u-1 – Civil Penalties for Insider Trading Criminal cases can bring fines of up to $5 million and prison sentences of up to 20 years.3GovInfo. 15 USC 78ff – Penalties These apply to any employee, not just executives.
Buying Through an Employee Stock Purchase Plan
Many public companies offer an employee stock purchase plan, or ESPP. A tax-qualified ESPP under Section 423 of the Internal Revenue Code lets you buy company stock at a discount through automatic payroll deductions. The purchase price cannot be less than 85 percent of the stock’s fair market value on either the grant date or the purchase date, so the maximum discount is 15 percent.4Internal Revenue Service. Internal Revenue Bulletin 2009-49
Federal tax law caps how much stock you can purchase through an ESPP at $25,000 in fair market value per calendar year, measured using the stock price on the grant date (the first day of the offering period), not the price you actually pay.4Internal Revenue Service. Internal Revenue Bulletin 2009-49 Contributions that would exceed the cap are typically refunded.
How Enrollment and Purchases Work
You enroll during a designated enrollment window through your company’s internal portal or a third-party brokerage platform. You choose what percentage of each paycheck to contribute. Most plans allow up to 15 percent of compensation, though the exact range is set by each employer rather than by federal law. Once you’re enrolled, the employer withholds that amount from each paycheck and holds it until the purchase date.
On the purchase date, the plan uses your accumulated contributions to buy shares at the discounted price. Many plans include a lookback provision, which applies the discount to whichever price is lower: the price on the first day of the offering period or the price on the purchase date. If the stock rose during the offering period, the discount runs off the lower starting price and the benefit is larger. The purchase happens automatically. You don’t place a trade or time the market.
Offering Periods and Deadlines
Each ESPP cycle runs for a defined offering period. Many companies use six-month or twelve-month periods, though the law allows up to 27 months. The plan prospectus from your HR or benefits department spells out the specific dates. Miss an enrollment deadline and you wait until the next offering period, which could be months away.
How ESPP Shares Are Taxed
Your ESPP tax treatment depends on how long you hold the shares after purchase. The favorable treatment, called a qualifying disposition, requires holding the shares for at least one year after the purchase date and at least two years after the grant date.5Internal Revenue Service. Stocks (Options, Splits, Traders) 5 Both holding periods must be met.
If you meet both, you report the lesser of two amounts as ordinary income: the discount you received at purchase, or the difference between the sale price and the price you paid. Any remaining profit is taxed at the lower long-term capital gains rate.5Internal Revenue Service. Stocks (Options, Splits, Traders) 5
Sell before meeting both periods and you have a disqualifying disposition. The full spread between the fair market value on the purchase date and what you paid is taxed as ordinary income, regardless of what you actually sold for. Any additional gain above that amount is a capital gain, and any loss below your purchase price is a capital loss.5Internal Revenue Service. Stocks (Options, Splits, Traders) 5 Selling early can raise your tax bill sharply, so the dates matter.
Buying Shares on the Open Market
If your employer doesn’t offer an ESPP, or you want to buy more than the plan allows, you can purchase shares through any personal brokerage account. You pay the current market price with after-tax dollars. There’s no employer discount. Many brokerages charge zero commissions on stock trades, though some still charge a per-trade fee.
Before you place the order, check your company’s insider trading policy. Many employers require employees, not just executives, to get pre-clearance from a compliance officer before buying or selling company stock. Pre-clearance helps ensure you aren’t trading during a blackout period or while holding material nonpublic information. Skipping the process can bring disciplinary action even when the trade itself would have been legal.
Pre-Scheduled Trading Plans
If you want to buy or sell on a regular schedule without watching blackout periods, you can set up a Rule 10b5-1 trading plan. This is a written plan adopted while you don’t hold any inside information, specifying in advance the dates, amounts, and prices at which trades will occur. Because your discretion is removed at the time of each trade, the plan provides a legal safe harbor against insider trading claims.
Under amendments the SEC finalized in 2023, directors and officers must observe a cooling-off period of at least 90 days (and up to 120 days) after adopting or modifying a plan before trading can begin. Other employees face a 30-day cooling-off period.6SEC. Rule 10b5-1 Insider Trading Arrangements and Related Disclosures – Fact Sheet The plan must also include a certification that you aren’t aware of any material nonpublic information when you set it up.
Watch the Wash Sale Rule
If you sell company shares at a loss and repurchase substantially identical shares within 30 days before or after the sale, the IRS disallows the loss deduction under the wash sale rule.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The disallowed loss isn’t gone forever. It’s added to the cost basis of the replacement shares, deferring the tax benefit until you sell those.
This creates a trap for ESPP participants. If you sell company stock at a loss and your ESPP automatically buys new shares within that 61-day window (30 days before through 30 days after the sale), the automatic purchase counts as a repurchase and triggers a wash sale.7Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities Dividend reinvestment plans can trigger it too. Before you sell at a loss, check the timing against your next ESPP purchase date.
Extra Rules if You’re an Officer or Director
Most of the rules above apply to any employee. If you’re an officer, a director, or someone who owns more than 10 percent of any class of the company’s equity, Section 16 of the Securities Exchange Act adds two more layers.8Office of the Law Revision Counsel. 15 USC 78p – Directors, Officers, and Principal Stockholders
First, you must publicly disclose your holdings and trades. Form 3 is due within 10 days of becoming an insider to report your initial position. Form 4 is due within two business days of any change in ownership. Form 5 covers exempt or missed transactions and is due within 45 days after fiscal year-end.8Office of the Law Revision Counsel. 15 USC 78p – Directors, Officers, and Principal Stockholders The filings are public through the SEC’s EDGAR system.
Second, Section 16(b) adds the short-swing profit rule. If you buy and sell (or sell and buy) company stock within any six-month period and make a profit, the company can recover that profit.8Office of the Law Revision Counsel. 15 USC 78p – Directors, Officers, and Principal Stockholders It doesn’t matter whether you had inside information. The rule is automatic. Courts match the most favorable buy-sell combinations within the six-month window, which can produce a recoverable “profit” even if you lost money overall. Insiders should plan to hold any purchases for at least six months.
Concentration Risk to Weigh Before You Buy
Owning stock in your employer ties your paycheck and your portfolio to the same business. If the company hits hard times, a pay cut or layoff can arrive alongside a drop in the value of your shares. Financial advisors generally recommend limiting the percentage of your total portfolio held in any single stock, including your employer’s. Taking the ESPP discount is often worthwhile on its own terms; periodically selling some shares and diversifying into other investments keeps you from having too much riding on one company.