Formulation of the vaccine with a nucleolipid TLR7/8 agonist enhanced its immunogenicity and efficacy in preventing fentanyl-induced respiratory depression, analgesia, bradycardia, and self-administration in either rats or mini-pigs. Here, TLR7 is linked to Respiratory insufficiency due to muscle weakness.