You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

All the content from my iTunes library has disappeared

The other day I went onto iTunes and everything had disappeared from it except for the music in the Cloud. All the music is still intact in the folders on my computer and when I double click any song it reappears on iTunes but without any information like number of plays, and I obviously don't want to do this manually for every song as I have nearly two thousand. I synced my iPod with iTunes again but no message came up and the music is still on my iPod, as if it is only 'hiding' on iTunes. I'm not sure if it's something to do with the fact i got a new iPod a few days ago, but iTunes worked perfectly when I first got it so I'm confused about what's happened.

iPod touch

Posted on Apr 2, 2013 8:54 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 2, 2013 9:02 AM

Empty/corrupt library after upgrade/crash

Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.


In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.


User uploaded file


Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied and renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.


If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.


When you get it all working make a backup!


Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.


I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.


tt2

184 replies

Nov 23, 2013 5:26 PM in response to pmillhouse

Lucky for me, my library has not vanished overnight... It's still somewhere in my computer. I tried TuringTest2's solution, but it did not work for me (thanks anyway!). My solution: I'm getting a MacBookPro and instead of transferring all the files from my MBA, I am going to start from scratch. That way, I have a shot at getting my MP3 where they should be!

Dec 11, 2013 8:37 PM in response to turingtest2

Hi,


I got the same problem today, my iTunes library just randomly disappeared, and I can't get it back. I have tried both the first method you suggested (copying my most recent library from the Previous Libraries folder into the iTunes folder), and the second (copying one of those .tmp files and changing the name to iTunes Library.itl). But none of them has worked.


I am really bad with this computer stuff, so I don't know how to get it back.


It is also not the first time that this happens to me, it happens every other year or so, and I don't know how to prevent it from happening. It is really annoying cause I lose some of my music and am never able to get it back.


Also, I have thought of backing my Library up, but have no idea of how to do it.


Can you please help me?

Dec 12, 2013 1:07 AM in response to PabloAlonso

Don't include the.itl extension in the renamed file if it isn't already shown.


You can open a specific library file by holding down shift as you launch iTunes and using the Choose library option, although you really want the active library to be ..\iTunes\iTunes Library.itl which is why I give the copy and renaming route.


I gave a link to this backup tip in the first post.


tt2

Oct 21, 2015 5:23 AM in response to turingtest2

I'm having a similar problem and you seem like a good person to ask!


I logged into my iTunes this evening and everything was gone. I keep my music on an external hard drive so I still have all of the files, I could just reopen the files in iTunes but then I lose all of my playlists, play counts etc. I keep my iTunes organised in a very specific way (eg. I have manually gone through each song/artist and reassigned the genre) and I have a lot of playlists that would be very difficult to replicate.


I hadn't updated iTunes (I have since in a desperate attempt to fix things - I hope this wasn't a mistake) or made any other changes, I have tried loading a previous version of iTunes but only 2,500 songs came up out of 12,000 (the date on that version was from a month ago there should be only slightly fewer songs not 10,000 fewer), tried restarting my computer, tried asking friends and googling things for about 2 hours and I'm so frustrated!


My music is SO important to me, my collection has taken me years to come up with and I have put so much time, effort and money into it I will be devastated if this can't be fixed. My family joking calls it 'my life's work' haha.


Please, please help me and thank you in advance.

Oct 21, 2015 7:29 AM in response to lleesseell

lleesseell wrote:


I have tried loading a previous version of iTunes but only 2,500 songs came up out of 12,000 (the date on that version was from a month ago there should be only slightly fewer songs not 10,000 fewer),


I take it you mean a previous version of the iTunes database? Downgrading iTunes has its own problems. Are you certain you know which is the active library folder? Is it only the media that is on your external drive or should the library files be there too?


The more frequently you update iTunes the more snapshots you have of the .itl file and less the damage will be if you have to revert to one. Did you check for hidden .tmp files? What is the date of the file you tried to restore? Did you copy and paste the database file from the Previous iTunes Libraries folder as advised in Empty/corrupt iTunes library after upgrade/crash? If so you can try again. If iTunes can manage to fail to update the library properly once, there is no reason it can't do it again. Shut down and restart your computer first.


See also Backup your iTunes for Windows library with SyncToy.


tt2

All the content from my iTunes library has disappeared

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.