The invention relates to the technical field of attenuators, in particular to a novel high-linearity temperature compensation attenuator. The attenuator comprises a voltage division circuit part and an attenuation circuit part, the voltage division circuit part comprises a group of diodes D0 with temperature characteristics and a group of resistors RO, R0 and DO which are connected in series to obtain voltage capable of changing along with temperature, and the voltage is connected to the grid end of a transistor in the attenuation circuit part through a connecting microstrip line; according tothe attenuation circuit part, resistors R1, R2, R3 and R4 and two sets of transistors K1 and K2 form an attenuation circuit of a pi-like structure, one end of the transistor set is connected with theresistor, the other end of the transistor set is grounded, and the grid end of the transistor set is connected with voltage led out by the voltage division circuit part. The attenuator is suitable for the design of various different technologies, the design of the whole circuit can be correspondingly completed for various types of transistors, and the same design index is finally achieved.