How to: Fix iTunes Library file error (-48)
If you’re anything like me, you’ll find iTunes to be an essential part of your working day. Whether I’m listening to my favourite podcasts or concentrating with the help of some soothing music, iTunes stays running all through the day. Which is why I started to become pretty worried when a recurring error started to appear recently. Each time I start iTunes, I receive an error warning stating that “The iTunes Library file cannot be saved. An unknown error occurred (-48)“.

It took me a bit of time to work out how to fix this problem, so I thought I’d pass on what I found. This error basically stems from iTunes not being able to write its Library file to your iTunes folder. To fix it, simply find your iTunes folder (located in My Documents > My Music, in my case), right click the folder’s icon and choose ‘Properties‘. From here, click ‘Advanced‘ and make sure that Fast indexing is switched off for the folder. Also, make sure that in the main properties dialog box, ‘Read only‘ is completely unchecked.
This worked for me, but let me know if you’re having further problems with error (-48).
I have been experiencing the same issue for the past week or two on a Windows XP Pro machine. I tried the suggested fix and it appears to have worked! Thank you.
Posted at 1:03 pm on May 16th by Mike DoyonI have been trying to fix this same problem for an incredibly incredibly long time and this worked!! Thank you so much!
Posted at 12:21 pm on May 22nd by Ami HunterI have been trying to figure this out and have tried a million things for an incredibly incredibly incredibly long time and this actually worked. Thank you SO much!
Posted at 12:22 pm on May 22nd by Ami HunterAmi - so good you thanked me twice!! Glad it worked for you
Posted at 12:44 pm on May 22nd by Tom ClarkeWow, I’ve been having this same problem and could not for the life of me find a suggestion on Apple’s site. Thank you!!
Posted at 3:54 am on Jun 18th by Anna MooreThank you!:D
Posted at 12:11 pm on Jun 24th by JordanThis worked the first time I tried it. However, my computer keeps checking the Read-Only box everytime I close the “Properties” window. Any suggestions as to keeping Read-Only unchecked?
Posted at 11:23 pm on Jul 13th by sunflareYep, this also appears to have worked for me after a long, long search.
Thanks to the OP.
Posted at 2:33 pm on Jul 16th by Ian Harvey