diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79da8ea0ecf6be00e3fbffeb4328096ada1b1709..2e88890be5973eb45f1e9ab0c98fc6cf5b83323b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,12 @@ variables:
 
 ## Build jobs
 
+build-coq.8.16.dev:
+  <<: *template
+  <<: *branches_and_mr
+  variables:
+    OPAM_PINS: "coq version 8.16+rc1"
+
 build-coq.8.15.0:
   <<: *template
   variables:
diff --git a/coq-stdpp.opam b/coq-stdpp.opam
index df7a0d05519f1e5a5f62cc35cff05015d167f39c..053a1d24c837ffab764ba882d751a090d85a7b26 100644
--- a/coq-stdpp.opam
+++ b/coq-stdpp.opam
@@ -33,7 +33,7 @@ tags: [
 ]
 
 depends: [
-  "coq" { (>= "8.12" & < "8.16~") | (= "dev") }
+  "coq" { (>= "8.12" & < "8.17~") | (= "dev") }
 ]
 
 build: ["./make-package" "stdpp" "-j%{jobs}%"]