US Speaker Nancy Pelosi has left Taiwan after a brief but controversial visit.
Ms Pelosi – the most senior US politician to visit in 25 years – departed on Wednesday after meeting leaders in the capital Taipei.
Taiwan is self-ruled – but China sees it as a breakaway province that will eventually unite with it.
In a statement issued on Wednesday, China’s Foreign Minister Wang Yi said “those who play with fire will not come to a good end, and those who offend China will be punished”.
“The United States is violating China’s sovereignty under the guise of so-called democracy,” he added.
On the one hand, it abides by the “One China” policy, which recognises only one Chinese government, giving it formal ties with Beijing and not Taiwan.
But on the other, it also maintains a “robust unofficial” relationship with the island, which includes selling weapons for Taiwan to defend itself.
As speaker of the US House of Representatives, Ms Pelosi is second in line to the US presidency, behind Vice-President Kamala Harris.
The exercises – which will begin on Thursday and last for five days – will take place in some of the world’s busiest waterways and will include “long-range live ammunition shooting”
China’s defence ministry has admitted that some exercises may breach Taiwan’s territorial waters. In recent days, Chinese warplanes ventured as far as the median line, the unofficial divide separating China and Taiwan in the waters between them.
Taiwan has asked ships to find alternative routes to avoid the drills and is negotiating with neighbouring Japan and the Philippines to find alternative aviation routes.