Obesity is a growing public health concern that significantly impacts cognitive functions, including memory. This research explores how a high-fat diet affects short-term memory, employing the novel object recognition (NOR) test and NMR-based metabolomics to elucidate metabolic alterations in the brain and adipose tissue. The zebrafish were divided into two groups: one receiving a standard diet (SD) and the other a high-fat diet (HFD). Body mass index (BMI) was assessed every two weeks for a period of eight weeks. The NOR test was used to determine the discrimination index (DI) for evaluating the short-term memory of the SD and HFD groups. NMR spectroscopy was employed to investigate the metabolites in brain and adipose tissues, and multivariate data analysis was conducted to discover significant metabolic alterations. The high-fat diet (HFD) resulted in a significant increase in body mass index (BMI) (p