Fluorosis is a serious global public health problem. Interestingly, so far, there is no specific drug treatment for the treatment of fluorosis. In this paper, the potential mechanisms of 35 ferroptosis-related genes in U87 glial cells exposed to fluoride were explored by bioinformatics methods. Significantly, these genes are involved in oxidative stress, ferroptosis, and decanoate CoA ligase activity. Ten pivotal genes were found by the Maximal Clique Centrality (MCC) algorithm. Furthermore, according to the Connectivity Map (CMap) and the Comparative Toxicogenomics Database (CTD), 10 possible drugs for fluorosis were predicted and screened, and a drug target ferroptosis-related gene network was constructed. Molecular docking was used to study the interaction between small molecule compounds and target proteins. Molecular dynamics (MD) simulation results show that the structure of the Celestrol–HMOX1 composite is stable and the docking effect is the best. In general, Celastrol and LDN-193189 may target ferroptosis-related genes to alleviate the symptoms of fluorosis, which may be effective candidate drugs for the treatment of fluorosis.