A gel composition includes: an alkaloid compound, or a cannabinoid compound, or both an alkaloid compound and a cannabinoid compound; glycerol; a viscosifying agent; a hydrogenbond crosslinking gelling agent; and an ionic crosslinking gelling agent.La présente invention concerne une composition de gel qui comprend : un composé alcaloïde, ou un composé cannabinoïde, ou à la fois un composé alcaloïde et un composé cannabinoïde ; du glycérol ; un agent améliorant l'indice de viscosité ; un agent gélifiant de réticulation par liaison hydrogène ; et un agent gélifiant de réticulation ionique.