diff --git a/.azure/modules/postgreSql/create.bicep b/.azure/modules/postgreSql/create.bicep
index 0796ce9e0..19bc3e0bf 100644
--- a/.azure/modules/postgreSql/create.bicep
+++ b/.azure/modules/postgreSql/create.bicep
@@ -103,7 +103,7 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2024-08-01' = {
   name: postgresServerName
   location: location
   properties: {
-    version: '15'
+    version: '16'
     administratorLogin: administratorLogin
     administratorLoginPassword: administratorLoginPassword
     storage: {
diff --git a/docker-compose-db-redis.yml b/docker-compose-db-redis.yml
index fa84383be..e92b22d4e 100644
--- a/docker-compose-db-redis.yml
+++ b/docker-compose-db-redis.yml
@@ -2,7 +2,7 @@ version: '3.9'
 
 services:
   dialogporten-postgres:
-    image: postgres:15.7
+    image: postgres:16.4
     restart: always
     command: postgres -c wal_level=logical
     environment:
diff --git a/tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Common/DialogApplication.cs b/tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Common/DialogApplication.cs
index d0ec7f2f0..55568d1f0 100644
--- a/tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Common/DialogApplication.cs
+++ b/tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Common/DialogApplication.cs
@@ -32,6 +32,7 @@
 
 namespace Digdir.Domain.Dialogporten.Application.Integration.Tests.Common;
 
+// ReSharper disable once ClassNeverInstantiated.Global
 public class DialogApplication : IAsyncLifetime
 {
     private IMapper? _mapper;
@@ -39,7 +40,7 @@ public class DialogApplication : IAsyncLifetime
     private ServiceProvider _rootProvider = null!;
     private ServiceProvider _fixtureRootProvider = null!;
     private readonly PostgreSqlContainer _dbContainer = new PostgreSqlBuilder()
-        .WithImage("postgres:15.7")
+        .WithImage("postgres:16.4")
         .Build();
 
     public async Task InitializeAsync()