The present invention declares a pharmaceutical extract, composition that has effect to treat drug addiction, and its preparation method and quality control method. This extract is extracted from Radix Stephaniae Epigaeae. Starting medicine material of said composition is Radix Ginseng, Radix Astragali, Rhizoma Corydalis, Radix Angelicae Sinensis and Radix Ophiopogonis and said composition also can prepared by ethanol extract of Radix Ginseng, ethanol extract of Radix Angelicae Sinensis, total alkaloids of Radix Stephaniae Epigaeae, water extract of Radix Astragali and water extract of Radix Ophiopogonis. Quality control method of said pharmaceutical composition includes one of or several of identifications and content determinations. The present invention also declares the use of said pharmaceutical extract, composition in the preparation of a medicine to treat drug addiction.