Mexico City Mayor Claudia Sheinbaum has announced that pupils attending state schools will no longer have to wear gender-specific uniforms.
“Boys can wear skirts if they want and girls can wear trousers if they want,” Mayor Sheinbaum said.
She added that the measure would create “a condition of equality, of equity”.
Previous guidelines stated that “just as the skirt is the basic garment of a girl’s daily school uniform, so trousers are for boys”.
Mayor Sheinbaum said that that kind of thinking “had passed into history” and that the new measure would come into effect “immediately”.
It was welcomed by transgender activists who said it would help children who until now had to use a uniform they may not have identified with.
Education Minister Esteban Moctezuma backed the mayor’s move and said he was sure many other states would follow suit.
In 2010, it became the first area in Mexico to issue marriage licences to same-sex couples. Since then, more than a dozen other states have legalised it.
Last month, President Andrés Manuel López Obrador said he would push for same-sex marriage to be made legal across the country.
Despite efforts by women activists to push for more equality, discrimination and violence against women remain a huge problem in Mexico.