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. This evidence concerns the gene NFKB1 and keratitis.