The supply chain of analgesic drugs has many circulation links and trading levels, and the trading channels are complex; Information asymmetry and low logistics efficiency; Wholesale links account for a large proportion of costs. Too many trading links and complicated trading channels make the trading information asymmetric, opaque and disorderly, which will inevitably lead to the loss of efficiency and benefit in the circulation process. In this paper, the application of blockchain technology in the design of analgesic drug supply chain is studied. The analgesic drug data management center is maintained by the pharmaceutical enterprises themselves or the third party, which is mainly responsible for distributing the unique identification code of drugs, backing up all records of the whole cycle of drug production, storage, circulation and sales, and realizing the two-way traceability function of drugs. In the production process, pharmaceutical enterprises attach electronic labels from single products and outer packaging boxes to realize the traceability and anti-counterfeiting of drugs throughout their life cycle. Correspondingly, it also integrates the advantages and disadvantages of self-management and outsourcing. At this stage, enterprises can choose to subcontract non-core logistics business first, so that enterprises can focus on their core business and avoid wasting too much money and energy in logistics.