DENVER — A bill passed out of the Colorado Legislature Wednesday would allow for marijuana delivery beginning in 2020 for medical patients and in 2021 for recreational users.

If signed, the bill would bring the Centennial State more in line with recent states's marijuana laws, which in some places allow for delivery and other things like tasting rooms at dispensaries.

House Bill 2019-1234 passed the state Senate with a vote of 20-14, and the state House with a vote of 38-27. Read the full text of the bill at this link.

The bill allows for "marijuana delivery permits" for licensed medical marijuana dispensaries and "transporters" to deliver their products to private residences once a day only. Deliveries are not allowed on college campuses, according to the Legislature.

Medical marijuana deliveries would be allowed starting Jan. 2, 2020, and recreational marijuana deliveries would be allowed at the same time the following year. The state's licensing authority would have control over this process.

RELATED | This may be why pot cafes haven't taken off in Denver

A $1 surcharge would be tacked on to each delivery made and would then be funneled back into local law enforcement for the sole purpose of administering local marijuana laws. 

Those licensed to make such deliveries would also be protected from criminal prosecution while on the job. 

RELATED: The 9NEWS guide to the 2019 Denver elections

Also in the bill: Delivery will only be allowed in whatever town or jurisdiction if that place allows for such deliveries (either by voter referendum or by the governing body — like a city council).

Small details about the bill — like how much a delivery may cost, what the licensing process is — still have to be nailed down.

SUGGESTED VIDEOS | Local stories from 9NEWS