Tunisia is the latest country to invest in border barriers after more than 39 tourists were gunned down in attacks by Islamist militants that had been trained in nearby Libya and were armed by smugglers.
The watch towers and fence that Habib Essid the Prime Minister ordered will be for now, 100 miles inland from the coastline on stretches that are most vulnerable along the shared frontier.
From Saudi Arabia to Morocco, boundaries are in the process of being fortified at rates not seen since following the attacks o 9/11 in 2001.
A professor of international relations in Abu Dhabi said that North Africa and the Middle East was now the most walled area of the world. The barriers range from fences within cities to anti-migrant walls with separation barriers to counter insurgency.
The building of the barriers have for the most part been spurred on by the fear of Islamic State, following its conquest in Syria and Iraq and the ability of the group to inspire extremists Muslims elsewhere as well as concern over the failed or the failing nations nearby.
IS has built walls of its own to fend off any attackers and from keeping people for escaping including around the cities in Iraq of Mosul and Tal Afar.
The embattled government of Syria places shields made of concrete around areas that support the regime in Homs.
Fences are a quick fix, though most are very costly and might in the long run do very little to solve most problems said analysts.
Of the most famed Middle East physical defenses, the majority have failed. The ancient walls of Jerusalem did very little to stop a long succession of conquerors, while the Ottoman were not thwarted by the elaborate fortification of Byzantine Constantinople.
The barriers put up by Israel have worked well thus far, but over the long rung remove any incentive to attempt to reach an accord that is permanent with Palestinians.