diff --git a/core/modules/user/src/AccountForm.php b/core/modules/user/src/AccountForm.php
index f5e2e49acf..a0283050d7 100644
--- a/core/modules/user/src/AccountForm.php
+++ b/core/modules/user/src/AccountForm.php
@@ -71,6 +71,10 @@ public function form(array $form, FormStateInterface $form_state) {
     $register = $account->isAnonymous();
     $admin = $user->hasPermission('administer users');
 
+    if ($account->id() == 1) {
+      drupal_set_message($this->t('Be careful, you are editing the the admin user. Changes made here could lock you out of your site completely.'), 'warning');
+    }
+
     // Account information.
     $form['account'] = [
       '#type'   => 'container',
