SpaceX to Acquire Cursor Maker Anysphere for $60 Billion in All-Stock Deal

Just four days after pulling off the largest initial public offering in history, SpaceX has agreed to spend its freshly minted stock on one of the boldest bets in the artificial intelligence arms race: a $60 billion all-stock acquisition of Anysphere, the startup behind the wildly popular AI code editor Cursor.

The two companies signed a definitive merger agreement on June 16, 2026, capping a months-long courtship that began before SpaceX was even publicly traded. The deal, the largest in the history of AI developer tooling, hands Elon Musk's rocket and AI conglomerate a fast-growing software business and a foothold in the lucrative market for tools that help engineers write code with the help of machine learning.

"We look forward to working closely with the Cursor team to advance our frontier AI capabilities," SpaceX said in a post on X announcing the agreement.

The Deal

Under the terms of the merger, Cursor's common and preferred shares will convert into SpaceX Class A common stock, with the exchange ratio set by the volume-weighted average closing price of SpaceX shares over the seven trading days before the deal closes, according to a filing with the Securities and Exchange Commission. The transaction is expected to close in the third quarter of 2026, pending regulatory approval.

The price tag is no accident. In April 2026, ahead of its IPO, SpaceX disclosed an unusual arrangement: it would either acquire Cursor outright for $60 billion in stock or, if the deal collapsed, pay a $10 billion break-up fee. The June agreement triggered the larger of those two options, converting a contingent partnership into a full buyout.

What makes the structure remarkable is how SpaceX is paying for it. Because the deal is entirely in stock, the company is not touching cash, debt, or the proceeds from its blockbuster listing. SpaceX shares had climbed more than 50% above their offer price within days of debuting on the Nasdaq, effectively making the acquisition cheaper the higher the stock ran.

"The IPO gave SpaceX a valuation and a premium currency," said Franco Granda, senior analyst at PitchBook. "Signing a $60 billion all-stock deal four days after listing, with the stock up more than 50% from the offer price, shows the playbook. SpaceX can now buy a company that size without touching cash, debt, or IPO proceeds, and the higher the stock runs, the cheaper the deal feels."

A Rocket-Fueled Rise

Founded in 2022, Anysphere has had one of the steepest growth curves in software. Its flagship product, Cursor, lets developers generate, edit, and review code through natural-language prompts, and it has become a default tool for many engineering teams. In early 2025, the company's annual recurring revenue sat at roughly $100 million. By November 2025 it had crossed $1 billion, and by mid-2026 Cursor was generating an estimated $2.6 billion in annualized revenue, the bulk of it from enterprise customers.

That trajectory is precisely what SpaceX is buying. The acquisition is designed to accelerate SpaceX's AI division, which is built around xAI, Musk's maker of the Grok chatbot. xAI merged with SpaceX in early 2026, a combination finalized on May 6 that valued the AI lab at roughly $250 billion. Folding Cursor into that structure gives the combined company a proven, revenue-generating product in coding, a domain where rivals OpenAI and Anthropic have invested heavily.

Why It Matters

The Cursor deal is the clearest signal yet of how the AI landscape is consolidating around a handful of well-capitalized players. Coding has emerged as one of the most commercially valuable applications of large language models, and control of the tools developers use every day is increasingly seen as strategic territory rather than a niche software market.

"The deal stands out as Elon Musk's most significant AI wager to date," said Aurojyoti Bose, lead analyst at GlobalData. "The transaction's size reflects how AI platforms are increasingly viewed as strategically vital assets, and that SpaceX appears ready to leverage its post-IPO equity firepower to buy best-in-class capabilities."

For SpaceX, the logic is partly defensive. xAI's Grok models trail the scale of OpenAI and Anthropic, and acquiring Cursor brings in both distribution and a team that has built efficient coding models relative to their cost. "Cursor does not have the scale of OpenAI or Anthropic, but it has built some very impressive coding models relative to cost," said Matt Britzman, senior equity analyst at Hargreaves Lansdown. "That makes this a positive move for SpaceX."

The deal also showcases a new financial weapon. With a publicly traded, richly valued stock, SpaceX can now pursue large acquisitions using equity as currency, a tactic that has reshaped how the biggest technology companies grow. The Cursor purchase may be the first of several post-IPO moves.

What to Watch Next

The most immediate question is regulatory. A $60 billion combination that consolidates a leading AI coding tool inside a company already merged with a frontier AI lab is likely to draw scrutiny from antitrust authorities, even as the companies target a third-quarter close.

Beyond the approval process, the integration itself bears watching: how Cursor's product and roadmap fold into xAI's models, whether the startup's enterprise momentum holds under new ownership, and whether key talent stays. Equally important is what SpaceX's stock does between now and closing, since the all-stock structure means the final cost of the deal will not be fixed until the exchange ratio is locked in. For an industry watching the AI giants jockey for position, the Cursor acquisition may be remembered as the moment SpaceX turned its IPO windfall into firepower.

---

Sources: [TechCrunch](https://techcrunch.com/2026/06/16/spacex-to-acquire-cursor-for-60b-in-stock-days-after-blockbuster-ipo/), [CNBC](https://www.cnbc.com/2026/06/16/spacex-spcx-cursor-acquisition-ipo.html), [Quartz](https://qz.com/spacex-buying-cursor-anysphere-60-billion-deal-061626), [Fortune](https://fortune.com/2026/06/16/elon-musk-spacex-ipo-ai-coding-startup-cursor-acquisition/), [Yahoo Finance](https://finance.yahoo.com/technology/ai/articles/spacex-buy-cursor-ai-coding-103445855.html)

"The deal stands out as Elon Musk's most significant AI wager to date. The transaction's size reflects how AI platforms are increasingly viewed as strategically vital assets, and that SpaceX appears ready to leverage its post-IPO equity firepower to buy best-in-class capabilities."
- Aurojyoti Bose, Lead Analyst, GlobalData
$60B
Deal value
$2.6B
Cursor ARR
$10B
April option fee
Q3 2026
Expected close