To keep the top row of an Excel sheet visible while you scroll, use View → Freeze Panes → Freeze Top Row on Windows or View → Freeze Panes → Freeze Top Row on Mac Excel 365. That locks row 1 so it stays on screen no matter how far down you scroll. Two conditions matter: the freeze applies to the currently active worksheet only, and it does nothing for printing — you need Page Layout → Print Titles for that.
Freeze Panes is the fastest fix, but it isn't the only one. Excel has at least four separate features that keep the top row on screen, and each one solves a different problem. Pick the wrong one and you'll spend ten minutes wondering why your header disappeared the moment you printed. This guide walks through all four, with the exact menu paths for Excel for Microsoft 365, Excel 2021, and Excel 2019 on Windows and Mac.
Freeze Top Row Menu Paths Differ Across Excel Versions and Platforms
The Freeze Top Row command lives in the same place on every modern Excel build, but the path you take to reach it shifts slightly by version and platform. Excel for Microsoft 365 and Excel 2021 on Windows both open it from the View tab on the ribbon, in the Window group, then Freeze Panes in the dropdown. Mac Excel 365 hides it under the same View tab, but the Window group sits farther right, and on smaller displays it collapses into a single icon.
Excel 2019 and Excel 2016 share the Windows path with 365 — the View tab, Window group, Freeze Panes dropdown. No difference in click count. What changes is the on-screen wording: Excel 2016 and 2019 label the command Freeze Top Row, while some localized builds and older 2013 installs show Freeze Top Row under a slightly different dropdown. If you see Freeze Panes as the only option, click it, then pick the top-row variant from the submenu.
Excel for the web (the browser version) shows the freeze control under View → Freeze Panes too, but the menu only appears when a cell is selected. If the tab looks greyed out, click any cell in the sheet first — the command needs an active cell reference to know where the frozen line should land.
Google Sheets users reading this by mistake: the equivalent is View → Freeze → 1 row. That's a different product and the keyboard shortcuts won't work in Excel, so don't try Ctrl+Shift+F there.
Freeze Top Row Works Only on the Active Worksheet
Freezing row 1 in one sheet does not freeze it in the others. A workbook with twelve monthly tabs needs twelve separate freezes — Excel treats each worksheet as its own viewport. This trips up more people than any other freeze-pane quirk, and it's the single failure case Microsoft's own support pages don't flag loudly.
When you freeze a row, Excel writes a visual indicator — a slightly darker horizontal line just under row 1 — that stays until you unfreeze or the cell selection crosses it. That thin line is your confirmation. If you click another tab and the header scrolls away, you're not looking at a bug; you're looking at a fresh sheet with no freeze applied.
To copy the freeze to every sheet at once, group the tabs before freezing. Hold Ctrl and click each tab name along the bottom, or right-click any tab and choose Select All Sheets, then go to View → Freeze Panes → Freeze Top Row once. The freeze applies to every selected sheet in the group. Click any ungrouped tab to break the group, otherwise edits on one sheet will propagate to all of them.
Excel for the web supports freeze across sheets in the same way, but there's a limit worth knowing: if the workbook is co-authored live and another user has a different freeze state, Excel syncs the freeze per user, not per file. Your freeze stays; theirs may not. That's not documented in the ribbon tooltip, only in Microsoft's collaboration notes for shared workbooks.
Freeze Panes Fails When the Sheet Is in Page Layout View
The Freeze Panes button greys out in two scenarios: when the workbook is in Page Layout view or Page Break Preview, and when the sheet is protected without the right permissions. Both are recoverable in under a minute once you know which is which.
Page Layout view — the tab at the bottom right of the Excel window, next to the zoom slider — renders the sheet as a stack of printed pages. Freeze Panes is disabled there by design, because the viewport no longer represents an infinite scroll. Switch back to Normal view using the same three-tab control, and the command lights up again.
Sheet protection is the second grey-out. A password-protected sheet blocks structural view changes, freeze included, even if editing is permitted. The fix is Review → Unprotect Sheet, which requires the password if one was set. If the workbook is shared through SharePoint or OneDrive and the protection sits at the workbook level, only the owner or a co-owner with edit rights on the file can remove it.
A third edge case occurs on tables converted to Excel Tables (the Insert → Table feature, formerly "List" in Excel 2003). Table headers auto-stick when you scroll inside the table — Excel keeps the header band visible by default. That's a separate feature from Freeze Panes, and it only works when the cell pointer sits inside the table. Scroll past the last table row and the header disappears again. Freeze Panes and Table header behavior are not interchangeable, though they look identical at a glance.
When You Need Row 1 on Every Printed Page, Print Titles Beats Freeze Panes
Freeze Panes affects what you see on screen; it does nothing for what comes out of the printer. A long report printed from a frozen-pane sheet still prints the header only once, on page one. To repeat row 1 at the top of every printed page, use Page Layout → Print Titles → Rows to repeat at top, then click row 1 on the sheet or type $1:$1 into the field.
The Print Titles dialog opens from the Page Setup launcher at the bottom right of the Page Layout tab. In the Sheet tab, the field Rows to repeat at top accepts either a direct selection (click the row header 1) or a typed reference like $1:$1. For a two-row header, type $1:$2. The field caps at multiple non-contiguous ranges only if separated by a comma — Excel will accept $1:$1,$3:$3 if you want row 3 repeated too.
Print Titles also handles columns. The Columns to repeat at left field works the same way, which is why freezing columns and repeating columns are separate operations too. For a budget sheet with the category labels in column A, freeze column A for on-screen scrolling and set $A:$A in Print Titles for the printed version.
A failure case worth knowing: if the print area is set (Page Layout → Print Area → Set Print Area) and the print area doesn't include row 1, Print Titles will silently ignore the repeat command. Excel treats the print area as the boundary. Either extend the print area up to row 1 or delete the print area entirely with Page Layout → Print Area → Clear Print Area, then reapply Print Titles.
Convert to an Excel Table for an Auto-Sticking Header Without Freezing
Excel Tables (created via Insert → Table, or the Ctrl+T shortcut) come with a built-in header row that stays pinned while you scroll inside the table. This is the cleanest option when your data already fits an Excel Table structure, because the header formatting, filter buttons, and structured references all come bundled.
The header pinning works automatically in Excel for Microsoft 365 and Excel 2021 on both Windows and Mac. In older builds — Excel 2013 and earlier — the behavior depends on whether the table style includes a header row at all. If you converted a range to a table and the first row got absorbed as data rather than a header, tick Table Design → Header Row to promote it.
Table header stickiness has a specific scope: it works only while the cell pointer is inside the table body. Scroll to row 500 when your table ends at row 200 and the header scrolls away. Freeze Panes does not have that limitation. The trade-off is real — Tables auto-pin the header only inside their own range, while Freeze Panes pins row 1 across the whole sheet.
Excel Tables also don't play well with merged cells. If your original data has merged cells in the header, converting to a Table splits the merges. Reapply the merges afterward or rebuild the header as unmerged cells. Neither is fatal, just annoying.
View Tab Bushwhacks and Quick Access Shortcuts That Actually Work
There's no built-in keyboard shortcut for freezing row 1 in the default Excel install. The closest is Alt+W, then F, then R on Windows, which walks the ribbon: W for View, F for Freeze Panes, R for the top-row option (on builds where the dropdown order puts Freeze Top Row first). Mac users can use Control+Command+F in some builds, though Apple's own documentation for Excel 2021 lists it as unsupported and recommends the View menu instead.
If you freeze the same row across dozens of workbooks weekly, add the command to the Quick Access Toolbar. Right-click the Freeze Panes dropdown, choose Add to Quick Access Toolbar, and it becomes a single click in the upper-left corner. From there, assign a shortcut with Alt+number where the number is the toolbar position — Alt+5 if Freeze Panes sits fifth. That's the fastest path repeat users have.
The green scroll-lock indicator is easy to miss. When row 1 is frozen, Excel shows a horizontal line below the row, not a lock icon. The line only appears once you scroll — if you're sitting at the top of the sheet, the freeze looks identical to no freeze. Scroll down a few rows and back up to confirm the header stays put.
Frozen panes survive closing and reopening the workbook, but not every save. Excel for the web in a browser with a stale session can drop the freeze on reload if the local cache is out of sync. If your freeze disappears after closing the file, reopen in desktop Excel and reapply — then save. The web version is the more likely culprit.
Unfreeze Panes and Fix Stuck Split Bars in Three Clicks
To remove a freeze, go to View → Freeze Panes → Unfreeze Panes. That clears every frozen row and column on the active sheet. If you only froze row 1, the single command removes it. If you froze a 4x3 block earlier and forgot, Unfreeze Panes releases it all — you can't selectively unfreeze part of a frozen region in a single step.
A related feature you may have triggered by mistake is View → Split, which divides the window into four panes without freezing them. Splits and freezes look similar on screen but behave differently: a split pane scrolls independently and stays glued to a horizontal or vertical line you positioned, while a freeze anchors to a specific row or column and persists across views. To remove a split, click View → Split again to toggle it off.
Excel for Mac 2016 (the older perpetual version) has a documented bug: Unfreeze Panes sometimes leaves the freeze line visible until you close and reopen the workbook. Save the file, quit Excel entirely, then reopen. Microsoft's support notes describe this as a display-refresh issue, not a save corruption.
If the freeze command itself is greyed out even after switching to Normal view, check whether the sheet is shared through Review → Share Workbook (legacy feature) — the legacy shared workbook mode disables freezing entirely. Convert to co-authoring through OneDrive or SharePoint instead, and Freeze Panes becomes available again.
Frozen Header Behavior in Copilot and Analysis ToolPak Scenarios
Excel's newer features interact with frozen panes in ways worth knowing before you delegate your spreadsheet to Copilot or Power Query. When Copilot for Microsoft 365 (available on eligible enterprise plans as of late 2024) reads a sheet, it treats frozen rows the same way a human reader does — as visible context, not as data. Copilot will not merge the frozen header into the data range, which is usually what you want, but it means prompts like "summarize this table" reference the header band separately.
Power Query imports ignore freeze panes entirely. A sheet with a frozen header imports all rows as data, header included. If you push a frozen-header sheet through Data → Get Data → From Table/Range, the query editor sees the header row as the first data row unless you explicitly promote it with Use First Row as Headers in the Home tab of the editor. This is the source of the "why does my frozen header duplicate in the imported table" complaint on Microsoft's own community forums.
PivotTables read the underlying range, not the freeze. If your frozen header is in row 1 and your data starts row 2, create the PivotTable from the data range only (A2:X500) or tick My data has headers in the PivotTable dialog. Freezing doesn't change the source reference; the PivotTable still needs the header explicit.
The one compatibility limit worth keeping in mind: Freeze Panes does not persist when you save as CSV. CSV has no concept of view state, so a frozen row becomes a plain first row of data the moment the file opens elsewhere. If a colleague opens the file in Numbers, Google Sheets, or a text editor, the freeze is gone. Freezing is an Excel-native view setting, not a data attribute baked into the file.
FAQ
Why is Freeze Panes greyed out in my Excel?
The two most common causes are being in Page Layout or Page Break Preview view, and a protected worksheet. Switch to Normal view via the three-tab control at the bottom right of the window, and if the button is still grey, check Review → Unprotect Sheet. If neither fixes it, confirm the workbook isn't in legacy Share Workbook mode, which disables freezing entirely.
Does freezing the top row also repeat it when printing?
No. Freeze Panes only affects the on-screen viewport. Use Page Layout → Print Titles → Rows to repeat at top and enter $1:$1 to repeat row 1 at the top of every printed page. Both features can be active at once — freeze for scrolling, Print Titles for printing — and they don't interfere.
How do I freeze row 1 on every sheet at once?
Group the tabs before freezing. Hold Ctrl and click each tab name, or right-click any tab and choose Select All Sheets, then apply View → Freeze Panes → Freeze Top Row once. The freeze cascades to the whole group. Ungroup with a click on any tab afterward, or edits will propagate across every sheet in the group.
Can I freeze two header rows instead of one?
Yes, but not with the Freeze Top Row command — that option only locks row 1. Select cell A3 first, then choose View → Freeze Panes → Freeze Panes (the top option, not the row-specific variant). That freezes everything above and to the left of the selected cell, so rows 1 and 2 both stay pinned.
What's the keyboard shortcut for freezing the top row?
There isn't a default one. On Windows you can reach it with Alt+W, F, R, which walks View → Freeze Panes → Freeze Top Row. For repeat users, add Freeze Panes to the Quick Access Toolbar, then assign Alt+number based on its position. Excel for Mac doesn't offer a native shortcut through Excel 2021.
Why does my frozen header disappear in a CSV file?
CSV is a plain-text format with no view state — no way to store freeze settings, column widths, or formatting. When you save as CSV, the freeze is discarded and the file opens with row 1 as ordinary data. Save as .xlsx if you need the freeze preserved.
Why won't Print Titles repeat my header?
The most common cause is that the print area doesn't include row 1. Excel respects the print-area boundary over the Print Titles field. Clear the print area with Page Layout → Print Area → Clear Print Area, then reapply Print Titles, or extend the print area to start from row 1.
Does freezing the top row slow down large workbooks?
Not measurably. Freeze Panes is a view-layer setting — Excel stores a scroll offset and a scroll-lock indicator per worksheet, not a recalculated region. Workbook performance depends on formula volume, volatile functions like OFFSET and INDIRECT, and data model size, not on how many sheets have a frozen row.