Quick Answer: A merger changes your cost basis based on the deal structure. In a tax-free stock-for-stock merger, your old basis carries over to the new shares unchanged. In an all-cash deal, you sell and owe tax. In a cash-and-stock deal, your basis adjusts and you may owe tax on the cash. (Tax year 2025.)
When your stock gets acquired, the dollars you originally paid for it โ your cost basis โ do not just disappear. They move, split, or trigger a taxable sale depending on what you received: new stock, cash, or a mix of both. Cost basis is the number the IRS subtracts from your sale proceeds to figure your gain, so getting it wrong means you either overpay tax or get a letter from the IRS.
The stakes are real and the timing is tight, because brokers report a basis on your Form 1099-B that is often wrong after a corporate action, and you are the one who must fix it before you file. Mergers and acquisitions are common โ Reuters reported that global M&A volume topped $3.4 trillion in 2024 โ so millions of ordinary investors face this exact problem each filing season.
- ๐งฎ How to recalculate your basis for every merger type, with copy-the-math examples.
- ๐ต Why cash in a deal can trigger a surprise tax bill โ and how to limit it.
- ๐ Which IRS forms matter (Form 8937, Form 8949, Schedule D) and what each one does.
- ๐๏ธ How federal nonrecognition rules work and whether your state follows them.
- โ ๏ธ The seven costliest mistakes that make you overpay or trip an IRS notice.
This article reflects federal rules and general state-conformity rules as of June 2026 and covers tax year 2025. Tax law changes โ confirm current figures before you file. It is educational and not a substitute for advice from a licensed CPA or tax attorney about your specific situation.
What “Cost Basis” Means in a Merger
Cost basis is what you paid for your shares, adjusted for events like splits, reinvested dividends, and commissions. It is the starting point for every capital gains calculation. When you sell or exchange stock, your gain or loss equals your proceeds minus your basis. A merger is a form of exchange, so it directly touches this number.
The reason basis matters so much is the consequence of getting it wrong. If your basis is reported too low, you pay capital gains tax on money that was really your own returned capital. If it is reported too high, you underpay and risk an IRS adjustment with interest and penalties. The IRS matches the basis your broker reports on Form 1099-B against what you put on your return, so mismatches get flagged.
In a merger, three things can happen to your basis. It can carry over whole to your new shares, it can split between two or more securities, or it can be used up in a taxable sale. Which one applies depends entirely on the consideration โ the stock, cash, or mix you received โ and on whether the deal qualifies as a tax-free reorganization under the tax code.
The Two Big Buckets: Taxable vs. Tax-Free Mergers
Every merger falls into one of two tax buckets, and this single fact drives everything else. The most important difference, as tax counsel explains, is that in a taxable deal the seller recognizes gain or loss now, while in a tax-free reorganization gain is deferred. “Tax-free” is a misnomer โ it really means tax-deferred. You still pay later when you sell the new shares.
A taxable merger usually means you got cash for your shares. The IRS treats this like any other sale: your old basis is subtracted from the cash you received, and the difference is a capital gain or loss reported in the year of the deal. Your basis is “used up” because the position is closed.
A tax-free reorganization is governed by Internal Revenue Code Section 368, which defines the merger structures that qualify. When a deal qualifies and you receive only acquirer stock, Section 354 lets you recognize no gain, and Section 358 tells you your old basis simply transfers to the new shares. This is carryover basis โ the heart of how most stock-for-stock mergers work.
The consequence of misreading which bucket you are in is steep. Treat a tax-free exchange as a sale and you may pay tens of thousands in tax you did not owe. Treat a taxable cash buyout as tax-free and you understate income, which the IRS will catch through 1099-B matching. The acquiring company tells you which bucket applies through a document called Form 8937, covered below.
Which Situation Applies to You?
The right math depends on exactly what hit your brokerage account. Match your situation to the section that fits, then follow that example.
- You received only new shares of the acquiring company โ see All-Stock Mergers. Your basis carries over; usually no tax now.
- You received only cash for all your shares โ see All-Cash Mergers. This is a taxable sale; you owe tax on the gain.
- You received both stock and cash (often called “cash to boot”) โ see Cash-and-Stock Mergers. Your basis adjusts and you owe tax on the smaller of your gain or the cash.
- You received new shares plus a small cash payment for a leftover fraction โ see Cash in Lieu of Fractional Shares. You allocate a sliver of basis to the fraction and report a tiny sale.
- A division was split off into a new company โ see Spin-Offs and Split-Offs. Your basis splits by percentage between the two companies.
All-Stock Mergers: Basis Carries Over
In a qualifying all-stock merger, you exchange your target shares for acquirer shares and recognize no gain. Your total cost basis stays the same; only the number of shares and the per-share basis change because of the exchange ratio โ how many acquirer shares you get for each target share. This is the cleanest outcome and the most common in large public deals.
The mechanics are simple. Take your total old basis and divide it by the number of new shares you now hold. That gives your new per-share basis. Your holding period also carries over, meaning the time you held the old stock counts toward long-term status (held more than one year) on the new stock โ a key benefit for the lower long-term capital gains rates.
A common misconception is that receiving new shares “resets” your basis to the market value on the merger date. It does not. The whole point of carryover basis is that the built-in gain rides along, untaxed, until you eventually sell. If you wrongly used market value, you would erase a future tax bill on paper and badly understate your gain at the real sale.
| All-Stock Merger Detail | Result for You |
|---|---|
| You receive only acquirer stock | No taxable gain now under Section 354 |
| Your old total basis | Transfers in full to the new shares |
| Exchange ratio applied | Changes share count and per-share basis only |
| Holding period | Carries over for long-term treatment |
| When you finally sell | Full deferred gain is taxed then |
What to do: Record your original total basis, divide by your new share count, and save the merger’s Form 8937. Your broker may report the new basis correctly, but verify it before filing.
All-Cash Mergers: A Fully Taxable Sale
When an acquirer pays cash for every share, the deal is a taxable sale on the closing date. You did not choose to sell, but the IRS treats it as if you did. Your gain equals the cash you received minus your cost basis, and you report it on Form 8949 and Schedule D for the tax year the merger closed.
The rate you pay depends on your holding period. If you held the stock more than one year, the gain is long-term and taxed at the favorable 2025 long-term capital gains rates of 0%, 15%, or 20%, depending on your taxable income. If you held it one year or less, the gain is short-term and taxed at your ordinary income rate, which can reach 37% for tax year 2025.
The consequence catches people off guard: a cash buyout can create a large, unplanned tax bill in a year you had no intention of selling. There is no deferral and no way to “roll” the gain into other stock. High earners may also owe the 3.8% Net Investment Income Tax on top.
What to do: Find your original purchase records, calculate your gain, and set aside cash for the tax โ including possible estimated-tax payments if the gain is large, to avoid an underpayment penalty.
Cash-and-Stock Mergers: The “Cash to Boot” Rule
This is the trickiest and most misreported structure. You receive both acquirer stock and cash, and the cash is called boot. Under Section 356, you recognize gain equal to the lesser of (a) your total realized gain or (b) the cash received. You never recognize a loss in a reorganization, even if the math shows one.
Here is the step-by-step method, which you can copy:
- Add the fair market value of the new stock plus the cash to get your total consideration.
- Subtract your old basis to find your realized gain.
- Your recognized (taxable) gain is the lesser of that realized gain or the cash received.
- Your new stock basis equals: old basis, minus cash received, plus gain recognized.
A worked example makes it concrete. Per the Section 356 framework, suppose you owned target stock with a $1,000 basis. In the merger you receive new stock worth $3,000 plus $500 cash. Total consideration is $3,500, so your realized gain is $2,500. Your recognized gain is the lesser of $2,500 and $500 โ so you are taxed on $500. Your new stock basis becomes $1,000 โ $500 + $500 = $1,000.
A common misconception is that you owe tax on the full appreciation. You do not โ boot limits your taxable gain to the cash, deferring the rest. Another trap, illustrated by the Tseytin court case, is that gain is computed per share lot, so a low-basis lot can trigger tax even when your overall position shows a loss.
| Cash-to-Boot Scenario | Tax Outcome |
|---|---|
| Cash received is less than your built-in gain | Taxed on the cash amount only |
| Cash received exceeds your built-in gain | Taxed on the full realized gain |
| Your basis exceeds total consideration (a loss) | No loss allowed; gain is zero |
| New stock basis formula | Old basis โ cash + gain recognized |
What to do: Get the per-share stock value and cash-per-share from the company’s Form 8937, run the math for each tax lot separately, and report the recognized gain on Form 8949.
Cash in Lieu of Fractional Shares
Exchange ratios rarely produce whole numbers, so you often end up “owed” a fraction of a share โ say, 0.25 shares. Companies do not issue fractions; instead they sell that sliver and send you cash, called cash in lieu (CIL). The IRS treats this, per Fairmark’s guidance, as if you received the fractional share and then sold it.
The amount is usually tiny, but it is still a reportable sale. You allocate a small piece of your basis to the fraction, then report the cash as proceeds against that basis. Skipping it is a mistake because your broker reports the cash to the IRS, and an unreported amount โ even a few dollars โ can trigger a matching notice.
To calculate it: divide your total new-share basis by your total new shares (including the fraction) to get per-share basis, then multiply by the fractional amount. If your per-share basis is $20 and you “sold” 0.25 shares, your basis in the fraction is $5. If you got $6 cash, your reportable gain is $1.
What to do: Report the CIL on Form 8949 as a sale, using the merger date for holding period (which carries over from your original shares), and use your allocated basis rather than entering zero.
Spin-Offs and Split-Offs: Basis Splits by Percentage
A spin-off is the reverse of a merger โ a company hands shareholders stock in a division it is separating. Your single basis now must split between the parent and the new company. The company provides the split percentage on Form 8937, based on the relative fair market values of the two stocks on the distribution date.
A real example shows the method. In the JefferiesโVitesse spin-off, the company instructed shareholders to allocate 4.45% of their original basis to the new Vitesse shares and keep 95.55% with Jefferies. A holder with 100 shares and a $1,000 total basis would assign $955.53 to Jefferies (about $9.56 per share) and $44.47 to the Vitesse shares received.
The consequence of ignoring the allocation is a wrong basis in both companies, which compounds every time you later sell either one. A spin-off itself is usually tax-free, so the only immediate tax is on any cash in lieu of fractional spin-off shares.
What to do: Pull the issuer’s Form 8937, apply the stated percentage to your total basis, and record the two new basis figures separately in your records.
Form 8937: The Document That Tells You What to Do
Form 8937, the “Report of Organizational Actions Affecting Basis of Securities,” is the issuer’s official statement of how a corporate action changes shareholder basis. Companies must post it within 45 days of the action, usually in the investor-relations section of their website. It states whether the deal is taxable, the exchange ratio, stock values, and the exact basis allocation.
This is your most reliable source, often more accurate than your broker’s 1099-B for the first year after a deal. It is written for shareholders and includes worked examples, like the spin-off allocation above. Searching the company name plus “Form 8937” almost always finds it.
The consequence of skipping it is guesswork. Without the official allocation percentage or stock value, you cannot correctly compute boot gain, fractional-share basis, or a spin-off split โ and a guessed number is exactly what triggers IRS adjustments.
Form 8949 and Schedule D: Where You Report It
When a merger creates a taxable event โ a cash buyout, boot, or cash in lieu โ you report the sale on Form 8949 and carry the totals to Schedule D. Form 8949 lists each transaction with proceeds, basis, and gain or loss. Schedule D nets your gains and losses and feeds the result to your Form 1040.
The critical column is the basis adjustment. If your broker’s 1099-B shows the wrong basis after a corporate action, you do not silently change it โ you enter the reported basis, then use column (f) with code B and column (g) to correct it, so the IRS sees both the reported figure and your fix. This keeps your return matched to the 1099-B while reporting the right gain.
The consequence of not using the adjustment columns is a mismatch the IRS computer flags automatically, generating a CP2000 notice proposing extra tax. Doing it correctly closes that loop before it opens. If you use tax software, link your withholding and gains entries to a Schedule D and Form 8949 guide to walk each line.
Federal vs. State: Does Your State Follow the Rules?
Start with federal law, then check your state. Federally, the nonrecognition rules of Sections 354, 356, and 358 defer your gain in a qualifying reorganization, and most states that levy an income tax conform to this federal treatment as their starting point for taxable income.
| Federal Treatment | Typical State Treatment |
|---|---|
| Tax-free reorganization defers gain | Most conforming states also defer |
| Cash boot is taxable now | States taxing income generally tax it too |
| Carryover basis on new shares | Conforming states use the same basis |
| No state income tax (e.g., FL, TX, WA) | No state tax on the gain at all |
The consequence of assuming conformity is that a handful of states modify or decouple from federal rules, and a few โ Florida, Texas, and others โ have no personal income tax, so the gain is state-tax-free entirely. Never substitute a federal number for a state one without checking your state’s department of revenue.
What to do: Confirm your state’s conformity on its revenue department site, and if you moved states during the year, allocate the gain to your state of residence on the sale date.
Worked Example: A Full Cash-to-Boot Merger
Meet Maria, who owns 200 shares of TargetCo with a total basis of $4,000 ($20 per share), held for three years. AcquirerCo buys TargetCo, giving each TargetCo share 0.5 AcquirerCo shares plus $10 cash. Maria receives 100 AcquirerCo shares (worth $40 each, or $4,000) plus $2,000 cash.
Her total consideration is $6,000, so her realized gain is $6,000 โ $4,000 = $2,000. Her recognized gain is the lesser of $2,000 realized or $2,000 cash, so she is taxed on the full $2,000. Because she held the stock over a year, it is a long-term gain; at the 2025 15% rate she owes $300. Her new AcquirerCo basis is $4,000 โ $2,000 + $2,000 = $4,000, or $40 per share.
This shows the boot rule’s edge case: when cash equals or exceeds the built-in gain, the entire gain becomes taxable now, and the deferral disappears.
Mistakes to Avoid
- Using market value instead of carryover basis in a stock-for-stock merger โ this erases your true gain and overstates basis, leading to underpaid tax later and an IRS adjustment.
- Ignoring cash in lieu of fractional shares โ even a few dollars unreported triggers an automated 1099-B matching notice.
- Reporting a loss on a cash-to-boot deal โ Section 356 never allows a loss in a reorganization, so claiming one produces a wrong return.
- Computing boot gain across your whole position instead of per tax lot โ this can understate gain on low-basis lots and invite an audit adjustment.
- Accepting your broker’s 1099-B basis blindly after a merger โ post-action basis is frequently wrong, and you owe tax on the difference.
- Treating a tax-free reorganization as a sale โ you would pay tax now that the law lets you defer, often a five-figure mistake.
- Forgetting the spin-off basis split โ leaving 100% of basis on the parent overstates the parent’s basis and understates the spin-off’s, distorting every future sale.
- Losing your original purchase records โ without them you may be forced to report a zero basis and pay tax on the full proceeds.
Do’s and Don’ts
- Do download the company’s Form 8937 โ it is the authoritative, shareholder-ready basis statement.
- Do keep records for every lot, because gain is calculated lot by lot in boot deals.
- Do use Form 8949 column (g) with code B to correct a wrong 1099-B basis, so the IRS sees your fix.
- Do confirm your holding period carries over, since it preserves lower long-term rates.
- Do check your state’s conformity, because a state can tax differently than the IRS.
- Don’t assume “tax-free” means no tax ever โ it means deferred until you sell.
- Don’t report a loss in a reorganization, because the code disallows it.
- Don’t enter zero basis for fractional shares when you can compute the real figure and pay less.
- Don’t skip estimated taxes on a big cash buyout, or you may owe an underpayment penalty.
- Don’t guess an allocation percentage โ use the issuer’s official Form 8937 number.
Pros and Cons of a Tax-Free Stock Merger
- Pro: Gain is deferred, so you keep more capital working instead of paying tax now.
- Pro: Your holding period carries over, locking in long-term capital gains treatment.
- Pro: No immediate cash is needed to cover a tax bill you did not plan for.
- Pro: Basis tracking is simple โ the total just transfers to the new shares.
- Pro: You can choose when to sell, controlling the timing of the eventual tax.
- Con: The built-in gain still exists and will be taxed later, sometimes at a higher future rate.
- Con: You lose the chance to harvest a loss if your shares had declined, since losses are disallowed.
- Con: Basis tracking gets complex if cash boot or fractional shares are involved.
- Con: A future tax-rate increase could make deferral less valuable than paying now.
- Con: You have no control over the deal terms โ you are along for the ride.
What to Do Next
- Find the Form 8937 for the merger on the acquirer’s investor-relations page or by searching the company name plus “Form 8937.”
- Locate your original purchase records โ trade confirmations, statements, or your broker’s lifetime cost-basis report.
- Identify your deal type using the decision aid above, and run the matching example’s math for each tax lot.
- Compare to your 1099-B, and if the basis is wrong, prepare a Form 8949 adjustment with code B.
- Set aside tax for any cash buyout or boot gain, and consider an estimated payment if the gain is large.
- Call a CPA or tax attorney if you hold many lots, inherited the shares, face a multi-step or international reorganization, or the deal involves a private company โ these situations are complex, and professional help typically costs a few hundred to a few thousand dollars but prevents far larger errors.
Frequently Asked Questions
Does a stock-for-stock merger trigger taxes? No โ a qualifying all-stock reorganization defers your gain under Section 354. Your basis carries over to the new shares, and you owe nothing until you eventually sell them (tax year 2025 rules).
How do I find my new cost basis after a merger? Use the company’s Form 8937, posted on its investor-relations site. It states the exchange ratio, stock values, and exact basis allocation for the deal, and is more reliable than an early 1099-B.
Is cash received in a merger always taxable? Yes โ cash is generally taxable, but only up to your realized gain. In a boot deal you are taxed on the lesser of the cash received or your built-in gain for tax year 2025.
What is “cash to boot” in a merger? It is the cash portion of a deal that also gives you stock. Under Section 356 it makes you recognize gain equal to the lesser of the cash or your total realized gain.
Do I owe tax on cash in lieu of fractional shares? Yes, but usually only a tiny amount. You are treated as selling the fraction; allocate a small piece of basis to it and report the small gain or loss on Form 8949.
Does my holding period reset after a merger? No โ in a tax-free reorganization your holding period carries over to the new shares. Time held on the old stock counts toward long-term status on the new stock.
What form reports a taxable merger? Form 8949 and Schedule D. You list the exchange as a sale on Form 8949, adjust any wrong broker basis with code B, and net the totals on Schedule D for your 1040.
What if my broker’s 1099-B basis is wrong? Correct it on Form 8949. Enter the reported basis, then use column (f) code B and column (g) to adjust, so the IRS sees both the reported figure and your corrected gain.
Are mergers tax-free in every state? Most income-tax states conform to the federal deferral, and no-income-tax states like Florida and Texas do not tax the gain at all. Always confirm with your state’s revenue department.
Can I claim a loss if my acquired stock dropped? No in a tax-free reorganization โ Section 356 disallows losses. In an all-cash taxable buyout, however, you can claim a capital loss if your proceeds are below your basis.
How long do I keep merger records? Keep them as long as you own the stock, plus at least three years after you sell and report the final gain โ the basis from a 2025 merger affects every future sale.
What happens to basis in a spin-off? It splits by percentage between the parent and the new company, using the allocation on Form 8937 โ for example, 95.55% to the parent and 4.45% to the spun-off shares in one 2023 deal.
Related reading
- Can You Change Your Cost Basis Method After You Sell? (w/Examples) + FAQs
- How Do You Allocate Cost Basis After a Spinoff? (w/Examples) + FAQs
- What Adjusts Your Cost Basis Up or Down Over Time? (w/Examples) + FAQs
- What Happens If You Canโt Find Your Cost Basis? (w/Examples) + FAQs
- What Happens to Cost Basis When You Move Stock Between Brokers? (w/Examples) + FAQs
- What Happens to Your Cost Basis After a Stock Split? (w/Examples) + FAQs
- Whatโs Your AMT Cost Basis After Exercising ISOs? (w/Examples) + FAQs