This paper addresses the distributed predefined-time attitude consensus problem for multiple uncertain spacecraft systems in the presence of model uncertainties and external disturbances. Firstly, a new predefined-time terminal sliding surface (PTS) is proposed. Secondly, a distributed predefined-time consensus control (DPTC) based on the PTS is designed to solve the robust attitude consensus problem. It is proved that the proposed DPTC can ensure that the attitude consensus errors converge to an arbitrary small bound centered on equilibrium point within predefined time and then go to equilibrium point asymptotically. The appealing features of the proposed control are faster convergence, higher precision, stronger robustness and easy implementation. Simulations verify the effectiveness of the proposed approach.INDEX TERMS Distributed control, Predefined-time, attitude consensus tracking, multiple spacecraft, formation flying.