US President Joe Biden has signed a law committing $280bn (£232bn) to high tech manufacturing and scientific research amid fears the country is losing its technological edge to China.
The investments include tax breaks for companies that build computer chip manufacturing plants in the US.
Business groups have long pushed for more government support, citing the need to reduce reliance on China.
A global shortage of microchips increased the urgency of their calls.
Top Senate Democrat Chuck Schumer said the bill was a "game changer" that would ensure American leadership and prosperity in the next century.
"Authoritarians were cheering for us to lose and hoping we sit on our hands," he said. "By enacting the CHIPS and Science Act we are making clear we believe another great American century lies on the horizon."
The US currently produces roughly 10% of the global supply of semiconductors, which are key to everything from cars to mobile phones, down from nearly 40% in 1990.
The country is not alone in its investments in the industry.
The European Union this spring said it would commit more than €40bn to boost production of computer chips, while China has also been boosting its investments in science and technology.
The Chinese Embassy in Washington had opposed the semiconductor bill, calling it reminiscent of a "Cold War mentality."
In addition to the chip investments, the bill directs about $200bn to agencies such as the National Science Foundation, aiming to boost investments in fields like robotics and wireless communications.
Mr Biden called it a "once in a generation" investment and said it was already yielding growth in the US, pointing to plans from Micron to spend $40bn on memory chip manufacturing, a project expected to create 40,000 jobs.
It is the latest accomplishment for the White House, which also recently clinched a deal to advance a sweeping plan to combat climate change.
Unlike that plan, which was opposed by Republicans, this bill was supported by both parties, despite marking a large expansion of the role of the US government into a domain often left to the private sector.
EU seeks to supercharge computer chip production
Biden is passing laws – but is he winning hearts?
US drone crashes after encounter with Russian jet
Drone crash is a moment fraught with danger
How bad is US banking crisis and what does it mean?
Is conflict between China and the West getting closer?
Drone crash is a moment fraught with danger
The onion crisis making India's farmers cry
Hanging the mic up after 30 years of reporting
The long wait for justice over apartheid crimes
Could waste plastic become a useful fuel source?
When might the asteroid hit Earth? Our quiz…
The King and his kids – inside Hagi's plan to restore Romania's glory
The 'sleeping giant' of sea level rise
The effect of TikTok's beauty filters
The 1991 video game phenomenon
The return of the US' lost language
© 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.
US invests $280bn in high tech to compete with China – bbc.com
Published: