The present invention relates to shelf stable non-aqueous pharmaceutical compositions comprising a dehydrated therapeutically active polypeptide comprising 10-100 amino acids, at least one semi-polar protic organic solvent and which polypetide has been dehydrated at a target pH which is at least 1 pH unit distant from the pI. The composition can be used in methods of treating diabetes, hyperglycaemia and impaired glucose tolerance.