Spiroplasma, known pathogens of arthropods and plants, are helical-shaped bacteria lacking the peptidoglycan layer. They swim by alternating between left- and right-handed cell helicity, which is driven by an internal structure called the ribbon. This system is unrelated to flagellar motility that is widespread in bacteria. The ribbon comprises the bacterial actin homolog MreB and fibril, the protein specific to Spiroplasma. Here, we isolated the ribbon and its core, the fibril filament, and using electron microscopy, found that the helicity of the ribbon and the cell is linked to the helicity of the fibril. Single particle analysis using the negative-staining method revealed that the three-dimensional structures of the fibril filament comprise a repeated ring structure twisting along the filament axis. Based on these observations, we propose a scheme for the helicity-switching mechanism in which the twists caused by the conformational changes in the fibril filament are accumulated, transmitted to the ribbon, and then propel the cells by rotating the cell body like a screw.