Freeze Panes in Excel: Where to Find It & How to Use
In this article
Freeze Panes in Excel keeps specific rows or columns visible while you scroll through the rest of your sheet. It’s the tool that stops your header row from disappearing when you scroll down 500 rows. You’ll find it on the View tab, in the Window group, under the Freeze Panes button. The exact menu labels can differ slightly by Excel version (Windows, Mac, or web), but the core steps below work across all of them.
What You’ll Need
- Microsoft Excel (desktop, Mac, or web version) with your workbook open.
- Your cursor placed in the correct cell before you freeze (see Step 2 for the rule).
- No special permissions or add-ins are required—this is a built-in feature.
Step-by-Step
- Open your Excel workbook and go to the worksheet where you want to freeze rows or columns.
- Select the cell that is just below the rows you want frozen and just to the right of the columns you want frozen. This is the golden rule:
- To freeze only the top row: click any cell in row 2 (or select cell A2).
- To freeze only the first column: click any cell in column B (or select cell B1).
- To freeze both the top row and first column: click cell B2.
- To freeze the first two rows and first three columns: click cell C3 (the cell below row 2 and to the right of column C).
- Go to the View tab on the ribbon at the top of Excel. On Mac, it’s also the View tab. In Excel for the web, it’s the View tab as well.
- Click the Freeze Panes button in the Window group (on Mac, it’s in the Window group too). A dropdown menu appears with three options:
- Choose one of the three options:
- Freeze Panes – freezes everything above and to the left of your selected cell.
- Freeze Top Row – always keeps row 1 visible, regardless of your selection.
- Freeze First Column – always keeps column A visible.
- Click your chosen option. You’ll immediately see a thin gray line appear below the frozen row and/or to the right of the frozen column, showing where the freeze starts.
- Test it: Scroll down or sideways. The frozen rows/columns stay put while the rest of the sheet moves.
To unfreeze: Go back to View > Freeze Panes and click Unfreeze Panes (the same button now shows this option).
Common Mistakes
- Selecting the wrong cell. If you want to freeze the top row and you click cell A1, Excel freezes nothing (because there is nothing above row 1). Always select the cell below the row you want frozen.
- Clicking “Freeze Top Row” when you actually need “Freeze Panes.” The shortcut only freezes row 1. If you need to freeze rows 1 and 2, you must use “Freeze Panes” with the correct cell selected.
- Forgetting to unfreeze before freezing a new area. If you freeze row 1, then later try to freeze rows 1–3, you must first unfreeze, then select the new cell, then freeze again.
- Freezing in the middle of a table. If you select a cell inside your data range, you might freeze unwanted columns. Always select the cell at the edge of your data area.
Tips
- Use keyboard shortcuts: On Windows, press Alt + W + F + F to open the Freeze Panes menu. On Mac, press Command + Option + F (or use the ribbon).
- Freeze multiple rows/columns: Select the cell that is one row below your last frozen row and one column to the right of your last frozen column. For example, to freeze rows 1–3 and columns A–B, click cell C4.
- Freeze panes in a table: If you’re using an Excel Table (Insert > Table), the header row is automatically frozen when you scroll, but you can still use Freeze Panes for additional rows/columns.
- Printing tip: Freeze Panes does not affect printing. To repeat header rows on each printed page, use Page Layout > Print Titles.
- Excel for the web: Freeze Panes works in the browser, but you may need to click the View tab first; it’s not on the right-click menu.
Troubleshooting
- Freeze Panes is grayed out (unavailable): This usually happens when you are in cell editing mode (double-clicked a cell) or when the sheet is protected. Press Esc to exit editing mode, or unprotect the sheet (Review > Unprotect Sheet) if you have the password.
- Freeze Panes does nothing: Check that you selected the correct cell. If you clicked A1, there’s nothing to freeze. Also make sure you are not in “Page Layout” view—switch to “Normal” view (View > Normal).
- The freeze line disappears: This can happen if you scroll to the very top or left edge. The frozen area is still active; scroll away from the edge and it will reappear.
- Can’t find the Freeze Panes button: On smaller screens or with a narrow window, the Window group might be collapsed. Click the “Window” label on the ribbon to expand it, or widen your Excel window.
- Freeze Panes works on one sheet only: Yes, freezing is per-sheet. If you want the same freeze on multiple sheets, you must apply it to each sheet individually.
Frequently Asked Questions
Can I freeze both rows and columns at the same time?
Yes. Select the cell that is below the rows you want frozen and to the right of the columns you want frozen, then choose “Freeze Panes.” For example, click B2 to freeze row 1 and column A simultaneously.
Why is “Freeze Top Row” grayed out?
This happens when you’re in cell editing mode (press Esc) or when the worksheet is protected. Unprotect the sheet (Review > Unprotect Sheet) if needed.
Does Freeze Panes work in Excel for the web?
Yes. The View tab in Excel for the web includes the Freeze Panes dropdown with the same three options. The steps are identical.
How do I freeze the first two columns?
Select cell C1 (or any cell in column C), then go to View > Freeze Panes > Freeze Panes. This freezes columns A and B.
What’s the difference between Freeze Panes and Freeze Top Row?
“Freeze Top Row” is a shortcut that only freezes row 1. “Freeze Panes” freezes everything above and to the left of your selected cell, giving you more control over multiple rows/columns.
My freeze panes are not saving when I close the file. Why?
Freeze panes are saved with the workbook, but if you’re in a shared workbook (legacy) or using a version that doesn’t support it, they may not persist. Save the file after applying the freeze, and make sure you’re not in a compatibility mode that strips features.