The invention relates to pharmaceutical compositions comprising rhein or diacerein or salts or esters or prodrugs thereof, optionally with one or more pharmaceutically acceptable excipients. The invention also relates to the methods for preparing such compositions.