The natural product cannabinol was synthesized using an intramolecular pyranone Diels-Alder cycloaddition reaction as the key step. This strategy is well adapted to access cannabinol analogues.