All articles

Section 1045 rollover: defer QSBS gain on an early sale

Sell QSBS held over 6 months, buy other QSBS within 60 days, and section 1045 defers the gain. The new stock keeps your old basis and holding period.

By The LedgerIt team5 min read

Section 1045 lets a taxpayer other than a corporation defer the gain on qualified small business stock (QSBS) held for more than 6 months, if they buy other QSBS within 60 days of the sale. Gain is taxed only to the extent the sale proceeds exceed the cost of the replacement stock, and the deferred gain reduces the new stock's basis.

The replacement stock also takes on the holding period of the stock you sold, so time already served counts toward the QSBS exclusion. This guide covers who can roll over, the 60-day window, how the deferred gain and basis are worked out, one investor's numbers after an early acquisition, and how the election is made on Form 8949.

What is a section 1045 rollover

A section 1045 rollover is an election to defer gain on the sale of QSBS held for more than 6 months. You buy other QSBS during the 60 days beginning on the sale date, and you recognize gain only to the extent the amount realized exceeds the replacement stock's cost. Gain treated as ordinary income cannot be deferred.

The rule is 26 U.S.C. §1045(a). It applies to "a taxpayer other than a corporation", so individuals, trusts and pass-through owners can use it and a corporate investor cannot.

The rollover helps when a startup is sold before the QSBS exclusion is available. Stock acquired after July 4, 2025 needs 3 years for a 50% exclusion under section 70431 of Public Law 119-21, and an acquisition at 2 years leaves the whole gain taxable unless it is rolled into new QSBS.

What counts as replacement stock

The replacement must itself be qualified small business stock under section 1202(c), and you must buy it. In practice that means stock bought directly from a qualifying C corporation at its original issue, for money or other property, such as shares in another startup's priced round.

Section 1045(b)(1) uses the section 1202(c) definition, which requires stock in a C corporation acquired "at its original issue", with the corporation a qualified small business on the issue date (26 U.S.C. §1202(c)(1)). Shares bought from another shareholder on a secondary sale do not qualify.

Section 1045(b)(2) treats property as purchased only if your basis in it would be its cost under section 1012. Cash invested in a new round meets that test, which is why a rollover is planned as a purchase in someone's financing.

How the 60-day window works

The 60-day period begins on the date of the sale, so the sale day is day 1. Every dollar of replacement stock bought within it shelters a dollar of proceeds. Proceeds you keep as cash are taxed, up to the amount of the gain, and stock bought on day 61 shelters nothing.

The window is in §1045(a)(1), which counts the cost of QSBS "purchased by the taxpayer during the 60-day period beginning on the date of such sale". For a sale on February 1, 2028, a leap year, day 60 is March 31, 2028.

The 6-month test is separate for each sale. Under §1045(b)(4)(A), whether a later sale of the replacement stock can itself be rolled over is decided without the tacked holding period, so the replacement shares need more than 6 months of their own before a second rollover.

How the deferred gain and basis are worked out

Gain recognized is the lesser of the total gain and the proceeds left over after paying for replacement stock. The rest is postponed, and it reduces the basis of the replacement shares, in the order you bought them. If you reinvest all the proceeds, the new stock carries your old basis.

The basis rule is §1045(b)(3). The holding period rule is in 26 U.S.C. §1223(13): the period you held the stock you sold is added to the replacement's, except for section 1202's empowerment zone rule and its active business test, which looks only at the time you hold the replacement stock.

So a rollover defers tax rather than forgiving it. The postponed gain sits inside the replacement shares through their lower basis. When they are sold, gain is measured from that lower basis, so the postponed gain is taxed then unless that sale qualifies for the QSBS exclusion.

A worked example: an acquisition at two and a half years

An angel investor buys $50,000 of a startup's preferred stock at original issue on August 1, 2025. The company is acquired on February 1, 2028 for cash, and the investor's shares bring $2,050,000. Held under 3 years, the $2,000,000 gain gets no QSBS exclusion, so the investor rolls part of it into another startup's seed round.

StepCalculationAmount
Amount realizedSale on February 1, 2028$2,050,000
Gain$2,050,000 − $50,000$2,000,000
Replacement QSBS bought by March 31, 2028Seed round shares$1,500,000
Gain recognized in 2028$2,050,000 − $1,500,000$550,000
Gain postponed$2,000,000 − $550,000$1,450,000
Basis of the replacement stock$1,500,000 − $1,450,000$50,000

The replacement stock's holding period starts August 1, 2025. Section 1202(a)(6), added by Public Law 119-21, dates QSBS from the first day held after section 1223, so the post-July 4, 2025 tiers apply and the 3-year, 50% mark falls on August 1, 2028. Reinvesting the full $2,050,000 would have postponed the whole gain.

How to report a section 1045 rollover

You make the election on your return for the year of the sale, filed by its due date including extensions. Report the sale on Form 8949 as usual, enter code R in column (f), and enter the postponed gain as a negative number in column (g).

The steps are in the IRS Instructions for Schedule D (2025). They add that a taxpayer who filed the original return on time can make the election on an amended return filed within 6 months of the due date, excluding extensions, marked "Filed pursuant to section 301.9100-2".

A partner whose fund sold QSBS may elect for their own share. The instructions say it applies if you held your interest for the whole time the entity held the stock, and that you can buy the replacement yourself within the 60 days. Box 11 of Schedule K-1 (Form 1065) reports the partnership's sale.

What to keep from both companies

Keep the documents that prove both blocks of stock are QSBS: the purchase agreement and wire for each, each company's statement that it met the gross assets test when it issued the shares, and the closing statement showing the sale date and proceeds.

The 60-day count runs from the closing date on that statement, so a founder or angel expecting proceeds should line up the next investment before the deal closes. Each issuer's records decide whether its stock qualifies, and a company can only answer that if its books show its gross assets on each issue date.

For founders whose own stock is vesting, the holding period that rolls over starts at transfer only with a timely 83(b) election, the same rule that governs the QSBS clock.

LedgerIt keeps a startup's books with the balance sheet on every date, so the gross assets figure an investor's QSBS claim depends on is there when they ask for it.

Books you don't have to check.

LedgerIt closes your books by the 5th, keeps your ARR and runway honest, and has your data room ready when investors ask.

Book a demo