diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_paging.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_paging.yml
new file mode 100644
index 0000000..841afce
--- /dev/null
+++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_paging.yml
@@ -0,0 +1,330 @@
+langcode: en
+status: true
+dependencies:
+  module:
+    - node
+    - user
+id: test_argument_paging
+label: test_argument_paging
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+  default:
+    display_plugin: default
+    id: default
+    display_title: Master
+    position: 0
+    display_options:
+      access:
+        type: perm
+        options:
+          perm: 'access content'
+      cache:
+        type: none
+        options: {  }
+      query:
+        type: views_query
+        options:
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_comment: ''
+          query_tags: {  }
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Apply
+          reset_button: false
+          reset_button_label: Reset
+          exposed_sorts_label: 'Sort by'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      pager:
+        type: full
+        options:
+          items_per_page: 5
+          offset: 0
+          id: 0
+          total_pages: null
+          expose:
+            items_per_page: false
+            items_per_page_label: 'Items per page'
+            items_per_page_options: '5, 10, 25, 50'
+            items_per_page_options_all: false
+            items_per_page_options_all_label: '- All -'
+            offset: false
+            offset_label: Offset
+          tags:
+            previous: '< previous'
+            next: 'next >'
+            first: '<< first'
+            last: 'last >>'
+          quantity: 9
+      style:
+        type: table
+      row:
+        type: fields
+      fields:
+        uid:
+          id: uid
+          table: node_field_data
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Authored by'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          link_to_user: true
+          entity_type: node
+          entity_field: uid
+          plugin_id: user
+        nid:
+          id: nid
+          table: node
+          field: nid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Node ID'
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: number_integer
+          settings:
+            thousand_separator: ''
+            prefix_suffix: true
+          group_column: value
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: nid
+          plugin_id: field
+        type:
+          id: type
+          table: node
+          field: type
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Type
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: true
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: target_id
+          type: entity_reference_label
+          settings:
+            link: true
+          group_column: target_id
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+          entity_type: node
+          entity_field: type
+          plugin_id: field
+      filters: {  }
+      sorts: {  }
+      title: test_argument_paging
+      header: {  }
+      footer: {  }
+      empty: {  }
+      relationships: {  }
+      arguments:
+        type:
+          id: type
+          table: node
+          field: type
+          relationship: none
+          group_type: group
+          admin_label: ''
+          default_action: ignore
+          exception:
+            value: all
+            title_enable: false
+            title: All
+          title_enable: false
+          title: ''
+          default_argument_type: fixed
+          default_argument_options:
+            argument: ''
+          default_argument_skip_url: false
+          summary_options:
+            base_path: ''
+            count: true
+            items_per_page: 25
+            override: false
+          summary:
+            sort_order: asc
+            number_of_records: 0
+            format: default_summary
+          specify_validation: false
+          validate:
+            type: none
+            fail: 'not found'
+          validate_options: {  }
+          glossary: false
+          limit: 0
+          case: none
+          path_case: none
+          transform_dash: false
+          break_phrase: false
+          entity_type: node
+          entity_field: type
+          plugin_id: string
+      display_extenders: {  }
+      filter_groups:
+        operator: AND
+        groups: {  }
+    cache_metadata:
+      contexts:
+        0: node_view_grants
+        1: user
+        3: cache.context.url
+        4: language
+      cacheable: false
+  page_1:
+    display_plugin: page
+    id: page_1
+    display_title: Page
+    position: 1
+    display_options:
+      display_extenders: {  }
+      path: test_argument_paging
+    cache_metadata:
+      contexts:
+        0: node_view_grants
+        1: user
+        3: cache.context.url
+        4: language
+      cacheable: false
diff --git a/core/modules/views_ui/src/Tests/PreviewTest.php b/core/modules/views_ui/src/Tests/PreviewTest.php
index ff10213..dde68b1 100644
--- a/core/modules/views_ui/src/Tests/PreviewTest.php
+++ b/core/modules/views_ui/src/Tests/PreviewTest.php
@@ -21,7 +21,7 @@ class PreviewTest extends UITestBase {
    *
    * @var array
    */
-  public static $testViews = array('test_preview', 'test_pager_full', 'test_mini_pager');
+  public static $testViews = array('test_preview', 'test_pager_full', 'test_mini_pager', 'test_argument_paging');
 
   /**
    * Tests contextual links in the preview form.
@@ -210,6 +210,42 @@ public function testPreviewWithPagersUI() {
   }
 
   /**
+   * Tests paging in the preview form, with contextual filters set.
+   */
+  public function testPreviewPagingWithContextualFilters() {
+    // Create 10 page nodes.
+    $this->drupalCreateContentType(array('type' => 'page'));
+    for ($i = 0; $i < 10; $i++) {
+      $this->drupalCreateNode(array('type' => 'page'));
+    }
+    // Create 10 article nodes.
+    $this->drupalCreateContentType(array('type' => 'article'));
+    for ($i = 0; $i < 10; $i++) {
+      $this->drupalCreateNode(array('type' => 'article'));
+    }
+
+    // Get the preview.
+    $this->drupalGet('admin/structure/views/view/test_argument_paging/edit');
+    $this->assertResponse(200);
+    $this->drupalPostForm(NULL, $edit = array(), t('Update preview'));
+
+    // Set the contextual filter to show 'page' nodes.
+    $this->drupalPostForm(NULL, $edit = array('view_args' => 'page'), t('Update preview'));
+
+    // Check pager is there.
+    $elements = $this->xpath('//ul[contains(@class, :class)]/li', array(':class' => 'pager__items'));
+    $this->assertTrue(!empty($elements), 'Full pager found.');
+
+    // Navigate to next page.
+    $elements = $this->xpath('//li[contains(@class, :class)]/a', array(':class' => 'pager__item--next'));
+    $this->clickPreviewLinkAJAX($elements[0]['href']);
+    $this->verbose($this->content);
+
+    // Check contextual filter settings are retained.
+    $this->assertFieldByName('view_args', 'page', 'Contextual filter is set to \'page\'');
+  }
+
+  /**
    * Tests the additional information query info area.
    */
   public function testPreviewAdditionalInfo() {
@@ -254,7 +290,7 @@ protected function getPreviewAJAX($view_name, $panel_id, $row_count) {
    * @param int $row_count
    *   The expected number of rows in the preview.
    */
-  protected function clickPreviewLinkAJAX($url, $row_count) {
+  protected function clickPreviewLinkAJAX($url, $row_count = NULL) {
     $content = $this->content;
     $drupal_settings = $this->drupalSettings;
     $ajax_settings = array(
@@ -267,7 +303,9 @@ protected function clickPreviewLinkAJAX($url, $row_count) {
     if (!empty($result)) {
       $this->drupalProcessAjaxResponse($content, $result, $ajax_settings, $drupal_settings);
     }
-    $this->assertPreviewAJAX($result, $row_count);
+    if ($row_count) {
+      $this->assertPreviewAJAX($result, $row_count);
+    }
   }
 
   /**
diff --git a/core/modules/views_ui/src/ViewPreviewForm.php b/core/modules/views_ui/src/ViewPreviewForm.php
index 1737d29..2a87133 100644
--- a/core/modules/views_ui/src/ViewPreviewForm.php
+++ b/core/modules/views_ui/src/ViewPreviewForm.php
@@ -50,17 +50,21 @@ public function form(array $form, FormStateInterface $form_state) {
     );
 
     // Add the arguments textfield
+    if (!$form_state->isValueEmpty('view_args')) {
+      $preview_args = $form_state->getValue('view_args');
+    }
+    else {
+      $preview_args = \Drupal::request()->query->get('_preview_args');
+    }
     $form['controls']['view_args'] = array(
       '#type' => 'textfield',
       '#title' => $this->t('Preview with contextual filters:'),
       '#description' => $this->t('Separate contextual filter values with a "/". For example, %example.', array('%example' => '40/12/10')),
       '#id' => 'preview-args',
+      '#default_value' => $preview_args,
     );
 
-    $args = array();
-    if (!$form_state->isValueEmpty('view_args')) {
-      $args = explode('/', $form_state->getValue('view_args'));
-    }
+    $args = !empty($preview_args) ? explode('/', $preview_args) : array();
 
     $user_input = $form_state->getUserInput();
     if ($form_state->get('show_preview') || !empty($user_input['js'])) {
diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php
index 5aeac87..8695884 100644
--- a/core/modules/views_ui/src/ViewUI.php
+++ b/core/modules/views_ui/src/ViewUI.php
@@ -619,6 +619,10 @@ public function renderPreview($display_id, $args = array()) {
       foreach ($args as $key => $arg) {
         $request->attributes->set('arg_' . $key, $arg);
       }
+      // Store contextual filters in a request query parameter for the pager.
+      if ($args) {
+        $request->query->set('_preview_args', implode('/', $args));
+      }
       $request_stack->push($request);
 
       // Suppress contextual links of entities within the result set during a
