The foreign secretary has defended the "swift decision" to require travellers arriving in the UK from Spain to quarantine for 14 days.
Dominic Raab said he knows it will cause disruption for holidaymakers but the government "can't make apologies".
Labour's Jonathan Ashworth called the handling of the move "shambolic".
The new coronavirus travel rule was announced on Saturday following a spike in the number of new cases in Spain this week.
Mr Raab told Sky News' Sophy Ridge the government "took the decision as swiftly as we could" - receiving data on Friday and assessing it on Saturday afternoon.
Asked why holidaymakers were not told earlier that Spain was under assessment, he said giving "vague advice" would "create more uncertainty".
"There is a cut-off with changes in rules and advice we give, so I appreciate that that's difficult and it can be disruptive," he said.
"But it would be far worse to either muddy the waters or to hold back and delay from taking the measures when we need to take them."
He said the UK could risk seeing a "second wave" and lockdown if such measures were not taken.
Mr Ashworth, Labour's shadow health secretary, told the programme the decision was understandable, but the communication was "frankly shambolic".
He said the government "had to scramble to confirm" the news on Saturday after it was broken by the Sunday Times' Tim Shipman on Twitter.
Spain was included on the government's reviewed list of "safe" travel destinations for travellers in England published on Friday morning.
The Spanish health ministry reported 971 new daily infections on Thursday - the biggest daily increase since Spain's lockdown ended - and 922 on Friday.
Image copyright Reuters Image caption The measure is likely to cast doubt on thousands of Britons' holiday plansMr Ashworth urged the government to provide clarity for "distressed" holidaymakers and offer financial support.
"This virus will spread when people have got no choice but to go to work," he said.
"If it's a decision between putting food on their table or losing their jobs and staying at home, people are going to put food on the table to feed their families."
Mr Raab said: "We expect employers show those employees who will have to quarantine because of the law the flexibility they need."
Among those affected by the new rules is Transport Secretary Grant Shapps, who began his holiday in Spain on Saturday. He is expected to continue his trip as planned and isolate in line with guidance on his return.
Airlines including British Airways have criticised the new measures as "yet another blow" to British holidaymakers.
Image copyright Lois Stothard Image caption Lois Stothard had planned a surprise trip for boyfriend James Allott but has had to cancelLois Stothard, from South Yorkshire, told the BBC she had booked a holiday to Seville as a surprise for her boyfriend's 30th birthday but now feels that she cannot travel. They were due to fly out on Sunday morning.
"I'm a key worker - I'm a teacher - and my boyfriend has work commitments so we cannot quarantine for 14 days when we return," she said.
"We can't get any money back and to change [the booking] the company want double what I've already paid in fees. I'm very disappointed and upset as we're packed and ready to go."
John Blackmore, from Hampshire, was also due to fly out to his family in Spain with his wife and two young children. But the new rules mean he has had to cancel, for fears his wife's employer would not be able to accommodate her taking an extra two weeks off to quarantine on their return.
He said he thought it was unlikely they would get a refund for the flight, as it has not been cancelled.
"I'm devastated," he told the BBC. "I have family in Spain who haven't seen their only grandkids since Christmas."
Read more reactions from holidaymakers here.
Prof Jonathan Van-Tam, deputy chief medical officer for England, said the timing of such a measure will never suit everyone.
"Whenever a decision is made there will always be people who have just left the UK," he said.
"There is no magic time at which to do this. The thing that we have to do is do it as soon as we are certain about the data."
Scottish First Minister Nicola Sturgeon tweeted that the decision was made after reviewing the latest data earlier on Saturday.
"This reinforces the point that these matters are subject to change at short notice and so my advice is to be cautious about non-essential foreign travel," she said.
What's happening in Spain?
Spanish officials have warned a second wave of coronavirus could be imminent as major cities have seen cases surge.
Spain has so far seen more than 28,000 coronavirus deaths. On Thursday, it saw the biggest daily increase in infections since its lockdown ended.
Catalonia has become the latest region to crack down on nightlife. The wealthy north-east region, which is home to Barcelona, ordered all nightclubs to close for two weeks and put a midnight curfew on bars in the greater Barcelona area.
The BBC's Guy Hedgecoe in Madrid says contagion among young people is a particular worry, as they have been gathering in large numbers in cities at night.
France has warned its citizens not to travel to Catalonia while Norway has said it will start quarantining people arriving from Spain.
People currently on holiday in Spain have been advised by the Department of Transport to follow the local rules, return home as normal, and check the Foreign Office's travel advice website for further information.
The Foreign Office is advising against all but essential travel to mainland Spain. Quarantine measures apply to those returning from mainland Spain, the Canary Islands and the Balearic Islands, such as Majorca and Ibiza.
It is unlikely that any travel insurance will be valid where the Foreign Office advice states UK residents should not travel, according to BBC personal finance reporter Kevin Peachey.
Quarantine measures for UK travellers were first introduced in early June. But after pressure from the aviation and travel industries, the government and devolved administrations published lists of countries exempt from the rules.
Are you in Spain? Are you planning to travel to Spain? What do you think about the quarantine? Share your experiences by emailing haveyoursay@bbc.co.uk.
Please include a contact number if you are willing to speak to a BBC journalist. You can also contact us in the following ways: