BackgroundFollowing exposure to traumatic stress, women are twice as likely as men to develop mood disorders. Yet, individual responses to such stress vary, with some people developing stress-induced psychopathologies while others exhibit resilience. The factors influencing sex-related disparities in affective disorders as well as variations in resilience remain unclear; however, emerging evidence suggests differences in the gut microbiota play a role. In this study, using the single prolonged stress (SPS) model of post-traumatic stress disorder, we investigated pre- and post-existing differences in microbial composition, functionality, and metabolites that affect stress susceptibility or resilience in each sex.MethodsMale and female Sprague–Dawley rats were randomly assigned to control or SPS groups. Two weeks following SPS, the animals were exposed to a battery of behavioral tests and decapitated a day later. Based on their anxiety index, they were further categorized as SPS-resilient (SPS-R) or SPS-susceptible (SPS-S). On the day of dissection, cecum, and selected brain tissues were isolated. Stool samples were collected before and after SPS, whereas urine samples were taken before and 30 min into the SPS.ResultsBefore SPS exposure, the sympathoadrenal axis exhibited alterations within male subgroups only. Expression of tight junction protein claudin-5 was lower in brain of SPS-S males, but higher in SPS-R females following SPS. Across the study, alpha diversity remained consistently lower in males compared to females. Beta diversity revealed distinct separations between male and female susceptible groups before SPS, with this separation becoming evident in the resilient groups following SPS. At the genus level, Lactobacillus, Lachnospiraceae_Incertae_Sedis, and Barnesiella exhibited sex-specific alterations, displaying opposing abundances in each sex. Additionally, sex-specific changes were observed in microbial predictive functionality and targeted functional modules both before and after SPS. Alterations in the microbial short-chain fatty acids (SCFAs), were also observed, with major and minor SCFAs being lower in SPS-susceptible males whereas branched-chain SCFAs being higher in SPS-susceptible females.ConclusionThis study highlights distinct pre- and post-trauma differences in microbial composition, functionality, and metabolites, associated with stress resilience in male and female rats. The findings underscore the importance of developing sex-specific therapeutic strategies to effectively address stress-related disorders.HighlightsSPS model induces divergent anxiety and social behavioral responses to traumatic stress in both male and female rodents.SPS-resilient females displayed less anxiety-like behavior and initiated more interactions towards a juvenile rat than SPS-resilient males.Sex-specific pre-existing and SPS-induced differences in the gut microbial composition and predictive functionality were observed in susceptible and resilient rats.SPS-resilient males displayed elevated cecal acetate levels, whereas SPS-susceptible females exhibited heightened branched-chain SCFAs.