Using music to learn a physical task develops an important part of the brain, according to a new study.
People who practised a basic movement to music showed "increased structural connectivity" between the regions of the brain that process sound and control movement.
The University of Edinburgh research showed brain wiring enables cells to communicate with each other.
The findings have been published in the medical journal Brain & Cognition.
Experts said the study could have positive implications for future research into rehabilitation for patients who have lost some degree of movement control.
Dr Katie Overy, who led the research team, said: "The study suggests that music makes a key difference. We have long known that music encourages people to move.
"This study provides the first experimental evidence that adding musical cues to learning new motor tasks can lead to changes in white matter structure in the brain."
Researchers divided right-handed volunteers into two groups and charged them with learning a new task involving sequences of finger movements with the non-dominant left hand.
One group learned the task with musical cues while the other group did so without music.
After four weeks, both groups of volunteers performed equally well at learning sequences, the researchers found.
Using MRI scans, the study found the music group showed "a significant increase" in structural connectivity on the right side of the brain while the non-music group showed no change.
The team hopes that future research will determine whether music can help with special kinds of motor rehabilitation programmes, such as after a stroke.
The project brought together researchers from the university's Institute for Music in Human and Social Development, Clinical Research Imaging Centre and Centre for Clinical Brain Sciences, and from clinical neuropsychology at Leiden University in the Netherlands.