A winter weather advisory is in effect for Long Island on Friday with up to 8 inches of snow forecast for some areas, making for a potentially messy morning commute.

Snowfall in the 4-to-6-inch range is expected for eastern Long Island with 3 to 5 inches anticipated for the rest of the Island, according to the National Weather Service issued Thursday afternoon advisory.

But the service put out a winter storm warning Thursday night — to be in effect from 3 a.m. Friday to 3 p.m. — saying that western Suffolk could get 5 to 8 inches of snow.

WeatherLatest forecastSee alsoLive traffic

Winds are expected in the 10-to-20-mph range with gusts up to 30 mph, forecasters said. Visibilities could be as low as a quarter mile to a half mile at times, according to the advisory.

Meteorologists said the storm would start out as rain, beginning Thursday about 8 p.m., and turn to all snow by daybreak.

In a tweet late Thursday afternoon, Nassau County Executive Edward Mangano said public works crews “will begin brining roadways to prevent black ice during the morning commute.”

advertisement | advertise on newsday

The anticipated heavy, wet snow, courtesy of a coastal low, follows a mild day on the Island.

Around 2 p.m. Thursday the temperature at Long Island MacArthur Airport was 54 degrees.

“Yes, 50s to snow,” News 12 Long Island meteorologist Rich Hoffman said.

With Patricia Kitchen