WASHINGTON—The U.S. Trade Representative’s office filed paperwork to formally raise tariffs to 25% from 10% on about $200 billion a year of Chinese imports effective on Friday, carrying through on a threat made by President Trump over the weekend as talks with Beijing deteriorated.

China responded Wednesday by saying it will retaliate if the U.S. moves forward.

“The...