diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml
index cebe3f78b9..7fdcd04e1e 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.25.2
junit
diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties
index 091ed34b88..329e8a186f 100644
--- a/gax-java/dependencies.properties
+++ b/gax-java/dependencies.properties
@@ -27,7 +27,7 @@ version.gax_httpjson=2.58.1-SNAPSHOT
# not for self-service clients (from googleapis project).
version.com_google_protobuf=3.25.5
-version.google_java_format=1.15.0
+version.google_java_format=1.25.2
version.io_grpc=1.69.0
# Maven artifacts.