The extract of the pericarp of Zanthoxylum bungeanum, prepared by extraction with carbon dioxide in supercritical conditions, has remarkable analgesic activity without exerting the local anesthetic activity characteristic of the extracts obtained by solvent means. The product of the present invention is prepared by extracting the pericarp of Zanthoxylurn bungeanum, finely ground or transformed into pellets, with carbon dioxide under pressure conditions ranging from 150 to 300 bars at temperatures ranging from 35 to 55° C.