The present invention relates to pharmaceutical compositions comprising ketoconazole or a derivative thereof, one or more low melting point lipid excipients and a sufficient quantity of one or more high melting point lipid excipients to provide a liquid and a solid phase within said composition after heating to 35 DEG C for 18 hours more particularly to pharmaceutical compositions comprising ketoconazole or a derivative thereof and a lipid excipient, at least 85 % by weight of said lipid excipient consisting or one or more low melting point lipids and 1-15 % by weight of said lipid excipient consisting of one or more high melting point lipids, polymeric excipients are also described as are the use of these formulations in the treatment of metabolic syndrome and related conditions.