"Ayanami" was launched at Maizuru Naval Arsenal on 20 March 1909 and completed on 26 June. The ship served during World War I and participated in the Siberian Expedition. She was converted into a minesweeper on 1 December 1924 and was renamed "W-9" on 1 August 1928. The ship was decommissioned on 1 June 1930, but she continued in service as a tugboat and a dispatch boat until 19 April 1935 and was subsequently scrapped.