Everyone involved must be licensed and registered, with government monitors enforcing limits such as the 40 grams a month any adult will be able to buy at pharmacies for any reason or the six marijuana plants that license-holders will be allowed to grow at home.
Congress' lower house approved the bill in late July, and senators rejected all proposed amendments, enforcing party discipline before the debate to assure the outcome.
Former Health Minister Alfredo Solari, a Colorado Party senator, warned Tuesday that children and adolescents will more easily get their hands on pot and that "the effects of this policy on public health will be terrible".
But Sen. Roberto Conde, a former deputy foreign minister with the Broad Front, said marijuana "is already established in Uruguay. It's a drug that is already seen as very low risk and enormously easy to get."
Mujica, a 78-year-old former leftist guerrilla who spent years in jail while many others experimented with marijuana, said the goal is to reduce drug use. A government ad campaign launched Friday makes the same point, warning of pot smoking's dangers to human health.
"This is not liberalisation of marijuana. It can be consumed within certain parameters established by law. I think it will reduce consumption," Sen. Luis Gallo, a retired doctor who favoured the bill, told The Associated Press.
The government got help from a national TV campaign and other lobbying efforts supporting by billionaire currency speculator and philanthropist George Soros and his Open Society Foundation and Drug Policy Alliance. In September, Mujica met with Soros and billionaire David Rockefeller in New York to explain his "experiment".
These deep-pocketed connections drew criticism from Mujica's opponents.
"I would say to Mr. Soros, to Mr. Rockefeller, and to the president of the republic that you don't experiment with the Uruguayans. We are not guinea pigs," Colorado Party Sen. Pedro Bordaberry said.
Hannah Hetzer, a lobbyist for the Alliance who moved to Montevideo for the campaign, watched closely from the Senate gallery.
"Uruguay is seeking an alternative to a failed model. I think that this is the beginning of the end of a prohibitionist model and the beginning of a more intelligent focus," she said.
- AP