A planned deployment of 6,000 troops on the Guatemalan border will meanwhile be completed on June 17, the minister said at a joint press conference with President Andres Manuel Lopez Obrador.
Thousands of migrants cross daily from Guatemala into Mexico on their way to the U.S., which threatened Mexico with new import duties unless it stopped the influx.
Mexico has also agreed to receive migrants who have been sent back by the U.S. and to host them while its northern neighbour is handling their asylum requests.
However, Mexico wants to limit the numbers of such migrants, Ebrard said.
Over 670,000 migrants reached the U.S border from Mexico since January, according to U.S. data.
Most of the migrants are Central Americans fleeing poverty and violence, but they also include Haitians, Cubans, Africans and Asians.
U.S. President Donald Trump announced a deal with Mexico a week ago to avoid new tariffs on all Mexican imports.
Mexico was given 45 days to significantly reduce the number of migrants reaching the U.S.-Mexican border, or face a renewed tariff threat.
“I think it was a good agreement for Mexico, but it was also a good agreement for the U.S.,’’ Lopez Obrador said.