diff --git a/head-node.scm b/head-node.scm
index 9a4c75181994763c71e8ac2e86833c958cbbc21e..ef791be3c3684eba8bf400ccb818e1088d98c76e 100644
--- a/head-node.scm
+++ b/head-node.scm
@@ -510,7 +510,11 @@ export CUIRASS_LOGGING_LEVEL=${CUIRASS_LOGGING_LEVEL:-debug}\n"
                  ;; <https://www.postgresql.org/docs/current/runtime-config-connection.html>.
                  (service postgresql-service-type
                           (postgresql-configuration
-                           (postgresql postgresql-10)
+                           ;; See
+                           ;; <https://www.postgresql.org/docs/current/upgrading.html>
+                           ;; on how to upgrade the database when migrating
+                           ;; to a newer version of PostgreSQL.
+                           (postgresql postgresql-15)
                            (config-file
                             (postgresql-config-file
                              (extra-config