The invention provides a production method for producing a medicine for treating hepatitis B by a periplaneta americana extract, comprising the following steps of: A, mixing, and B, preparing the medicine. A method for extracting the periplaneta americana extract for treating hepatitis B comprises the following steps of: a, inactivating and crushing, b, extracting, c, primarily concentrating, d, degreasing and adsorbing, e, eluting, f, secondarily concentrating and g, drying and crushing. The medicine prepared by adopting the method can effectively control the hydrolysis of active ingredients for generating an inhibition effect on hepatitis B and increase the cure rate of hepatitis B, has an extraction rate of 3-5% for the active ingredients for hepatitis B, and has a total effective rate of 80-95% for the HBeAg (hepatitis Be antigen) negative conversion ratio and the HBV-DNA (hepatitis B virus-deoxyribose nucleic acid) negative conversion ratio of patients with chronic hepatitis B and carriers with hepatitis B virus. Via the method, the physical properties of the medicine are improved and the curative effect of the medicine is enhanced; the own smell of the medicine is effectively controlled, and the patients can conveniently take the medicine; simultaneously, harmful allergens in the medicine can be effectively reduced; and the method is low in cost and high in safety.