WASHINGTON — States and localities that have approved recreational pot smoking can expect “greater enforcement” under the Trump administration, White House press secretary Sean Spicer said Thursday.

President Trump understands how medical marijuana can alleviate “pain and suffering” for sick patients, but recreational pot smoking is “the last thing” the federal government should be enabling, he said.

“There’s a big difference between that and recreational marijuana and I think that when you see something like the opioid addiction crisis blossoming in so many states across this country, the last thing we should be doing is encouraging people,” Spicer said.

“There is still a federal law that we need to abide by.”

Marijuana is illegal under federal law, but the Obama administration had turned a blind to eye to several states that have approved recreational pot.

They include Washington, Colorado, Washington, DC, Massachusetts, California, Maine, Nevada, Alaska and Oregon.

“I do believe you’ll see greater enforcement of it,” Spicer said.

Spicer said it will be up to the Department of Justice on how to proceed. Its new leader, Attorney General Jeff Sessions, is against legalizing pot and once declared that “good people don’t smoke marijuana.”