The present invention provides a pharmaceutical composition for the sustained release of C-peptide. The composition is in the form of a gel containing C-peptide. The gel formation is achieved by the adjustment of pH of the composition and/or by addition of divalent metal ions. The composition does not include any other gel-forming agents. Methods for producing the composition, medical uses of the composition and products containing two or more gel compositions as a combined preparation are also encompassed.