Tramadol is used for the short-term relief of moderate to severe pain. It should only be used when other forms of non-opioid pain relief have not been successful in managing pain or are not tolerated. Tramadol is not usually recommended for the treatment of chronic (long-term) pain.