Many factors can affect how long a cannabis detox lasts, including the frequency and volume of use. Cannabis contains many compounds, including tetrahydrocannabinol (THC) and cannabidiol (CBD).