Sticky Header or Static: Which Is Better on Mobile?
A sticky header follows the user as they scroll. A static header scrolls away with the page. On desktop the choice is mostly cosmetic. On mobile it can decide whether someone reaches your menu or gives up and leaves.
There is no universal winner. The right answer depends on what your header actually contains, how long your pages are, and how much vertical space you can afford to give up. Here is how to decide for your own site.
What each option actually does
Static header: Sits at the top of the page, scrolls out of view. The user gets the full screen back as soon as they start reading. To reach the menu, they scroll back up.
Sticky header: Stays pinned to the top (or occasionally the bottom) while scrolling. The menu, logo, or a key action is always reachable. It occupies a fixed strip of the viewport at all times.
A third option worth knowing: a hybrid header that is visible at the top, hides as the user scrolls down, and reappears the moment they scroll up. It behaves like sticky navigation without permanently eating screen space.
The case for sticky on mobile
Sticky headers earn their keep when the header carries something the user needs mid-task:
- A persistent cart or basket indicator on an online store, so shoppers can see what they have added and tap through to checkout.
- A phone number or booking button on a local service site, where the goal is a call or an appointment.
- A search field on a large catalogue or content-heavy site where browsing is the main activity.
- A menu on long pages, so users are never more than one tap from navigation.
If your header contains a high-value action and your pages are long, sticky is usually the safer bet. The benefit compounds the further the user scrolls.
The case against sticky on mobile
Mobile screens are small, and a pinned header is a permanent tax on that space. The problems show up in predictable ways:
- Less room for content. A header that takes a noticeable slice of the viewport pushes your headline, product image, or call to action below the fold.
- Fighting with the browser. Mobile browsers already have their own chrome, address bars, and bottom toolbars. A sticky header stacks on top of that.
- Overlays and modals. Cookie banners, chat widgets, and pop-ups compete for the same edges of the screen. Two fixed elements at the top is a recipe for a cramped, broken-looking page.
- Anchor links and in-page jumps. If you link to sections further down a page, a sticky header can cover the heading the user just jumped to unless you offset it.
- Layout shift. A header that changes height as it becomes sticky can cause content to jump, which hurts both usability and your Cumulative Layout Shift score.
On a short page, a sticky header adds almost nothing. The user can already see the menu.
A simple decision rule
Ask one question: does the user need this header element while they are in the middle of the page?
- If yes — cart, call button, search — lean sticky.
- If no — your header is just a logo and a menu — lean static or hybrid.
Then weigh it against page length. Short pages do not benefit from sticky. Long pages, especially product listings, articles, and multi-step forms, usually do.
If you go sticky, get the details right
Sticky is easy to get wrong. These are the checks that matter most on mobile:
- Keep it thin. The slimmer the bar, the less it costs you. Strip it down to the essentials rather than pinning your whole desktop header.
- Do not pin everything. Logos and menus are fine. Pinning a large promotional banner or a full navigation tree wastes the space you are trying to preserve.
- Reserve the space. Give the header a fixed height so content does not jump when it becomes sticky. This protects your layout stability.
- Test with the keyboard open. On mobile, a sticky header can behave badly when a form field is focused and the on-screen keyboard appears.
- Check your anchor offsets. Add scroll padding or a margin so in-page links do not land under the header.
- Watch the bottom of the screen too. If you already have a sticky bottom bar or chat widget, a sticky top header may be one fixed element too many.
If you go static, do not lose the menu
A static header still needs to be reachable. Two things to verify:
- The menu button is large enough to tap comfortably and sits where a thumb naturally rests.
- The menu itself opens reliably and is easy to close. A broken or sluggish mobile menu is a common complaint, and it undermines an otherwise sound layout.
If your pages are long and your header is static, consider a hybrid: hidden on scroll down, revealed on scroll up. It gives users the menu without permanently spending screen space.
How to test which is better for your site
You do not need to guess. Run both versions and watch behaviour:
- Scroll depth. If most users never scroll far, sticky is doing little work for you.
- Menu and cart taps. Do people reach the action more easily with a sticky header?
- Bounce and conversion. A sticky header that helps should show up in engagement, not just in aesthetics.
- Layout stability. Confirm your header is not introducing visible jumps.
Before you commit to either, run a free audit to see how your current mobile pages perform on speed, layout stability, and usability. It is a fast way to spot whether your header is helping or quietly costing you conversions.
The short answer
Choose sticky when the header holds an action the user needs mid-scroll — a cart, a call button, or search — and your pages are long. Choose static when the header is just branding and navigation, or when your pages are short and screen space is precious. If you are unsure, the hybrid hide-on-scroll pattern gives you most of the benefit with less of the cost. Whichever you pick, keep it thin, reserve its space, and test it on a real phone rather than a resized desktop window.
For more practical checks like this, browse the guides library.
More guides · Compare audit tools · Run a free website audit