How to Encrypt a File on Windows 10: A Step-by-Step Guide

Protecting your personal and professional files is important, especially when your computer contains sensitive information. Whether you store financial documents, business records, private photos, passwords, or personal files, you should take steps to prevent unauthorized people from accessing them.

Learning how to encrypt a file on Windows 10 is one of the easiest ways to improve your computer’s security. File encryption converts readable information into protected data that cannot be understood without the correct decryption key or password.

Windows 10 provides several ways to encrypt files and folders. You can use the built-in Encrypting File System (EFS), BitLocker, password-protected archives, or third-party encryption software.

In this beginner-friendly guide, we will explain how each method works, how to encrypt individual files, how to protect entire folders, and what to do if you cannot find the encryption option.

Table of Contents

Quick Answer: How Do You Encrypt a File on Windows 10?

To encrypt a file using Windows 10’s built-in Encrypting File System (EFS), right-click the file, select Properties, open the General tab, click Advanced, check Encrypt contents to secure data, and select OK. Click Apply and choose whether to encrypt the file only or its parent folder. This feature is available on supported Windows 10 editions, such as Pro, Enterprise, and Education.

Key Takeaways

  • Windows 10 offers built-in file encryption through EFS.

  • EFS is available on supported editions, including Windows 10 Pro.

  • BitLocker protects entire drives rather than individual files.

  • Password-protected archives provide another way to protect individual files.

  • Always back up your encryption certificates and recovery keys.

  • Encryption protects data from unauthorized access, but it does not replace regular backups.

  • Windows 10 Home users may need an alternative encryption method.

1. What Is File Encryption in Windows 10?

File encryption is a security process that converts normal files into unreadable data using a cryptographic algorithm.

Imagine you have a document containing your personal financial information. Anyone who opens that document can read its contents if it is stored without protection.

Encryption changes this situation.

When you encrypt a file, Windows transforms its contents into protected information. Someone without the required encryption key cannot normally read the original data.

How Does File Encryption Work?

File encryption generally involves three important elements:

  1. Original file: The document, image, video, or other information you want to protect.

  2. Encryption key: The cryptographic information used to encrypt the file.

  3. Decryption key: The information required to restore the encrypted file to its readable form.

When you open an encrypted file using an authorized Windows account, the operating system automatically decrypts the information for you.

Unauthorized users without the appropriate key cannot normally access the original contents.

Why Should You Encrypt Files?

File encryption is useful for several reasons:

  • Protecting confidential business documents.

  • Securing personal financial records.

  • Keeping private photographs safe.

  • Protecting sensitive work-related information.

  • Preventing unauthorized access to stored files.

  • Reducing the risk of data exposure if someone accesses your storage.

If you regularly store sensitive information on your computer, encryption is worth considering.

2. What Are the Different Ways to Encrypt a File on Windows 10?

Windows 10 supports different security methods depending on your edition and requirements.

Before choosing a method, understand the differences.

Encryption MethodWhat It ProtectsWindows 10 Support
EFSIndividual files and foldersPro, Enterprise, Education
BitLockerEntire drivesPro, Enterprise, Education
Device EncryptionSupported device storageAvailable on compatible devices
Password-protected ZIP/7z archiveFiles inside an encrypted archiveRequires compatible software
Third-party encryption softwareIndividual files, folders, or containersDepends on the application

Which Encryption Method Should You Choose?

Your best option depends on what you want to protect.

  • Choose EFS if you want to encrypt files or folders for a specific Windows user account.

  • Choose BitLocker if you want to protect an entire drive.

  • Choose a password-protected archive if you want to send encrypted files to someone.

  • Choose third-party encryption software if you need additional encryption features.

For most beginners, EFS or a password-protected archive is a practical starting point.

3. How to Check Your Windows 10 Edition Before Encrypting a File

Before using Windows encryption features, check which edition of Windows 10 is installed on your computer.

This matters because some encryption features are not available in Windows 10 Home.

Step-by-Step Instructions

  1. Click the Start button.

  2. Open Settings.

  3. Select System.

  4. Scroll down and click About.

  5. Find the Windows specifications section.

  6. Look for the Edition field.

You will see an edition such as:

  • Windows 10 Home

  • Windows 10 Pro

  • Windows 10 Enterprise

  • Windows 10 Education

If you have Windows 10 Pro, Enterprise, or Education, you can generally use EFS.

Windows 10 Home users should consider compatible device encryption or a password-protected archive.

4. How to Encrypt a File on Windows 10 Using EFS

Encrypting File System (EFS) is a built-in Windows feature that allows you to encrypt individual files and folders on supported NTFS drives.

It is particularly useful when you want to protect selected files without encrypting the entire drive.

Step-by-Step Guide to Encrypt an Individual File

Follow these instructions carefully.

Step 1: Find the File You Want to Encrypt

  1. Open File Explorer.

  2. Navigate to the folder containing your file.

  3. Find the document or file you want to protect.

For example, you might select a confidential Word document or an Excel spreadsheet containing financial information.

Step 2: Open File Properties

  1. Right-click the selected file.

  2. Select Properties from the context menu.

  3. Make sure the General tab is selected.

You will see information about the file, including its location, size, and attributes.

Step 3: Open Advanced Attributes

  1. Find the Attributes section.

  2. Click the Advanced button.

  3. Wait for the Advanced Attributes window to appear.

This window contains additional file settings.

Step 4: Enable File Encryption

  1. Find the option labeled Encrypt contents to secure data.

  2. Check the box next to it.

  3. Click OK.

Windows will return you to the Properties window.

Step 5: Apply the Encryption Settings

  1. Click Apply.

  2. If Windows asks whether you want to encrypt only the file or its parent folder, select the appropriate option.

  3. Click OK to confirm.

Windows will now encrypt the selected file if the feature is supported and the file system permits it.

Encryption enabled

Your file is now protected through EFS.

Important Note About EFS

EFS uses encryption certificates associated with your Windows user account.

If you lose access to the required certificate or private key, you may permanently lose access to the encrypted file.

Therefore, backing up your encryption certificate is extremely important.

5. How to Encrypt an Entire Folder on Windows 10

Encrypting an entire folder is useful when you have multiple sensitive files in one location.

Instead of encrypting each file individually, you can enable encryption on the parent folder.

Step-by-Step Instructions

  1. Open File Explorer.

  2. Find the folder you want to encrypt.

  3. Right-click the folder.

  4. Select Properties.

  5. Open the General tab.

  6. Click Advanced.

  7. Check Encrypt contents to secure data.

  8. Click OK.

  9. Click Apply.

  10. Choose whether to apply changes to the folder only or to the folder, subfolders, and files.

  11. Confirm your selection.

Which Option Should You Select?

Windows may offer two choices:

OptionWhat It Does
Apply changes to this folder onlyApplies the encryption attribute to the selected folder
Apply changes to this folder, subfolders, and filesApplies encryption throughout the folder structure

If you want to protect all existing files inside the folder, choose the second option.

This helps protect the contents of the entire folder structure.

6. How to Encrypt Files on Windows 10 Using BitLocker

BitLocker is another built-in Windows security feature.

However, unlike EFS, BitLocker is designed to encrypt entire drives rather than individual files.

For example, you can encrypt your Windows system drive or an external USB storage device.

What Is BitLocker?

BitLocker is a full-volume encryption feature that helps protect stored data.

When a drive is encrypted, unauthorized people cannot normally access its contents without the required authentication or recovery information.

It is especially useful if your laptop is lost or stolen.

Step-by-Step Guide to Enable BitLocker

Step 1: Open Control Panel

  1. Click Start.

  2. Type Control Panel in the search box.

  3. Open Control Panel.

Step 2: Find BitLocker Settings

  1. Select System and Security.

  2. Click BitLocker Drive Encryption.

  3. Find the drive you want to protect.

Step 3: Turn On BitLocker

  1. Click Turn on BitLocker beside the selected drive.

  2. Follow the instructions displayed on your screen.

  3. Choose an available unlocking method.

Depending on your device, Windows may offer a password, smart card, or other authentication options.

Step 4: Save Your Recovery Key

Windows will ask you to save your recovery key.

This key is extremely important because you may need it if you forget your password or encounter a drive-unlocking problem.

Save it somewhere secure and separate from the encrypted drive.

Step 5: Choose the Encryption Scope

Depending on the drive and configuration, Windows may let you choose between:

  • Encrypt used disk space only.

  • Encrypt the entire drive.

Encrypting used space is generally faster for a new or nearly empty drive.

Encrypting the entire drive is more comprehensive, especially if the drive previously contained sensitive data.

Step 6: Start Encryption

Review your selected settings and start the encryption process.

Wait for Windows to finish.

Avoid interrupting the process unnecessarily.

Can BitLocker Encrypt an Individual File?

No. BitLocker encrypts an entire volume or drive rather than selecting individual files.

If you only want to encrypt one document, use EFS on a supported Windows edition or create a password-protected archive.

7. How to Encrypt a File on Windows 10 Home

Windows 10 Home does not include the standard EFS and BitLocker management features available in Pro and other supported editions.

However, you still have practical ways to protect individual files.

One option is to create a password-protected archive.

Method: Use 7-Zip to Encrypt a File

7-Zip is a file archiving application that supports password-protected archives using AES-256 encryption.

It is useful for protecting files before storing or sharing them.

Step-by-Step Instructions

Step 1: Install 7-Zip

Install 7-Zip using an installation package appropriate for your Windows system.

Step 2: Locate Your File

  1. Open File Explorer.

  2. Find the document you want to protect.

  3. Right-click the file.

Step 3: Open the 7-Zip Menu

  1. Select 7-Zip.

  2. Click Add to archive.

The archive configuration window will appear.

Step 4: Choose the Archive Format

Select an appropriate format.

For strong password protection, choose 7z or ZIP with AES-256 encryption support.

Step 5: Set Your Password

  1. Find the Encryption section.

  2. Enter a strong password.

  3. Enter the password again to confirm it.

  4. Select AES-256 when available.

For a 7z archive, you can also enable Encrypt file names.

Step 6: Create the Encrypted Archive

Click OK.

7-Zip will create an encrypted archive containing your file.

How to Open an Encrypted Archive

  1. Locate the encrypted archive.

  2. Double-click it.

  3. Open the file using 7-Zip.

  4. Enter your password when prompted.

  5. Extract the contents when needed.

Your original file may still exist separately. If you want the encrypted archive to be your only copy, verify that it opens correctly before securely removing the unencrypted original.

Important: Never forget your archive password. AES-256 encrypted archives generally cannot be recovered if the password is lost.

8. How to Create a Strong Password for File Encryption

A strong password is essential when protecting sensitive files.

Even advanced encryption technology cannot protect your information effectively if you use a weak or easily guessed password.

What Makes a Strong Password?

A strong password should:

  • Be long and difficult to guess.

  • Include a combination of different character types when practical.

  • Avoid personal information.

  • Avoid common words and predictable patterns.

  • Be unique to the encrypted archive or service.

A long passphrase made from several unrelated words can be easier to remember than a complicated short password.

Password Examples

Avoid predictable passwords such as:

  • password123

  • 12345678

  • yourname123

  • qwerty123

Instead, create a unique, long passphrase that is not connected to your personal information.

Why Should You Avoid Reusing Passwords?

If you use the same password for multiple accounts and encrypted files, one compromised password could expose several areas of your digital life.

Use a unique password for important encrypted archives.

A reputable password manager can help you store and organize your passwords securely.

9. How to Decrypt an Encrypted File on Windows 10

Sometimes you need to remove encryption from a file so that it can be accessed without the original encryption settings.

The process depends on the encryption method you used.

How to Decrypt an EFS File

  1. Open File Explorer.

  2. Find the encrypted file.

  3. Right-click it.

  4. Select Properties.

  5. Open the General tab.

  6. Click Advanced.

  7. Uncheck Encrypt contents to secure data.

  8. Click OK.

  9. Click Apply.

  10. Confirm the changes.

Windows will decrypt the file if your account has the necessary encryption credentials.

How to Decrypt an Encrypted Folder

Follow these steps:

  1. Right-click the encrypted folder.

  2. Select Properties.

  3. Open Advanced Attributes.

  4. Uncheck Encrypt contents to secure data.

  5. Click OK.

  6. Click Apply.

  7. Choose whether to decrypt the folder only or its contents as well.

Wait for Windows to complete the operation.

How to Decrypt a Password-Protected Archive

For a 7-Zip archive:

  1. Open the encrypted archive.

  2. Enter the correct password.

  3. Select the files you want to extract.

  4. Choose Extract.

  5. Select a destination folder.

The extracted files will be available in their normal readable form.

10. How to Back Up Your EFS Encryption Certificate

One of the most important steps after enabling EFS is backing up your encryption certificate.

Your certificate and private key help Windows access encrypted files.

If your Windows profile becomes corrupted, you reinstall Windows, or you move your files to another computer, you may need the original certificate.

Step-by-Step Instructions

  1. Press Windows + R.

  2. Type certmgr.msc.

  3. Press Enter.

  4. Expand Personal.

  5. Select Certificates.

  6. Find the certificate associated with Encrypting File System.

  7. Right-click the certificate.

  8. Select All Tasks.

  9. Click Export.

  10. Follow the Certificate Export Wizard.

  11. Select the option to export the private key if available.

  12. Choose the Personal Information Exchange format (PFX).

  13. Set a strong password to protect the exported certificate.

  14. Save the backup in a secure location.

Why Is Certificate Backup Important?

Imagine you encrypt important documents and later reinstall Windows.

If you no longer have the original encryption certificate, you may not be able to decrypt those documents.

A certificate backup can help prevent this situation.

Keep your backup somewhere secure and separate from the encrypted files.

11. How to Check Whether a File Is Encrypted on Windows 10

After encrypting a file, you may want to verify that the encryption setting is enabled.

Windows provides a simple way to check.

Method 1: Check File Properties

  1. Open File Explorer.

  2. Right-click the file.

  3. Select Properties.

  4. Open General.

  5. Click Advanced.

  6. Check whether Encrypt contents to secure data is selected.

If the checkbox is selected, the file has the EFS encryption attribute enabled.

Method 2: Check the File Name Color

Windows may display EFS-encrypted file and folder names in green in File Explorer.

However, this visual indicator can be disabled or affected by display settings.

Therefore, checking the Advanced Attributes window is a more reliable method.

Method 3: Use the Command Prompt

You can also inspect EFS encryption information using the Windows command-line utility.

  1. Open Start.

  2. Search for Command Prompt.

  3. Open it.

  4. Enter the following command:

cipher /c "C:\Users\YourName\Documents\PrivateFile.txt"

5. Press Enter.

Replace the example path with the actual location of your file.

The command displays encryption information when applicable.

12. Why Is the Encrypt Contents to Secure Data Option Missing?

One common problem is that the EFS encryption checkbox does not appear in File Properties.

This can happen for several reasons.

Reason 1: You Are Using Windows 10 Home

Standard EFS functionality is not available in Windows 10 Home.

Solution: Check your Windows edition and consider using a password-protected archive or compatible device encryption.

Reason 2: Your Drive Uses FAT32 or exFAT

EFS requires an NTFS file system.

If your file is stored on a FAT32 or exFAT drive, the EFS option may not be available.

Solution: Check the file system:

  1. Open File Explorer.

  2. Right-click the drive.

  3. Select Properties.

  4. Look for File System.

  5. Confirm whether it says NTFS.

If you need EFS, use an appropriate NTFS-formatted location.

Reason 3: EFS Is Disabled by System Policy

Some Windows configurations disable EFS through system policies.

Solution: Contact your system administrator if you use a managed work or school computer.

Reason 4: Your File Is Stored on an Unsupported Location

Some network locations and removable storage configurations may not support EFS in the way you expect.

Solution: Test the feature using a file stored on a supported local NTFS drive.

13. How to Encrypt a USB Flash Drive on Windows 10

USB flash drives are convenient for transferring documents, but they can easily be lost.

If your USB drive contains sensitive information, encrypting it can improve security.

BitLocker To Go is designed to protect supported removable drives.

Step-by-Step Instructions

  1. Connect your USB flash drive.

  2. Open Control Panel.

  3. Select System and Security.

  4. Open BitLocker Drive Encryption.

  5. Find your USB drive.

  6. Click Turn on BitLocker.

  7. Choose a password-based unlocking method if available.

  8. Create a strong password.

  9. Save your recovery key securely.

  10. Choose the encryption scope.

  11. Start encryption.

  12. Wait for Windows to finish.

After encryption, Windows will require the appropriate password or recovery method to unlock the drive.

Why Should You Encrypt a USB Drive?

Encryption can protect your information if:

  • You lose your USB drive.

  • Someone steals your storage device.

  • You carry business documents between locations.

  • You store private files outside your computer.

Remember that encryption does not prevent someone from accessing files after the drive has been successfully unlocked.

14. Is File Encryption the Same as Password Protection?

No. File encryption and password protection are related but different concepts.

Some applications use passwords simply to restrict access to a file, while others use actual cryptographic encryption.

For example, a password-protected 7z archive using AES-256 encryption protects the archive contents cryptographically.

A basic password prompt in an application does not necessarily provide the same level of security.

Main Differences

FeatureFile EncryptionBasic Password Protection
Main purposeProtect readable dataRestrict access
Encryption algorithmUses cryptographyDepends on the application
Unauthorized access protectionStrong when configured correctlyVaries
Key or password requiredYesUsually
Suitable for sensitive informationYesDepends on implementation

For confidential documents, choose a solution that provides genuine encryption rather than relying on a simple access password.

15. Common Mistakes to Avoid When Encrypting Files

File encryption is helpful, but mistakes can cause serious problems.

Here are some common issues you should avoid.

Forgetting Your Encryption Password

If you create a password-protected archive and forget its password, recovering the original files may be extremely difficult or impossible.

Always store important passwords securely.

Not Backing Up EFS Certificates

EFS certificates are essential for accessing your encrypted files.

Export your certificate and private key before relying on EFS for important documents.

Deleting the Original File Too Early

When creating an encrypted archive, do not immediately delete the original file.

First, verify that the archive opens successfully and contains all the required information.

Encrypting Files Without a Recovery Plan

Encryption is only useful if you can access your information when needed.

Keep secure backups of important files and recovery keys.

Assuming Encryption Protects Against Every Threat

Encryption does not automatically protect files from malware, ransomware, phishing, or someone accessing your computer while you are logged in.

Combine encryption with antivirus protection, strong account passwords, software updates, and regular backups.

16. Which Is the Best File Encryption Method for Windows 10?

There is no single best method for everyone.

The right option depends on your Windows edition and the type of protection you need.

Your RequirementRecommended Method
Encrypt an individual fileEFS
Encrypt an entire folderEFS
Protect your Windows system driveBitLocker
Encrypt a USB driveBitLocker To Go
Send a password-protected document7-Zip AES-256 archive
Protect files on Windows 10 HomeCompatible encrypted archive
Protect files for a specific Windows userEFS

Our Recommendation

If you have Windows 10 Pro and want to encrypt individual files, EFS is a convenient built-in option.

If you want to protect files before sharing them with another person, an AES-256 encrypted 7z archive is a practical choice.

If you want to secure your entire computer drive, BitLocker is generally the more suitable option.

Always consider recovery and backup requirements before encrypting important information.

17. Frequently Asked Questions About File Encryption on Windows 10

Can I encrypt a single file on Windows 10?

Yes. You can encrypt an individual file using EFS on supported Windows 10 editions. Right-click the file, select Properties, open Advanced Attributes, and enable Encrypt contents to secure data.

Does Windows 10 Home support file encryption?

Windows 10 Home does not include the standard EFS feature or BitLocker management available in Pro editions. You can use a password-protected archive with AES-256 encryption or compatible device encryption where supported.

How do I encrypt a folder without installing software?

If you have a supported Windows 10 edition, use EFS. Right-click the folder, open Properties, select Advanced, and enable Encrypt contents to secure data.

Can I recover an encrypted file if I forget my password?

Recovery depends on the encryption method. EFS files may be recoverable using a backed-up certificate or authorized recovery key. Password-protected AES-256 archives generally cannot be recovered without the correct password.

Does encrypting a file slow down Windows 10?

For ordinary documents, the performance impact of file encryption is usually small on modern computers. However, encryption and decryption can require additional processing, particularly when working with large files or slower hardware.

Conclusion

Learning how to encrypt a file on Windows 10 is an important step toward protecting your personal and professional information.

Windows provides several useful encryption options, including EFS, BitLocker, and device encryption on compatible computers. You can also use password-protected archives to secure individual files before sharing them.

For individual files, EFS is a convenient option on supported Windows editions. For complete drive protection, BitLocker is a better choice. Windows 10 Home users can consider AES-256 encrypted archives created with compatible software.

Before encrypting important information, remember these essential tips:

  • Check your Windows edition.

  • Choose the encryption method that matches your needs.

  • Create strong, unique passwords.

  • Back up EFS certificates and BitLocker recovery keys.

  • Keep a separate backup of important files.

  • Verify encrypted files before deleting their original copies.

By following these steps, you can make your Windows 10 computer more secure and reduce the risk of unauthorized access to your sensitive information.