The invention relates to the technical field of heaters, in particular to a heater with a lighting function. The heater comprises a heater body, a control switch, a fixing bottom plate, fixed columns,clamping grooves, limiting columns, through grooves and limiting teeth, and a permanent magnet is arranged on the lower end of the fixed columns and the inner wall surface of the clamping grooves. The device is reasonable in structural design, the fixing columns and the limiting columns are arranged at the bottom of the heater and are connected with the fixing bottom plate in a matched mode, thefixing columns and the limiting columns are inserted into fixing grooves and the limiting grooves, the limiting teeth of the limiting columns are connected with tooth grooves in the limiting grooves in a clamped mode, fixing plates slides to one end of the fixing columns and penetrates through the through grooves until the fixing head are inserted into the clamping grooves, the lower end of the fixing columns and the inner wall of the fixing grooves are provided with permanent magnets, and the fixing head and the inner wall of the clamping groove are provided with permanent magnets, the permanent magnets attract each other and can be fixed to each other, a lifting device can slide pulleys through electric push rods, the height of the heater can be adjusted through a linkage lifting rod, meanwhile, a supporting pad has a damping buffering function, so that the lifting process can be more stable.