The set of seed coats and other organs that play a role in protecting the embryo and helping to disperse is called the diaspore. The pericarp secretes a gelatinous mixture of cell wall polysaccharides called mucilage in many species. The synthesis, secretion, and modification of the mucilage strain have extensively studied the structure and function of the plant cell wall. However, efforts to understand the best condition for mucilage extrusion have received less attention. In general, mucilage appears to supply the water needed for seed growth, protect the seeds in the intestines of animals when eaten, or affect the ability of the seeds to sink or float in the water and disperse the seeds. However, the main role of this study was to investigate the best condition of holding capacity of mucilage seeds of Plantago, Basil, and Asylum. The effect of polarity, grain number, species, and pH on mucilage extrusion was investigated. Data analysis showed that the number of grains had the least and the type of species had the most impact on the amount of mucilage produced. Overall, the results of the response surface design experiments confirmed the significant effect of pH, polarity, and grain species on the mucilage secretion process. The optimal conditions for the secretion of 10.3 mm of Plantago mucilage, 9.4 mm of Basil mucilage, and 2.9 mm of Asylum mucilage were pH=4 and polarity=15, pH=10 and polarity=15, pH=10 and polarity=15, respectively. Also, the water retention capacity of the mucilage of these seeds was investigated. The results showed that the outer shell of Plantago, Asylum, and Basil seeds have a water retention capacity of 56, 78, and 121 times their weight, respectively.