diff --git a/dumux/linear/amgbackend.hh b/dumux/linear/amgbackend.hh
index b9d3d59adf670b7dd257f753b8d91cffa87c67a7..71af9faee96b81116fc2cbf8dee7825c58724b9d 100644
--- a/dumux/linear/amgbackend.hh
+++ b/dumux/linear/amgbackend.hh
@@ -25,7 +25,7 @@
 #ifndef DUMUX_PARALLEL_AMGBACKEND_HH
 #define DUMUX_PARALLEL_AMGBACKEND_HH
 
-#warning "This header is deprecated. Use the AMG solver from dumux/linear/istlsolvers.hh"
+#warning "This header is deprecated and will be removed after release 3.7. Use the AMG solver from dumux/linear/istlsolvers.hh"
 
 #include <memory>