The Quebec government's new marijuana bill lays out the rules for who will be able to legally buy recreational cannabis and where it can be used, once it is legal in Canada on July 1, 2018.

Here is what you need to know.

How old do you have to be to buy legal pot?

Just like the legal drinking age in Quebec, the proposed minimum age limit to buy, possess and consume marijuana is 18.

Who will sell legalized marijuana?

The Quebec government said the new agency that will handle the sale of legalized marijuana is the Société québécoise du cannabis (SQC). The whole operation will be overseen by the Quebec liquor board, the SAQ.​

30g marijuana

Here's what 30 grams of dried marijuana looks like. (Radio-Canada)

And where will people be able to buy it?

Legalized marijuana will be available for purchase both online and in physical stores.

The SQC plans to open 15 shops around the province where cannabis products will be sold. The agency will also offer online sales, and products will be delivered by Canada Post.

Canada Post talks 20160825

Canada Post workers already deliver alcohol ordered online through the SAQ. (Ryan Remiorz/The Canadian Press)

Where will people be allowed to smoke pot?

While people will be allowed to smoke marijuana at home and in public, the rules will ban smoking in the same locations as those set out by tobacco laws. 

Smoking marijuana will also be prohibited on the grounds of universities and CEGEPs, as well as on the grounds of hospital and social services institutions.

It will also be illegal for anyone to carry marijuana on the grounds of elementary schools and daycares.

Will Quebecers be able to grow pot at home?

Growing marijuana at home for personal use will be illegal.

In terms of commercial production, only producers who meet the conditions set out by the government will be allowed to grow it.

Washington State retail marijuana sales

The Quebec government intends to set up 20 stores across the province, as well as a delivery service through Canada Post. (David Ryder/Getty Images)

What about smoking before driving?

There will be zero tolerance for any kind of impaired driving associated with cannabis.

Those who are found driving under the influence will have their licence suspended on the spot for 90 days and will be slapped with a hefty fine.

How much will it cost to buy legally?

The province hasn't hammered out an exact price yet. Experts consulted by the government have suggested a price of $7 to 10 per gram in order to compete with products available on the black market, but not so cheap that it would encourage cannabis use.

With files from Radio-Canada