The invention discloses a multifunctional desk lamp which comprises a desk lamp base, a lamp tube support and a lamp tube, wherein a control device for automatically regulating the light strength of the lamp tube and playing the music is arranged in the lamp tube base, an MP3 module, a controller, an analog-digital converter and a digital-analog converter are arranged in the control device, a photosensitive sensor is further arranged on the lamp tube support, an output end of the photosensitive sensor is connected with an input end of the analog-digital converter, the output end of the analog-digital converter is connected with the controller, the input end of the digital-analog converter is connected with the controller, the output end of the digital-analog converter is connected with the lamp tube, the MP3 module is connected with the controller, and the MP3 module is further connected with a speaker. The multifunctional desk lamp has the advantages of automatic dimming, music playing, music alarm clock, energy conservation, convenient use, high sensitivity and stable performance, and can be extensively used in all places needing lighting, such as families, offices and the like.