An opioid overdose occurs when a person takes a dose of opioids that is too high for their body to handle, leading to potentially life-threatening symptoms. Opioids are a class of drugs that include prescription pain relievers, synthetic opioids like fentanyl, and illegal drugs such as heroin.