diff --git a/core/modules/outside_in/js/outside_in.js b/core/modules/outside_in/js/outside_in.js
index caeef8d..f78c52f 100644
--- a/core/modules/outside_in/js/outside_in.js
+++ b/core/modules/outside_in/js/outside_in.js
@@ -60,6 +60,13 @@
     });
   });
 
+  // Respond to the ESC key. Exit out of edit mode.
+  $(document).on('keyup', function(e) {
+    if (isActiveMode() && e.keyCode === 27) {
+      setToggleActiveMode(false);
+    }
+  });
+
   /**
    * Gets all items that should be toggled with class during edit mode.
    *
