In 263, Tian Xu participated in the campaign against Wei's rival state, Shu Han, as an officer under the Wei general Deng Ai.
In 263, Tian Xu participated in the military campaign against Shu Han as a subordinate to Deng Ai, who commanded the Wei army.