In the mammalian intestine, flagellar motility can provide microbes competitive advantage, but also threatens the spatial segregation established by the host at the epithelial surface. Unlike microbicidal defensins, previous studies indicated that the protective activities of human α-defensin 6 (HD6), a peptide secreted by Paneth cells of the small intestine, resides in its remarkable ability to bind microbial surface proteins and self-assemble into protective fibers and nets. Given its ability to bind flagellin, we proposed that HD6 might be an effective inhibitor of bacterial motility. Here, we utilized advanced automated live cell fluorescence imaging to assess the effects of HD6 on actively swimming Salmonella enterica in real time. We found that HD6 was able to effectively restrict flagellar motility of individual bacteria. Flagellin-specific antibody, a classic inhibitor of flagellar motility that utilizes a mechanism of agglutination, lost its activity at low bacterial densities, whereas HD6 activity was not diminished. A single amino acid variant of HD6 that was able to bind flagellin, but not self-assemble, lost ability to inhibit flagellar motility. Together, these results suggest a specialized role of HD6 self-assembly into polymers in targeting and restricting flagellar motility.