This article focuses on comparing the characteristics of cotton fabric dyed with Diospyros mollis extract (DME) solution and that of cotton fabric dyed with the reactive dye. The parameters of the cotton fabric after dyeing with both types of dyes were assessed, including color strength (K/S), structural morphology, infrared spectrum, antibacterial properties, UV resistance, color fastness to washing, rubbing, light, moisture absorption, breathability, and wastewater indices. The obtained results show that the K/S value of cotton fabric dyed with DME solution is slightly lower than that of cotton fabric dyed with the reactive dye, 18.52 and 19.36, respectively. The cotton fabric dyed with the reactive dye does not exhibit antibacterial activity against Escherichia coli and Staphylococcus aureus, whereas the antibacterial effectiveness against these bacteria for cotton fabric dyed with DME solution is 99.99 %. The UV protection capability of cotton fabric dyed with DME solution is superior to cotton fabric dyed with the reactive dye. The BOD/COD ratio of wastewater from the dyeing process with DME is higher than that of the reactive dye, with values of 0.70 and 0.32, respectively. The findings of this study indicate the superior ability of using DME solution as compared to the reactive dye, which is promising as a natural dye for fabric in medical applications.