Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Freeze Panes in Excel: Lock Rows and Columns While Scrolling

· 5 min read · Home Tech

In this article
  1. What Freeze Panes Actually Locks
  2. Freezing Rows and Columns
  3. A Worked Example
  4. Unfreezing and When It Fails
  5. The Misconception: Freeze Versus Print Titles
  6. Freeze Panes on Excel Online and Mobile
  7. Related Freeze Panes Questions

Excel freezes rows or columns through the View tab: select the cell below and to the right of what you want locked, then choose View > Freeze Panes > Freeze Panes. The feature is called Freeze Panes, not "page freeze," and it keeps headers visible while you scroll through the rest of the sheet.

What Freeze Panes Actually Locks

Freeze Panes pins everything above and to the left of your selected cell. If you select cell B2, row 1 and column A stay on screen no matter how far you scroll down or right. The frozen area stays fixed at the edge of the window; the rest of the sheet slides underneath it.

Excel offers three options under View > Freeze Panes, and the one you pick depends on where your headers sit:

  • Freeze Panes freezes any combination of rows and columns, based on your current selection.
  • Freeze Top Row keeps only row 1 visible, regardless of which cell is selected.
  • Freeze First Column keeps only column A visible, regardless of which cell is selected.

Menu labels can differ slightly between Excel versions, but the View tab placement has been stable for many years.

Freezing Rows and Columns

Freeze the top row only

Click any cell, then View > Freeze Panes > Freeze Top Row. Row 1 now stays pinned at the top of the window.

Freeze the first column only

Click any cell, then View > Freeze Panes > Freeze First Column. Column A stays pinned at the left edge.

Freeze several rows

To freeze rows 1 through 3, click cell A4 (the first row you want unfrozen, in column A), then View > Freeze Panes > Freeze Panes. Everything above row 4 is locked.

Freeze rows and columns together

To freeze rows 1-2 and column A, click cell B3. Cell B3 is the first cell that should scroll, so everything above it and to its left is frozen. Then choose View > Freeze Panes > Freeze Panes.

The selection rule is the part people forget: the active cell marks the first scrollable cell, not the last frozen one. Selecting cell B2 freezes one row and one column; selecting B3 freezes two rows and one column.

A Worked Example

Suppose you have a sales sheet with product names in column A, and month headers in row 1 across columns B through M (January to December). You want the product names and the month headers visible while scrolling.

Click cell B2. This tells Excel that row 1 and column A are the frozen region. Choose View > Freeze Panes > Freeze Panes. Now scroll to December in column M: column A stays put, so you can still see which product each row belongs to. Scroll down to row 500: row 1 stays put, so you can still read the month headers.

If you had clicked B3 instead, row 2 would also freeze, which is wrong here because row 2 contains data, not a header. The fix is to select the cell where your data actually starts.

Unfreezing and When It Fails

To remove frozen panes, choose View > Freeze Panes > Unfreeze Panes. The option replaces the freeze options in the menu whenever something is already frozen.

Freeze Panes does not work in every situation:

  • Editing mode: if you are mid-edit in a cell, the menu option is greyed out. Press Esc or Enter to finish the edit first.
  • Protected sheets: if the sheet is protected in a way that blocks view changes, unfreeze the panes before protecting, or unprotect first.
  • Split panes confusion: View > Split divides the window into independent scrollable panes, which is a different feature. If you see two scrollable halves instead of fixed headers, you probably used Split. Turn it off with View > Split again, then apply Freeze Panes.
  • Multiple windows: if the same workbook is open in two windows, freezing applies per window, so check you are working in the one you expect.

The Misconception: Freeze Versus Print Titles

One common mix-up: Freeze Panes only affects the screen. It does nothing to printed pages. If your goal is to repeat row 1 at the top of every printed page, use Page Layout > Print Titles and set "Rows to repeat at top" (for example, $1:$1 for row 1, or $1:$2 for rows 1-2). This is likely what someone searching "page freeze" actually wants if the problem appears on paper, not on screen.

The reverse also trips people up: Print Titles do not affect what you see while scrolling. The two settings are independent, and a sheet can have both.

Freeze Panes on Excel Online and Mobile

In Excel for the web, the same options live under View > Freeze Panes, with Freeze Top Row, Freeze First Column and a general freeze option. On the mobile apps, look for the freeze command in the ribbon or toolbar; it typically offers the top-row and first-column choices. Large frozen regions can behave slowly in the browser version, so freezing one row and one column is usually the practical limit for smooth scrolling.

Can I freeze more than one column without freezing any rows? Yes. To freeze columns A and B only, select cell C1 (first unfrozen column, row 1) and choose Freeze Panes. Because row 1 is above the selection but you selected in row 1 itself, no rows are frozen.

Does freezing change the saved file? The freeze setting is saved with the worksheet, so anyone who opens the file sees the same frozen panes. Each sheet in a workbook has its own setting.

Why do my frozen rows disappear? Check that you have not switched to a different worksheet, opened a new window of the same workbook, or used Split instead. Also confirm the panes were actually applied: a thin grey line appears at the freeze boundary when it is active.