The invention provides an LED straight lamp. According to the LED straight lamp, the safety function that energizing is achieved only when two end covers of a lamp tube are put in a lamp holder of the lamp simultaneously is achieved, and the effect that installation personnel can avoid the danger of electric shock during installation is ensured. The LED straight lamp comprises the lamp tube, two lamp holders, a rectifying circuit, a filter circuit, an LED driving module and a detection module. The two lamp holders are each provided with a pin used for receiving an outside driving signal and are suitable for being connected with the two ends of the lamp tube correspondingly in a coupling mode. The rectifying circuit is used for rectifying the outside driving signal so as to generate a post-rectifying signal. The filter circuit is used for generating a post-filtering signal. The LED driving module is configured to generate a driving signal to make the LED straight lamp emit light. The detection module is used for determining whether the outside driving signal is stopped from flowing through the LED straight lamp and is provided with a first detection end and a second detection end. When an electric current flowing through the first detection end and the second detection end is higher than or equal to an electric current value, the detection module is switched on. When the electric current flowing through the first detection end and the second detection end is lower than the electric current value, the detection module is switched off.