Background and objective: Postoperative delirium (POD) is a frequent and severe complication among elderly patients undergoing hip fracture surgery, but its pathogenic mechanisms remain understood. This study analyzed gut microbiota composition in elderly hip fracture patients who developed POD, aiming to explore preliminary microbial associations for future hypothesis-driven research. Materials and methods: A 1:1:1 case-control study enrolled 30 elderly patients undergoing hip fracture surgery under general anesthesia: 10 with POD, 10 without POD, and 10 healthy elderly controls. Fecal specimens were analyzed using 16S rRNA gene sequencing. Alpha diversity, beta diversity, taxonomic relative abundance, and LEfSe analysis were evaluated. Results: No significant intergroup differences were found in alpha diversity indices (P>0.05), although Chao1 and Shannon indices were relatively higher in controls. Beta diversity differed significantly among the three groups (PERMANOVA, P = 0.001), but not between POD and non-POD groups (P>0.05), suggesting the overall difference was mainly driven by the contrast between healthy controls and surgical patients. Controls had markedly higher relative abundances of Lactobacillus and Pseudobutyribrio than the two surgical groups, though this may partly reflect fracture, surgery, and hospitalization rather than POD-specific dysbiosis. Compared with the non-POD group, the POD group showed significant enrichment in Erysipelotrichales, Erysipelotrichaceae, Lachnospiraceae, and Atopobium, while the non-POD group had elevated Verrucomicrobiaceae and Lactobacillaceae. LEfSe identified Lactobacillus, Vibrionaceae, and Shigella as key differential taxa in the non-POD group, whereas Lachnospiraceae, Erysipelotrichaceae, Collinsella, and Helicobacter were closely correlated with the POD group. Discussion and implications: Alpha diversity did not differ significantly among the three groups, whereas beta diversity differed markedly. The POD group exhibited decreased relative abundance of taxa generally regarded as commensal (e.g., Lactobacillus) and increased abundance of taxa previously associated with inflammation (e.g., Erysipelotrichaceae, Collinsella), while healthy controls showed higher commensal taxa. However, 16S rRNA sequencing provides taxonomic information only and cannot directly demonstrate microbial function or inflammatory activity. These findings suggest that gut dysbiosis may contribute to POD pathogenesis through the gut-brain axis, offering preliminary insights for future hypothesis-driven research. The main limitation is the relatively small sample size, and further validation in larger cohorts is warranted.