diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index 4c0e580..8d5af43 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -2478,26 +2478,6 @@ function theme_more_link($variables) {
 }
 
 /**
- * Returns HTML for a progress bar.
- *
- * Note that the core Batch API uses this only for non-JavaScript batch jobs.
- *
- * @param $variables
- *   An associative array containing:
- *   - percent: The percentage of the progress.
- *   - message: A string containing information to be displayed.
- */
-function theme_progress_bar($variables) {
-  $output = '<div id="progress" class="progress">';
-  $output .= '<div class="bar"><div class="filled" style="width: ' . $variables['percent'] . '%"></div></div>';
-  $output .= '<div class="percentage">' . $variables['percent'] . '%</div>';
-  $output .= '<div class="message">' . $variables['message'] . '</div>';
-  $output .= '</div>';
-
-  return $output;
-}
-
-/**
  * Returns HTML for a meter.
  *
  * @param $variables
@@ -3206,6 +3186,7 @@ function drupal_common_theme() {
     ),
     'progress_bar' => array(
       'variables' => array('percent' => NULL, 'message' => NULL),
+      'template' => 'progress_bar',
     ),
     'indentation' => array(
       'variables' => array('size' => 1),
diff --git a/core/modules/system/templates/progress_bar.html.twig b/core/modules/system/templates/progress_bar.html.twig
new file mode 100644
index 0000000..e86100a
--- /dev/null
+++ b/core/modules/system/templates/progress_bar.html.twig
@@ -0,0 +1,21 @@
+{#
+/**
+ * @file
+ * Default theme implementation for a progress bar.
+ *
+ * Note that the core Batch API uses this only for non-JavaScript batch jobs.
+ *
+ * Available variables:
+ * - percent: The percentage of the progress.
+ * - message: A string containing information to be displayed.
+ *
+ * @see template_preprocess()
+ *
+ * @ingroup themeable
+ */
+#}
+<div id="progress" class="progress">
+  <div class="bar"><div class="filled" style="width: {{ percent }}%"></div></div>
+  <div class="percentage">{{ percent }}%</div>
+  <div class="message">{{ message }}</div>
+</div>
