Ontario plans to sell marijuana in as many as 150 dedicated stores run by the province's liquor control board after Ottawa legalizes its recreational use next summer, the Liberal government announced Friday.

Those looking to purchase marijuana when it becomes legal across the country will be subject to the same age and usage restrictions currently in place for alcohol, said Attorney General Yasir Naqvi. The process of purchasing recreational cannabis will closely mimic the one currently in place at the Liquor Control Board of Ontario.

Naqvi and Finance Minister Charles Sousa said residents 19 or older will be able to purchase marijuana at separate retail outlets or through a government-run website.

Sousa said the government hopes to have 150 such stores operational across the province by 2020, with the first 40 stores opening next summer.

Those stores, he added, will only sell marijuana and not alcohol. The online distribution channel will be run by the LCBO and should be ready for business by next July, Sousa said.

Consumption of legal weed will not be allowed in public spaces or workplaces and should be confined to private residences, Naqvi said.

He said, however, that the government will explore the possibility of allowing marijuana-licensed establishments in the future.

The federal government introduced legislation in April with a goal of legalizing and regulating the use of recreational pot by July 1, 2018, but left it up to individual provinces to design their own distribution system and usage regulations.

Naqvi said the time-tested model at the LCBO made sense as a blueprint for cannabis in Ontario.

One of the government's priorities, he said, involves clamping down on illegal distribution channels. He made it clear that will include dispensaries that have cropped up in recent months in anticipation of widespread legalization.

"Illicit cannabis dispensaries are not legal now and will not be legal retailers under the new model," Naqvi said. "... These pot dispensaries are illegal and will be shut down. If you operate one of these facilities, consider yourself on notice."

Naqvi said setting the minimum purchasing age at 19 is intended to protect youth from potential drug use. The new regulations, however, will also contain language allowing police to confiscate small amounts of pot from those under 19 without incurring criminal charges.

Asked about expected revenues, Sousa could provide no estimates, saying the market conditions and federal tax levels will impact the bottom line and are unclear.

"Frankly, this is uncharted territory and we're going to have to monitor it and see how it develops," Sousa said.

He said the government has been working on the pot file for about a year.

"We are running out of time," he said. "We have to be prepared by next year."

Sousa could not say what the start-up costs for the stores will be but expects they will be recovered over time.

He said legislation regulating the control of marijuana will be introduced in the fall.

The federal government has pledged to work with provinces and commit resources to pot-related needs like public security, policing and educational campaigns.