# Does Gmail scan for viruses? — Adinand Email Cleaner

Last reviewed: October 1, 2026. HTML version: https://adinandemail.com/answers/does-gmail-scan-for-viruses

**Yes. Google's anti-virus page puts it in one sentence: "Attachments in Gmail messages you send and receive are automatically scanned for viruses"** ([*Anti-virus scanning attachments*](https://support.google.com/mail/answer/25760), read 1 October 2026). That covers both directions and needs no setting. What happens when the scanner finds something, on either side, is on [are Gmail attachments secure?](https://adinandemail.com/answers/are-gmail-attachments-secure); this page is about the edges of the scan, which are where the risk actually sits.

## Files the scanner cannot look inside <p>Google's attachments page lists three reasons Gmail may label an attachment suspicious instead of clearing it. The one that matters most: "Some attachments, like documents that require a password to open, are encrypted and can't be scanned for viruses." The other two are attachments that allow "unverified scripts", and forwarded emails attached as `.eml` files, where Gmail checks the contents but "can't confirm that the sender in the .eml files actually sent those emails" ([*Open & download attachments in Gmail*](https://support.google.com/mail/answer/30719), read 1 October 2026).</p> <p>Google's advice on the same page is short: "If the email looks suspicious, don't reply and don't download the attachment." It also says the opposite case plainly: "If the email is from someone you know and trust, ignore the warning." A password-protected file from a colleague who told you the password is the expected case; the same file from a stranger, with the password in the email body, is the classic way past a scanner.</p>

## Links are a separate check <p>An attachment scan does nothing about a link in the message text. Google handles links differently: it "adds link protection for all official Gmail clients (web, Android, and iPhone & iPad)". If you read your Gmail in another app such as Apple Mail or Outlook, the same page describes the protection there as "a small test" for some users ([*Click-time link protections in third-party email clients*](https://support.google.com/mail/answer/10173182), read 1 October 2026). So the app you read mail in can change how much checking a link gets before you open it.</p> <p>Phishing is a third mechanism again. Google says Gmail "is designed to help protect your account by automatically identifying phishing emails", and that a suspected one may get "a warning" or be moved "to Spam" ([*Avoid & report phishing emails*](https://support.google.com/mail/answer/8253), read 1 October 2026). A message can pass the virus scan and still be a phishing email: the scan looks at files, not at what the message is asking you to do.</p>

## What Google does not tell you <p>The anti-virus page says nothing about how the scanning works: no engine, no update schedule, no detection rate. Its wording is that Gmail rejects mail when it finds "a known virus"; it makes no claim about threats that are not yet known ([*Anti-virus scanning attachments*](https://support.google.com/mail/answer/25760), read 1 October 2026). We are not going to fill that gap with a guess. The practical reading is that the scan is a strong net, not a guarantee.</p>

## What that means for you <ul> <li>**A clean scan is not a verdict on the sender.** Check who sent it before you open anything that asks you to sign in or pay.</li> <li>**Treat a password-protected archive from someone unexpected as unscanned**, because it is.</li> <li>**Some files never arrive at all.** Gmail refuses certain file types outright; that list, and why zipping does not get around it, is on [does Gmail block certain emails?](https://adinandemail.com/answers/does-gmail-block-certain-emails)</li> </ul>

Related: [Are Gmail attachments secure?](https://adinandemail.com/answers/are-gmail-attachments-secure) · [Does Gmail block certain emails?](https://adinandemail.com/answers/does-gmail-block-certain-emails) · [The Gmail spam folder](https://adinandemail.com/answers/gmail-spam-folder) · [How to stop spam emails](https://adinandemail.com/answers/stop-spam-emails)
