The invention relates to a two-degree-of-freedom collision nonlinear vibration-eliminating device, and belongs to the field of structural engineering vibration controlling. The two-degree-of-freedom collision nonlinear vibration eliminating device comprises a structure bottom plate 1, a lower layer shell 3, a lower layer mass block 4, an upper layer mass block 9, a collision contacting pin 5, a lower layer linear spring 2, an upper layer linear spring 6, an upper layer shell 7, a motion guiding shaft 8 and a fixing bolt 10. The lower layer mass block 4, the upper layer mass block 9 are connected with the structure bottom plate 1 and the upper layer shell 7 through the lower layer linear spring 2 and the upper layer linear spring 6; and when the vibration eliminating device reaches a specified position, inelastic collision occurs between the lower layer mass block 4 as well as the upper layer mass block 9 and the lower layer shell 4 through the collision contacting pin 5, mechanical energy in the structure is changed, and the goal of vibration reduction is achieved. According to the two-degree-of-freedom collision nonlinear vibration eliminating device, compared with a traditional vibration absorber and a damper, the mechanical energy of a system can be consumed in a wide range, and response of the structure is rapidly reduced, and the two-degree-of-freedom collision nonlinear vibration eliminating device has the prospect of wide application in practical engineering.