The present invention relates to a method of providing a patient with controlled release of a phenolic opioid using a prodrug capable, upon enzymatic activation, of releasing the phenolic opioid through intra-molecular cyclization leading to formation of a cyclic urea, carbamate or thiocarbamate.