The invention belongs to a technical field of medicines. Specifically, the invention relates to a nalmefene hydrochloride compound and a preparation method thereof. Nalmefene hydrochloride is a derivative of water-soluble naltrexone, and due to the chemical structure of 6-bit methylene of the nalmefene hydrochloride, the nalmefene hydrochloride has the characteristics of long action time, more medication ways, high bioavailability, less side effects, stronger physiological activity, easier biofilm penetration and the like, has different degrees of effects on keeping the normal functions of breathing, circulation, digestion, endocrine and nervous systems, and is applied to the antagonism of respiratory depression of narcotic analgesics, the treatment of heart failure and shock, the treatment of alcoholism and addiction, weight loss and the like. According to the invention, the drug stability is improved, and the medication safety is ensured.