The invention relates to a process for producing a uterine contraction medicament which uses carbetocin as a main drug. The process comprises a synthesis process and a preparation process. The technical scheme of solid-phase synthesis comprises the following steps of: 1, carrying out deprotection by using amino resin as a vector; 2, connecting carboxyl of Fmoc-Gly-OH with amino of the resin to obtain Fmoc-Gly-amino resin; 3, carrying out solid-phase synthesis sequentially to form sequence residual protection amino acid; 4, removing side-chain protecting groups of cysteine; 5, connecting brombutyl acid onto sulfydryl of cysteine; 6, removing terminal amino Fmoc protection; 7, carrying out solid-phase cyclization; 8, cutting to obtain carbetocin crude peptides; and 9, refining to obtain a carbetocin pure product. The process has the characteristics of simple reaction operation, easy post treatment, high yield, low cost and the like. The invention also discloses a process for preparing a carbetocin freeze-dried powder injection which mainly comprises the following material compositions: carbetocin serving as the main drug, an excipient, a pH (potential of hydrogen) value regulator and water for injection. The powder injection has the advantages of high dispersion degree, high stability and the like.