Objective To provide references for research and development of new TCM and clinical application by analyzing the medication and compatibility rules of compound TCM patents for treatment of depression. Methods Log in to the China Patent Announcement website, search for the patent data of TCM compound for treating depression, establish a database using TCM Auxiliary Inheritance Platform (V2.5), and conduct frequency statistics, association rules, complex network, entropy clustering method. Results Totally 343 compound TCM patents from 2003 to 2018 for the treatment of viral myocarditis were included, involving 685 kinds of Chinese materia medica, The most common traditional Chinese medicine was Bupleurum Chinense. The common traditional Chinese medicines are mainly heart and liver meridian tropism an be used to tranquilization, tonifying qi, activating blood and regulating qi. The most common medical combination was White Peony Root-Bupleurum Chinense. The most common triple combination was Angelica sinensis-White Peony Root- Bupleurum Chinense. Confidence-based association rule was “Glycyrrhiza, Angelica Sinensis, Poria Cocos→Bupleurum Chinense”.The core Chinese materia medica were Bupleurum Chinense, White Peony Root, Radix curcumae,Poria Cocos,Glycyrrhiza. We found 20 drug combinations and 10 new prescription by the way of entropy clustering method. Conclusion In TCM patents for treatment of depression, the most common syndrome was deficiency of liver-stagnation and spleen-deficiency syndrome, mainly using treatment of soothing liver and strengthening spleen, meanwhile, flexibly using medicines for tranquilization, tonifying qi, regulating qi , activating blood , eliminating dampness and clearing heat according to symptoms, and the main prescription is“Ease Powder”, adding the medicines whose channel tropism are heart and liver.