Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Clear iTunes Library and Playlists

Mitch BartlettSeptember 20, 2018 Comments (13)

My Apple iTunes playlists were a rickety mess. I had links to songs that didn’t exist on my hard drive anymore, duplicates and a bunch of playlists that I didn’t need anymore. I wanted to start over. I could delete all of this data by individually selecting each item and deleting them, but that’s a pain. There is an easier way. Here’s what I did.

Option 1 – Select All then Delete

  1. Open the list of songs you wish to delete.
  2. Windows users, hold “Ctrl” and press “A“. Mac users hold “Command” and press “A“.  All songs in the list will be selected.
  3. Press the “Delete” key.
  4. Select the “Delete Items” button to confirm your selection.
  5. Repeat steps 1-4 for any other music lists.

The items are deleted from the list, but the actual music files are not deleted from the computer.


Option 2 – Clear Everything from iTunes

Warning: This method will reset everything in iTunes to a default state. All playlists, ratings, apps, and library lists will be obliterated. Music files should still be preserved on your hard drive.

  1. Close iTunes.
  2. Navigate to one of the following locations depending on your operating system:
    • MacOS: /Users/username/Music/iTunes/
    • Windows XP: C:\Documents and Settings\username\My Documents\My Music\iTunes\
    • Windows Vista: C:\Users\username\Music\iTunes\
    • Windows 7: C:\Users\username\My Music\iTunes\
    • Windows 8: C:\Users\username\My Music\iTunes\
    • Windows 10: C:\Users\username\Music\iTunes\
  3. Right-click “iTunes Music Library.xml” and select “Rename“. Give it a name of “iTunes Music Library.old“. Do the same thing for the “iTunes Library.itl” file.
  4. Open iTunes. The library, playlist, ratings will then be cleared out. New “iTunes Music Library.xml” and “iTunes Library.itl” files will be created.

Now if you wish, you can drag and drop your music files you want to get back to the main window of iTunes. The main folder for iTunes music is located at the path(s) above in the “iTunes Music“. It’s a good idea to organize your music files first before you re-add your music files back to iTunes to avoid duplicates and errant file names.

Categories: Software

Author Mitch Bartlett

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • How to See Connected Time on Zoom Meeting

    MonaSoftware
  • fix zoom error unstable internet connection

    Fix Zoom Error: Your Internet Connection is Unstable

    Madalina DinitaSoftware
  • How to Add Plugins to Notepad++

    Mel HawthorneSoftware
  • Outlook Get Add-ins Button Is Grayed Out Top 5 Solutions in 2023

    Outlook Get Add-ins Button Is Grayed Out: Top 5 Solutions in 2023

    Tamal DasOffice

Comments

  1. Marty says:
    August 6, 2021 at 6:33 pm

    Can you update this technique of clearing your playlists for the Music app in Big Sur? There no longer is an .xml file or a .itl file.

  2. Doug Swann says:
    January 18, 2021 at 9:03 am

    Not really a comment, but a question. I have two versions of the same song in my Itunes playlist. One version of the song plays fine, but when I click on the other version, it skips the song and goes right to the next song in the overall playlist. I’ve tried to delete the version that doesn’t work, but I can’t seem to remove it from the playlist. Any thoughts.

  3. William Robertson says:
    February 22, 2020 at 5:00 am

    Instructions for the new Music application in macOS Catalina would be great.

  4. ziv says:
    January 9, 2020 at 11:46 pm

    its not working for me – halp .

  5. Emily Davila says:
    September 29, 2019 at 5:47 pm

    I do not see the .xml file, only the .itl file, would you know why? I am on Windows 10.

  6. Harendra Kumar says:
    July 28, 2019 at 1:14 am

    Great, it works for me!!

  7. Nile says:
    November 23, 2018 at 4:29 pm

    Great thankss!

  8. Okey says:
    November 17, 2018 at 4:34 pm

    I have tried EVERYTHING to delete old songs and play lists that occupy space and drive me crazy and nothing works! Even when I select the songs and use the ‘Song’ Menu, the Remove from Playlist and Delete from library options are disabled! Help!

  9. Mich says:
    August 18, 2018 at 6:23 pm

    OMGURD! SO fantastic and simple. I hate managing my iTunes library – not intuitive and unwieldly… I had a bunch of files that couldn’t be located! ugh … this saved me HOURS, DAYS, maybe years!
    Thank you! Apple, take heed – fix the iTunes interface – blech!

  10. Roger says:
    October 28, 2017 at 2:26 am

    Great Tip. Option 2 worked a treat for me on my Mac. Thanks *****

  11. Kier Dirlam says:
    September 11, 2017 at 1:54 pm

    Option 2 worked great. I had doubles and triples in my library before I did this. Now I am clean with just what I actually have in ITunes. Apple really should make it easier to remove a folder or drive from the Library but your method worked.

  12. Robert says:
    February 22, 2017 at 7:09 pm

    Thanks for the instructions. This is exactly what I was looking. I recently purchased my first iPhone (after about 12 years of Blackberry’s, then Androids). One of the first things I did upon creating my iTunes account was import all my music from my laptop (via Windows Media Player) to iTunes. Except my music in WMP was a mess with duplicate songs..duplicate songs with different names…incomplete reference info like genre, Album, Artist, etc.

    I suspect it will be easier to update that info in WMP, then re-import that music into to iTunes.

    So you’ve given me exactly what I was looking for, and for the same reason even. ha!.

  13. tim says:
    February 3, 2017 at 8:51 pm

    you champion!!!!!

    i had a song that wouldnt deleated and it pissed me off bad and now you have saved me from going crazy

    THANK YOU!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

  • clipchamp unexpected application error

    Clipchamp Unexpected Application Error: Here’s the Solution 

  • winload.efi file missing error

    Winload.EFI File Missing Error on Boot – How to Fix

  • fix error 0x9cfc7550

    How to Fix Error 0x9cfc7550 (We Couldn’t Create a New Partition) in Windows 

  • fix error code 0x3000008 1

    How to Fix Error Code 0x3000008 for Remote Desktop Connection

  • fix error code 0x80190001 1

    How to Quickly Fix Error 0x80190001 for Microsoft or Outlook Account Login 

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2025 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on September 20, 2018 by Mitch Bartlett