diff --git a/package.json b/package.json
index 4a55364297..dc5628ccea 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
     "@socialgouv/eslint-config-recommended": "1.106.0",
     "eslint": "8.10.0",
     "jest": "^27.3.1",
-    "prettier": "2.5.1",
+    "prettier": "3.1.1",
     "semantic-release": "^19.0.0",
     "typescript": "^4.5.4"
   },
diff --git a/yarn.lock b/yarn.lock
index 4be6fbaefa..194c4ce417 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4956,10 +4956,10 @@ prettier-linter-helpers@^1.0.0:
   dependencies:
     fast-diff "^1.1.2"
 
-prettier@2.5.1:
-  version "2.5.1"
-  resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"
-  integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==
+prettier@3.1.1:
+  version "3.1.1"
+  resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848"
+  integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==
 
 pretty-format@^27.3.1:
   version "27.3.1"