MEXICO CITY -- Thousands of Central American migrants decided to depart Mexico City on Friday and head toward the northern city of Tijuana, opting for the longer but likely safer route to the U.S. border, caravan organizers said.

The decision was made late Thursday in a Mexico City stadium where roughly 5,000 migrants have spent the past few days resting, receiving medical attention and debating how to proceed with their arduous trek. It came shortly after caravan representatives met with officials from the local United Nations office and demanded buses to take them to the border.

Caravan co-ordinator Milton Benitez told the migrants that they were still waiting for a response. But he later said to The Associated Press the officials had offered them buses for women and children but organizers demanded that they be for everyone. U.N. representatives could not be immediately reached to confirm this.

The migrants hoped that the buses would arrive but decided to leave Mexico City even if they didn't.

Roberto Valdovinos, who is working as a liaison between migrants and the press, said Friday morning that a 750 member contingent had left the stadium to continue their journey north.

About 200 migrants, impatient and tired of sleeping on the ground in tents at a Mexico City stadium, took the subway to the outskirts of the capital.

Eddy Rivera, a 37-year-old farm worker from Cortes, Honduras, said he couldn't take staying at the sports complex any longer.

"We're all sick from the cold, from the humidity. We want to leave already, we have to get to Tijuana," said Rivera, who left behind his four children and wife in Honduras and wanted to earn money to build a house.

Most migrants had their sights on the central Mexican city of Queretaro, despite persistent doubts over whether the buses would arrive.

"God, please let the buses arrive, but if not we will walk," said 18-year-old single mother Delia Murillo who left her girl in Honduras because she feared for her safety on the trek.

"There will be no buses," said Hector Wilfredo Rosales, a 46-year-old electrician from Olancho, Honduras, who was travelling with his 16-year-old son-in-law. "They have lied to us a lot but we will walk like we have done so far."

Mexico City is more than 600 miles from the nearest U.S. border crossing at McAllen, Texas, and a previous caravan in the spring opted for the longer route to Tijuana in the far northwest, across from San Diego. That caravan steadily dwindled to only about 200 people by the time it reached the border.

"California is the longest route but is the best border, while Texas is the closest but the worst" border, said Jose Luis Fuentes of the National Lawyers Guild to gathered migrants.

Rosales said he would have preferred a shorter route "because there are a lot of women with children with us and it is going to be very hard." But he agreed with the decision to leave Mexico City and hoped people along the way would give them lifts.

The migrants said they wanted buses to take them to the U.S. border because it is too hard and dangerous to continue walking and hitchhiking. Benitez noted that it would be colder in northern Mexico and it wasn't safe for the migrants to continue along highways, where drug cartels frequently operate.

"This is a humanitarian crisis and they are ignoring it," Benitez said as the group arrived at the U.N. office.

The Central American migrants began their arduous trek toward the United States more than three weeks ago and were turned by President Donald Trump into a campaign issue in the U.S. midterm elections.

Mexico has offered refuge, asylum or work visas to the migrants, and its government said 2,697 temporary visas had been issued to individuals and families to cover them while they wait for the 45-day application process for a more permanent status. On Wednesday, a bus left from Mexico City to return 37 people to their countries of origin.

But many want to continue on toward the United States.

Authorities say most have refused offers to stay in Mexico, and only a small number have agreed to return to their home countries. About 85 per cent of the migrants are from Honduras, while others are from the Central American countries of Guatemala, El Salvador and Nicaragua.

Many are also willing to overcome the obstacles, even as they suffer from exhaustion, blisters, sickness and swollen feet.

The U.N. human rights agency said its office in Mexico had filed a report with prosecutors in the central state of Puebla about two buses that migrants boarded in the last leg of the trip to Mexico City early this week, and whose whereabouts are not known.

There have already been reports of migrants on the caravan going missing, though that is often because they hitch rides on trucks that turn off on different routes, leaving them lost.

Alejandra, whose last name the AP is withholding because she is an alleged victim of rape, said she fled Honduras after she was threatened by gangs.

She said she was waiting for a transportation miracle, but would forge on with the group whatever it takes, even "without buses."

The caravan, she said, had already been hitchhiking rides from dump trucks and trailers for weeks.