diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml
index cd0c36679ce..14a4a6ed442 100644
--- a/gapic-generator-java/pom.xml
+++ b/gapic-generator-java/pom.xml
@@ -441,7 +441,7 @@
com.google.googlejavaformat
google-java-format
- 1.7
+ 1.23.0
junit
diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties
index f6804fefb1f..987f198ad53 100644
--- a/gax-java/dependencies.properties
+++ b/gax-java/dependencies.properties
@@ -27,7 +27,7 @@ version.gax_httpjson=2.52.1-SNAPSHOT
# not for self-service clients (from googleapis project).
version.com_google_protobuf=3.25.4
-version.google_java_format=1.15.0
+version.google_java_format=1.23.0
version.io_grpc=1.66.0
# Maven artifacts.