Some special needs of patients could not be met by the commercially available medical products, compounding is an important practice of pharmacists because of their pharmaceutical knowledge and preparation skills. We reviewed the related laws and regulations of European Union developed in recent years in order to formulate a proposal for the regulations in Taiwan. Through appropriate regulations and pharmaceutical knowledge, the quality and safety of hospital pharmacy compounding can be ensured, and these compounding can fulfill the special medical needs for many patients.