Cronobacter sakazakii (C. sakazakii), a food-borne pathogen, can infect neonates, elderly and immunocompromised populations with a high infection and mortality rate. However, the specific molecular mechanism of its motility, biofilm formation, cell adhesion, and desiccation resistance remains unclear, and flagellum hook associated protein (FlgK), a main component of the flagellar complex, may be an important determinant of its virulence and desiccation resistance. In this study, the flgK mutant strain (ΔflgK) was constructed using the homologous recombination method, and the cpflgK complementary strain was obtained by gene complementation, followed by analysis of the difference between the wild type (WT), mutant, and complementary strains in mobility, biofilm formation, cell adhesion, and desiccation resistance. Results indicated that flgK gene played a positive role in motility and invasion, with no significant effect on biofilm formation. Interestingly, flagellar assembly gene deletion showed increased resistance of C. sakazakii to dehydration. The mechanism underlying the negative correlation of flgK gene with dehydration resistance was further investigated by using the high-throughput sequencing technology to compare the gene expression between WT and ΔflgK strains after drying. The results revealed up-regulation in the expression of 54 genes, including genes involved in osmosis and formate dehydrogenase, while down-regulation in the expression of 50 genes, including genes involved in flagellum hook and nitrate reductase. qRT-PCR analysis of the RNA-seq data further indicated that the flgK gene played an important role in the environmental stress resistance of C. sakazakii by up-regulating the formate dehydrogenase, betaine synthesis, and arginine deiminase pathways, due to dynamic proton imbalance caused by lack of flagella. This study facilitates our understanding of the roles of flgK in motion-related functions and the molecular mechanism of desiccation resistance in C. sakazakii.