SpaceX
SpaceX Is Buying Cursor for $60 Billion: The Deal, Explained
SpaceX is acquiring Cursor maker Anysphere in a $60 billion all-stock deal signed June 16, 2026. Here is exactly what was agreed, the timeline, and what happens next.
SpaceX has agreed to buy Anysphere, the company behind the AI code editor Cursor, in an all-stock deal valued at $60 billion. The merger agreement was signed on June 16, 2026 — just four days after SpaceX’s record-breaking stock-market debut — and is expected to close in the third quarter of 2026, subject to regulatory approval.
It is one of the largest acquisitions in the history of the software industry, and on the surface one of the strangest: a rocket company buying a code editor. But it makes far more sense once you know what SpaceX has quietly become over the past year. Here’s the full picture.
The deal in plain terms
The structure is simple by megadeal standards:
- Buyer: SpaceX, via a wholly owned subsidiary named X67 Inc., which will merge into Anysphere.
- Target: Anysphere, the maker of Cursor, which becomes a wholly owned SpaceX subsidiary when the deal closes.
- Price: an implied $60 billion valuation for Anysphere.
- Currency: all stock — Anysphere shareholders receive SpaceX Class A shares rather than cash. The exact number of shares is set by the $60 billion valuation and SpaceX’s seven-day volume-weighted average share price just before closing.
- Timing: signed June 16, 2026; expected to close in Q3 2026, pending regulatory clearance.
No cash changes hands. That detail matters, and it’s only possible because of what happened in the days right before — which brings us to the timeline.
How we got here: the timeline
This deal didn’t appear out of nowhere. It’s the third act in a fast-moving sequence:
- February 2, 2026 — SpaceX absorbs xAI. SpaceX merged with Elon Musk’s AI company xAI, maker of the Grok chatbot, in a combination valued at roughly $1.25 trillion. In other words, SpaceX was already an AI company before any of this — it owned the models and the data centers.
- April 2026 — the option. xAI and Cursor announced a technical partnership that came bundled with an option: SpaceX could either pay around $10 billion for a deeper partnership, or acquire Anysphere outright for $60 billion later in the year.
- June 11–12, 2026 — the IPO. SpaceX went public on the Nasdaq under the ticker SPCX, pricing at $135 a share and raising roughly $75 billion — the largest U.S. IPO on record — at an implied valuation near $1.77 trillion. The stock then surged — within days briefly passing Microsoft to become the world’s 4th most valuable company.
- June 16, 2026 — the exercise. With a soaring, newly liquid public stock to pay with, SpaceX exercised the acquisition option. As Fortune put it, the run-up in SpaceX shares effectively covered the $60 billion price in a few hours of trading.
That sequence is the key to the whole thing: the IPO turned SpaceX stock into hard currency, and the company immediately spent it. For more on whether $60 billion is a defensible number, see our breakdown of whether Cursor is really worth $60 billion.
Why a rocket company wants a code editor
The short answer is that SpaceX is no longer just a rocket company — it’s an AI company that also flies rockets. After folding in xAI, it owns Grok and an enormous compute footprint, and software now sits at the center of everything it does: launch systems, Starlink, autonomy, and AI itself.
Cursor gives it three things at once:
- A leading product. Cursor is one of the most widely used AI coding tools in the world, with a large, paying, enterprise-heavy user base.
- A data flywheel. SpaceX disclosed that it and Cursor have been jointly training a new coding-focused AI model, which it plans to release on both the Cursor and Grok platforms. The company expects Cursor’s real-world usage to feed directly into “model training and inference, including with respect to Grok.”
- Talent and momentum in exactly the developer-tools category where Grok had been losing ground to rivals from Anthropic and OpenAI.
Cursor’s CEO framed it in those terms. “We are excited to share that SpaceX has exercised their option to acquire Cursor in an all-stock transaction with the goal of building the world’s most useful AI models,” said co-founder and CEO Michael Truell. We dig into the strategy in detail in why SpaceX bought Cursor.
The break fees signal a real antitrust fight
Buried in the agreement are two numbers that tell you how seriously both sides take regulatory risk:
- A $10 billion general termination fee payable by SpaceX if it walks away.
- A separate $4 billion “regulatory termination fee” owed if the deal is blocked on antitrust grounds.
A dedicated regulatory break fee is a tell: SpaceX’s own lawyers expect a genuine review. There’s also the matter of how close the two companies already are. Cursor staff have reportedly been working inside xAI’s offices since the April partnership, and xAI’s general counsel, James Burnham, told employees to limit contact with Cursor’s team to only what the technical partnership required — a textbook attempt to avoid “gun-jumping,” the antitrust rule against integrating two companies before a merger is actually approved.
Who is Cursor, and who is Anysphere?
Anysphere is the San Francisco startup that builds Cursor, an AI-first code editor. It was founded in 2022 by four MIT students — Michael Truell, Sualeh Asif, Arvid Lunnemark and Aman Sanger — and grew at a pace almost without precedent in software, reaching nine-figure annual revenue within roughly a year of launch. If the name is new to you, start with our explainer on what Cursor actually is.
For existing Cursor users wondering what changes — pricing, privacy, and whether to switch — see what the SpaceX deal means for developers.
What happens next
A few things to watch between now and the expected Q3 close:
- Regulatory review. The $4 billion antitrust fee suggests this won’t be a rubber stamp, especially given SpaceX’s growing concentration of AI assets.
- Product direction. Expect tighter ties between Cursor and Grok, and the rollout of the jointly trained coding model on both platforms.
- Cursor’s independence. Whether Cursor keeps operating as a standalone product — and keeps supporting non-Grok models — is the open question developers care about most.
This is also a milestone in a much larger story: the assembly of Elon Musk’s AI empire under one roof. SpaceX now spans rockets, satellite internet, frontier AI models, and the tools developers use to build software.
FAQ
How much is SpaceX paying for Cursor?
SpaceX is acquiring Anysphere, Cursor’s parent company, at an implied valuation of $60 billion. It’s an all-stock deal — Anysphere shareholders receive SpaceX Class A shares rather than cash.
When will the SpaceX–Cursor deal close?
The merger agreement was signed on June 16, 2026, and the companies expect it to close in the third quarter of 2026, subject to regulatory approval.
Is SpaceX buying Cursor with cash?
No. It’s structured as an all-stock transaction, paid in SpaceX Class A shares. This became practical only after SpaceX’s June 2026 IPO gave it a liquid, publicly traded stock to use as acquisition currency.
Why is SpaceX, a rocket company, buying an AI coding tool?
Because SpaceX absorbed xAI (the maker of Grok) in February 2026 and is now an AI company as much as an aerospace one. Cursor gives it a leading developer product and a stream of real-world coding data to improve its AI models.
Will Cursor still work the same for users?
For now, yes — the deal hasn’t closed. Longer term, expect deeper integration with Grok and a jointly trained coding model. Whether Cursor keeps supporting rival AI models is the key open question.
This deal was announced in June 2026 and is not yet closed; terms, timing and regulatory outcomes may change. Figures are drawn from company statements and contemporaneous reporting, and this explainer is reviewed periodically.