Acute pain and chronic pain brings serious physical and psychological harm to the patients and increase the economic burden on the families of the patients. While the chemicals used to relieve pain can be therapeutic, they can also have side effects. Compared with chemical drugs, botanical drugs often have less or no adverse reactions, and have good pharmacological activity, such as traditional Chinese medicine. Ancient analgesic prescription database (AAPD) consists of the extracts of medicinal plants with analgesic and anti-inflammatory affects. The plants come from all over the world, including China, the Africa, the European, the Middle East, Americas and so on. The roots, leaves, stems, fruits and seeds of the plants are extracted and separated with organic reagents such as ethanol, methanol, chloroform and ethyl acetate to obtain the extracts of various medicinal plants. The anti-inflammatory and analgesic activity of these extracts was tested by hot plate test, formalin test and other mouse pain models, and the effective dose and the corresponding pain inhibition rate were obtained. We also present the corresponding literature source of these plants to visitors in the form of DOI web sites for your reading and research. The prescription can be made of one single plant or a combination of various plants. For example, traditional Chinese medicine are often consisted of not only one plant. The database will show you how these plants were discovered and tested with their analgesic and anti-inflammatory effects, which will get you some ideas to do your study in the field of pain research.