Updated 08/13/13 – 2:19 p.m.

CHICAGO (CBS) — Swimming was banned at all Chicago beaches Tuesday afternoon, due to high waves and potentially dangerous rip currents.

The National Weather Service has issued a beach hazard statement for Lake Michigan along Illinois beaches, through 4 a.m. on Wednesday.

“Dangerous pounding waves and life-threatening rip currents are expected at the beaches. People visiting the beaches should stay out of the water,” the National Weather Service said.

Rip currents don’t pull swimmers under the water, but rather away from shore. Swimmers drown when they panic and try to swim toward shore against the current and become exhausted.

The Chicago Park District banned swimming at all 23 beaches along the lakefront, due to “hazardous surf.”

You can see when swim bans have been lifted by clicking here.