The effect of single dietary fibre (DF) on lowering uric acid (UA) level has been reported in the literature. However, the potential protective mechanism of DF against potassium oxybate-induced hyperuricaemia (HUA), as modelled by prophylactic administration, remains unclear. The data demonstrate that DF significantly decreased serum and cerebral tissue UA concentrations, inhibited xanthine oxidase expression and activity in the liver and reduced levels of creatinine and urea nitrogen in the serum. Additionally, it mitigated the deposition of amyloid-β in cerebral tissue. Correlation analysis showed that DF modulated the Toll-like receptor 4/NF-κB signalling pathway, attenuating oxidative stress and inflammatory responses in HUA mice. Additionally, DF helps to maintain the composition of the gut microbiota, reducing harmful Desulfovibrio and enriching beneficial Akkermansia and Ruminococcus populations. The results of the faecal metabolomics analysis indicate that DF facilitates the regulation of metabolic pathways involved in oxidative stress and inflammation. These pathways include pyrimidine metabolism, tryptophan metabolism, nucleotide metabolism and vitamin B6 metabolism. Additionally, the study found that DF has a preventive effect on anxiety-like behaviour induced by HUA. In summary, DF shows promise in mitigating HUA and cognitive deficits, primarily by modulating gut microbiota and metabolites.