Police can now detain anyone who tries to breach a razor-wire fence built on the border with Serbia.
The new Hungarian laws came into effect at midnight on Monday. The law says: “From now on, anyone who crosses the border illegally will face criminal charges and 30 judges have been put on standby to try potential offenders”.
The laws also made it a criminal offence, punishable by prison or deportation, to damage the newly built four metre fence along Hungary’s 175km border with Serbia.
Hungary has become a key point on the journey north for thousands of migrants from the Middle East and Africa.
On Monday, EU Ministers failed to agree unanimously on mandatory quotas to relocate 120,000 asylum seekers.
Instead, at the meeting in Brussels, a majority agreed ‘in principle’ and negotiations would take place ahead of another meeting in October.