An opioid antagonist is a type of medication that blocks the effects of opioids in the body. Opioid antagonists bind to opioid receptors, preventing opioids from attaching and exerting their effects.