A stock purchase agreement is the contract you sign when a buyer purchases the shares of your corporation, or the membership interests of your LLC, instead of its individual assets. Because the buyer takes over the whole company, history included, the agreement concentrates on price adjustments, the promises you make about the business, and how much you could owe the buyer after closing.
Stock deals are less common than asset sales for small companies, but they come up when contracts, licenses or permits are hard to transfer, or when the business is a C corporation. This guide explains each part of the agreement from the seller’s side. It is general information, not legal or tax advice.
Key Takeaways
- In a stock sale the company itself changes hands, so its contracts, permits and past liabilities stay inside it and move with the shares.
- The headline price is adjusted at closing for debt, cash, working capital and transaction expenses, so the money you receive can be well below it.
- Representations, warranties and indemnification decide how much can be clawed back after closing, and for how long.
- Every owner usually has to sell. Check your shareholder or operating agreement for drag-along rights before you go to market.
- Sellers often get capital gains treatment on the shares, but elections such as Section 338(h)(10) or 336(e) can change the tax result for both sides.
What Is a Stock Purchase Agreement?
In a stock sale, the buyer acquires the ownership interests in your company. The legal entity stays the same: the same tax ID, bank accounts, contracts and employees. Only the owners change. The agreement, often shortened to SPA, is the binding contract that sets the price, the conditions for closing and the promises each side makes. For an LLC, the equivalent document is usually called a membership interest purchase agreement or unit purchase agreement, and it is built the same way.
The SPA normally follows a signed letter of intent and is negotiated while the buyer completes due diligence. The buyer’s attorney typically prepares the first draft, so the opening version leans toward the buyer. Your attorney’s job is to bring it back to balanced terms. Yours is to understand which clauses change what you take home.
When a stock sale makes sense for a seller
- The company holds contracts, licenses or permits that cannot easily be assigned to a new owner.
- The company is a C corporation, where selling assets can trigger tax at the corporate level and again when the proceeds are paid out to shareholders.
- Important customers or suppliers would otherwise need to sign new agreements, and you want to keep that disruption small.
- The buyer is comfortable taking on the entity’s history, usually because diligence came back clean and the contract gives it protection.
Buyers often prefer to purchase assets, because they can choose which liabilities to accept and may get a stepped-up tax basis. That tension is why structure is usually settled early in negotiations. Our comparison of asset sales and stock sales covers the trade-offs, and our seller’s guide to the asset purchase agreement explains the other contract.
Stock Purchase vs. Asset Purchase: Key Differences
| Topic | Stock sale | Asset sale |
|---|---|---|
| What transfers | Ownership of the entity, with everything inside it | Only the assets and liabilities named in the agreement |
| Liabilities | Remain in the company, known or unknown; the seller’s protection comes from indemnification limits | Liabilities not assumed by the buyer usually stay with the seller |
| Contracts and permits | Generally stay in place, unless a change-of-control clause requires consent | Each one has to be assigned or reissued, often with third-party consent |
| Employees | Stay with the same employer | Usually have to be hired by the buyer’s entity |
| Seller’s tax treatment | Typically capital gain on the shares if held over a year | Depends on how the price is allocated; part of the gain can be ordinary income |
| Buyer’s tax basis | Carries over unless an election is made | Stepped up based on the price allocation |
The Main Sections of the Agreement, From the Seller’s Side
Most SPAs follow a similar order. Here is what each part does and where a seller should spend attention.
Parties, shares and purchase price
The opening sections name the buyer, every selling shareholder and sometimes the company itself. They describe the shares being sold, which should be all issued and outstanding shares when the buyer is acquiring the entire company. The price section states the headline amount and how it is paid: cash at closing, a seller note, an earnout, rollover equity or a combination.
Make sure the share count matches your stock ledger. Old option grants, unrecorded transfers or verbal promises of equity to employees surface at this stage, because the buyer needs assurance that it is getting 100 percent of the company with nothing left outstanding.
Purchase price adjustments
Many agreements are written on a cash-free, debt-free basis. The buyer agrees to a value for the business, and that figure is then adjusted. Company debt is paid off from the proceeds, cash left in the company may be added, and unpaid transaction costs are subtracted. A working capital adjustment compares the working capital delivered at closing with an agreed target, often called the peg, and moves the price by the difference.
Most deals use an estimate at closing and a final calculation some weeks or months later, with a process for resolving disputes. The definitions behind each adjustment matter as much as the headline number, so ask your attorney and CPA to test them against your real balance sheet. Our explainer on the quality of earnings report shows how buyers build the figures they negotiate from.
| Item | Amount |
|---|---|
| Headline price (value of the business) | $4,000,000 |
| Less: bank loan paid off at closing | -$600,000 |
| Plus: cash left in the company | +$150,000 |
| Less: working capital below the agreed target | -$80,000 |
| Less: unpaid transaction expenses | -$70,000 |
| Price paid for the shares | $3,400,000 |
| Less: escrow held back for indemnity claims | -$300,000 |
| Cash to sellers at closing, before tax | $3,100,000 |
Representations and warranties
Representations carry extra weight in a stock deal because the buyer inherits everything inside the company. You state facts about the business as of signing and closing: the financial statements are accurate, taxes are filed and paid, material contracts are listed, there is no undisclosed litigation, the company follows applicable law, and the sellers own the shares free of liens.
Commonly negotiated representations include:
- Financial statements and the absence of undisclosed liabilities
- Taxes for every period before closing
- Capitalization and clear title to the shares
- Material contracts, key customers and suppliers
- Employees, benefit plans and wage-and-hour compliance
- Litigation, permits and regulatory compliance
You manage this risk through the disclosure schedules, which list the exceptions to each statement. A known customer dispute, a lapsed permit or an open tax audit belongs there. A problem you disclosed is far harder for the buyer to claim on later. Knowledge qualifiers, such as limiting a statement to what the seller actually knows, and materiality thresholds narrow certain representations further.
Covenants
If signing and closing happen on different days, covenants require you to run the business in the ordinary course, avoid large unusual transactions and give the buyer access for its review. After closing, typical covenants include a noncompete, a nonsolicitation clause and cooperation on tax filings. The scope, length and territory of a noncompete should be reasonable for your industry and enforceable in your state, which your attorney can confirm.
Closing conditions
Conditions list what must be true before either side is obliged to close. Common ones are accurate representations, no material adverse change, consents required under change-of-control clauses, lender payoff letters, resignations of officers and directors, and any regulatory approvals. Every condition is a potential exit for the other party, so fewer and clearer conditions make your closing more certain.
Indemnification, caps and baskets
Indemnification lets the buyer recover losses if a representation proves wrong or a pre-closing liability surfaces. For a seller, this section decides how much of the price is truly final.
| Term | What it means | What sellers usually push for |
|---|---|---|
| Cap | The most you can owe for breaches of general representations | A cap set at a fraction of the price rather than the full price |
| Basket | Losses that must build up before the buyer can claim | A deductible basket, so you cover only losses above the threshold |
| Survival period | How long the buyer has to bring a claim | Short survival for general representations, longer only for tax and title |
| Escrow or holdback | Part of the price set aside to pay claims | A modest amount, released on a fixed date, as the buyer’s main remedy |
| Exclusions | Items outside the cap, such as fraud and fundamental representations | A short, precise list of fundamental representations |
Representations about ownership of the shares, authority to sign and taxes are usually treated as fundamental. They tend to survive longer and can be capped at the full price. In larger transactions, buyers sometimes buy representations and warranties insurance, which can reduce how much a seller leaves in escrow. Ask your advisors whether it is practical for a deal of your size.
Pre-closing taxes
Since the company keeps its tax history, the SPA assigns responsibility for taxes. Typically the sellers bear taxes for periods ending on or before closing and the buyer bears later periods, with a split for any period that straddles the closing date. The agreement also covers who prepares the final returns and who keeps any refunds.
How a Stock Sale Is Taxed for the Seller
In a straight stock sale, an owner who has held the shares for more than a year generally reports a long-term capital gain on the difference between the price received and the tax basis in the shares. That is a major reason sellers favor stock deals, especially owners of C corporations. The buyer, in turn, gives up the higher tax basis it would get by purchasing assets.
Two elections can bridge that gap. A Section 338(h)(10) election, which is available only in specific situations such as the sale of an S corporation to a corporate buyer, treats the stock sale as an asset sale for federal income tax purposes and is made jointly by buyer and seller. A Section 336(e) election can reach a similar result in other cases. Either one changes how your gain is taxed, and buyers sometimes pay more in exchange. Have your CPA model the after-tax result, and see our overview of the tax implications of selling a business.
Partners, Minority Owners and Drag-Along Rights
A buyer acquiring a whole company expects to buy every share. If you have partners or minority shareholders, each of them generally needs to sign the agreement or a joinder to it. Review your shareholder or operating agreement for drag-along rights, which can require minority holders to sell on the same terms as the majority, and for rights of first refusal that must be waived. Settling these points before the business goes to market avoids a late holdout.
How to Prepare Before the First Draft Arrives
- Clean up the cap table so every share, option and promise of equity is documented.
- Gather corporate records: formation documents, bylaws or operating agreement, minutes and amendments.
- List contracts and leases with change-of-control or anti-assignment clauses, and plan for the consents.
- Review tax filings for open years and fix known issues before the buyer’s review finds them.
- Start the disclosure schedules early with your attorney.
- Settle the working capital target and the definition of debt in the letter of intent where you can.
- Hire counsel with deal experience; our guide on what kind of lawyer you need to sell a business explains what to look for.
When to Talk to a Broker
Your attorney drafts and negotiates the SPA. A broker adds value before and around it: setting a value that holds up under scrutiny, finding buyers who can close, and negotiating price, structure and key terms in the letter of intent while several buyers are still interested. Speak to a broker before you accept a structure, because a stock sale and an asset sale can leave you with very different after-tax proceeds. If you want a view of value first, our business valuation page is a good starting point.
While the agreement is being drafted, a broker can also tell you whether a requested term is normal for a company of your size and keep lenders, accountants and attorneys moving toward the same date.
Know What You Are Signing
Selling through a stock purchase agreement means selling the whole company, so your outcome rests on three things: the adjustments that turn the headline price into cash, the representations you give, and the limits on what you can owe afterward. Work through each with your attorney and CPA before you sign. If you are getting ready to sell and want help structuring a deal that closes on terms you understand, contact us to speak with a SellerForce broker.
