
To freeze panes in Excel, go to the View tab, click Freeze Panes and choose what stays visible while you scroll. It keeps your header row or first column on screen in a long table. This guide shows how to freeze the top row, the first column and both at once, how to unfreeze, and what to do when the feature seems not to work. The data in the examples is made up.

Freeze the top row
- Open the sheet.
- Go to the View tab.
- Click Freeze Panes.
- Choose Freeze Top Row.
Row 1 now stays visible when you scroll down. A thin line appears under it. This works well when your column titles are in the first row.

Freeze the first column
On the same menu choose Freeze First Column. Column A stays in place when you scroll to the right. This is useful for wide tables where column A holds a name or an ID.

Freeze several rows or columns
For more than one row or column, use the main Freeze Panes option. Excel freezes everything above and to the left of the selected cell:
- Click the cell just below the last row and just right of the last column you want to freeze. To freeze rows 1 to 3 and column A, click B4.
- Go to View, then Freeze Panes, then Freeze Panes.
To freeze only rows, click a cell in column A, for example A4 to freeze rows 1 to 3. To freeze only columns, click a cell in row 1, for example C1 to freeze columns A and B.

Unfreeze panes
Go to View, then Freeze Panes, then Unfreeze Panes. The same button shows Unfreeze Panes whenever something is frozen.
The keyboard way
On Windows press Alt, then W, then F, and choose an option from the menu. Excel shows the letters on the ribbon after you press Alt, so you can follow them. Keys can differ in other languages and versions.
Freeze panes and printing
Freeze Panes affects only the screen. To repeat the header row on every printed page, go to Page Layout, click Print Titles and enter the row in the Rows to repeat at top box.
Freeze panes with a table
If you turn your data into a table with Ctrl+T, the column letters are replaced by the table headers when you scroll down, even without freezing. Freezing is still the better choice when you want the header to stay as it looks in the row.
Why Freeze Panes does not work
- The option is grayed out. You may be in Page Layout view, or editing a cell. Switch to Normal view in the View tab and press Esc.
- The wrong rows are frozen. The selected cell was in the wrong place. Unfreeze and select again.
- Too much is frozen. If the frozen area is bigger than the screen, you cannot scroll. Unfreeze and freeze fewer rows.
- Hidden rows at the top. Unhide them before you freeze.
- Different sheets. The setting belongs to each sheet. Repeat it on every sheet you need.
Freeze panes in Google Sheets
Google Sheets has the same idea under View, then Freeze. You can pick up to the current row or column. For a project plan that uses frozen headers, see our guide to making a Gantt chart in Google Sheets.
Questions and answers
Can I freeze the bottom row?
No. Excel freezes only the top rows and the left columns.
Does freezing affect the data?
No. It changes only how the sheet scrolls on screen.
Why does the frozen row disappear after I share the file?
The setting is saved with the workbook. If it is missing, the person may be using a viewer that ignores it. Ask them to open the file in Excel.
Can I freeze in the middle of the sheet?
Not exactly. Panes always freeze from the top and left. The Split button creates scrollable sections that you can place in the middle.
Summary
Use Freeze Top Row for headers, Freeze First Column for IDs, and select a cell and use Freeze Panes for both. Unfreeze from the same menu.
