TechBuzzPro

How to Clean and Reinstall iTunes on Windows & macOS

· 6 min read · Mac

In this article
  1. What You’ll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can cleanly remove iTunes and reinstall it by uninstalling the program, deleting leftover files, and then downloading the latest installer from Apple’s website.

What You’ll Need

  • Administrator access on the computer
  • Stable internet connection for downloading the installer
  • External drive or cloud storage if you want to back up your iTunes library
  • Apple ID credentials (optional, for signing back into the Store)

Step‑By‑Step

  1. Back up your iTunes library. Before removing anything, copy the entire iTunes folder (usually found in Music\iTunes on Windows or ~/Music/iTunes on macOS) to an external drive or a cloud folder. This preserves your music, playlists, and device backups.
  2. Quit iTunes completely. Ensure the app is not running in the background. On Windows, check the system tray; on macOS, use Command + Q or right‑click the Dock icon and select “Quit”.
  3. Uninstall iTunes (Windows only).
    1. Open Control Panel → Programs and Features.
    2. Find “iTunes” in the list, click it, and choose Uninstall.
    3. If prompted, also uninstall the related components in this order: Apple Software Update, Apple Mobile Device Support, Bonjour, and Apple Application Support (both 32‑bit and 64‑bit). Removing them prevents orphaned services.
  4. Delete leftover iTunes files (Windows).
    1. Open C:\Program Files\iTunes and delete the folder if it still exists.
    2. Open C:\Program Files (x86)\iTunes (for 32‑bit installs) and delete it as well.
    3. Navigate to C:\Users\[YourUser]\AppData\Roaming\Apple Computer\iTunes and delete any remaining files. The AppData folder is hidden by default; enable “Show hidden files” in File Explorer View options.
  5. Delete leftover iTunes files (macOS).
    1. Open Finder, press Shift + Command + G, and go to ~/Music. Drag the iTunes folder to the Trash if you have already backed it up.
    2. Open ~/Library/Preferences and delete any files that start with com.apple.iTunes.
    3. Open ~/Library/Application Support and delete the iTunes folder if it exists.
  6. Restart your computer. A reboot clears any locked files and ensures the system registers that iTunes is gone.
  7. Download the latest iTunes installer.
    1. Visit the official Apple iTunes download page (apple.com/itunes).
    2. Select the version that matches your operating system (Windows 10/11 64‑bit, Windows 7, or macOS).
    3. Click “Download” and wait for the file to finish.
  8. Install iTunes.
    1. On Windows, run the downloaded .exe file and follow the wizard. Accept the license, choose the default install location, and let the installer add the required Apple components.
    2. On macOS, the download is a .dmg. Open it, then drag the iTunes icon to the Applications folder. If macOS already includes iTunes (macOS Mojave and earlier), you can replace the existing app by confirming the overwrite.
  9. Restore your library. After installation, open iTunes, go to File > Library > Import Playlist (or simply drag the backed‑up iTunes folder back into ~/Music on macOS or Music\iTunes on Windows). iTunes will automatically detect the library file and rebuild the database.
  10. Sign in with your Apple ID. Click the account icon in the upper‑right corner, enter your credentials, and authorize your computer if prompted. This restores access to purchased content and iCloud Music Library.

Common Mistakes

  • Skipping the backup step and losing music files. Always copy the iTunes folder before deletion.
  • Uninstalling iTunes but leaving Apple Mobile Device Support installed. This can cause duplicate services and odd error messages when connecting an iPhone.
  • Deleting the wrong AppData folder on Windows. The correct path is C:\Users\[YourUser]\AppData\Roaming\Apple Computer\iTunes; deleting Local instead may remove unrelated data.
  • Downloading iTunes from unofficial sites. Only the Apple website provides a clean, signed installer.
  • Attempting to reinstall on macOS versions that no longer support iTunes (Catalina and later). Those systems use the Music app; you cannot install iTunes there.

Tips

  • Use the built‑in Windows “Reset this PC” feature only as a last resort; it wipes more than iTunes.
  • If you have a large library, consider moving the iTunes Media folder to an external drive before reinstalling, then point iTunes to the new location via Preferences > Advanced > iTunes Media folder location.
  • After reinstall, run a quick “Check for Updates” inside iTunes (Help > Check for Updates) to ensure you have the most recent bug fixes.
  • When restoring the library, if iTunes asks to create a new library, choose “Yes” and then drag the old iTunes Library.itl file into the window. This forces iTunes to read the original database.
  • For Windows 11 users, the “Microsoft Store” version of iTunes is also available. The store version updates automatically, but the classic installer offers more control over component selection.

Troubleshooting

If iTunes fails to launch after reinstall, follow these checks in order:

  1. Restart the computer. A simple reboot clears locked DLLs and pending updates.
  2. Verify the Apple services are running. Open Task Manager (Windows) or Activity Monitor (macOS) and look for “Apple Mobile Device Service”. If it’s not running, start it from Services.msc on Windows.
  3. Check for Windows updates. Some iTunes components rely on the latest Windows patches. Install any pending updates and reboot.
  4. Run the installer as Administrator. Right‑click the iTunes installer and choose “Run as administrator”. This ensures all drivers install correctly.
  5. Delete the iTunes preferences file. On Windows, remove C:\Users\[User]\AppData\Roaming\Apple Computer\iTunes\iTunesPrefs.xml. On macOS, delete ~/Library/Preferences/com.apple.iTunes.plist. iTunes will recreate a fresh preferences file.
  6. Re‑authorize the computer. Open iTunes, go to Account > Authorizations > Deauthorize This Computer, then immediately re‑authorize using the same Apple ID.
  7. Check disk space. iTunes needs at least a few hundred megabytes free for temporary files. Clear unnecessary files if the drive is near capacity.
  8. Look for error codes. If a pop‑up shows an error number, note it and search Apple’s support site for that specific code. Common codes like 0x80070005 indicate permission issues.
  9. Contact Apple Support. When all else fails, Apple’s official support can walk you through a deeper diagnostics process.

Frequently Asked Questions

Do I lose my purchased songs when I reinstall iTunes?

No. Purchased songs are tied to your Apple ID. After you sign back into iTunes, the Store will re‑authorize those tracks, and they will appear in your library.

Can I install iTunes on macOS Catalina or later?

Apple replaced iTunes with separate apps (Music, Podcasts, TV) beginning with macOS Catalina. The iTunes installer will not run on those versions; you must use the Music app for music management.

Why does iTunes keep reinstalling the same Apple Mobile Device Support component?

This component is required for iPhone and iPad communication. If it is missing or corrupted, the iTunes installer will automatically reinstall it. Ensure it remains after the install.

Is it safe to delete the iTunes Library.itl file?

Yes, deleting the .itl file forces iTunes to rebuild the library database from the XML file and media folder. Your music files remain untouched.

My iPhone no longer syncs after reinstalling iTunes. What should I do?

First, make sure the Apple Mobile Device Service is running. Then, try a different USB cable or port, and finally, re‑authorize the computer in iTunes under Account > Authorizations.

Do I need to reinstall iTunes if I just want to fix a corrupted library?

Often you can repair a corrupted library by deleting the .itl file and letting iTunes rebuild it. Reinstalling is only necessary when the program itself is malfunctioning.