Objective To investigate the mechanism of 2,3,5,4'⁃tetrahydroxyl diphenylethylene⁃2⁃O⁃glucoside (TSG) in improving learning and memory function in chronic aluminum⁃intoxicated rats based on the RhoA/Cofilin pathway. Methods Seventy rats were randomly divided into normal group, model group, RhoA inhibitor group, positive control group, TSG low⁃dose group, TSG medium⁃dose group, or TSG high⁃dose group, with 10 rats in each group. Rats in the normal group were fed normally, while rats in the remaining groups were given AlCl₃ aqueous solution ad libitum daily to establish a chronic aluminum⁃intoxicated rat model. After three months, rats in the RhoA inhibitor group were intraperitoneally injected with 30 mg/kg fasudil hydrochloride solution, rats in the positive control group received intragastric administration of 0.15 mg/kg huperzine A solution, and rats in the TSG low⁃, medium⁃, and high⁃dose groups received intragastric administration of 33 mg/kg, 100 mg/kg, and 300 mg/kg TSG solution, respectively, once daily for 30 days. After the intervention completed, spatial cognitive ability of rats in each group was assessed using the Morris water maze test. Synaptic ultrastructure in the hippocampal CA1 region was observed using transmission electron microscopy, and postsynaptic density (PSD) thickness was measured. The protein expressions of RhoA, Cofilin, synapsin (SYN), and postsynaptic density protein 95 (PSD⁃95) in rat hippocampal tissue were detected by Western blot. Results (1) On day 3 of the Morris water maze test, the escape latency was longer in the model group and TSG low⁃dose group than in the normal group, whereas it was shorter in the RhoA inhibitor group, positive control group, and TSG high⁃dose group than in the model group, and it was shorter in the positive control group and TSG high⁃dose group than in the TSG low⁃dose group (P<0.05). On day 4 of training, the escape latency was longer in the model group, TSG low⁃dose group, and TSG medium⁃dose group than in the normal group, whereas it was shorter in the RhoA inhibitor group, positive control group, TSG medium⁃dose group, and TSG high⁃dose group than in the model group, and it was shorter in the positive control group and TSG high⁃dose group than in the TSG low⁃dose group (P<0.05). (2) Under transmission electron microscopy, severe damage to synaptic ultrastructure was observed in the model group. Compared with the model group, the synaptic ultrastructure damage in the RhoA inhibitor group, positive control group, and TSG high⁃dose group was ameliorated to varying degrees. Compared with the normal group, PSD thickness was decreased in the remaining six groups. Compared with the model group, PSD thickness was increased in the RhoA inhibitor group, positive control group, and TSG high⁃dose group. Compared with the RhoA inhibitor group, PSD thickness was decreased in the positive control group, TSG low⁃dose group, TSG medium⁃dose group, and TSG high⁃dose group, with PSD thickness in the TSG low⁃dose group and TSG medium⁃dose group being lower than that in the positive control group and TSG high⁃dose group in rat hippocampal tissue (P<0.05). (3) Compared with the normal group, the protein expressions of SYN and PSD⁃95 were decreased in rat hippocampal tissue of the model group. Compared with the TSG high⁃dose group, the protein expressions of SYN and PSD⁃95 in rat hippocampal tissue were decreased in the model group, RhoA inhibitor group, and TSG low⁃dose group (P<0.05). There was no statistically significant difference in RhoA protein expression between the seven groups (P>0.05). Compared with the normal group, model group, and TSG low⁃dose group, the protein expression of Cofilin in hippocampal tissue of rats was elevated in the TSG medium⁃dose group and TSG high⁃dose group (P<0.05). Conclusion High⁃dose TSG can significantly ameliorate the morphological changes of hippocampal synaptic ultrastructure in rats with chronic aluminum intoxication. It may improve the learning and memory ability of chronic aluminum⁃intoxicated rats by influencing the expression of SYN and PSD⁃95 proteins in the hippocampal tissue through the regulation of related protein expressions in the RhoA/Cofilin signaling pathway.