diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-77405-PageRepository-getPathFromRootline.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-77405-PageRepository-getPathFromRootline.rst
new file mode 100644
index 0000000000000000000000000000000000000000..ebc7d4175e584eb39fca0a3e0bd16258c7215620
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-77405-PageRepository-getPathFromRootline.rst
@@ -0,0 +1,20 @@
+=========================================================
+Deprecation: #77405 - PageRepository->getPathFromRootline
+=========================================================
+
+Description
+===========
+
+The PHP method ``PageRepository->getPathFromRootline`` has been marked as deprecated.
+
+
+Impact
+======
+
+Calling the method will trigger a deprecation log entry.
+
+
+Affected Installations
+======================
+
+Any TYPO3 installation with a third-party extension using this method.
\ No newline at end of file
diff --git a/typo3/sysext/frontend/Classes/Page/PageRepository.php b/typo3/sysext/frontend/Classes/Page/PageRepository.php
index c949f117ca7c0d6da0d2d51f61e620a42a1a8019..ec02d41fbf4231e46f03f489f086dc02b54410d3 100644
--- a/typo3/sysext/frontend/Classes/Page/PageRepository.php
+++ b/typo3/sysext/frontend/Classes/Page/PageRepository.php
@@ -836,9 +836,11 @@ class PageRepository
      * @param int $len The max length of each title from the rootline.
      * @return string The path in the form "/page title/This is another pageti.../Another page
      * @see \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getConfigArray()
+     * @deprecated since TYPO3 v8, will be removed in TYPO3 v9
      */
     public function getPathFromRootline($rl, $len = 20)
     {
+        GeneralUtility::logDeprecatedFunction();
         $path = '';
         if (is_array($rl)) {
             $c = count($rl);