The Defence Force is tracking a Chinese spy ship sailing towards Australia ahead of joint United States-Australian exercises known as the Talisman Sabre war games.

A similar electronic surveillance ship designed to eavesdrop on other militaries was sited monitoring the war games in 2017.

Lieutenant General Greg Bilton said they are tracking the Chinese ship and are taking appropriate measures.