A track light with phase-switching device, comprising: a track assembly comprising an installation base, a first side wall, and a second side wall, wherein the first side wall and the second side wall are respectively disposed at two opposite sides of the installation base, wherein one end of the first side wall has a first fixation portion, and one end of the second side wall has a second fixation portion; a light source base assembled with the track assembly, wherein the light source base comprises a heat dissipation base and a light source plate, and the light source plate is located on the heat dissipation base; a power module comprising a plurality of wirings and a phase-switching device, wherein the power module is electrically connected to the light source plate through the wirings, and the phase-switching device is provided for switching a phase of the wirings characterized by a limiting member, wherein a portion of the limiting member adjacent to the installation base extends toward the second fixation portion, and the second side wall has a limiting portion corresponding to the limiting member, wherein a limiting space is between the liming member and the limiting portion, wherein a limiting structure extends from one side of the heat dissipation base corresponding to the mating portion, and the limiting structure is provided for being inserted into the limiting space, and wherein the limiting structure at least comprises a first positioning portion corresponding to the limiting member and a second positioning portion corresponding to the limiting portion, wherein a hanging groove is between the first positioning portion and the second positioning portion, and a hanging structure extends from a portion of the second side wall adjacent to the second fixation portion, and the hanging structure is provided for hanging with the hanging groove. a track assembly comprising an installation base, a first side wall, and a second side wall, wherein the first side wall and the second side wall are respectively disposed at two opposite sides of the installation base, wherein one end of the first side wall has a first fixation portion, and one end of the second side wall has a second fixation portion; a light source base assembled with the track assembly, wherein the light source base comprises a heat dissipation base and a light source plate, and the light source plate is located on the heat dissipation base; a power module comprising a plurality of wirings and a phase-switching device, wherein the power module is electrically connected to the light source plate through the wirings, and the phase-switching device is provided for switching a phase of the wirings characterized by a limiting member, wherein a portion of the limiting member adjacent to the installation base extends toward the second fixation portion, and the second side wall has a limiting portion corresponding to the limiting member, wherein a limiting space is between the liming member and the limiting portion, wherein a limiting structure extends from one side of the heat dissipation base corresponding to the mating portion, and the limiting structure is provided for being inserted into the limiting space, and wherein the limiting structure at least comprises a first positioning portion corresponding to the limiting member and a second positioning portion corresponding to the limiting portion, wherein a hanging groove is between the first positioning portion and the second positioning portion, and a hanging structure extends from a portion of the second side wall adjacent to the second fixation portion, and the hanging structure is provided for hanging with the hanging groove.