The police used tear gas and water cannons to remove the protesters from the city’s main square, the Zocalo.
Striking teachers had been camped out there for weeks. Some responded with petrol bombs as police moved in after a government deadline passed.
The teachers have been demanding changes to education reforms approved by President Enrique Pena Nieto.
The authorities said they wanted to clear the Zocalo for the Independence Day celebrations at the weekend.
Most of the protesters left peacefully by Friday’s deadline. But some stayed on, and police backed by armored vehicles and helicopters clashed with missile-throwing protesters on the square and in nearby streets.
Officers tore down the teachers’ temporary shelters and put out small fires started by the demonstrators and made a number of arrests.
Some of the demonstrators were thought to be radical anti-government activists who were not necessarily associated with the teachers union.
The educations reforms introduced by the government include performance-related tests for teachers.
Critics accuse Mexico’s teachers’ unions of being corrupt and having too much control over job allocation.
Last week, thousands of its members protested outside the Senate in an attempt to disrupt the passing of the bill, which had already been approved by the Chamber of Deputies.
The government has argued that union control over teaching jobs has contributed to corruption, which has seen poorly trained teachers promoted over more qualified colleagues.
RwSIUSrmvZkImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…