ALBANY— The state is providing 40,000 gallons of fresh water to the town of New Paltz after residents reported smelly drinking water.

The state Health Department and Ulster County Department of Health issued a “do not drink” advisory following reports of “an unusual odor” coming from the Hudson Valley-based village’s drinking supply Tuesday.

A “sheen” was discovered on one of the town’s reservoirs by the local water treatment plant operator, prompting the Department of Environmental Conservation to launch an investigation.

“Our first priority is always to protect the health and safety of New Yorkers, and we stand with New Paltz every step of the way to provide immediate support during this difficult situation,” said Gov. Andrew Cuomo.

“I have directed my administration to deliver clean drinking water to local residents and students, and we will continue to work closely with local officials and provide additional resources as needed.”

The scare caused all classes to be canceled at SUNY New Paltz, and the university is directing all students — except international students — to vacate the campus by noon Wednesday.

The K-12 central school district will remain open but two days worth of water is being supplied.