This article is about exclusions in Avast Antivirus. For information about exclusions in Avast One, refer to the following article: Excluding certain files or websites from scanning in Avast One.
Although it is generally not recommended, you may want to exclude certain files, folders, or websites from being scanned by Avast Antivirus. This can speed up your scans and prevent false-positive detections.
Set exceptions only if you know that the files and websites you want to exclude are safe. If you are unsure about a file, you can scan it in Virus Total, or add the file to Quarantine and submit it to Avast Threat Labs.
Refer to the sections below to manage exceptions in Avast Antivirus:
Add an exception
Setting an exception will exclude individual files, folders, or websites from all scans and shields.
To set an exception:
- Open Avast Antivirus and go to
☰ Menu ▸ Settings. 
- Select General ▸ Exceptions, then click Add exception.

- Read through the questions to ask and click Next ▸ I understand risks.

The following exceptions are available:
- Website / Domain: Excludes all websites that contain the same domain name.
- File / Folder: Excludes files / folders with the option to specify your exclusions.
- Command Line: Excludes scripts presented on the command line.
Website / Domain
- Select the Website / Domain tab.

- Enter a URL domain to exclude all pages with this domain name, then click Add.

File / Folder
- Select the File/Folder tab.

- Click the folder icon, then navigate to the specific file/folder path and click OK.

- Optionally, click Advanced options, untick a feature you do not want the exception to apply for:
- All scans: Enables all scans.
- Behavior Shield detections: Warns you if any application behaves suspiciously.
- File Shield detections: Scans any file added to or opened on your PC.
- Hardened Mode detections: Determines which executable files are safe to open.
- CyberCapture detections: Analyzes unrecognized files and warns you about new threats.

- Click Add.

Command Line
- Select the Command Line tab.

- Enter the Command and optionally provide Command parameters, then click Add.

Manage exceptions
You can manage your current exceptions via the application settings:
- Open Avast Antivirus and go to
☰ Menu ▸ Settings. 
- Select General ▸ Exceptions.

- Hover the cursor over the relevant exception, then select an option:
- Pencil icon: Edit the exception.
- X icon: Remove the exception from your list.
The list updates automatically.
Further recommendations
For other related topics, refer to the following articles:
This article is about exclusions in Avast Security. For information about exclusions in Avast One, refer to the following article: Excluding certain files or websites from scanning in Avast One.
Although it is generally not recommended, you may want to exclude certain files, folders, or websites from being scanned by Avast Security. This can speed up your scans and prevent false-positive detections.
Set exceptions only if you know that the files and websites you want to exclude are safe. If you are unsure about a file, you can scan it in Virus Total, or add the file to Quarantine and submit it to Avast Threat Labs.
Refer to the sections below to manage exceptions in Avast Security:
Add an exception