Recreational marijuana is legal in Canada as of today, but there is still a lot of confusion around legal cannabis — including where marijuana will be sold and where it can be consumed.

Legalizing marijuana has been in the works since Prime Minister Justin Trudeau was elected in 2015, but marijuana enthusiasts need to remember that local, provincial and federal laws are still being worked out and the regulations that are in effect as of October 17 can restrict or ban the use of cannabis in certain areas.

The federal cannabis act sets a broad skeleton, but each of the 13 province and territories have set their own rules. Not all of those rules have been announced yet, but here's a quick primer to get you up to speed.