This article was updated on July 6, 2017, and originally published on Feb. 14, 2017.

Marijuana legalization is sparking interest in marijuana stocks, so if you're interested in how to profit from cannabis, you're not alone. Ultimately, there are likely to be more losing marijuana stocks than winning marijuana stocks, but nevertheless, the opportunity associated with fast-growing marijuana markets is undeniably interesting.

According to GreenWave Advisors, LLC, the U.S. marijuana market could be worth tens of billions of dollars in five years, and these five states could offer the biggest payoff. Read on to learn just how big the marijuana market may be in California, Washington, Pennsylvania, Colorado, and Michigan in 2021.

A young woman takes a drag from a marijuana joint.

IMAGE SOURCE: GETTY IMAGES.

Marijuana's march to legalization

California became the first state to approve medical marijuana in 1996, and today, 28 states have legalized medical marijuana, including Arkansas, Florida, and North Dakota, which passed medical cannabis ballot initiatives last November.

The recreational-marijuana movement hasn't won as much support (yet) as medical marijuana, but approvals in Colorado and Washington in 2012 have been followed by green lights in Alaska, Oregon, California, Maine, Massachusetts, and Nevada.

Polls show that support for pro-pot laws is growing, and that suggests people in even more states will vote on marijuana laws in the future. According to Gallup, Americans have never been more in favor of legalizing marijuana than they are now, and approval rates for medical marijuana are even higher: In 2015, a CBS News poll found that 84% of Americans want to see medical marijuana become legal nationwide. Buoyed by widespread support, marijuana advocates are already preparing to make their case for passing recreational-marijuana laws in Oklahoma, Missouri, and Texas.

It's anyone's guess if efforts in those states will succeed, but one thing is clear: states that have passed pro-pot laws are bringing in significant revenue from marijuana licenses, fees, and taxes. For instance, Colorado's marijuana sales exceeded $1 billion last year, and that resulted in $200 million in tax revenue that's being spent on education.

Big-time projections

Colorado's a marijuana success story, but GreenWave Advisors' Matt Karnes thinks Colorado will only rank as the nation's fourth-largest market in a few years. The following chart shows the five states that Karnes believes will be the biggest marijuana markets in 2021, with California topping the list:

A chart showing the estimated size of the marijuana market in California, Washington, Pennsylvania, Colorado, and Michigan.

Data source: GreenWave Advisors, LLC. Chart by author.

It makes sense that California ranks highest because it's home to the country's biggest state population, it just legalized recreational marijuana, and its mature medical-marijuana market means it's got the infrastructure in place for the recreational market to hit the ground running. California's Emerald Triangle is the country's largest marijuana-producing region, and roughly 1,000 medical-marijuana dispensaries are already open for business statewide. In 2015, Arcview Group estimates that California's $2.7 billion in medical-marijuana sales accounted for 62% of all medical-marijuana sales in the U.S. Karnes of GreenWave Advisors thinks that by leveraging existing production and dispensaries, California's market could be worth $7.7 billion in 2021.

Washington's marijuana market will be much smaller than California's, but its marijuana market is growing quickly, and that could make it the second-biggest market in five years. In April, Washington reported that sales of marijuana products, including edibles, extracts, and marijuana for inhalation, totaled $119 million.  At that rate, Washington should have no trouble reaching Karnes' $1.9 billion sales forecast in 2021.

Although a relative newcomer to marijuana legalization, Pennsylvania could also become a major market soon. Medical marijuana got a green light in the state last year, and it could be one of the next states to consider recreational marijuana. Hundreds of applicants competed for 12 grower-processor medical-marijuana permits in Pennsylvania. If that's any indication, then recreational marijuana laws could pass, putting this market on its way to $1.8 billion in sales in 2021.

Colorado and Michigan round out the top states for marijuana companies to target. Karnes expects Colorado's market to reach $1.7 billion in 2021, and if Michigan passes recreational marijuana in 2018, then its market could total $1.3 billion in 2021. In 2008, 63% of Michigan voters passed medical marijuana, and that market now serves more than 200,000 patients. While pro-pot advocates fell shy of getting recreational marijuana on Michigan's ballot last year, marijuana advocates are hard at work on getting recreational marijuana on the ballot next year.

Top marijuana stocks to buy

Sales in these five states could propel the U.S. marijuana market to $30 billion in 2021, according to GreenWave Advisors, and if marijuana secures national approval, Cowen & Co. estimates sales could soar to $50 billion by 2026.

Obviously, there's a lot of money up for grabs. At first, most of that money is likely to go to small and mid-size private companies, rather than publicly traded companies. So far, most publicly traded marijuana stocks are trading via the unregulated over-the-counter market, or pink sheets. Listing on that market allows companies to avoid the strict listing requirements of major stock exchanges like the New York Stock Exchange, and as a result, investors in over-the-counter stocks run the very real risk of falling victim to fraud.

A better approach might be to focus on Canadian marijuana stocks like Canopy Growth (WEED) (CGC 1.28%) and Aphria (NASDAQOTH: APHQF). Both companies generate millions of dollars per quarter in revenue, and each is a major player in Canada's national medical-marijuana market. If Canada follows through on plans to create a national market for recreational marijuana, these two companies could be winners.

Recently, Canopy Growth acquired competitor Mettrum to solidify its position as Canada's largest medical-marijuana company. Also, it raised 60 million Canadian dollars via a stock offering in December to finance its expansion plans and conduct market research. Canopy Growth's Tweed is one of Canada's most popular brands, and a partnership with Snoop Dogg on Leafs by Snoop could offer intriguing expansion opportunities in recreational marijuana markets. It's also exporting medical marijuana globally, beginning with Germany and Brazil.

Another way to play the marijuana market is to buy shares in drugmakers developing medicine derived from marijuana's unique chemical compounds, cannabinoids.

The biggest of these drugmakers is GW Pharmaceuticals (GWPH), a $3 billion-market-cap company researching medicines based on cannabidiol (CBD), for epilepsy and other indications. Management reported results from three large scientifically controlled trials last year that show that its CBD drug, Epidiolex, can reduce monthly seizures in patients with rare forms of childhood epilepsy. GW Pharmaceuticals plans to file for approval of Epidiolex by the U.S. Food and Drug Administration this year, and if it's approved, then it could become available throughout the U.S. next year.

Another cannabis-drug maker to watch is Corbus Pharmaceuticals Holdings (CRBP 7.42%). Its research isn't as far along as GW Pharmaceuticals' is, but Corbus Pharmaceuticals is making progress. The company is evaluating an oral endocannabinoid-mimetic drug called Resunab that may help patients with systemic sclerosis (or scleroderma, a chronic autoimmune rheumatic disease) and cystic fibrosis. Recently, management reported mid-stage trial results in systemic sclerosis, and results in cystic fibrosis should be available soon.

While those marijuana stocks could be winners, they're all incredibly risky, and that means they aren't suitable for most investors. Instead, it may be best to focus on other profit-friendly investments that might not be as risky, at least until these companies get a bit more profit under their belts.