A lot of the time when an iPhone won't connect to iTunes, there's a software problem preventing your iPhone from connecting to your Mac, such as a corrupt file. By reseting the files in the lockdown folder, we may fix the problem by deleting the file that has become corrupted.

How Do I Reset The iTunes Lockdown Folder?

  1. Quit iTunes on your Mac.
  2. Disconnect all iOS devices currently connected to your Mac.
  3. Open Finder on your Mac.
  4. In the Finder menu at the top your Mac's screen, click Go.
  5. In the Go submenu, click Go To Folder...
  6. Type (or copy and paste) /private/var/db/lockdown/ into the box under Go to the folder: 
  7. Click Go.
  8. Delete all of the files inside the lockdown folder.
  9. After all the files have been deleted, reconnect your iOS device to iTunes.
  10. Make sure you Trust your Mac when you sync your iPhone to iTunes once again.

Pro Tips

If you don't have permission to access the lockdown folder, follow the steps below.
  1. Go to the lockdown folder and click on it with two fingers on your Mac's trackpad (right-clicking with a mouse).
  2. Click Get Info.
  3. In the bottom right-hand corner of the Get Info menu, click on the lock and enter your admin password.
  4. Underneath Sharing & Permissions, change the privilege of of everyone to Read & Write.

23
Comments

16 Comment threads
7 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Clark P. JuezanJack PalmerJustin MegdonalsJesper Nørskov KristensenJeff A. Monk Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Keith Macgregor
Guest
Keith Macgregor

I DO ALL OF THE ABOVE BUT WHEN I CLICK ON GO UNDER “GO TO THE FOLDER” IT SAYS ” THE FOLDER CAN’T BE FOUND”!

Jacqui Faulkhead
Guest
Jacqui Faulkhead

Me too

Jesper Nørskov Kristensen
Guest
Jesper Nørskov Kristensen

Dondon Dev first line : $ sudo su, gives me a “command not found”

Justin Megdonals
Guest
Justin Megdonals

Try typing only /private/var/db/
And search for lockdown and you might not have permission to access it .. and do the following steps mentioned above

Jack Palmer
Guest
Jack Palmer

Justin Megdonals Absolute legend

Clark P. Juezan
Guest
Clark P. Juezan

@Justin Megdonals ..It worked!! just follow the steps bellow under Pro Tips

Clark P. Juezan
Guest
Clark P. Juezan

@Justin Megdonals .. Thanks Brada!!

Zak Dean
Guest
Zak Dean

For me, it begins to work after the “trust this computer prompt” then suddenly gives the “problem with the device” prompt again.

Danielle Farmer
Guest
Danielle Farmer

My MacBook is old. Maybe that’s why it can’t connect. It says iTunes could not connect to this iPhone. An unknown error has occurred

Patrick Gillogly
Guest
Patrick Gillogly

Where is the lockdown folder? I was denied permission to access the folder through GO, but instructions above start by saying to “go to the lockdown folder.” I have searched and googled for two hours and cannot find the folder to try what they suggest. The Terminal stuff suggested below makes no sense to me and is clearly for real programmers (not me)… I would just like to have my iphoto recognize my phone and digital camera again.

Viviane Beckers-Blonski
Guest
Viviane Beckers-Blonski

I followed the steps, but i still got the error message. No result. Mij problem is on a iPhone 6.

Al Bruning
Guest
Al Bruning

I ran through this and my iPhone photos now show up in iPhoto for syncing, but iTunes still gives me error code.
Thanks for helping all of us.

Marinella Loi
Guest
Marinella Loi

I just deleted files on the lockdown folder and now my pictures are downloading on iPhoto!!! Yeah!! I was running out of memory and couldn’t take anymore pictures. Thank you for helping,
I would have never figure it out and I didn’t feel like taking my iMac to Apple store.

But like Al Bruning I’m still having problems with IPhone 6 showing on iTunes. Will search more for solutions.

Jeff A. Monk
Guest
Jeff A. Monk

Did you ever find an answer Marinella?

Barbara Truax
Guest
Barbara Truax

Thanks a million! spend all weekend with a locked iphone and now restoring all! great info!

Jeff A. Monk
Guest
Jeff A. Monk

This worked for my photos but not for seeing my iPhone in iTunes sadly. My Macbook Pro still says it can’y connect because “an invalid response” from the iPhone. Still not working.

Jeff A. Monk
Guest
Jeff A. Monk

Still no luck. My MacBook Pro says invalid response from iPhone. I can see my photos though.

Никита Типикин
Guest
Никита Типикин

Guys, can you help me? I accidentally deleted the FILE lockdown folder and now I don’t know what to do. Please, help me

Alice Dearlove
Guest
Alice Dearlove

I’ve done everything said above and the files keep popping up in the lockdown folder as soon as i conect select ‘trust’ on my phone and it still wont come up on itunes

Mark A Trop
Guest
Mark A Trop
Lee Reynolds
Guest
Lee Reynolds

Nope didnt work. Weird tho, I can go from one house and have it not recognize my ipod, and go to another house and on the same mac, it magically does recognize it. Gotta be some kind of wifi issue. Thats the only thing I can think of after all the things ive tried.

Lee Reynolds
Guest
Lee Reynolds

Ok, so after trying so many different things, following all these steps like this………. I found the solution……….and its a lot simpler than you think. And its exactly what I thought the issue was. So as I stated in my previous comment, that it wouldnt work at one house but did at the other. Which means, ITS A WIFI ISSUE, NOTHING MORE, NOTHING LESS. I saw under wifi on my ipod that it said under my wifis name there was a little message that said weak security or weak something i dont remember. Anyways, all I did was change my… Read more »

Kevin Armstrong
Guest
Kevin Armstrong

Oh my goodness, it worked! Thank you David! – you da man.