This paper deals with the cooperative tracking problem of nonlinear multiagent systems. Compared with the existing works, both the uncertainties in model and switching topology are considered. Two control laws, the adaptive distributed controller based on state information and the adaptive distributed controller based on output information, are proposed using the neural networks.The advantage of the proposed controller is that we no longer require the exact knowledge of follower agents' parameters and the precise switching signal of communication topology by taking advantages of neural networks approximation and the property of transition probabilities. It is proved that all followers can track the leader with permitted bounded errors under the proposed controller.An illustration is given to testify the efficacy of the proposed approach. KEYWORDS adaptive cooperative control, Markov switching, nonlinear multiagent systems, uncertain parameter Abbreviations: TPs, transition probabilities 1506