Hungary's government is considering building a fence along the border with Serbia to stop the flow of migrants reaching the country.
Foreign Minister Peter Szijjarto said that the government asked Interior Minister Sandor Pinter to prepare the plan by next week.
Mr Szijjarto said the 4m-high fence will not contravene any of Hungary's international obligations.
Since the second half of 2014, the number of migrants and asylum seekers entering Hungary, mostly across the southern border with Serbia, has risen markedly.
So far this year, more than 53,000 people have requested asylum in Hungary, up from under 43,000 in 2014 and 2,150 in 2012.