The Spanish government has ordered that hotels and short-stay accommodation – such as short-stay campsites or caravan parks – must close by Tuesday March 24.
The Foreign Office said British travellers who are currently in Spain and who wish to return to the UK are advised to make travel plans to do so as soon as possible.
Spain declared a state of emergency on March 14, which introduces a series of measures – including significant restrictions on movement throughout the country – in response to the coronavirus outbreak.
More: Latest coronavirus news and updates
Travel Weekly coronavirus resource centre
It follows news that the Cypriot government has instructed all hotel and tourist accommodation in Cyprus to shut down from the weekend.
They will remain closed until April 30 as part of restrictions imposed by Cypriot authorities in reaction to the coronavirus pandemic.
All tourists will need to leave their accommodation by March 21, the Foreign Office said.
Call to leave Malta asap
Elsewhere in the Mediterranean, the Maltese prime minister has called for all temporary visitors to Malta to leave as soon as possible, if they intend to do so.
He said he could see no reason for tourists to travel to visit Malta at this time and the Foreign Office recommends that British nationals who wish to leave make arrangements to do so as soon as possible.