Background: This systematic review summarizes the impact of pharmacogenetics on the effect and safety of non-steroidal anti-inflammatory drugs (NSAIDs) and antidepressants when used for pain treatment. Methods: A systematic literature search was performed according to the preferred reporting items for systematic reviews and meta-analysis (PRISMA) guidelines regarding the human in vivo efficacy and safety of NSAIDs and antidepressants in pain treatment that take pharmacogenetic parameters into consideration. Studies were collected from PubMed, Scopus, and Web of Science up to the cutoff date 18 October 2021. Results: Twenty-five articles out of the 6547 initially detected publications were identified. Relevant medication-gene interactions we...