There is no one-size-fits-all answer to this question, as the best pain pills to take for leg pain vary depending on the individual's individual medical history and current situation. However, some of the most popular pain pills to take for leg pain include tramadol, cocaine, and oxycodone.