Coffee and weed have a lot in common. They’re both good first thing in the morning. When heated or cooled to the right temperatures, they both produce some pretty killer extracts. But it turns out they also have something else in common, and it’s some scientific shit.

Both cannabis and coffee both interact with endocannabinoid system (ECS) in the nervous system, which helps regulate all kinds of things including mood, memory, pain, appetite, and fertility.

Interestingly, a new study published this week in the Journal of Internal Medicine claims that coffee and weed actually act on endocannabinoids in opposite ways. While cannabis increases the level of metabolites in the ECS, coffee drinking decreases that level. That means they could have interacting effects, according to Marilyn Cornelis, who headed the new study and serves as an assistant professor of preventative medicine at Northwestern University’s Feinberg School of Medicine.

“What we’re seeing here is that the systems that are impacted by coffee and cannabis overlap,”  Cornelis told Live Science.

Mixing your pot with your coffee pot is nothing all that novel to stoners. Not only are many chemically dependent on both to get through their day, many a business person has tried to combine interest in both to create a super product. For example, there are a few companies who make cannabis-infused K cups, at least one in Washington and another in Nevada. A coffeeshop in New York even serves their joe pre-infused with CBD.

But Cornelis’s study shows weed and java have more in common than just being awesome. Taking them together might be something akin to a softcore speedball. But Cornelis is not sure just how caffeine, THC, CBD, and all the other chemical compounds of the two substances interact. In the study it was found that coffee affects 115 different kinds of metabolites, thirty-four of which haven’t even been classified by name yet.

Photo via Flickr user brian