Designated for inactivation, S-31 cleared Pearl Harbor on 14 June 1937 and arrived at Philadelphia, Pennsylvania, on 27 August 1937. On 7 December 1937, she was decommissioned and berthed in Philadelphia at League Island.
