On a Mac, hitting Cmd+Enter will send the current message (on Windows it is Ctrl+Enter). I’m constantly hitting this accidentally and sending emails before I’m done with them. Usually, it’s because I’m trying to press Cmd+] to indent some text, but the ] key is right next to Enter on my keyboard and I sometimes hit the wrong one.

Is there any way that I can disable this shortcut in either Gmail settings or with a Greasemonkey script/Firefox plugin?

  • Related: Disable some Gmail shortcut keys Commented May 31, 2013 at 14:48
  • As an alternative, I can recommend the "Undo send" lab feature. So if you accidentally send an email, you can undo it within the next 10 seconds or so. Commented Oct 22, 2013 at 14:27
  • @VidarS.Ramdal actually this lab feature seemst to break when the send shortcut is used (at least it does for me)
    – s6mike
    Commented Nov 7, 2014 at 19:58
  • I voted for Roland Hordos's answer but, come on! This is utterly stupid that hacking around with a safari Keystroke Extension is the best solution for this. Where can we file this as a bug with google. The ease with which this allows you to accidentally send a message, and how bad the consequences of that can be seems like it should be so obvious. Commented Apr 20, 2015 at 0:39

8 Answers 8


I've been able to resolve this issue by enabling Gmail's "Undo Send" feature. CMD + Enter still triggers sending, but I now have a 10-second window to catch it before it is actually sent.

Send or unsend Gmail messages

  1. On your computer, open Gmail.
  2. In the top right, click Settings .
  3. Click Settings.
  4. In the "Undo Send" section, check the box next to "Enable Undo Send." enter image description here
  5. In the "Send cancellation period" section, set the amount of time you want to decide if you want to unsend an email.
  6. At the bottom of the page, click Save Changes.

After you turn on Undo Send, you can cancel sending an email.

  1. After you send a message, you'll see the message "Your message has been sent" and the option to Undo or View message.
  2. Click Undo.

Let's clarify: Unfortunately, this isn't actually possible. However, you can alter other keyboard shortcuts.

There are certain keyboard shortcuts in Gmail that are always on regardless of whether or not you've enabled Gmail keyboard shortcuts (see below). According to Gmail's keyboard shortcut help:

Shortcuts that are always turned on

These navigational and formatting shortcuts all work whether or not you've enabled the keyboard shortcuts setting.

The Cmd+Enter shortcut is one of the Gmail Keyboard Shortcuts that will always be turned on regardless of whether or not keyboard shortcuts are enabled.

You can disable Gmail keyboard shortcuts by going to Settings (the gear icon) and selecting the General tab. About half-way down you can select your Keyboard shortcuts: option and turn shortcuts on or off. Just be sure to click Save changes at the bottom and you should be all set.

If you go to Labs in the settings panel you can enable Custom keyboard shortcuts which should allow you to edit the shortcuts to your liking (keyboard shortcuts have to be enabled for this to work). See answer about this from the Disable some gmail shortcut keys thread.

  • 2
    Thanks for the clarification of CMD + Enter always being on when shortcuts are enabled, unfortunately I use many keyboard shortcuts, but I just want to disable sending one. Commented May 31, 2013 at 19:02
  • 3
    @AdamFranco yeah, unfortunately not even "custom keyboard shortcuts" allows you to override that one Commented May 31, 2013 at 19:19
  • 5
    You might want to rephrase your answer because, the way you have written it, makes it sound like you can disable CMD + Enter by turning keyboard shortcuts off at the general tab. That is not the case - CMD + Enter is an always on shortcut (tested this twice to be sure). Commented Jan 30, 2014 at 15:05
  • @FrancisDavey thanks for pointing that out, I changed it up. Commented Jan 31, 2014 at 15:26
  • 1
    I actually still found this answer confusing. It still makes it look like the last two paragraphs are providing ways to disable the "Send Email" shortcut, but from my comments and from trying out the first one, that doesn't seem to be the case. I think in each of your suggestions, it would be better to clarify that the suggestion doesn't actually help with the stated problem, or maybe at the very top of your answer you could include a summary along the lines of "Unfortunately, this isn't possible. However, you can alter other keyboard shortcuts.".
    – Sam
    Commented Jan 10, 2016 at 8:48

This happens to me all the time and although is not a solution, now I'm not using the "reply" command anymore, but the "forward" until I'm done with my mail. Then I change it to reply mode.

  • I like this. I had been using the HTML email interface for ages precisely because of this issue. Google turned that off and now I'm remembering why I found the "smart" interface unusable. Does Google even do market research before making these decisions?
    – MRule
    Commented Apr 11 at 17:36

I wrote a gist that disables the cmd+enter hotkey in gmail (also disables ctrl+enter on windows) in Firefox.

First you have to install greasemonkey

Then go to this gist and click the 'raw' button (or install directly here). Greasemonkey will install the script and you are good to go.


Solution for Safari using Keystroke Extension to intercept the key and do something innocuous:

  • install extension from https://sites.google.com/site/solushex/keystroke
  • click backwards KS icon (backwards text indicates key filter disabled)
  • map Command Enter to something appropriate for you or otherwise innocuous .. say Wrap Text
  • at the top of the preferences screen be sure to click the "Save" text then "Inactive" as well, toggling the filter to Active state
  • restart Safari
  • bickety bam Gmail rocks again ;)

Comment: Some advanced features like excluding keys by domain; untried

FWIW my own need scenario comes from using a lot of JetBrains tools where CMD+Enter inserts a line leaving my cursor exactly where it was on the screen and at the beginning of the new line (coding sweetness). After auto-piloting out Gmail fragments a fix was a must.


On my Mac, this was bugging me too, I kept pasting with +V then hitting Enter too quickly—the +Enter was captured and would send the message.

My solution was to simply remap Cmd+Enter keys as follows: Apple → System Preferences → Keyboard, then selected the keyboard section, I then chose something innocuous like "Move focus to status menus" and with that action selected, I then pressed +Enter (Cmd+Enter).

There may be a more elegant solution, but this works for me.


There is a good way: Include the word "Attach" in your sign. If you try to send an e-mail with "Attach" word without attachments, it will ask you if you are sure, so you can avoid auto-sending. Before sending the e-mail, you should delete the word "Attach", attach the files (if you have something to attach) and send the e-mail. Its pretty strange, but it works


I found older userscripts that no longer work so I wrote my own.


// ==UserScript==
// @name         Gmail Disable accidental sending
// @namespace    http://tampermonkey.net/
// @version      2024-01-22
// @description  Disable Ctrl+Enter to send, in order to prevent accidental sending
// @author       Patrick van Ek
// @match        https://mail.google.com/mail/*
// @icon         https://mail.google.com/favicon.ico
// @grant        none
// ==/UserScript==


window.document.addEventListener('keydown', function(e) {
  // Mac uses the Command key, identified as metaKey
  // Windows and Linux use the Control key, identified as ctrlKey
  var modifier = e.ctrlKey;
  // abort if the proper command/control modifier isn't pressed
  if (!modifier) {

  switch (e.keyCode) {
    case 13: // Enter - (disable cmd-enter to send in gmail)
      console.log("Prevented accidental send");
}, true);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.