The present invention is aimed at providing an opioid antagonist compound and preparation method thereof, and its medical use. The medical use for opioid antagonists such as the compound of formula (I) (shown below) include complete or partial reversal of narcotic depression, including respiratory depression, induced by opioids including natural and synthetic narcotics, such as heroin, fentanyl, oxycodone, hydrocodone, morphine, propoxyphene, methadone and certain narcotic-antagonist analgesics, such as nalbuphine, pentazocine and butorphanol. An opioid antagonist may also be useful as an adjunctive agent to increase blood pressure in the management of septic shock. Further, opioid antagonists also have been shown to reduce the craving for alcohol.