How to Freeze Panes in Excel: Rows, Columns and the Shortcut

By the LogicExcel Editorial Teamβ€’β€’7 min readβ€’1,379 words

Freeze panes lock rows or columns in place so they remain visible as you scroll. When you have a spreadsheet with 500 rows and you've scrolled down to row 300, frozen headers mean you always know what each column represents.

All freeze options are under View tab β†’ Freeze Panes.


Freeze the Top Row

The most common freeze. Keeps row 1 visible no matter how far down you scroll.

  • Click any cell (your cursor position doesn't matter for this one)
  • View β†’ Freeze Panes β†’ Freeze Top Row
A thin line appears below row 1. Scroll down β€” row 1 stays fixed.

To unfreeze: View β†’ Freeze Panes β†’ Unfreeze Panes (this option replaces the Freeze options when something is already frozen).


Freeze the First Column

Keeps column A visible as you scroll right β€” useful for spreadsheets with many columns where the row labels are in column A.

  • View β†’ Freeze Panes β†’ Freeze First Column
The freeze line appears to the right of column A. Note: You can't freeze the top row AND first column using these two shortcut options simultaneously. To freeze both, use the general Freeze Panes method below.

Freeze Specific Rows and Columns Together

This lets you freeze any number of rows at the top, any number of columns on the left, or both simultaneously.

The rule: Excel freezes everything above and to the left of the selected cell.

To freeze row 1 AND column A:

  • Click cell B2 (one row below and one column to the right of what you want frozen)
  • View β†’ Freeze Panes β†’ Freeze Panes
Now both row 1 and column A are frozen.

To freeze the first 3 rows:

  • Click cell A4 (one row below the last row you want frozen)
  • View β†’ Freeze Panes β†’ Freeze Panes
Rows 1, 2, and 3 are frozen.

To freeze the first 2 columns:

  • Click cell C1
  • View β†’ Freeze Panes β†’ Freeze Panes
Columns A and B are frozen.

The Freeze Panes Keyboard Shortcut

There is no single dedicated key for freezing panes, but the ribbon sequence is
fast once you know it.

Windows: press Alt, then W, then F, then F. Alt opens the ribbon key tips, W selects the View tab, the first F opens the Freeze Panes menu, and the second F chooses Freeze Panes itself. The other two options are on the same menu:
SequenceWhat it does
Alt W F FFreeze at the selected cell (or unfreeze if already frozen)
Alt W F RFreeze Top Row
Alt W F CFreeze First Column
Press the keys one after another, not together. Mac: there is no Alt key-tip sequence in Excel for Mac. Use the ribbon: View β†’ Freeze Panes, and pick the option you want. If you freeze often, add Freeze Panes to the Quick Access Toolbar with **Excel β†’ Preferences β†’ Ribbon & Toolbar β†’ Quick Access Toolbar**, and it picks up a Cmd shortcut position.

Freezing on a Mac

The rule is identical, only the menu location moves. On recent versions the
Freeze Panes button sits directly on the View tab, not inside a dropdown.

  • Click the cell below and to the right of everything you want locked
  • View β†’ Freeze Panes
  • Choose Freeze Panes, Freeze Top Row, or Freeze First Column
If you cannot see the option, widen the Excel window. On a narrow window the View tab collapses and Freeze Panes hides behind a chevron.

Freezing in Excel for the Web

Excel in a browser supports freezing, with one difference worth knowing: it only
offers the two simple options plus a general freeze, and the choice is saved to
the file for everyone who opens it.

  • View β†’ Freeze Panes
  • Pick Freeze Top Row, Freeze First Column, or Freeze Panes
Google Sheets does the same job under View β†’ Freeze, where you can also drag the thick grey bar at the edge of the grid to set the frozen region by hand.

Split Panes

Split panes divide the window into separate scrollable sections β€” different from freezing. Splitting lets you view two different parts of the same worksheet simultaneously, like comparing data at row 5 with data at row 500.

To split: Click where you want the split β†’ View β†’ Split.

The window divides into 2 or 4 panes (depending on whether you clicked a row border, column border, or cell intersection). Each pane scrolls independently.

To remove the split: View β†’ Split again (it toggles), or double-click the split bar. Freeze vs. Split: Freeze locks one region while the other scrolls. Split creates two independent scrollable regions β€” neither is locked.

Frequently Asked Questions

Why is Freeze Panes greyed out?

The most common reason is that the workbook is in Page Layout view or Page Break Preview. Freeze Panes only works in Normal view. Switch back: View β†’ Normal.

The option is also unavailable if the sheet is protected. Unprotect the sheet first: Review β†’ Unprotect Sheet.

Can I freeze rows in the middle of the spreadsheet?

No. Excel can only freeze rows at the top and columns at the left. You cannot freeze row 50 while scrolling through rows 1–49. If you need to compare a header row with data far below it, use Split Panes instead.

Does freezing affect printing?

No. Freeze panes only affect the on-screen view. For print headers (repeating rows at the top of every printed page), go to Page Layout β†’ Print Titles β†’ Rows to repeat at top.

Freeze Panes froze the wrong rows. Why?

Because Excel freezes everything above and to the left of the selected cell,
not the rows you highlighted. Selecting rows 1 to 3 and choosing Freeze Panes
freezes rows 1 and 2 only, since the active cell sits in row 3.

Click a single cell in column A, one row below the last row you want locked,
then freeze. To lock rows 1 to 3, click A4.

Freeze Panes is not working at all. What should I check?

In order:

  • Are you in Normal view? Page Layout and Page Break Preview both disable it
  • Is the sheet protected? Review β†’ Unprotect Sheet
  • Is the workbook shared or in a legacy co-authoring mode? Freezing can be
locked out on older shared workbooks
  • Is a cell being edited? Press Esc first, because the ribbon is inert while
the formula bar has focus

Can I freeze panes on more than one sheet at once?

No. Freezing is per worksheet, and grouping sheets does not carry it across. You
have to set it on each sheet, though the setting is saved with the file so you
only do it once.

Does freezing panes slow a large workbook down?

No. It is a view setting and costs nothing at recalculation time. If a large
sheet feels slow while scrolling, the cause is usually volatile formulas or
conditional formatting rules over whole columns, not the frozen panes.

My freeze line disappeared after reopening the file β€” did Excel lose it?

Freeze panes are saved with the workbook. If the line isn't visible, check: (1) you might be in Page Layout view β€” switch to Normal, (2) the freeze might still be active but the line is at the top of the visible area β€” scroll up to row 1 to see if row 1 is fixed.


Practice it

Freezing panes is muscle memory, so it is worth doing once on a sheet big enough
to need it. The interactive Excel exercises run in
the browser with no download, and the keyboard shortcut lessons
drill the Alt ribbon sequences this page uses.

Related tutorials