Acupuncture and electroacupuncture (EA) as complementary and alternative medicine have been accepted worldwide mainly for the treatment of acute and chronic pain. Studies on the mechanisms of action have revealed that endogenous opioid peptides in the central nervous system play an essential role in mediating the analgesic effect of EA. Further studies have shown that different kinds of neuropeptides are released by EA with different frequencies. For example, EA of 2 Hz accelerates the release of enkephalin, beta-endorphin and endomorphin, while that of 100 Hz selectively increases the release of dynorphin. A combination of the two frequencies produces a simultaneous release of all four opioid peptides, resulting in a maximal therapeutic effect. This finding has been verified in clinical studies in patients with various kinds of chronic pain including low back pain and diabetic neuropathic pain.