The fastest way depends on what you already have
Adding a song to a video takes between five minutes and an hour, depending on whether you want the music to start at the beginning, sync to a specific moment, or fade in and out. The simplest path is to use the editing tool already on your device — Windows, Mac, and phones all have built-in options that let you drop a song onto a timeline and adjust when it plays. If you need more control over timing or want to layer multiple tracks, free desktop software like DaVinci Resolve or CapCut gives you a visual timeline where you can see exactly where the music starts and ends.
The main decision is whether you want to keep the original sound from your video (like dialogue or ambient noise) alongside the song, or replace it entirely. Most tools let you do both — you control the volume of each track separately, so you can turn down the video's original sound while keeping the music loud, or blend them together.
Key Takeaways
- Windows and Mac both have free built-in tools (Photos app on Windows, iMovie on Mac) that let you add music by dragging a file onto your video timeline.
- Free desktop software like DaVinci Resolve and CapCut shows you a visual timeline so you can see exactly when the music starts, ends, and how it overlaps with your video's original sound.
- You control the volume of the music and the original video sound separately, so you can fade one out while keeping the other audible.
- Most tools let you trim the song to match your video length, or loop it if the song is shorter than the video.
Adding music in Windows Photos or Mac iMovie
If your video is already on your computer and your song is saved as an MP3 or WAV file, the built-in photo and video apps are the fastest route. On Windows, open the Photos app, find your video, click "Edit & Create" at the top, then select "Edit with Photos app." A panel on the right side shows your video as a timeline. Click the music note icon, choose "Add music," and select your song file from your computer. The song will start at the beginning of the video by default.
On Mac, open iMovie, drag your video into a new project, then click the music note icon in the toolbar. Select "Music" and choose a song from your library or import one from your computer. Drag the song onto the timeline below your video. Both apps let you adjust the volume of the music and the original video sound using sliders — drag the music volume up or down, and do the same for the video's original audio.
The limitation of these built-in tools is that they don't show you a precise timeline with numbers or frames. If you need the music to start at exactly the 5-second mark rather than at the beginning, you'll need a more detailed tool.
Using DaVinci Resolve or CapCut for precise timing
DaVinci Resolve (free on Windows and Mac) and CapCut (free on Windows, Mac, and phones) both show your video and audio on a visual timeline with markers so you can see exactly where things start and stop. Open the software, create a new project, and import your video. Then import your song file the same way. Drag the video onto the timeline at the bottom of the screen, then drag the song file onto an audio track below it.
Once both are on the timeline, you can click and drag the song to move it left or right — moving it right delays when it starts, so if you want the music to begin at the 3-second mark instead of the start, drag it to the right until the timeline shows 3 seconds. You can also click the edge of the song file and drag it to trim it shorter if the song is longer than your video. The volume controls are usually on the audio track itself — right-click the song and look for "Volume" or a slider icon.
CapCut is simpler if you're new to editing; DaVinci Resolve has more options but a steeper learning curve. Both are free and don't require you to sign up for anything, though DaVinci Resolve does ask you to register a free account to use it.
Handling videos with dialogue or ambient sound
If your video already has sound — someone talking, traffic noise, or music from the original recording — you have two choices: keep it and blend it with your new song, or mute it and use only the song you're adding.
To blend them, lower the volume of the original video sound so the new song is louder but you can still hear what was there. In DaVinci Resolve or CapCut, right-click the video file on the timeline and look for "Volume" or "Audio." Drag the slider down to 30 or 40 percent so the original sound is quieter. Then adjust the new song's volume to whatever level sounds right to you. In iMovie or Photos, use the audio mixer — there's usually a slider for "Video Volume" and another for "Music Volume."
To mute the original sound entirely, right-click the video on the timeline and select "Mute" or "Disable Audio." Then the only sound in your final video will be the song you added. This is the cleaner option if the original sound is distracting or low quality.
Looping a song that's shorter than your video
If your song is 2 minutes long but your video is 4 minutes, you can loop the song so it plays twice. In DaVinci Resolve and CapCut, right-click the song file on the timeline and look for "Loop," "Repeat," or "Duplicate." Select how many times you want it to repeat. The song will play through, then start again from the beginning without a gap.
In iMovie, you can't loop directly, but you can duplicate the song: copy the audio file, paste it right after the first copy on the timeline, and they'll play back-to-back. If there's a small gap between them, drag the second copy slightly to the left until it touches the first one.
A cleaner option is to trim your video to match the song length instead. If the song is 2 minutes, cut your video down to 2 minutes. Most editing tools let you drag the edge of the video on the timeline to make it shorter.
Exporting your video with the music included
Once you've added the song and adjusted the volumes, you need to save the video so the music is permanently part of it. In all these tools, look for "Export," "Save," or "Share." The software will ask you what format you want — MP4 is the most common and works on any device. It will also ask about quality; "1080p" or "High" is fine for most uses. The export process takes a few minutes depending on how long your video is and how powerful your computer is.
After export, play the video in your regular video player to make sure the music is there and the volume balance sounds right. If the music is too loud or too quiet, go back into the editing tool, adjust the volume, and export again.
Frequently Asked Questions
Can I add a song from Spotify or Apple Music to my video?
Not directly — those services protect their music from being copied. You need a song file saved on your computer as an MP3, WAV, or similar format. If you own the song, you can read it from iTunes or another music store. If you want to use a song you don't own, you need permission from the copyright holder, or you can use royalty-free music from sites like Pixabay Music or YouTube Audio Library.
What if the music and video are out of sync after I export?
Go back into the editing tool and check that the song starts where you intended on the timeline. Sometimes the export process can shift audio slightly; if it does, move the song a frame or two to the left or right and export again. If the problem persists, try exporting in a different format like MOV instead of MP4.
Can I fade the music in and out instead of having it start and stop abruptly?
Yes. In DaVinci Resolve and CapCut, right-click the song on the timeline and look for "Fade In" or "Fade Out." You can set how many seconds the fade takes — usually 1 to 3 seconds is noticeable but not jarring. iMovie has fade options in the audio mixer panel. In Windows Photos, fading is not available, so you'd need to use a more detailed tool.
What if I want different songs in different parts of the video?
Add each song to its own audio track on the timeline. In DaVinci Resolve and CapCut, you can have multiple audio tracks stacked on top of each other. Drag the first song onto the timeline, then drag the second song onto a new audio track below it, positioned to start where the first song ends. Adjust the volumes so only one plays at a time, or overlap them slightly if you want a crossfade.
Do I need to worry about copyright if I'm posting the video online?
Yes. If you use a song you don't own or have permission to use, the platform where you post (YouTube, TikTok, Instagram) may mute the audio, claim the video, or take it down. Use royalty-free music, music you created yourself, or music you have explicit permission to use. Many platforms have their own free music libraries you can browse and use without worry.