In this research, an industrially adaptable method is designed for antibacterial clothing. The essential oils of oregano and lavender were extracted using water vapor distillation, then they were spray-dried to form microcapsules. Comprehensive morphological analysis revealed the round shape of the microcapsules with smooth surfaces. The mean size of the optimum oregano and lavender microcapsules were 5.2 mu m and 2.2 mu m. The essential oils were detected in the polymeric matrix as peaks of microcapsules' infrared spectra resembled both oils and polymer. Thermal analyses showed that encapsulation delays the degradation of the essential oil. The microcapsules were applied to six different fabrics used in sports and leisurewear by exhaustion. Scanning electron microscopy images indicated the existence of capsules after 10 washes. The antibacterial properties of cotton fabrics were assessed against Escherichia coli and Staphylococcus aureus in terms of the oil and washings. The developed products can serve as a long-lasting, natural antibacterial alternative to other products on the market.