What is VeraCrypt?

VeraCrypt is a free, open-source disk encryption tool. It creates encrypted containers (virtual encrypted disks) or encrypts entire partitions and drives. Your data is protected with strong encryption algorithms, accessible only with your password.

VeraCrypt is the successor to TrueCrypt and is available for Windows, macOS, and Linux.

💡
When to use VeraCrypt

VeraCrypt is ideal for protecting sensitive files on your computer, USB drives, or external hard drives. If your device is lost or stolen, encrypted data remains inaccessible.

Installing VeraCrypt

Windows

1
Download the installer from the official VeraCrypt website (veracrypt.fr)
2
Run the installer and follow the setup wizard

Linux (Ubuntu/Debian)

# Download the latest .deb package from veracrypt.fr, then:
sudo dpkg -i veracrypt-*.deb
sudo apt-get install -f    # Fix any dependency issues

Creating an Encrypted Container

An encrypted container is a file that acts as a virtual encrypted disk. This is the easiest way to start with VeraCrypt.

1
Open VeraCrypt and click "Create Volume"
2
Select "Create an encrypted file container" and click Next
3
Choose "Standard VeraCrypt volume" (hidden volumes are for advanced users)
4
Choose a location and filename for the container file (e.g., my_vault)
5
Select encryption algorithm. AES is a good default. For maximum security, use AES-Twofish-Serpent cascade
6
Set the container size (e.g., 1 GB, 10 GB) based on how much data you need to store
7
Create a strong password. Use at least 20 characters with mixed case, numbers, and symbols
8
Move your mouse randomly within the window to generate encryption keys, then click Format
⚠️
Do not forget your password!

There is no password recovery for VeraCrypt. If you forget your password, your data is permanently inaccessible. Store a backup of your password in a secure password manager.

Mounting and Using Your Container

To access your encrypted files:

1
Open VeraCrypt and select an available drive letter (Windows) or slot (Linux)
2
Click "Select File" and browse to your container file
3
Click "Mount" and enter your password

The container now appears as a regular drive. You can copy files in and out normally.

When finished, always dismount the volume by selecting it and clicking "Dismount." This locks the container and protects your data.

Best Practices

  • Always dismount when you are done working with encrypted files
  • Back up your container file regularly (it is just a file you can copy)
  • Use a strong, unique password that you store in a password manager
  • Keep VeraCrypt updated for the latest security fixes
  • Do not store the container on cloud storage without additional precautions, as partial syncs can corrupt it

Summary

In this tutorial, you learned:

  • What VeraCrypt is and when to use it
  • How to install VeraCrypt on Windows and Linux
  • Creating an encrypted file container step by step
  • Mounting, using, and dismounting encrypted volumes
  • Best practices for keeping your encrypted data safe
🎉
Your data is now encrypted!

Even if someone gains physical access to your computer or drive, your VeraCrypt container remains locked without the password.