Notification

At least 1 message in was recently identified as potentially dangerous. Deceptive emails are often used to steal personal info or break into online accounts. Learn how to help protect against deceptive messages

File types blocked in Gmail

There are a number of reasons why you may find the "This message was blocked because its content presents a potential security issue" error in Gmail. Gmail blocks messages that may spread viruses, like messages that include executable files or certain links.

Messages that have attachments

To protect your account from potential viruses and harmful software, Gmail doesn't allow you to attach:

  • Certain types of files, including their compressed form (like .gz or .bz2 files) or when found within archives (like .zip or .tgz files)
  • Documents with malicious macros
  • Password-protected archives with archived content

Tip: If you try to attach a document that is too large, your message won't send. Learn more about attachments and file size limits.

File types you can't include as attachments

To protect your account, Gmail doesn't allow you to attach certain types of files. Gmail often updates the types of files not allowed to keep up with harmful software that is constantly changing.

File types blocked by Gmail are:

.ade, .adp, .apk, .appx, .appxbundle, .bat, .cab, .chm, .cmd, .com, .cpl, .diagcab, .diagcfg, .diagpkg, .dll, .dmg, .ex, .ex_, .exe, .hta, .img, .ins, .iso, .isp, .jar, .jnlp, .js, .jse, .lib, .lnk, .mde, .mjs, .msc, .msi, .msix, .msixbundle, .msp, .mst, .nsh, .pif, .ps1, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vhd, .vxd, .wsc, .wsf, .wsh, .xll,

Tip: If you're sure the file is safe, you can ask the sender to upload the file to Google Drive. Then send it as a Drive attachment.

Messages that don't have attachments

Sometimes messages are blocked when you don't include any attachments.

This can happen when you include content, images, or links that might share viruses.

Search
Clear search
Close search
Main menu
4077232465477715240
true
Search Help Center
true
true
true
true
true
17
false
false