The Foreign Office is warning travellers there is a high threat from terrorism in Morocco, following growing numbers of locals sympathising or belonging to international terrorism groups in Syria, Iraq and Libya.
The advice on the Foreign Office website states: 'There is a high threat from terrorism in Morocco.
'Attacks could be indiscriminate, including in places visited by foreigners.
'Protective security measures are in place at many Moroccan hotels and sites popular with tourists. Security measures, including security personnel, may be visible in certain areas.
'The Moroccan authorities have warned of an increased threat linked to the growing number of Moroccans sympathetic or belonging to international terrorist organisations operating in Syria, Iraq and Libya, and regularly report the disruption of terrorist cells.
'There is considered to be a heightened threat of terrorist attack globally against UK interests and British nationals, from groups or individuals motivated by the conflict in Iraq and Syria. You should be vigilant at this time.'
Around 500,000 Britons visit the country every year and most trips are trouble-free
The Association of British Travel Agents (ABTA) said: 'In common with many countries around the world there is currently a heightened risk of terrorism in the country.
'As per advice from the Foreign Office travellers to Morocco should remain vigilant.'
An attack in April 2011 saw 17 killed and 25 injured after an explosion in Marrakech at the Argana Restaurant in Djema el-Fna Square.
Due to groups or individuals motivated by the conflict in Iraq and Syria, there is considered to be a heightened threat of terrorist attack globally against British nationals.
There are protective security measures in place, at popular tourists sites and many Moroccan hotels, and security personnel may be visible in certain areas.
Meanwhile the Foreign Office relaxed its travel advice for Iran in July citing 'decreased hostility' in the wake of a landmark nuclear deal.
Almost all of Iran is now marked 'green' in the government's foreign travel advice, though border areas with Iraq, Pakistan and Afghanistan remain 'red', a warning against all travel.
The government have said attacks could be indiscriminate, including in places visited by foreigners
Earlier this year Morocco was ranked as Britons' favourite destination to visit, as voted for by TripAdvisor users.
With its desert landscape and bustling souks, Morrocan city Marrakech came out on top in the website's annual Travellers' Choice Awards for the first time.
It finished ahead of Siem Reap in Cambodia and Istanbul in Turkey, which finished second and third, respectively. London missed out on a spot in the top five, finishing sixth.