diff --git a/doc/api/errors.md b/doc/api/errors.md
index b43a3395bff615..2088fea0de6552 100755
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -997,11 +997,6 @@ While using `N-API`, `Constructor.prototype` was not an object.
 An attempt was made to use features that require [ICU][], but Node.js was not
 compiled with ICU support.
 
-<a id="ERR_OUTOFMEMORY"></a>
-### ERR_OUTOFMEMORY
-
-An operation caused an out-of-memory condition.
-
 <a id="ERR_SOCKET_ALREADY_BOUND"></a>
 ### ERR_SOCKET_ALREADY_BOUND
 
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index 76ca6098f83868..9a1bc0ee38d519 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -264,7 +264,6 @@ E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function');
 E('ERR_NAPI_CONS_PROTOTYPE_OBJECT', 'Constructor.prototype must be an object');
 E('ERR_NO_CRYPTO', 'Node.js is not compiled with OpenSSL crypto support');
 E('ERR_NO_ICU', '%s is not supported on Node.js compiled without ICU');
-E('ERR_OUTOFMEMORY', 'Out of memory');
 E('ERR_PARSE_HISTORY_DATA', 'Could not parse history data in %s');
 E('ERR_REQUIRE_ESM', 'Must use import to load ES Module: %s');
 E('ERR_SOCKET_ALREADY_BOUND', 'Socket is already bound');