diff --git a/modules/purge_drush/purge_drush.drush.inc b/modules/purge_drush/purge_drush.drush.inc
index a7a2eef..879738a 100644
--- a/modules/purge_drush/purge_drush.drush.inc
+++ b/modules/purge_drush/purge_drush.drush.inc
@@ -20,6 +20,17 @@ function purge_drush_drush_help($command) {
 }
 
 /**
+ * Implements hook_drush_sql_sync_sanitize().
+ */
+function purge_drush_drush_sql_sync_sanitize($source) {
+  // Bootstrap drupal otherwise container will not be available.
+  drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
+
+  // Empty the purge queue.
+  \Drupal::service('purge.queue')->emptyQueue();
+}
+
+/**
  * Implements hook_drush_command().
  */
 function purge_drush_drush_command() {
