Tramadol, sold under the brand name Ultram among others,[1] is an opioid pain medication used to treat moderate to moderately severe pain.