We show that HFD intake decreased alpha diversity and altered the community composition of the gut microbiome in association with obesity, increased brainstem tph2, htr1a and slc6a4 mRNA expression, including in the caudal part of the dorsomedial dorsal raphe nucleus (cDRD), a subregion previously associated with stress- and anxiety-related behavioral responses, and, finally, increased anxiety-related defensive behavioral responses. Here, SLC6A4 is linked to obesity disorder.