How to Freeze Panes in Excel: Step-by-Step Guide
In this article
To freeze panes in Excel, open your worksheet, select the cell just below and to the right of the rows and columns you want to keep visible, then go to View > Freeze Panes > Freeze Panes. That single action locks everything above and to the left of your selection so it stays on screen while you scroll. The exact labels can differ slightly by Excel version, device, and region, but the View tab is the consistent home for this feature on Windows, Mac, and the web app.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (the Freeze Panes command is in the same place on all three).
- A worksheet with data you want to keep visible while scrolling, typically a header row, a header column, or both.
- No special permissions or add-ins. Freeze Panes works in a normal workbook and does not require saving in a particular format.
Step-by-Step
- Open the worksheet that contains the rows or columns you want to lock in place. Click any cell inside the data so Excel knows which sheet is active.
- Decide what to freeze. To keep only the top row visible, you will select the row below it. To keep only the first column visible, you will select the column to its right. To keep both, select the cell where the two meet.
- Select the correct cell. For example, if row 1 holds your headers and column A holds labels, click cell B2. Everything above row 2 and to the left of column B is now the freeze boundary. If you only want row 1 frozen, click cell A2. If you only want column A frozen, click cell B1.
- Go to the View tab on the ribbon. On Windows and the web app it sits near the top of the ribbon; on Mac it is also a top-level tab. Labels can vary slightly between versions, so look for the group that contains Freeze Panes.
- Click Freeze Panes. In the dropdown, choose the first option, also called Freeze Panes. The other two options, Freeze Top Row and Freeze First Column, are shortcuts that freeze only row 1 or only column A regardless of your selection.
- Verify the freeze. Scroll down or to the right. The frozen rows and columns should stay put while the rest of the sheet moves. A thin line usually appears at the boundary between frozen and scrolling areas.
- Save the workbook with Ctrl+S (Windows) or Command+S (Mac). The freeze setting is saved with the sheet, so it will still be there when you reopen the file.
Common Mistakes
- Selecting the header row instead of the row below it. If you click cell A1 and then choose Freeze Panes, Excel freezes nothing useful because there is nothing above row 1 or left of column A. Always select the first cell of the scrolling area.
- Using Freeze Top Row when you need more than one row frozen. That shortcut only freezes row 1. To freeze rows 1 through 3, select cell A4 and use the main Freeze Panes option.
- Forgetting that freeze applies per sheet. Freezing panes on one worksheet does not affect other sheets in the workbook. Repeat the steps on each sheet where you need it.
- Confusing Freeze Panes with Split. Split creates draggable dividers that show duplicate views of the same sheet; it does not lock rows or columns in place. Use Freeze Panes when you want a fixed header.
- Expecting frozen panes to print. Freeze Panes only affects what you see on screen. To repeat headers on every printed page, use Page Layout > Print Titles instead.
Tips
- Freeze the header row before you start scrolling through a long list; it is much easier to set up at the beginning than to hunt for the right cell later.
- If you need to freeze several rows and columns at once, remember the rule: select the cell just below and just to the right of everything you want frozen.
- On a laptop with a small screen, freezing the first column plus the top row can leave very little room for data. Freeze only what you actually need to reference.
- To remove a freeze, go back to View > Freeze Panes and choose Unfreeze Panes. The option appears in the same dropdown once a freeze is active.
- If you are working in Excel for the web, the Freeze Panes menu is available, but some advanced view options differ from the desktop app. The core freeze behavior is the same.
Troubleshooting
If the freeze does not seem to work, first check that you selected a cell rather than an entire row or column. Selecting a whole row and then freezing can produce unexpected results because Excel uses the selection boundary differently. Click a single cell and try again.
If the Freeze Panes option is greyed out, the sheet may be protected or the workbook may be in a view mode that does not support it. Go to Review > Unprotect Sheet if you have the password, or switch back to Normal view from View > Normal. In Excel for the web, some editing restrictions also disable the command; make sure the file is not open in a read-only mode.
If you see a freeze line but the wrong rows are locked, you likely selected the wrong cell. Unfreeze first with View > Freeze Panes > Unfreeze Panes, then reselect the correct cell and freeze again. There is no way to adjust an existing freeze without removing it first.
If the frozen area looks odd after you insert or delete rows above the freeze line, unfreeze and refreeze. Structural changes near the boundary can shift what Excel considers frozen.
Frequently Asked Questions
Can I freeze more than one row and one column at the same time?
Yes. Select the cell below the last row and to the right of the last column you want frozen, then choose View > Freeze Panes > Freeze Panes. For example, to freeze rows 1–3 and column A, select cell B4.
Does freezing panes affect other people viewing the workbook?
The freeze is saved in the workbook, so anyone who opens the file sees the same frozen rows and columns, provided their Excel window is large enough to display them. It does not change the data itself.
Why is my Freeze Panes button greyed out?
The sheet is probably protected, or the workbook is in a view that does not allow freezing. Unprotect the sheet from the Review tab if you have permission, and make sure you are in Normal view.
Can I freeze panes in Excel for the web?
Yes. The View tab in Excel for the web includes Freeze Panes with the same basic options. Some desktop-only view features are not available, but freezing rows and columns works.
How do I unfreeze panes?
Go to View > Freeze Panes and choose Unfreeze Panes. The option only appears when a freeze is currently active on that sheet.
Will frozen panes print on every page?
No. Freeze Panes is a screen-only setting. To repeat rows or columns on printed pages, use Page Layout > Print Titles and set the rows or columns to repeat.