How to open your user profile folder in Windows

Updated: 12/30/2019 by Computer Hope
User profile folder

In Windows, your user profile folder is a special folder that contains files and folders pertaining only to you. It contains your Desktop, your Documents, and personal data such as your application preferences.

Files in the user profile folder are private to you. If other people use your computer, they cannot view and change the files in your user profile folder, unless they are an administrator. The same permissions apply to all subdirectories of your profile directory, such as your Desktop directory, your Documents directory, etc.

Where is the user profile folder?

Your user profile folder is located in the Users folder on your Windows system drive, which on most computers is C:.

In the Users folder, your profile folder name is the same as your username. If your username is hope, your user profile folder is located at C:\Users\hope\.

The %USERPROFILE% environment variable

If you're not sure what your username is, you can always get to your profile folder using the environment variable %USERPROFILE%.

An environment variable is a special word that contains a value. The %USERPROFILE% variable contains the path of your user profile folder.

Using %USERPROFILE% in File Explorer

In your File Explorer, the location bar shows the name of the folder you're viewing. It works like an address bar in a web browser. You can type a location on your computer into the location bar, and File Explorer opens that folder.

As shown in the following steps, if you type %USERPROFILE% in the location bar, File Explorer opens your profile folder.

  1. Open a new File Explorer window. You can open it from the Start menu (Windows SystemFile Explorer).

    Or, press the keyboard shortcut Win+E (hold down the Windows key and press E).
  2. Click in the location bar.
  3. Type %USERPROFILE% and press Enter.

%USERPROFILE% in File Explorer

  1. File Explorer opens your user profile folder and displays its contents. The title bar of the window and your location bar both display your full login name.

User profile folder

Using %USERPROFILE% in Command Prompt

If you use the Windows Command Prompt, you can use the cd command with %USERPROFILE% to change the current directory to your profile folder.

  1. Open a new Command Prompt window. You can open it from the Start menu (Windows SystemCommand Prompt).

    Or, press Win+R to open the Run box, type cmd, and press Enter.

Run Box

  1. Your command prompt displays the current directory, followed by a >.

User profile current directory

Tip

By default, when you open a new Command Prompt window, the current directory is your user profile folder.

  1. To change to your profile folder at any time, use the cd command:
cd %USERPROFILE%

Change directory to %USERPROFILE% in Command Prompt.

  1. You can also use the echo command to display the value of %USERPROFILE%.
echo %USERPROFILE%

To view your username, use echo %USERNAME%.

echo %USERNAME%

Echo %USERPROFILE% and %USERNAME% in Command Prompt.

Why do I need to open the profile folder?

Usually, you don't need to open your profile folder directly. The Quick Access shortcuts on the left side of the File Explorer window (Desktop, Documents, Downloads, Music, etc.) already point to the major folders in your profile directory.

Note

As a general rule, you should not rearrange the files and folders that already exist in your profile directory, because Windows expects them to have certain names and locations. For instance, do not move or rename your Desktop folder.

However, you can put files and folders in your profile directory if you choose.

Also, some tasks, such as adding items to your Startup folder, require that you know the location of your profile folder.