Some file types are blocked

As a security measure to prevent potential viruses, Gmail doesn't allow you to send or receive executable files (such as files ending in .exe). Executable files can contain harmful code that might cause malicious software to download to your computer. In addition, Gmail doesn't allow you to send or receive corrupted files, files that don't work properly.

File types that can't be sent or received

You can't send or receive the following file types:

.ade, .adp, .bat, .chm, .cmd, .com, .cpl, .exe, .hta, .ins, .isp, .jse, .lib, .lnk, .mde, .msc, .msp, .mst, .pif, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vxd, .wsc, .wsf, .wsh

Messages containing the types of files listed above will be bounced back and returned to the sender automatically. Gmail won't accept these file types even if they're sent in a zipped format. Here are some examples of zipped formats:

.zip, .tar, .tgz, .taz, .z, .gz, .rar

Zip file within another zip file

It isn't possible to send a password-protected zip file containing a zip file. Please de-compress all files or remove the password protection if possible.

Mac users, sending a zip file which also contains another zip file increases your chances of file corruption. We recommend that you de-compress all files first and create only one zip file.
Maximum file size

You can send and receive messages up to 25 megabytes (MB) total including attachments. Any message that exceeds this limit will not be delivered and will be returned to the sender. Learn more about sending messages and maximum attachment size.

Learn more

  • Learn how Google scans attachments to prevent viruses.
  • See your operating system's help resources to learn how to compress a file in a zip file or remove a zip file's password protection.