Background: Opioids are widely used as an analgesic for the treatment of moderate to severe pain. However, there are interindividual variabilities in opioid response. Current evidence suggests that these variabilities can be attributed to single nucleotide polymorphisms in genes involved in opioid pharmacodynamics and pharmacokinetics. Knowledge of these genetic factors through pharamacogenetic (PGx) testing can help clinicians to more consistently prescribe opioids that can provide patients with maximal clinical benefit and minimal risk of adverse effects. Aim: The research outlined in this literature review identifies variants involved in opioid PGx, which may be an important tool to achieving the goal of personalized pain management. Results: Cytochrome P450 ( CYP) 2D6, CYP3A4, CYP3A5, catechol-o-methyltransferase ( COMT), adenosine triphosphate binding cassette transporter B1 ( ABCB1), opioid receptor mu 1 ( OPRM1), and opioid receptor delta 1 ( OPRD1) are all important genes involved in opioid drug response, side effect profile and risk of dependence; these are important genetic factors that should be included in potential opioid PGx tests for pain management. Conclusions: Employing a PGx-guided strategy for prescribing opioids can improve response rate, reduce side effects and increase adherence to treatment plans for pain; more research is needed to explore opioid-related PGx factors for the development and validation of an opioid genetic panel. Optimal prescriptions could also provide healthcare payers with beneficial savings, while reducing the risk of propagating the current opioid crisis.