Yes. Tramadol is an opioid painkiller used to treat moderate to moderately severe pain in adults. Tramadol is in a drug class known as opiate or narcotic analgesics. It works by altering the nervous system’s response to pain.