iTunes Referenced Library Mode: How to Set It Up
In this article
Referenced library mode (officially called "Copy files to iTunes Media folder when adding to library" turned off) lets iTunes keep your songs and videos where they already live on your drive instead of duplicating them into its own media folder. You enable it by opening iTunes, going to Edit > Preferences (Windows) or iTunes > Preferences (Mac), clicking the Advanced tab, and unchecking "Copy files to iTunes Media folder when adding to library." From then on, when you add files, iTunes only stores a pointer to the original location. Nothing is moved, and nothing is copied. This is the setup most people want when their music already sits on an external drive, a NAS mount, or a carefully organized folder tree they do not want iTunes to rearrange.
There is a real trade-off, and it is worth understanding before you flip the switch. In referenced mode, iTunes is only as reliable as your file management. If you move, rename, or delete a file outside iTunes, the library entry breaks and the track shows a "!" icon. If you later want to move the whole library to a new computer, you have to carry both the library database and every referenced file, keeping the same paths. The default copy mode is more forgiving because everything lives in one folder. Referenced mode is the right call when you have a large collection on a drive that stays connected, or when you are deliberately managing files yourself.
What You'll Need
- A computer running iTunes for Windows or iTunes for Mac. On macOS Catalina and later, iTunes is replaced by the Music, TV, and Podcasts apps; the Music app has the same option under Music > Settings > Files, so the steps below apply with that rename.
- Your media files already stored somewhere permanent: an internal drive, an external drive that stays plugged in, or a network location that is mounted and available at login.
- Enough free space on the drive holding the iTunes library database (the small .itl file and artwork cache), which is separate from the media files themselves.
- A backup of your current library and media folder, in case you want to undo the change.
Step-by-Step
- Back up first. Copy your entire iTunes folder (by default Users\[yourname]\Music\iTunes on Windows or Users/[yourname]/Music/iTunes on Mac) to another drive. This includes the library database and, if you have been using copy mode, your media. If anything goes wrong, you can restore it.
- Decide where your media will live. Pick a folder that will not move, such as D:\Music or an external drive letter that stays consistent. Avoid folders that sync to cloud services in a way that can rename or relocate files, and avoid removable drives that get different letters each time you plug them in.
- Open iTunes preferences. On Windows, click Edit > Preferences. On Mac, click iTunes > Preferences. In the Music app on newer macOS, it is Music > Settings. Labels can differ slightly by version and region, but the Advanced/Files area is where the option lives.
- Go to the Advanced tab. In iTunes this is the Advanced tab; in the macOS Music app it is the Files tab. Both contain the same checkbox.
- Uncheck "Copy files to iTunes Media folder when adding to library." This is the actual switch into referenced mode. Leave "Keep iTunes Media folder organized" alone for now; it only affects files iTunes itself manages, and turning it off is a separate decision.
- Click OK to save. The setting applies to files you add from this point forward. Existing files that were already copied into the iTunes Media folder stay where they are; iTunes does not move them back out.
- Add a test file. Drag one song or video from your chosen media folder into the iTunes window, or use File > Add File to Library (or Add Folder for a whole directory). Confirm the file still exists in its original location and that iTunes shows it in the library.
- Verify the path. Right-click the new track, choose Get Info, and look at the File tab. The location should point to your original folder, not to the iTunes Media folder. That confirms referenced mode is working.
- Add the rest of your collection. Use File > Add Folder to Library and point it at your main music folder. iTunes will index everything without copying. For very large libraries this can take a while; let it finish before doing anything else.
- Consolidate only if you change your mind. If you later want everything inside the iTunes Media folder, re-check the copy option and use File > Library > Organize Library with the consolidate option. Be aware this copies files and can use a lot of disk space.
Common Mistakes
The most common mistake is unchecking the copy option and then moving or renaming the source folders afterward. iTunes stores the path it saw at import time, so any later move breaks the link. If you reorganize your files, do it before importing, or re-add the affected folders afterward.
Another frequent error is using a drive letter that changes. External drives on Windows can appear as E: one day and F: the next, which silently breaks every referenced track. Assign a fixed letter in Disk Management, or use a mount point, before importing.
People also assume that unchecking the box moves existing files out of the iTunes Media folder. It does not. The setting is forward-looking only. If you want previously copied files to become referenced, you have to move them yourself and re-add them, which is usually more trouble than it is worth.
Finally, some users uncheck the box but leave "Keep iTunes Media folder organized" on and then wonder why files seem to move. That option reorganizes files iTunes manages; in referenced mode it should generally be left off so iTunes does not touch your folder structure.
Tips
Keep your media folder on a drive that is always connected and mounted before iTunes launches. If iTunes opens before a network drive is available, referenced tracks can show as missing until the drive appears and you refresh.
Use a consistent folder structure, such as Artist\Album\Track, and let your file manager be the single source of truth. Referenced mode works best when you treat iTunes as a player and indexer rather than a file organizer.
Export your library information periodically. File > Library > Export Library writes an XML file listing every track and its path, which is invaluable if you need to rebuild or audit a broken library.
If you use multiple computers, referenced mode does not sync files. Each computer needs access to the same paths, or you need a separate approach such as Home Sharing for playback.
Troubleshooting
If a track shows a broken icon or will not play, right-click it and choose Get Info to see the expected path, then check whether the file is actually there. If it moved, use File > Library > Organize Library only for consolidation, not repair; for repair, delete the broken entry and re-add the file from its new location.
If newly added files still land in the iTunes Media folder, re-open preferences and confirm the checkbox is actually unchecked and that you clicked OK. Some users uncheck it, then cancel the dialog.
If iTunes cannot see an external drive, check the drive is mounted and has the expected letter or mount point, then restart iTunes. On Mac, check Finder first; on Windows, check File Explorer.
If the library database itself is damaged, restore the iTunes folder from your backup, then re-apply the referenced-mode setting. Do not delete the database without a backup, because playlists and ratings live there.
Frequently Asked Questions
Does referenced mode delete or move my files?
No. It only changes how iTunes stores new additions. Existing files stay where they are, and new files are left in place.
Can I switch back to copy mode later?
Yes. Re-check the option and use Organize Library with consolidation if you want existing referenced files copied in. Expect significant disk use.
Why do my tracks show a broken icon after I renamed a folder?
Because iTunes stores the original path. Renaming or moving the folder breaks the link. Re-add the files from their new location.
Does this work with a network drive?
It can, as long as the drive is mounted and available before iTunes starts. Unreliable mounts cause missing-track errors.
Is referenced mode available on iPhone or iPad?
No. The iTunes library and its file-handling preferences are desktop features. On iOS you sync or stream content rather than manage referenced files.
What happens if I unplug the external drive?
Referenced tracks become unavailable and may show as missing until the drive is reconnected and iTunes refreshes.