Beaches in Los Angeles and San Diego counties will remain closed this weekend to slow the spread of the coronavirus as a heatwave brings record warm temperatures to Southern California.

The continued closures have prompted local officials to remind the public to continue to stay home despite the temptation to hit the sand during the summer-like weather.

More than 18 million people are under heat advisories across Southern California, and there’s a potential for record-breaking high temperatures.

In Los Angeles county, the stay-at-home order states that all public beaches, piers, public beach parking lots and beach access points remain shuttered.

The closures could prompt Southern Californians to head to Ventura and Orange counties, where most beaches are open but parking lots and piers are closed to curb visits from out-of-towners.

Both the Los Angeles Police Department and Los Angeles County Sheriff are increasing patrols to enforce social distancing rules at beaches.