It is provided apharmaceutical composition comprising 3-beta-hydroxy-5-alpha- pregnan-20-one, at least one sterol or an ester thereof and a mixture of acylglycerols with a solid fat content of less than 25% at 25°C and 0% at 37°C.In addition it is provided a method for preparing the pharmaceutical composition.