San Mateo residents visiting Pacific beaches should expect dangerous surf from Wednesday afternoon through early Friday, Nov. 20.

The National Weather Service forecasts breaking waves of 18 to 24 feet along the San Francisco Peninsula Coast, including San Mateo County’s coastline. Waves could reach 30 feet at favored breakpoints.

The high surf advisory, updated at 8:08 a.m. Pacific Wednesday, runs from 4 p.m. Nov. 18 through 4 a.m. Friday.

A beach hazards statement remains in effect until 4 p.m. Wednesday, warning of sneaker waves, strong rip currents and breaking waves of 13 to 17 feet.

The NWS urges people to stay out of the water and away from jetties, piers, rocks and other shoreline structures.

Large waves can unexpectedly reach farther up beaches and sweep people into the ocean. The agency warns of serious injury and drowning risks.

San Mateo County Parks also issued a beach safety notice Nov. 17. Its earlier wave forecast and Thursday end date have been superseded by the newer NWS advisory.