The invention relates to bromhexine or a salt thereof for treating acute or chronic pain in a patient. In particular, the invention relates to bromhexine or a salt thereof for use in treating nociceptive pain, neuropathic pain and or dysfunctional pain. The invention further relates to a topical pharmaceutical composition comprising bromhexine or a salt thereof and to a composition or a topical pharmaceutical composition comprising bromhexine or a salt thereof for treating acute or chronic pain.