THC Factory

How the cannabis plant makes cannabinoids

Updated November 24, 2026

Nearly every cannabinoid starts as one molecule, CBGA. The plant builds it, then uses a set of enzymes to turn it into the major cannabinoids, all inside tiny glands on its flowers.

The factory: glandular trichomes

Cannabinoids and terpenes are made in glandular trichomes, the small resin glands that give cannabis flowers their frosty look. The head of each gland stores the resin, which keeps these compounds away from the plant’s own cells.

Step 1: building CBGA

The plant first makes olivetolic acid from hexanoyl-CoA and malonyl-CoA. An enzyme then joins olivetolic acid with geranyl pyrophosphate, a building block it also uses for terpenes. The result is CBGA.

Step 2: the synthases

Three enzymes, called synthases, decide what CBGA becomes. THCA synthase makes THCA, CBDA synthase makes CBDA, and CBCA synthase makes CBCA. A plant’s genetics determine which synthases it has, which is why hemp bred for CBD makes mostly CBDA and very little THCA.

The varin line

When the plant starts from divarinolic acid in place of olivetolic acid, the same steps produce CBGVA and then the varins: THCVA, CBDVA and CBCVA. Varins have a three-carbon side chain in place of five.

Step 3: after harvest

Heat, light and oxygen do the rest. Heat converts acids into neutral cannabinoids, oxygen turns THC into CBN, and light turns CBC into CBL. Active vs inactive cannabinoids

Terpenes, from the same factory

Terpenes come from geranyl pyrophosphate and its larger relatives, the same building blocks the plant uses for CBGA. Terpene synthase enzymes fold them into dozens of aroma molecules. The terpene table

Sources

  1. Tahir et al., The biosynthesis of the cannabinoids, J Cannabis Res (2021)
  2. Walsh, McKinney & Holmes, Minor cannabinoids: biosynthesis, molecular pharmacology and potential therapeutic uses, Front Pharmacol (2021)