---
title: "How to Restore a File from Trash in File Manager"
description: "Did you accidentally delete a file in cPanel? Your file may be in the \"Trash\" folder instead of permanently deleted. In this tutorial, we will show you how to view your File Manager Trash so you can..."
url: https://www.inmotionhosting.com/support/website/backup-and-restore/restore-trash/
date: 2018-10-29
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Backups and Restorations"]
type: post
lang: en
---

# How to Restore a File from Trash in File Manager

Did you accidentally delete a file in cPanel? Your file may be in the “Trash” folder instead of permanently deleted. In this tutorial, we will show you how to view your File Manager Trash so you can **restore the file** to it’s original location.

Keep in mind that this is separate from the [Trash directory](https://www.inmotionhosting.com/support/server/linux/send-files-to-trash-with-gio-trash/) used with terminal commands.

Do you want to control when your cPanel’s are backed up? InMotion Hosting offers [Dedicated Hosting](https://www.inmotionhosting.com/dedicated-servers) plans that allow you to perform or schedule cPanel backups.

## Restore File Manager Trash

1. [Log into cPanel](/support/edu/cpanel/access-cpanel-via-whm/).
2. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_cpanel-file-manager.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_cpanel-file-manager.png) Click **File Manager** in the *Files* section of cPanel.
3. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_view-trash-cpanel.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_view-trash-cpanel.png) You will be in the [File Manager](/support/edu/cpanel/using-file-manager-in-cpanel/), click the **View Trash** link. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_view-of-trash-files.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_view-of-trash-files.png) You will then see a list deleted files.
4. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_sort-trash-files.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_sort-trash-files.png) To sort the files click **Name**, **Size**, **Last Modified**, **Type**, or **Permissions**.
5. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_restore-trash-in-file-manager.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_restore-trash-in-file-manager.png) Select the file you want to bring back then click the **Restore** option. You can also **right-click** a file and choose **Restore**.
6. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_restore-files-from-trash.png)](/support/wp-content/uploads/2018/10/cpanel_file-manager_restore-trash_restore-files-from-trash.png) A message will ask “*Are you sure you wish to restore the following files to their original locations?*” Click the **Restore File(s)** button.

Congratulations, now you know how to Restore trash in the cPanel File Manager! In the next guide, we will show you how to permanantly delete a file from Trash in File Manager.
