An LED tube lamp is provided herein, which implements the safety function for protecting the user from electric shock since it conducts only when both ends thereof have been correctly installed into a lamp socket. The LED tube lamp includes a lamp tube; two end caps having pin(s) respectively and coupled to both ends of the lamp tube correspondingly for receiving an external driving signal; two rectifying circuits rectifying the external driving signal to produce a rectified signal; a filtering circuit filtering the rectified signal to produce a filtered signal; an LED lighting module receiving the filtered signal to produce a driving signal for the LED tube lamp to emit light; and an installation detection module determining whether cutting off the external driving signal passing through the LED tube lamp, wherein the installation detection module includes a first installation detection terminal and a second installation detection terminal, further, when a current passing through the first and the second installation detection terminals is bigger than or equal to a set current value, the installation detection module conducts; when the current passing through the first and the second installation detection terminals is smaller than the set current value, the installation detection module cuts off.