SpaceX has agreed to buy Cursor, the AI coding tool built by San Francisco startup Anysphere, for $60 billion in an all-stock transaction. The deal was confirmed on Tuesday through a securities filing, with Cursor set to become a wholly owned subsidiary once the transaction closes in the third quarter of 2026.

Cursor CEO Michael Truell framed the acquisition as the culmination of a partnership rather than a sudden move, saying SpaceX had exercised an option to acquire the company with the stated goal of “building the world’s most useful AI models.” He added that Cursor would continue working with its existing customers and partners through the transition.
The timing is hard to separate from what SpaceX has been doing all month. The company went public just last week in the largest IPO in history, raising upwards of $75 billion and pushing Elon Musk’s net worth past $1.1 trillion, making him the world’s first trillionaire. Buying Cursor in stock rather than cash means SpaceX gets to spend its newly inflated valuation instead of touching IPO proceeds, and the numbers work out to roughly 3.4% dilution against that valuation — a relatively small price for a company SpaceX has been circling for months.
This isn’t the first the market has heard of a SpaceX-Cursor arrangement. Back in April, SpaceX disclosed that it had secured the right to either acquire Cursor for $60 billion or pay $10 billion for continued access to its compute, structured around a joint effort to train a coding model using Colossus, SpaceX’s supercomputer cluster. That collaboration appears to have gone well enough that the acquisition path won out. SpaceX says it will soon ship a jointly trained model across both Cursor and Grok Build, xAI’s own coding agent.
Cursor’s trajectory since its 2022 founding has been one of the steeper climbs in software. The company crossed $1 billion in annualized revenue in November, became one of the central names behind the “vibe coding” wave, and built Composer, a proprietary model designed to cut its dependence on Anthropic and OpenAI for inference. Its most recent version, Composer 2.5, ranked third on Artificial Analysis’s Coding Agent Index behind Claude Code and Codex, at a fraction of the cost per task. At one point the company said it was generating a billion lines of code a day through its product. Its last priced round, a Series D backed by Nvidia, Accel, Coatue, Thrive Capital, Andreessen Horowitz, Google and DST Global, put Anysphere’s valuation near $29.3 billion. The $60 billion SpaceX is paying is roughly double that figure.
The strategic logic for SpaceX centers on Grok, which has struggled to gain ground in coding despite the company’s broader ambitions. Vital Knowledge analyst Adam Crisafulli noted in a client memo that SpaceX is hoping Cursor gives “a jolt” to its Grok business, which has so far failed to dent a frontier coding market led by Anthropic, OpenAI, Google and Meta. Cursor brings something Colossus alone cannot: distribution among professional developers, with the company previously claiming 67% of Fortune 500 usage, plus a research team that knows how to ship a coding product people actually pay for.
Other analysts read the deal as part of a wider pattern. Bret Greenstein, Chief AI Officer at consulting firm West Monroe, compared it to the vertical integration Musk pursued at Tesla, arguing that AI’s dependence on energy, data centers and connectivity makes owning more of the stack a logical extension of SpaceX’s existing infrastructure bets.
Markets reacted favorably. SpaceX shares jumped as much as 16% on the announcement, adding close to $247 billion to its market cap and pushing the company’s valuation past $2.5 trillion, putting it on track to overtake Amazon and become one of the most valuable companies in the country by market cap. That a company is paying $60 billion in stock and seeing its shares rise rather than fall on the news says something about how the market is pricing AI coding tools right now, and about how much room investors think SpaceX’s new public valuation has to expand.
The deal also continues a broader consolidation playing out around Cursor and its competitors. OpenAI had explored buying Cursor before turning its attention to rival Windsurf, and Google entered the same market with Antigravity, its own AI-native IDE, despite having invested in Cursor’s last funding round just months earlier. SpaceX’s move locks in a product and a team that nearly every major AI lab has, at some point in the last year, tried to get closer to.
For now, Cursor and SpaceX have not responded to requests for comment beyond their public statements. The deal is expected to close in Q3 2026, pending the usual regulatory review.