What is click depth?
Click depth is the number of clicks it takes to reach a page by following links from the home page, using the shortest available path. The home page has a click depth of 0, every page it links to has a click depth of 1, and so on.
A simple example on a shoe store:
| Page | Path a visitor clicks | Click depth |
|---|---|---|
| Home page | (start) | 0 |
| Running shoes category | Home, then Running | 1 |
| Trail running subcategory | Home, Running, then Trail | 2 |
| A trail shoe product page | Home, Running, Trail, then the product | 3 |
If the same product is also linked from a "Best sellers" block on the home page, its click depth drops to 1, because click depth always counts the shortest route. Site crawlers often label the same number "crawl depth" or "page depth".
Why does click depth matter for SEO?
Click depth matters for SEO because Google uses how far a page sits from the rest of the site, in links, as one clue to how important that page is. Google says it can use "the number of links it needs to follow to reach a page and the number of links to a page to infer the relative importance of a page over the rest of your site" [1].
That is the real mechanism, and it has two parts:
- Importance. Google says that "as a general rule, the more links a page has to it within a site, the higher the relative importance of the page" [1]. Pages close to the home page usually have more internal links pointing at them, and each of those links can pass link equity.
- Discovery. Googlebot finds most new pages by following links. Google says "the vast majority of the new pages Google finds every day are through links" [5]. A page five or six clicks deep is found later, and a page that no link reaches is found only through a sitemap or not at all.
Google's Matt Cutts made the same point in 2009. He said it "makes a much bigger difference to make sure that people (and bots) can reach the pages on your site by clicking links" than any attempt to sculpt PageRank, and gave the example of "putting products front-and-center on your web site vs. burying them deep within your site" [2].
What is the difference between click depth and URL depth?
Click depth counts link clicks from the home page, while URL depth counts the folders in a page's address. They are independent. A page at /guides/seo/technical/crawling/ has a URL depth of 4 but can have a click depth of 1 if the home page links to it. A page at /page-123 has a URL depth of 1 but can sit eight clicks deep inside a paginated archive.
Many SEO guides treat the two as one and advise "flattening" URLs by removing folders. That advice confuses the address with the route. Google's URL structure guidance recommends simple, logical, readable URLs and fewer parameters, but says nothing about folder count affecting ranking [4]. Google's starter guide gives folders a different job: grouping similar content in directories lets Google "crawl the different directories at different frequencies" [5].
So the folder structure of a URL is a labeling decision, and click depth is a linking decision. Changing URLs to remove folders without changing links leaves click depth exactly where it was, and costs redirects. Changing links can cut click depth without touching a single URL.
Is there an ideal click depth?
No, Google has never published an ideal or maximum click depth. The "three-click rule" often quoted in SEO guides is a usability rule of thumb, not a Google guideline, and no Google documentation states a number of clicks after which pages lose value.
What Google does say points in one direction: important pages should be easy to reach. For ecommerce sites, Google recommends linking "from menus to category pages, from category pages to sub-category pages, and finally from sub-category pages to all product pages", and linking best sellers from the home page [1]. Google also warns against the opposite fix. There is "no magical ideal number" of links per page, and if a page's link count looks like too much, "then it probably is" [6]. Putting hundreds of links on the home page to bring everything to depth 1 trades one problem for another.
A useful working view: the pages that earn money or answer the most searches should sit within a few clicks of the home page, and every page you want indexed should be reachable by some link path at all.
How do you check click depth?
To check click depth, crawl the site with a site crawler starting from the home page and sort the results by the depth (or "crawl depth") column. The crawler follows links the way Googlebot does and records the shortest path to each URL it finds.
Three checks make the numbers useful:
- Compare the crawl to your sitemap. URLs in the XML sitemap that the crawl never reached have no click depth at all. Those are orphan pages, which Google can only find through the sitemap or external links.
- Check the links are real links. Google can generally only follow a link if it is an
<a>element with anhrefattribute [6]. Navigation built fromonclickevents or buttons gives Googlebot nothing to follow, so pages reachable only that way are deeper for Google than they look to a visitor. Google says products reachable only "from a search box, but not via category browsing" may not be found by crawling alone [1]. - Look at the deepest important pages, not the average. A site average says little. A list of revenue pages sitting at depth 5 or more is a to-do list.
For large sites, compare the depth report with server logs. Pages that sit deep and are rarely requested by Googlebot are where crawl budget problems usually show first, a concern Google says matters mainly for very large or fast-changing sites [7].
How do you reduce click depth?
To reduce click depth, add internal links from shallow, well-linked pages to the deep pages that matter. The URL does not need to change. Practical options:
- Link category pages to every product or article in them, with crawlable pagination rather than "load more" buttons that only run JavaScript [1][6].
- Add hub pages that link to a full topic or category, and link those hubs from the main navigation.
- Use breadcrumbs so each page links back up its hierarchy.
- Add contextual links from popular articles to deeper pages on the same subject.
- Feature priority pages on the home page or in other prominent content, as Google suggests for best sellers [1].
An XML sitemap helps Google discover deep pages but does not replace links. Google describes a site that does not need a sitemap as one where "Googlebot can find all the important pages on your site by following links starting from the home page" [3]. That sentence is effectively Google's definition of healthy click depth.
Is click depth a ranking factor?
Click depth is not a named ranking factor, but it feeds into two things Google does use: which pages it finds and crawls, and how important it judges a page to be within a site [1]. Google does not publish how much weight distance from the home page carries, and no outside study can isolate it, because pages close to the home page also tend to be the pages with the most links, traffic and attention. Treat claims that "each extra click costs X% of rankings" as guesses.
What should you do about click depth?
Audit click depth whenever a site grows past a few hundred pages, launches a large section such as a programmatic SEO build, or adds deep pagination. Fix it with links, not URL rewrites. Keep the pages that matter within a few clicks of the home page, make sure every page you want indexed is reachable through a normal <a href> link, and leave the folder structure alone unless it is confusing to people.