Smart Systems for Home

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

How to Freeze Rows and Columns in Excel

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Freezing rows and columns in Excel keeps specific rows or columns visible while you scroll through the rest of the worksheet. This is essential for keeping headers visible when working with large datasets, so you always know which data you’re viewing. No special tools or add-ins are required — this is a built-in Excel feature available in all recent versions.

What You'll Need

  • A Microsoft Excel workbook (Windows, Mac, or Excel for the web)
  • A worksheet with data that has headers in the first row or first column
  • Excel 2010 or later (all modern versions support this feature)

Step-by-Step

  1. Open your Excel workbook and navigate to the worksheet where you want to freeze rows or columns.
  2. Decide which rows and/or columns you want to freeze. For example, to freeze the first row, you want to lock row 1. To freeze the first column, lock column A. To freeze both, you’ll lock row 1 and column A together.
  3. Click on the cell that is just below and to the right of the rows and columns you want to freeze. For example, if you want to freeze the first row and first column, click on cell B2.
  4. Go to the View tab on the Excel ribbon at the top of the window.
  5. In the Window group, click the Freeze Panes button. A drop-down menu will appear with three options: Freeze Panes, Freeze Top Row, and Freeze First Column.
  6. Select Freeze Panes. This will freeze all rows above and all columns to the left of the selected cell. If you only want to freeze the top row, choose Freeze Top Row instead. If you only want to freeze the first column, choose Freeze First Column.
  7. Once frozen, scroll down or to the right. The frozen rows and columns will remain in place while the rest of the data moves.
  8. To verify the freeze worked, scroll down — the header row(s) should stay visible. Scroll right — the first column(s) should remain visible.
  9. To unfreeze, go back to the View tab, click Freeze Panes, and select Unfreeze Panes.

Common Mistakes

  • Clicking on the wrong cell before selecting Freeze Panes — if you select cell A2 instead of B2 when trying to freeze row 1 and column A, you’ll only freeze row 1, not column A.
  • Trying to freeze rows or columns that aren’t adjacent to the data — Excel only freezes rows above and columns to the left of the selected cell. You cannot skip rows or columns.
  • Assuming you can freeze multiple non-adjacent sets of rows or columns — Excel only allows one frozen pane per worksheet. You cannot freeze rows 1–3 and rows 10–12 simultaneously.
  • Forgetting to select the correct cell — if you want to freeze the first three rows and first two columns, you must click on cell C4 before choosing Freeze Panes.
  • Using Freeze Top Row or Freeze First Column when you need both — these options are shortcuts but won’t work if you need to lock both dimensions.

Tips

  • If you often work with the same layout, create a template with frozen panes already set — save it as an .xltx file for reuse.
  • Use Freeze Panes in combination with Split to create separate scrollable sections — but don’t use both at once, as they conflict.
  • On a large screen, freeze both the top row and leftmost column to keep headers visible while scrolling diagonally across a grid.
  • Freezing panes does not affect printing — headers will still print normally unless you set them as print titles under Page Layout > Print Titles.
  • On Excel for the web, the Freeze Panes option is available but may be less responsive on slow connections — use the desktop app for best performance.
  • After freezing, press Ctrl+Home to return to the top-left cell without unfreezing — this helps navigate quickly.

Troubleshooting

  • The Freeze Panes option is grayed out: This happens if you’re in Cell Editing mode. Press Enter or Esc to exit editing, then try again. Also check that you’re not in Page Layout view — switch to Normal view under the View tab.
  • Rows or columns aren’t staying in place: Double-check that you clicked the correct cell before selecting Freeze Panes. If you clicked A1, no rows or columns are above or to the left, so nothing freezes. Click B2 or another cell below and to the right of what you want to lock.
  • Freeze Panes disappears after saving: This rarely happens, but if it does, reopen the file and reapply the freeze. Save again immediately. If the issue persists, check for file corruption by opening the file in a different version of Excel or on another computer.
  • Freezing doesn’t work in Excel for the web: Confirm you’re using a supported browser (Chrome, Edge, Firefox, Safari). If it still doesn’t work, try using the desktop app. Excel for the web has limited functionality and may not support all Freeze Panes options.
  • After updating Excel, freezing stopped working: Restart Excel. If the problem continues, reset the ribbon: right-click the ribbon > Customize the Ribbon > Reset to default.

Frequently Asked Questions

Can I freeze multiple non-adjacent rows in Excel?

No. Excel only allows one continuous frozen pane — you can freeze rows 1–3 or rows 5–7, but not both at the same time. Use filters or separate worksheets instead.

Does freezing rows affect printing?

No. Frozen rows are only for on-screen navigation. To print headers on every page, use Page Layout > Print Titles to specify rows or columns to repeat at the top or left of each printed page.

Why is my Freeze Panes option missing?

The Freeze Panes button is only visible on the View tab. If you don’t see it, you might be in Page Layout or Page Break Preview mode. Switch to Normal view under the View tab to restore the button.

Can I freeze rows on Excel for mobile?

Yes, but only the top row. Open your file in the Excel mobile app, tap the View tab, then tap Freeze Panes and select Freeze Top Row. Freezing columns or multiple rows is not supported on mobile.

What’s the difference between Freeze Panes and Split?

Freeze Panes locks rows/columns in place permanently while scrolling. Split creates movable divider lines that let you scroll independently in sections — both can be used, but they serve different purposes. Split is useful for comparing distant sections; Freeze Panes is for keeping headers visible.

Will freezing panes slow down Excel?

No. Freezing panes is a display setting that doesn’t change data or formulas. It uses negligible system resources and has no performance impact, even on large files.