Though it seems strongest in more rural and conservative communities, the resistance has been surprisingly bipartisan. In states from Louisiana to Indiana that are discussing decriminalizing marijuana, Republican opponents of relaxing the drug laws are finding themselves loosely allied with Democratic skeptics. Voices in the Obama administration concerned about growing access have joined antidrug crusaders like Patrick J. Kennedy, a Democratic former United States representative from Rhode Island, who contends that the potential health risks of marijuana have not been adequately explored, especially for juveniles — and who has written and spoken widely about his own struggles with alcohol and prescription drugs.

“In some ways I think the best thing that could have happened to the anti-legalization movement was legalization, because I think it shows people the ugly side,” said Kevin A. Sabet, a former drug policy adviser to President Obama and the executive director and co-founder, with Mr. Kennedy, of Smart Approaches to Marijuana. The group, founded last year, supports removing criminal penalties for using marijuana, but opposes full legalization, and is working with local organizations around the nation to challenge legalization.

“If legalization advocates just took a little bit more time and were not so obsessed with doing this at a thousand miles per hour,” he added, “it might be better. Instead, they are helping precipitate a backlash.”

In Washington, the Yakima County Commission has already said that it plans to ban marijuana businesses in the unincorporated areas outside Yakima city. Clark County, Washington, is considering a ban on recreational sales that would affect the huge marijuana market in Portland, Ore., just across the Columbia River. And the state’s second most populous county, Pierce, just south of Seattle, said last month it would bar recreational businesses from opening.

Pockets of retrenchment have emerged in other states as well. In California, one of 20 states and the District of Columbia that allow marijuana use for medical purposes, a state appeals court said late last year that local governments could prohibit the growing of medical marijuana. Fresno County promptly did so, becoming the first county in the state, medical marijuana advocates said, to ban all marijuana cultivation.