Florida has reported a record number of coronavirus cases in the latest sign that the virus is surging in many parts of the United States, casting a pall over Fourth of July celebrations.

Officials and health authorities warned people to take precautions or simply stay home on Independence Day, as confirmed cases are climbing in 40 states.

The US set another daily record on Friday with 52,300 newly reported infections, according to the tally kept by Johns Hopkins University that is widely thought to be an undercount.

Florida reported 11,445 confirmed infections on Saturday, bringing the statewide total to more than 190,000.

Global coronavirus cases and deaths
(PA Graphics)

Alabama this week also set a record for infections reported in a day, with more than 1,700 new confirmed cases recorded on Thursday, and state health officials worried that the holiday weekend could lead to the type of spike that followed Memorial Day weekend.

“I’m really, really worried about the Fourth of July,” said Dr Don Williamson, a former state health officer who now heads the Alabama Hospital Association.

“I think that will likely determine the trend for Alabama for the rest of the summer.”

The sobering updates came as local officials and health experts across the country tried to minimise opportunities for the virus to continue spreading on a holiday weekend typically spent swimming, eating at garden gatherings or crowding elbow-to-elbow to view parades and fireworks shows.

Spectators watch as a Fourth of July parade passes in Bristol, Rhode Island
Spectators watch as a Fourth of July parade passes in Bristol, Rhode Island (David Goldman/AP)

Many communities cancelled those events and cautioned people against gathering on their own.

In Florida, bars statewide are shut down and some regional attractions, such as Zoo Miami and Jungle Island, have closed.

Officials in south Florida – including in Miami-Dade County and the Florida Keys – closed beaches through the weekend.

Those efforts are in stark contrast to President Donald Trump’s weekend agenda, including a fireworks display on Friday night at Mount Rushmore in South Dakota and Saturday’s Salute for America celebration set to include a presidential speech on the White House South Lawn and an enormous fireworks display that could pack people into central Washington in the evening.

In Britain on Saturday, some signs of normalcy returned with pubs and barbers reopening for the first time in months.

A pedestrian wearing a mask walks down Miami Beach, Florida’s famed Ocean Drive on South Beach
A pedestrian wearing a mask walks down Miami Beach, Florida’s famed Ocean Drive on South Beach (Wilfredo Lee/AP)

But other countries continued to report record highs in new confirmed cases, including South Africa and India.

In Australia and north-east Spain, authorities ordered lockdowns for specific counties or communities aimed at stomping out increases in cases.