A dense fog that is rolling in from the Atlantic Ocean could make driving conditions hazardous overnight, the National Weather Service said in a statement Thursday night.

Fog from over the ocean is rolling north onto Long Island as a result of moist air over cool waters, said Adrienne Leptich, a meteorologist in the service's Upton office.

advertisement | advertise on newsday

As of 11:30 p.m., areas across the South Shore were reporting visibility of one mile or less, Leptich said.

"The winds may turn a bit more to the southwest and that may push the clouds and fog out of Nassau and just leave it an issue in Suffolk County," she said. "As temperatures cool off and get closer to their dew points, the fog will get worse."