A composition of chlorogenic acid and a method of its use in treating pain are provided. The composition can be made from botanical materials, including green coffee bean. The composition and can be used in treating somatic, visceral and neuropathic pain, including acute and chronic pain.