Daily life faces continuous cognitive tasks. Several methods could lessen cognitive fatigue including music. To find out how music functions in recovering cognitive fatigue, twenty-seven participants were randomly assigned to the rest group (N=12) and the music group (N=15). To evaluate the effects of Mozart K488 music on attention function after a continuous cognitively demanding task. Participants completed subjective questionnaires and the contingent negative variation (CNV) task before fatigue, after fatigue, and after the rest/musical intervention. EEG and ECG data were also collected during the experiment. The results showed that 5min of Mozart K488 music resulted in improved CNV task performance in the musical intervention group. For EEG data, recoveries of the initial CNV and terminal CNV amplitude in Cz and CPz electrodes were observed and compared with the values after Mental Fatigue, which music increased the iCNV and tCNV. Alpha-ERD was lower after listening to music than after resting. Moreover, during music playing, compared to other brain regions the EEG alpha power of participants was significantly high in the central frontal region. This study demonstrates a short-term musical intervention can effectively boost the recovery of attention after Mental Fatigue.