A lamp-fixing device includes a base and at least one receiving unit. The receiving unit is formed on the base. The receiving unit includes two opposite protruding walls extending perpendicular out from the base. The two protruding walls and the base cooperatively define a receiving space used to receive one end of a lamp tube with an electrode holder. The two protruding walls and the base each define a heat dissipation hole therein of the receiving space.