
Deleted an important file from iCloud by accident? Don’t panic. Apple gives you a 30-day safety net: anything you delete from iCloud storage — files, photos, contacts, calendars, even reminders — stays recoverable for a full month before it disappears for good. And the recovery happens on iCloud.com in a browser, not in the Files app on your iPhone. Here is how to get your files back.

Why deleted files aren’t gone right away
When you delete something from iCloud Drive, it doesn’t vanish instantly. Instead, Apple moves it to a Recently Deleted section, where it waits for 30 days. This applies to documents in iCloud Drive, photos in iCloud Photos, contacts, calendars, and reminders. Even files from shared folders can be restored — anyone with edit access to a shared folder can recover them. Think of it as a recycling bin for your cloud storage.
Step 1: Open iCloud.com in a browser
Start by opening a web browser on your iPhone, iPad, Mac, or PC and going to iCloud.com. Sign in with the Apple ID that stores the files — this is the crucial part. If you use more than one Apple ID, double-check that you are signed into the right one, or your deleted files will not appear.
You may be asked for a two-factor authentication code. If your iPhone is handy, approve the sign-in there or enter the six-digit code that appears on your trusted device.
Step 2: Open iCloud Drive
Once you are signed in, tap or click iCloud Drive from the iCloud.com home screen. This is the same storage the Files app on your iPhone reads from, so everything you see here matches your devices.
Step 3: Go to Recently Deleted
In the lower-right corner of the iCloud Drive window, click Recently Deleted. You will see every file you have deleted in the last 30 days, along with how many days each one has left before it is erased permanently. Apple documents this 30-day window in its guide to recovering deleted files in iCloud Drive.
Step 4: Select files and click Recover
Browse the list and select the files you want back — click each one (or use Select All if you need everything). Then click Recover at the top, or Recover All if you selected everything. The files are immediately restored to their original locations in iCloud Drive.
Wait a moment for the changes to sync, then check the Files app on your iPhone. The recovered files should appear there automatically — iCloud syncs both ways, as explained in our guide on how to set up sync between iPhone and Mac.
If it still doesn’t work
If the file you need is not in Recently Deleted, one of two things happened: either more than 30 days have passed, or the file was deleted from a different Apple ID. There is no way to restore files after the 30-day window closes — Apple erases them permanently. If the data matters a lot, check whether you have a local copy in Downloads, an email attachment, or a Mac backup. And to keep your inbox manageable while you sort this out, see how to mute mail notifications for specific contacts — one less distraction while you hunt for your files.
FAQ
Can I recover files from the Files app on my iPhone?
Not directly. The Files app shows iCloud Drive but does not include the Recently Deleted section. You must use iCloud.com in a browser to recover files. As 9to5Mac has noted, this web-only recovery confuses many users, so bookmark iCloud.com for emergencies.
Does the 30-day window apply to photos and contacts too?
Yes. Deleted photos, contacts, calendars, and reminders all get their own 30-day recovery window in their respective iCloud.com sections. Each section has its own Recently Deleted folder, so check the right one for the data type you lost.
Conclusion
Accidentally deleting iCloud files is stressful, but the 30-day safety net makes it easy to undo. Just head to iCloud.com, sign in, open iCloud Drive, and recover from Recently Deleted — all in the browser. Act quickly, though: once the window closes, the files are gone for good.