Narcan (naloxone) works by blocking opioid receptors in the brain, rapidly reversing the life-threatening effects of an opioid overdose. It can restore normal breathing and consciousness within 2-3 minutes when someone has overdosed on heroin, fentanyl, prescription painkillers, or other opioids. Narcan is a temporary antidote that lasts 30-90 minutes.