Imagine this: you joined a startup early, held your shares for more than five years, and just sold them for a $4 million gain. Federally, you owe nothing on that gain — Section 1202 wipes it out completely. Then you open your California return and discover the state wants roughly $370,000. Nothing went wrong with your planning. California simply does not recognize the exclusion that saved you at the federal level.
If you hold qualified small business stock (QSBS) and live in California, your federal victory and your state bill are two entirely separate calculations. This guide explains how the federal exclusion works after the 2025 expansion, why California taxes the same gain in full, what the real math looks like, and how founders think about residency timing — plus the record-keeping mistakes that make everything worse.
The Federal Win: Section 1202 in 60 Seconds
Section 1202 of the Internal Revenue Code lets noncorporate taxpayers — founders, early employees, and angel investors — exclude gain from the sale of qualified small business stock. For stock acquired after September 27, 2010 and held more than five years, the exclusion is 100% of the gain, up to the greater of $10 million per issuer or 10 times your basis.
To qualify, several tests must all be met:
- C corporation. Stock in an LLC, S corporation, or partnership never qualifies. If the company was an LLC at the time you received your shares, those shares are not QSBS even if the company converts to a C corporation later.
- Original issuance. You must have acquired the stock directly from the company — as a founder, employee exercising options, or investor in a funding round. Shares bought secondhand from another shareholder generally do not qualify.
- Small at issuance. The company's aggregate gross assets could not exceed $50 million at and immediately after your stock was issued.
- Active business. The company must use at least 80% of its assets in an active trade or business. Certain fields — professional services, finance, farming, hospitality, and a few others — are excluded.
- Holding period. The classic rule requires holding the stock for more than five years.
What the 2025 Law Changed
The tax package signed on July 4, 2025 (commonly called the One Big Beautiful Bill Act) expanded QSBS for newly issued stock. For shares issued after July 4, 2025, three things changed:
- Tiered holding periods. You no longer need five full years to get any benefit: stock held more than three years qualifies for a 50% exclusion, more than four years for 75%, and more than five years for the full 100%.
- A bigger cap. The per-issuer limit rose from $10 million to $15 million (still measured against 10 times basis, whichever is greater), with inflation adjustments starting in 2027.
- A bigger company qualifies. The gross-assets ceiling rose from $50 million to $75 million.
The old rules still govern stock issued on or before July 4, 2025 — the classic five-year, $10 million version. If you hold multiple blocks of shares acquired at different times, each block is tested under the rules in effect when it was issued, so track them separately.
Why California Taxes the Same Gain in Full
Here is the part that surprises founders: conforming to the federal exclusion is a choice each state makes, and California chose no.
California does not conform to Section 1202. When you file your California return, the gain you excluded federally gets added straight back to your state taxable income. A 100% federal exclusion translates to a 0% California exclusion. If you are a California resident when you sell, you owe state tax on the entire gain.
This was not always the case. California once had its own small-business-stock exclusion — a 50% state-level break with strings attached, including requirements tied to California payroll and property. A 2012 state appellate decision found those in-state requirements discriminated against interstate commerce, the tax agency responded by disallowing the break, and the Legislature repealed the state provisions in 2013. Since then, California has offered no QSBS exclusion at all, and there is no sign of one returning.
California is the most prominent nonconforming state, but it is not alone — other states have partial conformity or have moved away from the federal treatment, so the same analysis applies anywhere you might live. Always check the current conformity of your state before assuming a federal exclusion flows through.
The Math: What the State Bill Actually Looks Like
California taxes capital gains as ordinary income — there is no preferential rate for long-term gains the way the federal system has. The state's graduated brackets run from 1% to 9.3%, top out at a 12.3% marginal rate, and add a 1% surcharge on taxable income above $1 million, for a top all-in marginal rate of 13.3%.
Work through a realistic example. Suppose you are a single California resident founder who sells QSBS for a $4 million gain that is fully excluded federally:
- Your federal income tax on the gain: $0.
- Your California tax: the $4 million stacks on top of your other income and is taxed through the graduated brackets. Most of it lands in the 9.3%–12.3% brackets, with the slice above $1 million of total taxable income picking up the extra 1% surcharge. The rough all-in state bill lands in the mid-six figures — on the order of $350,000 to $450,000 depending on your other income, filing status, and deductions.
Two points founders frequently get wrong about this math:
- It is graduated, not flat. Multiplying the whole gain by 13.3% overstates the bill. The lower slices of the gain are taxed at lower marginal rates. Still, on a seven-figure gain, the effective state rate converges toward the top brackets quickly.
- The surcharge threshold counts everything. The 1% surcharge applies when your total taxable income exceeds $1 million — your salary, bonus, and other income all help push the stock gain into surcharge territory.
A smaller exit does not escape either. A $500,000 QSBS gain that is federally tax-free still costs a California resident roughly $45,000–$50,000 in state tax. The exclusion saves you the federal bill either way; it just never touches Sacramento's share.
The Move-Away Math — and Why Timing Is Everything
Because California taxes residents on worldwide income but generally cannot tax a nonresident's gain from selling intangible property like stock, some founders consider relocating before a liquidity event. The arithmetic is seductive: moving from a 13.3% top rate to a zero-income-tax state can save hundreds of thousands of dollars on a large exit. The execution, however, is where people get hurt.
What Actually Has to Be True
For the move to change the tax result, you generally must be a genuine nonresident when the sale is treated as occurring — and the sale date for tax purposes is not always the day cash hits your account. Escrow arrangements, installment payments, and deferred consideration can all complicate when the gain is recognized. Planning the move around a closing date without understanding when the gain is recognized is a classic expensive error.
The Residency Audit Is the Real Boss Fight
California's Franchise Tax Board aggressively audits high earners who claim to have left, especially when a large gain follows the departure. Residency is determined by a facts-and-circumstances "closest connections" test: where you spend your days, where your family lives, where your homes are, where your business ties, driver's license, voter registration, doctors, and community connections sit. No single factor controls, and keeping a California house, a California driver's license, or kids in California schools while claiming Nevada residency is the kind of fact pattern auditors live for.
Practical implications for founders:
- A move must be real, complete, and documented. Lease or buy a home, move your family, register to vote, get a new license, move bank accounts and memberships, and spend the majority of your time in the new state. A cursory move weeks before a sale is not a defensible residency change.
- Part-year resident years get messy. If you move mid-year, California taxes you as a resident for the resident portion of the year. The sourcing of a gain recognized in the transition year needs careful analysis, not assumptions.
- Business ties linger. If you keep working for the same California company after moving — flying back regularly, keeping an office — the FTB will notice. Remote-work arrangements need to be genuinely remote.
- Changing your mind is costly. Moving back to California shortly after the sale invites the argument that the departure was temporary all along.
None of this means relocating is illegitimate — people move for real reasons all the time, and genuine nonresidents are not taxed on this gain. It means the move has to be a life decision with a paper trail, planned well before any term sheet, not a pre-closing maneuver. Get professional advice before acting; the audit can drag on for years and the documentation that wins it is created before you leave.
Alternatives Worth Discussing With Your Adviser
Relocation is not the only lever. Depending on your situation, planners also consider charitable strategies (donating appreciated QSBS shares before a sale), installment structures, ensuring the company's own domicile and operations support the best available treatment, and — for stock issued after the 2025 law change — timing sales against the new three- and four-year partial-exclusion tiers. Each has trade-offs, and none replaces understanding the state bill first.
Five Mistakes That Inflate the Bill
- Assuming the federal exclusion flows to the state return. It does not in California. Budget for the state tax from the day you start planning the exit, and adjust estimated payments so you are not hit with underpayment penalties on top of the bill.
- Losing QSBS status without realizing it. Converting from an LLC to a C corporation does not retroactively bless earlier shares. Secondary purchases, redemptions that push assets over the ceiling, and drifting out of the active-business test can all quietly disqualify stock you assumed was covered.
- Mixing up share blocks. Pre–July 2025 and post–July 2025 shares live under different caps, asset tests, and holding-period tiers. If you cannot prove which block you sold — with issuance dates, purchase prices, and corporate records — you cannot claim the right treatment for either.
- Forgetting the Section 1045 rollover has the same state problem. The federal rule letting you roll QSBS gain into new QSBS within 60 days is also a federal-only benefit in California. A rollover that defers everything federally can still leave you with a current-year California bill.
- Ignoring estimated payments. California expects its money during the year the gain is recognized. Founders who spend the proceeds and discover the state bill the following April face penalties on top of the tax.
Keep Your Equity Records Audit-Ready
Every strategy in this article — the federal exclusion, the state calculation, a residency change, a rollover — rests on the same foundation: contemporaneous records. Issuance dates, purchase prices, corporate asset levels at issuance, holding periods by share block, the state you lived in on each relevant date, and the paper trail of any move. Reconstructing that file during an audit, years after the fact, is how defensible positions become expensive settlements.
That is fundamentally a bookkeeping problem, and it rewards the same habits as the rest of your finances: every transaction recorded once, in one place, with dates and sources you can trace. If you track your equity alongside the rest of your financial life in plain-text accounting, your docs are your open ledger — version-controlled, searchable, and auditable years later. And when you want to see concentration risk or model what an exit does to your net worth, Fava turns that ledger into balance sheets and charts instead of a pile of brokerage PDFs.
Simplify Your Financial Management
A state tax surprise is painful, but the deeper lesson is that exits reward founders who kept clean records from day one. Beancount.io offers plain-text accounting that's transparent, version-controlled, and AI-ready — so your equity history, cost basis, and residency-relevant dates are all in one place when it matters most. Get started for free and see why developers and finance professionals are switching to plain-text accounting.