Presented herein are methods for treatment or prevention of opioid induced constipation by administration of oral compositions of methylnaltrexone. The methods are based at least in part on the identification of subjects that are particularly susceptible to such treatment and optimal dosages of such oral compositions to treat or prevent opioid induced constipation and further to minimize the occurrence of adverse events associated with such treatment.