diff --git a/core/modules/system/src/Form/ModulesListExperimentalConfirmForm.php b/core/modules/system/src/Form/ModulesListExperimentalConfirmForm.php
new file mode 100644
index 0000000..9b18f8a
--- /dev/null
+++ b/core/modules/system/src/Form/ModulesListExperimentalConfirmForm.php
@@ -0,0 +1,72 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\system\Form\ModulesListExperimentalConfirmForm.
+ */
+
+namespace Drupal\system\Form;
+
+use Drupal\Core\Form\ConfirmFormBase;
+use Drupal\Core\Form\FormStateInterface;
+
+/**
+ * Builds a confirmation form for enabling experimental modules.
+ */
+class ModulesListExperimentalConfirmForm extends ModulesListConfirmForm {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getQuestion() {
+    return $this->t('Are you sure you wish to enable experimental modules?');
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getFormId() {
+    return 'system_modules_experimental_confirm_form';
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function buildForm(array $form, FormStateInterface $form_state) {
+    $account = $this->currentUser()->id();
+    $this->modules = $this->keyValueExpirable->get($account);
+
+    // Redirect to the modules list page if the key value store is empty.
+    if (!$this->modules) {
+      return $this->redirect('system.modules_list');
+    }
+
+    drupal_set_message($this->t('<a href=":url">Experimental modules</a> are provided for testing purposes only. Use at your own risk.', [':url' => 'https://www.drupal.org/core/experimental']), 'warning');
+
+    $dependency_items = [];
+    // Display a list of required modules that have to be installed as well but
+    // were not manually selected.
+    if (!empty($this->modules['dependencies'])) {
+      foreach ($this->modules['dependencies'] as $module => $dependencies) {
+        $dependency_items[] = $this->formatPlural(count($dependencies), 'You must enable the @required module to install @module.', 'You must enable the @required modules to install @module.', array(
+          '@module' => $this->modules['install'][$module],
+          '@required' => implode(', ', $dependencies),
+        ));
+      }
+      $form['dependency_message'] = array(
+        '#title' => $this->t('Some required modules must be enabled'),
+        '#theme' => 'item_list',
+        '#items' => $dependency_items,
+      );
+    }
+
+    $form['experimental_message'] = [
+      '#title' => $this->t('The following modules are experimental'),
+      '#theme' => 'item_list',
+      '#items' => array_values($this->modules['experimental']),
+    ];
+
+    return ConfirmFormBase::buildForm($form, $form_state);
+  }
+
+}
diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index e8a6cea..140ca10 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -368,6 +368,7 @@ protected function buildModuleList(FormStateInterface $form_state) {
     $modules = array(
       'install' => array(),
       'dependencies' => array(),
+      'experimental' => [],
     );
 
     // Required modules have to be installed.
@@ -380,10 +381,14 @@ protected function buildModuleList(FormStateInterface $form_state) {
     }
 
     // First, build a list of all modules that were selected.
-    foreach ($packages as $items) {
+    foreach ($packages as $package => $items) {
       foreach ($items as $name => $checkbox) {
         if ($checkbox['enable'] && !$this->moduleHandler->moduleExists($name)) {
           $modules['install'][$name] = $data[$name]->info['name'];
+          // Identify experimental modules.
+          if ($package == 'Core (Experimental)') {
+            $modules['experimental'][$name] = $data[$name]->info['name'];
+          }
         }
       }
     }
@@ -394,6 +399,11 @@ protected function buildModuleList(FormStateInterface $form_state) {
         if (!isset($modules['install'][$dependency]) && !$this->moduleHandler->moduleExists($dependency)) {
           $modules['dependencies'][$module][$dependency] = $data[$dependency]->info['name'];
           $modules['install'][$dependency] = $data[$dependency]->info['name'];
+
+          // Identify experimental modules.
+          if ($data[$dependency]->info['package'] == 'Core (Experimental)') {
+            $modules['experimental'][$dependency] = $data[$dependency]->info['name'];
+          }
         }
       }
     }
@@ -423,6 +433,20 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
     // Retrieve a list of modules to install and their dependencies.
     $modules = $this->buildModuleList($form_state);
 
+    // Check whether any module is experimental, and if so, redirect to the
+    // confirmation form.
+    if (!empty($modules['experimental'])) {
+      // Write the list of changed module states into a key value store.
+      $account = $this->currentUser()->id();
+      $this->keyValueExpirable->setWithExpire($account, $modules, 60);
+
+      // Redirect to the confirmation form.
+      $form_state->setRedirect('system.modules_list_experimental_confirm');
+
+      // Exit here; the user must confirm enabling experimental modules.
+      return;
+    }
+
     // Check if we have to install any dependencies. If there is one or more
     // dependencies that are not installed yet, redirect to the confirmation
     // form.
diff --git a/core/modules/system/system.routing.yml b/core/modules/system/system.routing.yml
index e6108ac..aca62db 100644
--- a/core/modules/system/system.routing.yml
+++ b/core/modules/system/system.routing.yml
@@ -273,6 +273,14 @@ system.modules_list_confirm:
   requirements:
     _permission: 'administer modules'
 
+system.modules_list_experimental_confirm:
+  path: '/admin/modules/list/confirm-experimental'
+  defaults:
+    _form: 'Drupal\system\Form\ModulesListExperimentalConfirmForm'
+    _title: 'Experimental modules'
+  requirements:
+    _permission: 'administer modules'
+
 system.theme_uninstall:
   path: '/admin/appearance/uninstall'
   defaults:
