This paper proposes a new type of torsional vibration sensor based on fiber Bragg grating (FBG). The sensor has two mass ball optical fiber systems. The optical fiber is directly treated as an elastomer and a mass ball is fixed in the middle of the fiber in each mass ball fiber system, which is advantageously small, lightweight, and has anti-electromagnetic interference properties. The torsional vibration signal can be calculated by the four FBGs’ wavelength shifts, which are caused by mass balls. The difference in the two sets of mass ball optical fiber systems achieves anti-horizontal vibration and anti-temperature interference. The principle and model of the sensor, as well as numerical analysis and structural parameter design, are introduced. The experimental conclusions show that the minimum torsional natural frequency of the sensor is 27.35 Hz and the torsional vibration measurement sensitivity is 0.3603 pm/(rad/s2).