A strip light (100) having a wire harness adapter component comprises a strip light body (110) having an accommodation space (120) provided therein, used to accommodate the wire harness adapter component (130). The strip light (100) comprises a circuit board (111), a first end cover (112) inputting electric energy, and a second end cover (113) outputting electric energy. The circuit board (111) is adjacent to the first end cover (112) and fixed inside the accommodation space (120). The wire harness adapter component (130) comprises: a wire harness (131), a fixed end (1311) of the wire harness (131), fixed on the circuit board (111) and connected to a power source (114) on the circuit board (111); and an adapter (132), connected to a free end (1312) relative to the fixed end (1311) of the wire harness (131) and capable of reciprocal movement inside and outside the accommodation space (120). The length of the wire harness (131) is longer than the length between the circuit board (111) and the second end cover (