Music is integrated into daily life when listening to it, playing it, and singing, uniquely modulating brain activity. Functional near-infrared spectroscopy (fNIRS), celebrated for its ecological validity, has been used to elucidate this music-brain interaction. This scoping review synthesizes 22 empirical studies using fNIRS to explore the intricate relationship between music and brain function. This synthesis of existing evidence reveals that diverse musical activities, such as listening to music, singing, and playing instruments, evoke unique brain responses influenced by individual traits and musical attributes. A further analysis identifies five key themes, including the effect of passive and active music experiences on relevant human brain areas, lateralization in music perception, individual variations in neural responses, neural synchronization in musical performance, and new insights fNIRS has revealed in these lines of research. While this review highlights the limited focus on specific brain regions and the lack of comparative analyses between musicians and non-musicians, it emphasizes the need for future research to investigate the complex interplay between music and the human brain.