diff --git a/core/includes/common.inc b/core/includes/common.inc
index 53e0be5c91..9a07da8b4a 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -931,8 +931,14 @@ function drupal_render_children(&$element, $children_keys = NULL) {
  * @see \Drupal\Core\Render\RendererInterface
  * @see show()
  * @see hide()
+ *
+ * @deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Use
+ * \Drupal\Core\Render\Renderer::renderPlain() instead.
+ *
+ * @see https://www.drupal.org/node/2939099
  */
 function render(&$element) {
+  @trigger_error('render() is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Render\Renderer::renderPlain() instead. See https://www.drupal.org/node/2939099.', E_USER_DEPRECATED);
   if (!$element && $element !== 0) {
     return NULL;
   }
diff --git a/core/modules/file/file.field.inc b/core/modules/file/file.field.inc
index a3b8868cd0..eb1ea4697d 100644
--- a/core/modules/file/file.field.inc
+++ b/core/modules/file/file.field.inc
@@ -78,12 +78,12 @@ function template_preprocess_file_widget_multiple(&$variables) {
     if ($element['#display_field']) {
       unset($widget['display']['#title']);
       $display = [
-        'data' => render($widget['display']),
+        'data' => \Drupal::service('renderer')->renderPlain($widget['display']),
         'class' => ['checkbox'],
       ];
     }
     $widget['_weight']['#attributes']['class'] = [$weight_class];
-    $weight = render($widget['_weight']);
+    $weight = \Drupal::service('renderer')->renderPlain($widget['_weight']);
 
     // Arrange the row with all of the rendered columns.
     $row = [];
diff --git a/core/modules/shortcut/shortcut.module b/core/modules/shortcut/shortcut.module
index 8ace7bdb10..c2ce70ae22 100644
--- a/core/modules/shortcut/shortcut.module
+++ b/core/modules/shortcut/shortcut.module
@@ -316,7 +316,7 @@ function shortcut_preprocess_page_title(&$variables) {
     // Replicate template_preprocess_html()'s processing to get the title in
     // string form, so we can set the default name for the shortcut.
     // Strip HTML tags from the title.
-    $name = trim(strip_tags(render($variables['title'])));
+    $name = trim(strip_tags(\Drupal::service('renderer')->renderPlain($variables['title'])));
     $query = [
       'link' => $link,
       'name' => $name,
diff --git a/core/modules/views/src/Plugin/views/field/EntityField.php b/core/modules/views/src/Plugin/views/field/EntityField.php
index ee2882c3b5..5c310b7134 100644
--- a/core/modules/views/src/Plugin/views/field/EntityField.php
+++ b/core/modules/views/src/Plugin/views/field/EntityField.php
@@ -917,7 +917,7 @@ protected function createEntityForGroupBy(EntityInterface $entity, ResultRow $ro
   }
 
   public function render_item($count, $item) {
-    return render($item['rendered']);
+    return $this->renderer->renderPlain($item['rendered']);
   }
 
   protected function documentSelfTokens(&$tokens) {
