Mexico City is facing a crisis over where to put its trash - enough to fill four sports stadiums a year - with its sprawling dump already crammed to bursting and under a closure order. One of the world's biggest landfills, the Nezahualcoyotl dump site, is a fifth the size of Manhattan and sits inside the urban sprawl of the fast-growing Mexican capital.

Mexico City is built on a dried-out lake bed first settled by the ancient Aztecs and grew at such a frenetic pace in the 1980s and 1990s that it now envelopes outlying villages, the dump and the international airport.

Now, mountains of refuse piled several storeys high are pressing against a major drainage canal that runs along the dump's edge. That risks a rupture that could flood residential areas and the airport with stinking effluent and grime, says the federal government which ordered the dump closed in January.

But city officials are stalling in court, arguing that the danger is exaggerated and asking for more time to implement ambitious recycling and green energy projects.

"If the canal breaks it would be a disaster, you would have thousands of people inundated with sewage," said Mauricio Limon, an official at the Environment Ministry, which has been trying to close down the landfill for years.

"More time in operation means more polluting methane ... tainted aquifers, more contamination of the surrounding areas, damaged wildlife and bad odours," said Mr Limon.

Mexico City's left-wing government is facing off with the ruling conservatives to keep the dump open and find green alternatives to absorb the 12,500 tonnes of garbage produced each day by the capital's 20 million residents.

City officials say garbage can be heaped up at the 10-square-kilometre site on the edge of Mexico City for several more years. Small privately-run landfills are offering their services, but at triple the price and with less space.

"If we close it, they'll start chucking it wherever they can. Soon this garbage will be in our ditches," said Marta Delgado, the city's head of environmental policy. "Crises should give us opportunities to change. We need a profound transformation in the way this city deals with its waste."

Mexico City launched a campaign several years ago to teach households to separate organic waste from recyclables. Sorting centres were built to replace informal workers who rake through trash for scraps of metal, plastic and paper.

Despite that, only 15 per cent of the city's garbage is recycled, compared to up to 60 per cent in parts of Europe.

There are no waste reduction programmes. Styrofoam plates, cups and plastic straws pile up at taco stands and shoppers pack groceries into doubled-up plastic bags.

Mayor Marcelo Ebrard, with one eye on a future presidential bid, has made strides towards making the capital greener, adding cycle lanes and public transport. Now he has big plans for a $186 million recycling centre and a methane gas project like one that fuels the metro in the northern city of Monterrey.

The plans could take years to come to fruition. Nezahualcoyotl workers pushing bulldozers over animal carcasses from food markets, computer parts and plastic bottles say they are caught in the middle of a political fight.

Pilot projects at the dump include one that has seven million worms chomping away at organic waste, including 14 tonnes a day of animal innards, to turn it into rich compost.

Another project uses a water filter to skim off some of the black sludge that bubbles off the trash heaps and distil it into yellowish water, used to wet dusty roads in the area.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.