In 2015, Hungary built a border barrier on its border with Serbia and Croatia. The fence was constructed during the European migrant crisis, with the aim to ensure border security by preventing illegal immigrants from entering, and enabling the option to enter through official checkpoints and claim asylum in Hungary in accordance with international and European law. The number of illegal entries to Hungary declined greatly after the barrier was finished as it effectively abolished the access to asylum in Hungary. Following an increased influx of asylum-seekers and migrants into the Schengen Area despite the Dublin Regulation, Hungary stated that the EU was "too slow to act", and started construction of the barrier in June 2015. According to BBC News, "many of the migrants currently in Hungary have been refusing to register there, in order to continue their journeys to Germany before seeking asylum". Hungarian Prime MinisterViktor Orbán commented: "Our job is only to register them". The barrier was completed in September. Later, Hungary constructed barriers on minor sections of the Croatian border that are not separated by the Drava river.
Serbian border
The border between Hungary and Serbia is long. In June 2015, the Hungarian cabinet approved construction of a high barrier. Construction of the barrier began in early July., Hungary was on track to complete the fence by the end of the year. The fence, which features concertina wire, is being built by contractors and a deployment of 900 soldiers at a cost of 30 billion forints for the 4-meter fence and the construction of two camps to house asylum applicants. By mid-August the barrier was taking shape as a double security fence. There is a hastily constructed outer fence made up of three rows of razor wire, scheduled to be completed by the end of August 2015. Inside that, there is a sturdier barrier 3.5 meters tall. The slow pace of the fence's construction led to the resignation of Csaba Hende, the Hungarian defence minister, on 7 September 2015. The first stage of construction was started on 13 July and it was completed and the border sealed by Monday, 14 September. The immediate impact of the fence was to block entry to Hungary to migrants unwilling to apply for refugee status in Hungary, deflecting the flow to Croatia. As Croatia led the migrants to its border with Hungary, Hungary then started the construction of a second fence along its border with Croatia on 18 September 2015. On 16 September 2015, migrants prevented by the new fence by crossing the border near Horgoš, Serbia, and Röszke, Hungary, reacted by surging forward and pushing or tearing away a section of the new fence. Hungarian riot police responded with tear gas, causing the migrants to fall back, then regroup and surge forward again, only to be met by another round of tear gas canisters and with water cannon. At this point, some of the migrants began tearing apart a decayed structure, to obtain chunks of concrete which, along with rocks were hurled at police as other rioters built debris fires, filling the air with smoke. The riot subsided as word spread the Hungarian police had opened a nearby gate, but as 200 or 300 migrants walked through the newly opened gate, Hungarian police "surged forward", swinging batons and firing tear gas into the crowd of migrants. Hungary was widely criticized for its use of tear gas and water cannon against migrants attempting to enter the country. Hungary commented the border security: "the official and legal ways to come to Hungary and therefore to the European Union remain open. That's all we ask from all migrants - that they should comply with international and European law". In April 2016, Hungarian government announced construction of reinforcements of the barrier, which it described as "temporary". In July 2016, nearly 1,300 migrants were "stuck" on the Serbian side of the border. In August 2016, Orbán announced that Hungary would build another larger barrier on its southern border. On 28 April 2017, the Hungarian government announced it had completed a second fence, long, on the Serbian border. Funding of the construction of the Hungary-Serbia border fence and border hunters project has increased tension between Hungary and the other EU member states. In 2015, Hungary and Slovakia asked the Court of Justice of the European Union to annul the EU decision to relocate migrants. Although the opinions of the Court's Advocate Generals are not binding on the European Court of Justice, on 26 July 2017, the assigned Advocate General expressed the view that the Hungary and Slovakia claims should be dismissed. About a month after the Advocate General released his opinion, Hungary asked the European Commission to pay up. On 31 August 2017, the Hungarian government requested that the European Union refund half of the border barrier costs. This request was denied by the President of the European Commission on 5 September 2017. The Court of Justice of the European Union dismissed Hungary and Slovakia's claims in a judgment dated 6 September 2017.
Croatian border
On 16 October 2015, Hungary, dissatisfied with EU efforts to coordinate border control, announced that it had completed the fence along the border with Croatia and would close the border at midnight. Since 17 October onwards, thousands of migrants daily were diverted to Slovenia instead.
Slovene border
On 14 September 2015, Hungary began building a fence on its border with Slovenia, specifically in the area around the Tornyiszentmiklós-Pince border crossing. The razor wire obstacle were removed two days later.
In mid-September 2015, Hungary was considering a barrier on part of the Romanian border in case of a shift in the migrant flow through this area. , everything is in place if Hungary decides to build a border barrier on the Hungarian-Romanian border—the military is "only waiting for the command from the government". In October 2017, Hungarian prime minister Viktor Orbán offered to "help Romania to protect its eastern borders" and added that if illegal migration over Romanian territory continues to grow, Hungary will be forced to build a fence on the common border.
Impact on the number of illegal migrants entering Hungary
Attempted border entries fell following the barrier's construction. During the month of September 2015 there was a total number of 138,396 migrant entries, and within the first two weeks of November the average daily number of intercepted migrants decreased to only 15, which is a daily reduction of more than 4,500.
Environmental impact
According to a correspondence published in Nature journal, the border barrier can entangle animals in razor wire and endangers wildlife by blocking animal migration, jeopardizing connectivity of species populations by habitat fragmentation.