In summary, we proved that thymol played a protective part in A. fumigatus keratitis by cutting down inflammatory cells aggregation, downregulating the TLR4/ MyD88/ NF-kB/ IL-1β signal expression and reducing necroptosis and pyroptosis. The gene discussed is MYD88; the disease is keratitis.