Disclosed herein are phosphate esters of noribogaine and dihydronoribogaine, and esters and pharmaceutically acceptable salts thereof, pharmaceutical compositions comprising such compounds, and the methods of their use, including in the treatment of addiction and/or pain.