Disclosed are compositions for the treatment of emotional pain, physical pain, and insomnia comprising a compound comprising an opioid antagonist that treats pain by blocking Toll-like receptor 4 (TLR4). Examples of opioid antagonist include naltrexone and naloxone, and their use in the treatment, prevention, and reversal of pain.