Residents from Los Angeles to San Diego counties were being advised Thursday to avoid entering the ocean due to abnormally high surf causing large waves and possible instances of coastal flooding.

The National Weather Service issued a beach hazards statement that will be in effect through Saturday morning, warning of “tidal overflow” that could flood some beach areas. The statement covers all Los Angeles County beaches, including the Malibu coast and Catalina Island.

Forecasters warned of high tides reaching 7.2 to 7.7 feet, primarily between 8 and 10 a.m. each morning.

“Remain out of the water due to hazardous swimming conditions, or stay near occupied lifeguard towers,” the NWS warned. “Rock jetties can be deadly in such conditions, stay off the rocks.”

Forecasters also noted that “pooling of sea water is possible around high tide at beach and harbor areas that is uncommon with normal tidal ranges.”

According to the NWS, “enhanced beach erosion” is possible, but “no significant damage is expected.”

Los Angeles County Lifeguards issued a warning on social media about “abnormally large tidal fluctuations” that could create flooding risks in low-lying areas.

“If you’re heading to the beach, exercise caution, stay aware of changing conditions and keep a safe distance from the waterline,” lifeguards warned.

A separate beach hazards statement was also issued for all Orange and San Diego county coastal areas, again warning of waves topping 7 feet and possible localized flooding. The hazard statement in those counties will be in effect through Friday morning.