In the title compound, C10H9FN4OS, which is approximately planar with a maximum deviation of 0.0881 (10) Å from the mean plane of the non-H atoms, an intramolecular N—H...O hydrogen bond generates an S(6) ring. In the crystal, molecules are linked via N—H...O hydrogen bonds, forming a helical chain along the a axis. The chains are linked by N—H...S, C—H...S and C—H...F hydrogen bonds and C—H... π interactions into a three-dimensional network.