Clear search
Close search
Google apps
Main menu

    Some file types are blocked

    There are a number of reasons why you may see 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.

    Why messages get blocked

    Messages that have attachments

    To protect you against potential viruses and harmful software, Gmail doesn't allow you to attach certain types of files, including:

    • Certain file types (listed below), including their compressed form (like .gz or .bz2 files) or when found within archives (like .zip or .tgz files)
    • Documents with malicious macros
    • Archives whose listed file content is password protected
    • Password protected archives whose content is an archive

    Note: 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

    .ADE, .ADP, .BAT, .CHM, .CMD, .COM, .CPL, .EXE, .HTA, .INS, .ISP, .JAR, .JS (NEW), .JSE, .LIB, .LNK, .MDE, .MSC, .MSI, .MSP, .MST, .NSH .PIF, .SCR, .SCT, .SHB, .SYS, .VB, .VBE, .VBS, .VXD, .WSC, .WSF, .WSH

    What you can do

    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.

    Was this article helpful?
    How can we improve it?
    Sign in to your account

    Get account-specific help by signing in with your G Suite account email address, or learn how to get started with G Suite.