In October 1914 S31 was a member of the 17th Half-Flotilla and took part in operations in the Baltic sea. During August 1915 S31, as part of the 9th Torpedo Boat Flotilla, took part in the Battle of the Gulf of Riga. She struck a mine near the island of Ruhnu on 19 August, sinking with the loss of 11 men. The survivors were rescued by and .
