Among the many diseases, the harm of infectious diseases is undoubtedly the first in terms of the scope of the disease and the threat to humans. In addition, most infectious diseases were regarded as terminal illnesses in the early stage of the outbreak. For example, smallpox and plague in history have even chosen to isolate patients and abandon them to prevent the spread of infectious diseases due to the lack of protection and treatment methods. Therefore, in the treatment of infectious diseases, epidemic prevention is very important. Based on this, this article discusses the research of special medical clothing design for epidemic prevention based on mathematical model analysis, hoping to provide strong help and support for epidemic prevention. First of all, this article understands the application status of mathematical models in the medical field and clothing design industry through literature research. Then, according to the functional requirements of antiepidemic medical special clothing in terms of protection from virus invasion and infection by other contact methods, this article established an antiepidemic clothing quality evaluation index system. Then, this article designs a simulation penetration test of pathogenic bacteria to test the protective function of the antiepidemic clothing and uses mathematical models to analyze the molecular structure and physical properties of the antiepidemic clothing materials. Finally, this article builds an analytic hierarchy model for the quality evaluation of epidemic prevention clothing based on the principle of analytic hierarchy process, analyzes the simulated experimental data and predicts the service life of the epidemic prevention clothing according to the performance degradation so that medical staff can replace it in time. The experimental results show that with the aid of mathematical model analysis, the quality of the epidemic prevention clothing is higher than the previous antiepidemic clothing design in terms of epidemic prevention performance, and in addition to the disposable epidemic prevention clothing, the multiple-use epidemic prevention clothing is not serious in the epidemic. Under these circumstances, it can maintain the antiepidemic performance for more than 2 months.