SpaceX plans to build a massive semiconductor factory near Houston that would become the world’s largest building, as Elon Musk’s companies seek to secure the chips needed for artificial intelligence, robotics, self-driving vehicles and space-based data centers.
The facility, called Terafab Texas, will be built in Grimes, Texas, SpaceX said Thursday. The company expects the first phase to cost about $16.8 billion and employ more than 3,000 people.
“Terafab Texas will be the largest and most valuable building on Earth by far”, Musk, who leads SpaceX and Tesla, wrote on X. “And it will be stunningly beautiful”.
The project is a joint effort between SpaceX and Tesla and is intended to cover the manufacturing, packaging and testing of advanced logic and memory chips.
SpaceX said the chips will be optimized for edge computing and AI inference and used in products including Tesla’s Optimus humanoid robots and self-driving Cybercabs. The facility also will produce high-power chips for SpaceX’s planned space-based data centers.
The companies say their combined demand for semiconductors is expected to eventually exceed global supply, prompting the need for greater in-house production.
“While we are deeply appreciative of our current chip suppliers and encourage them to expand production whenever possible”, SpaceX said, the widening gap between chip supply and demand is central to the need for Terafab.
Musk said the project would bring advanced semiconductor manufacturing to the United States, create thousands of high-paying jobs in Texas and allow the companies to produce AI chips at scale for use both on Earth and in space.
SpaceX has proposed an initial investment of $55 billion in Terafab, with the total potentially reaching $119 billion, according to a May filing.
Tesla in April broke ground on a research facility at the North Campus of its Giga Texas plant, describing it as a precursor to the Terafab project.
The proposed facility would dwarf existing record-holding buildings. The Pentagon, the largest building in the United States, covers about 6.6 million square feet, while the New Century Global Center in Chengdu, China, covers about 18.9 million square feet and is considered the world’s largest building.
Terafab, with a planned footprint of more than 100 million square feet, would be several times larger than either structure.

