diff --git a/data/deprecations/16-7-list-repos-rake-task.yml b/data/deprecations/16-7-list-repos-rake-task.yml
new file mode 100644
index 0000000000000000000000000000000000000000..f5b2cd929beb55440e8cc500a024ba7a7a73d87c
--- /dev/null
+++ b/data/deprecations/16-7-list-repos-rake-task.yml
@@ -0,0 +1,12 @@
+- title: "List repository directories Rake task"
+  removal_milestone: "17.0"
+  announcement_milestone: "16.7"
+  breaking_change: true
+  reporter: mkozono
+  stage: enablement
+  issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/384361
+  body: |
+    The `gitlab-rake gitlab:list_repos` Rake task does not work and will be removed in GitLab 17.0.
+    If you're migrating GitLab, use
+    [backup and restore](https://docs.gitlab.com/ee/administration/operations/moving_repositories.html#recommended-approach-in-all-cases)
+    instead.
diff --git a/doc/raketasks/list_repos.md b/doc/raketasks/list_repos.md
index b404e4dec6098b00e1452a3376a127d76800f847..ca5641f06370cf016ca6df85c2c3449767edb6e7 100644
--- a/doc/raketasks/list_repos.md
+++ b/doc/raketasks/list_repos.md
@@ -9,7 +9,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
 # List repository directories Rake task (deprecated) **(FREE SELF)**
 
 WARNING:
-This feature was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/384361) in GitLab 16.4 and is planned for removal in 17.0.
+This feature was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/384361) in GitLab 16.7 and is planned for removal in 17.0.
 [If migrating GitLab, use backup and restore](../administration/operations/moving_repositories.md#recommended-approach-in-all-cases)
 instead.
 
diff --git a/doc/update/deprecations.md b/doc/update/deprecations.md
index d75d57d1a998951a05e5707a037e2cd200b169a2..56e9dd58bc909f5b78886c63de2c673fba4dc92a 100644
--- a/doc/update/deprecations.md
+++ b/doc/update/deprecations.md
@@ -752,6 +752,23 @@ The table below lists the deprecated metrics and their respective replacements.
 
 <div class="deprecation breaking-change" data-milestone="17.0">
 
+### List repository directories Rake task
+
+<div class="deprecation-notes">
+- Announced in GitLab <span class="milestone">16.7</span>
+- Removal in GitLab <span class="milestone">17.0</span> ([breaking change](https://docs.gitlab.com/ee/update/terminology.html#breaking-change))
+- To discuss this change or learn more, see the [deprecation issue](https://gitlab.com/gitlab-org/gitlab/-/issues/384361).
+</div>
+
+The `gitlab-rake gitlab:list_repos` Rake task does not work and will be removed in GitLab 17.0.
+If you're migrating GitLab, use
+[backup and restore](https://docs.gitlab.com/ee/administration/operations/moving_repositories.html#recommended-approach-in-all-cases)
+instead.
+
+</div>
+
+<div class="deprecation breaking-change" data-milestone="17.0">
+
 ### Maintainer role providing the ability to change Package settings using GraphQL API
 
 <div class="deprecation-notes">
diff --git a/lib/tasks/gitlab/list_repos.rake b/lib/tasks/gitlab/list_repos.rake
index c0929466b7cbf9da3b40a711ccea4d9000df4ce4..5a83fd5e2fd47ed1e339a464f683616f96122a6d 100644
--- a/lib/tasks/gitlab/list_repos.rake
+++ b/lib/tasks/gitlab/list_repos.rake
@@ -2,7 +2,7 @@
 
 namespace :gitlab do
   task list_repos: :environment do
-    warn "The Rake task gitlab:list_repos is deprecated in 16.4 and will be removed in 17.0: " \
+    warn "The Rake task gitlab:list_repos is deprecated in 16.7 and will be removed in 17.0: " \
          "https://gitlab.com/gitlab-org/gitlab/-/issues/384361"
 
     scope = Project