Macedonia has said it will no longer let any migrants through its border with Greece, effectively blocking the Balkan route north.
The decision came after Slovenia barred access to migrants transiting the country. Croatia and Serbia then said they would follow suit.
Some 13,000 migrants are now stranded at the Macedonia-Greece border.
The moves come after the EU and Turkey set out a plan to ease Europe's biggest refugee crisis since World War Two.