Is tramadol a risky pain medication?

Tramadol is a unique prescription pain medicine similar to opioids. Research finds people taking it had a higher risk of dying than those taking other pain medicines. But a confounding factor may make tramadol seem more risky than it really is.