Objective:To explore the characteristics of ZHANG Zhongjing's medication for constipation by analyzing the prescriptions of treatise on Shanghan Lun and Jingui Yaolue.Methods:the formulations that met the inclusion criteria were selected to establish a database,and the regularity of ZHANG Zhongjing's medication for constipation was analyzed by the methods of frequency,association rules and clustering.Results:In this study,11 prescriptions and 24 medicines were included.High-frequency use of drugs rhubarb,licorice,CortexMagnoliae Officinalis,fructus aurantii immaturus,mirabilis,ginger,jujube,white atractylodes rhizome,cassia twig,Chinese herbaceous peony.A total of 17 association rules(11 rules for 2 drugs and 6 rules for 3 drugs)were obtained by mining,including"Rhubarb+Mirabilite","fructus aurantii immaturus+Cortex Magnoliae Officinalis","Rhubarb+Cortex Magnoliae Officinalis","Rhubarb+Cortex Magnoliae Officinalis+fructus aurantii immaturus",and so on,and 7 groups of drug pair association group and 2 groups of multi-flavor drug association group were obtained.Network link analysis shows that there are 7 groups of strong link compatibility.Medium link compatibility 46 groups.Cluster analysis obtained 14 groups,including 8 single-taste drug groups,3 drug-pair polymerization groups and 3 multi-taste drug polymerization groups.Conclusions:ZHANG Zhongjing is not only good at using purgative medicine in treating constipation treating constipation,but also pays attention to invigorating qi and activating blood circulation,resolving the surface and regulating dampness,soothing the liver and regulating qi.