Keep Headings in Excel When Scrolling: Freeze Panes Guide
In this article
Yes, you can keep your headings visible while scrolling in Excel. The built-in Freeze Panes feature locks your header row (or column) in place, so row 1 stays on screen no matter how far down you scroll. The quickest method: click the row below your headings, then go to View > Freeze Panes > Freeze Panes. It takes about ten seconds and works in every modern version of Excel, including Excel on the web.
What You'll Need
- A spreadsheet in Excel (desktop, Excel for the web, or Excel for Mac) with at least one header row.
- No add-ins or special setup; Freeze Panes is built in.
Note: menu labels can differ slightly between Excel versions and platforms, but Freeze Panes has lived on the View tab for many years, so the steps below apply almost everywhere.
Step-by-Step
- Open your spreadsheet in Excel.
- Click the row number directly below your header row. For a single header row in row 1, click row number 2. This selects the entire row, which tells Excel where the frozen area ends.
- Go to the View tab on the ribbon.
- Click Freeze Panes in the Window group.
- Choose Freeze Panes (the first option). A thin grey line appears under row 1, showing the boundary of the frozen area.
- Scroll down to test it. Row 1 stays fixed at the top while the rest of the sheet moves.
- To freeze a header row the fast way, you can skip selecting a row: go to View > Freeze Panes > Freeze Top Row instead. This always freezes row 1.
- To keep column headings (like a name column in column A) visible while scrolling right, go to View > Freeze Panes > Freeze First Column.
- To freeze both a header row and a left column at once, click the single cell that sits just below the header row and just to the right of the column you want locked (for example cell B2 for row 1 and column A), then choose View > Freeze Panes > Freeze Panes.
- To remove it later, go to View > Freeze Panes > Unfreeze Panes.
These steps are for the desktop version of Excel on Windows and Mac. In Excel for the web, the View tab also has a Freeze Panes button with the same three options, so the steps match. Freezing is per worksheet, so repeat the steps on each sheet where you need it.
Common Mistakes
- Selecting the wrong row before freezing. If you select row 1 itself and choose Freeze Panes, nothing visibly freezes because there is no row above it. Always select the row below your headings.
- Using Freeze Panes when you actually wanted Split. The Split option on the same View menu creates four independent scrollable panes instead of locking headings; choose Freeze Panes for a fixed header.
- Freezing while the workbook is open in two windows (View > New Window). Freezing applies per window, so a second window of the same sheet may still scroll normally. Freeze it separately or close the extra window.
- Expecting the freeze to apply to all sheets. It does not carry over to other tabs in the workbook.
- Forgetting the frozen area is there and wondering why rows seem missing at the top of the printout or why the sheet behaves oddly. The freeze only affects the screen view, not printing or data.
Tips
- Keyboard users can open the freeze options with Alt + W + F (Windows), then press F for Freeze Panes, R for Freeze Top Row, or C for Freeze First Column.
- Freeze Panes does not change your data or affect printing at all; it only changes what stays on screen. You can turn it on and off freely.
- If you have a multi-row header (say rows 1 and 2), click row 3 before freezing and both header rows stay visible.
- You can freeze any number of rows, not just headings. The frozen area is everything above and left of your selected cell, so keep it small enough that the scrolling area still has room to work.
- If you convert your data to an Excel Table (Insert > Table or Ctrl + T), the table's own header row automatically replaces Excel's column letters when you scroll within the table, which is a handy alternative for single header rows.
Troubleshooting
If the headings still scroll away after freezing, check these in order:
- Make sure you froze the right thing. Look for the thin grey line under your header row. If there is no line, the freeze did not apply; repeat the steps and select the row below the headings first.
- Confirm you are on the correct worksheet tab. Freeze settings are per sheet.
- Check whether the sheet is in a separate window (View > New Window creates these). Apply the freeze in the window you are actually using.
- If the Freeze Panes button is greyed out, the workbook or sheet may be protected, or you may be in a shared file with restricted editing. Unprotect the sheet (Review > Unprotect Sheet) if you have the password, or ask the file owner.
- If headings disappear only in a different program (Google Sheets, LibreOffice, Numbers), note that Freeze Panes is Excel's feature. Google Sheets has its own View > Freeze option, and LibreOffice Calc uses Window > Freeze Rows and Columns.
- If a frozen area is larger than you intended, click View > Freeze Panes > Unfreeze Panes, select the correct cell, and freeze again.
Freezing cannot corrupt a file, so if something looks wrong, unfreezing and redoing it is always safe.
Frequently Asked Questions
How do I freeze just the top row?
Select any cell, then go to View > Freeze Panes > Freeze Top Row. This locks row 1 regardless of what is selected.
Can I freeze both rows and columns at the same time?
Yes. Click the cell directly below and to the right of what you want frozen (for example B2 to freeze row 1 and column A), then choose View > Freeze Panes > Freeze Panes.
How do I unfreeze the panes?
Go to View > Freeze Panes > Unfreeze Panes. This is the same menu; the top option changes to Unfreeze when a freeze is active.
Does Freeze Panes affect printing?
No. It only affects the on-screen view. To repeat headings on every printed page, use the Print Titles option under Page Layout > Print Titles instead.
Does freezing work in Excel on my phone?
Freeze Panes is available on desktop and in Excel for the web. On the mobile Excel app, the option is limited or unavailable depending on platform and version, so set the freeze on desktop first if you need it on a phone.
Will the frozen headings show for other people I share the file with?
Yes. Freeze settings are saved with the worksheet, so anyone opening the file in Excel sees the same frozen headers.