diff --git a/sklearn/_distributor_init.py b/sklearn/_distributor_init.py
index a0142ac80..53c5ba108 100644
--- a/sklearn/_distributor_init.py
+++ b/sklearn/_distributor_init.py
@@ -8,3 +8,22 @@ For example, this is a good place to put any checks for hardware requirements.
 The scikit-learn standard source distribution will not put code in this file,
 so you can safely replace this file with your own version.
 """
+
+import os as _os
+import warnings as _warnings
+trues = [True, '1', 'y', 'yes', 'Y', 'YES', 'Yes', 'true', 'True', 'TRUE']
+if _os.environ.get('USE_DAAL4PY_SKLEARN', False) in trues or _os.environ.get('USE_SKLEARNEX', False) in trues:
+    try:
+        from sklearnex import patch_sklearn
+        patch_sklearn()
+        del patch_sklearn
+        _warnings.warn("\nUSE_DAAL4PY_SKLEARN variable is deprecated for Intel(R) Extension for Scikit-learn\n"
+                       "and will be delete in the 2022.1 release.\n"
+                       "Please, use new construction of global patching:\n"
+                       "python sklearnex.glob patch_sklearn\n"
+                       "Read more: https://intel.github.io/scikit-learn-intelex/global_patching.html",
+                       FutureWarning)
+    except (ImportError, ModuleNotFoundError):
+        pass
+    del _os
+    del _warnings

