The invention provides a production method for preparing a medicine for treating peptic ulcer by a periplaneta americana extract, comprising the following steps of: A, dissolving, B, diluting, C, filtering and D, filling. A method for extracting the periplaneta americana extract for treating peptic ulcer comprises the following steps of: a, crushing, b, soaking, c, extracting, d, primarily concentrating, e, degreasing and d, secondarily concentrating. In the extraction process, hydrolysis of active substances for treating peptic ulcer in the extract can be prevented, and the curative effect of the medicine can be improved due to reasonable control on each process parameter; by using the medicine prepared by the method, the cure rate of peptic ulcer can achieve more than 55-70%, and the total effective rate of the medicine can achieve 97-99%; and due to addition of glycerol in the medicine solution, the taste of the medicine solution can be improved, and the synergistic effect of the curative effects can be acted together with the periplaneta americana extract for treating peptic ulcer. The production method disclosed by the invention is short in the process route, and capable of reducing production cost and increasing production efficiency.