How to Share iTunes Library Across Partitions on Mac
In this article
To share one iTunes library across two or more partitions on a Mac, keep the library folder on a partition both macOS installs can read and write to, then point each iTunes install at that same folder using the Option key at launch. The catch is that iTunes (now split into Music, TV and Podcasts apps on newer macOS) stores its library in a fixed default location, so you must either move the library to a shared partition and hold Option while opening the app, or create a symbolic link. This guide walks through the reliable method and the common pitfalls.
What You'll Need
- A Mac with at least two partitions (or a second volume) that both macOS installations can mount.
- The shared partition formatted as APFS or Mac OS Extended (Journaled). ExFAT works for media files but can cause permission and metadata issues with iTunes libraries.
- Enough free space on the shared partition for the entire iTunes folder (music, apps, backups, and the library database).
- Administrator access on both partitions.
- iTunes installed on both partitions (or the Music app on macOS Catalina and later, with iTunes available via Retroactive or a supported older macOS).
Step-by-Step
- Quit iTunes completely. On the partition you are currently using, open iTunes and choose iTunes > Quit iTunes (or press Command-Q). Make sure no iTunes helper process is running by opening Activity Monitor and searching for iTunes.
- Locate your current iTunes folder. By default it is at . Open Finder, press Command-Shift-G, and paste that path to confirm it exists.
- Copy the entire iTunes folder to the shared partition. Drag the iTunes folder to the shared volume. Do not move it yet; keep the original as a backup until everything works. The copy includes the iTunes Library.itl file, the iTunes Media folder, and any device backups.
- Verify the copy is complete. Compare the size of the original and copied folders in Finder (Command-I). If the sizes differ significantly, the copy was interrupted; delete the partial copy and repeat.
- Open iTunes on the second partition while holding Option. Restart the Mac into the other partition. Before clicking iTunes in the Dock, hold the Option key. A dialog appears asking you to Choose Library or Create Library. Click Choose Library.
- Navigate to the copied iTunes folder on the shared partition. Select the iTunes Library.itl file inside the copied iTunes folder and click Open. iTunes opens using that library.
- Confirm the media path is correct. In iTunes, choose Edit > Preferences (or iTunes > Preferences on newer versions), click the Advanced tab, and check that the iTunes Media folder location points to the shared partition copy, not the old path. If it still points to the old location, click Change and select the iTunes Media folder on the shared partition.
- Repeat for the first partition. Restart into the original partition, hold Option when opening iTunes, and choose the same shared library file. Now both partitions reference one library.
- Optionally, remove the old local iTunes folder. Once both partitions open the shared library without errors, you can delete the original iTunes folder from each partition's user Music folder to save space. Keep one backup copy elsewhere until you are confident.
Common Mistakes
- Using exFAT or FAT32 for the shared partition. These formats do not preserve macOS permissions and extended attributes, which iTunes relies on. Use APFS or Mac OS Extended (Journaled).
- Forgetting to hold Option. Without Option, iTunes opens the default library in the user's Music folder and you may think the shared library is broken when it is simply not selected.
- Moving instead of copying first. If the copy is incomplete or the shared partition is not mounted at login, you lose access to the library. Always keep the original until both partitions are verified.
- Pointing to the .itl file but leaving media on the old partition. The library database and the media folder must both be on the shared partition, or iTunes will show missing file errors.
- Running iTunes on both partitions at the same time. This is not possible on one Mac, but if you use a virtual machine or remote session, concurrent access can corrupt the library database.
Tips
- Create a symbolic link instead of holding Option each time: open Terminal and run
ln -s /Volumes/Shared/iTunes ~/Music/iTunesafter removing the local iTunes folder. This makes iTunes open the shared library automatically. Only do this after confirming the shared library works via Option. - Keep the shared partition mounted at login. In System Settings > General > Login Items (or Users & Groups on older macOS), add the volume to login items so it mounts before iTunes opens.
- Use the same iTunes version on both partitions. A newer iTunes may upgrade the library database, making it unreadable by an older version on the other partition.
- Back up the iTunes Library.itl file regularly. It is the database that tracks playlists, ratings, and play counts; losing it means rebuilding metadata even if media files remain.
Troubleshooting
If iTunes opens with an empty library or an error about the library file, first check that the shared partition is mounted and the path is correct. Hold Option again and re-select the .itl file. If iTunes says the library is locked or in use, restart the Mac and try again; a background process may still hold the file.
If media files show as missing (exclamation mark icons), open Preferences > Advanced and confirm the iTunes Media folder location. Then choose File > Library > Organize Library and enable Consolidate files to copy any stragglers into the shared folder.
If the library database was created by a newer iTunes version, the older partition's iTunes may refuse to open it. Update iTunes on the older partition to the same version, or use the newer macOS Music app on both partitions if supported.
If the shared partition does not appear in the Choose Library dialog, check Disk Utility to ensure it is formatted correctly and mounted. APFS volumes shared between macOS installations should appear under /Volumes. If permissions are wrong, select the volume in Finder, choose File > Get Info, and ensure your user account has Read & Write access.
Frequently Asked Questions
Can I share an iTunes library between two Macs, not just partitions?
Yes, using the same method: store the library on an external drive or network share both Macs can access, and hold Option when opening iTunes on each Mac. Network shares can be slow and may cause database locking issues, so a directly connected drive is more reliable.
Does this work with the Music app on macOS Catalina and later?
The Music app uses a similar library structure but does not have the Option-key library chooser. You can still point it to a shared library by holding Option while opening Music, which opens a dialog to choose a library. The steps are otherwise the same.
Will play counts and ratings sync between partitions?
Yes, because both partitions use the same library database file. Changes made on one partition are saved to the shared file and appear on the other after you quit and reopen iTunes.
What happens if I open iTunes without the shared partition mounted?
iTunes will either show an error or create a new empty library in the default location. To avoid this, mount the partition before opening iTunes, or use a symbolic link that points to the mounted volume path.
Can I use iCloud Music Library instead of sharing a local library?
iCloud Music Library (or iTunes Match) syncs your music across devices signed in with the same Apple ID, but it does not share playlists, ratings, or local files between partitions on the same Mac in the same way. It is a cloud sync, not a local library share.