The invention belongs to the technical field of pharmaceutical chemistry, relates to a peptide preparation method and particularly relates to a method for preparing teriparatide. The method comprises the steps of (1) sequentially coupling amino acids on a solid-phase carrier, starting from a carbon terminal, according to the amino acid sequence of teriparatide by adopting a solid-phase synthesis method, adopting Boc-Ser-OH as a raw material when 17-th serine is coupled, enabling free hydroxyl of the 17-th serine and carboxyl of 16-th asparagine to be subjected to ester condensation, and then, sequentially coupling the other amino acids; (2) carrying out pyrolysis to obtain crude peptide, and then, converting an ester bond between the 17-th serine and the 16-th asparagine into an amide bond, thereby obtaining a crude peptide solution of teriparatide. The method for preparing teriparatide, provided by the invention, is novel, the purity of teriparatide is improved, the operation is simple, convenient and practical, the total yield is high, the purity is high, the cost is low, and the industrial production is facilitated.