The utility model discloses a straight cylinder type spring which structurally comprises a spring, a main body and a spring base, the main body is arranged at the top of the spring, the spring base is connected to the bottom end face of the spring, the main body comprises an installation base, a spiral groove, a clamping base and a supporting ring, the spiral groove is formed in the installation base and matched with the spring in a threaded mode, and the clamping base is connected with the supporting ring. The clamping base is fixedly connected to the middle position of the top of the spiral groove, the supporting ring is fixedly connected to the top end face of the mounting base and comprises a supporting body, a buffering groove, five reset blocks and an anti-skid groove, the supporting body is fixedly embedded in the top end face of the mounting base, the buffering groove is formed in the supporting body, and the anti-skid groove is formed in the middle of the supporting body. The top end face of the spring is in threaded connection with the end face of the spiral groove, so that the installation base and the spring can be connected into a whole, the supporting ring on the end face of the installation base is connected with the end face of a part, and the stability between the spring and the part can be improved.