Smart Systems for Home

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

How to Freeze the Top Row 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 the top row in Excel keeps your header row visible while you scroll through long spreadsheets, so you always know what each column means. It takes one click: open the View tab, click Freeze Panes, and choose Freeze Top Row. The steps below work in Excel for Windows and Mac, and the same option exists in Excel for the web with a slightly different menu layout. No add-ins or special preparation are needed.

What You'll Need

  • A spreadsheet open in Excel (desktop version for Windows or Mac, or Excel for the web in a browser)
  • Your header labels in row 1, since the Freeze Top Row option always locks row 1 specifically

Step-by-Step

  1. Open your workbook in Excel and go to the worksheet where you want to freeze the top row.
  2. Click the View tab on the ribbon at the top of the window. In Excel for the web, the View tab looks similar but contains fewer options.
  3. Click Freeze Panes in the Window group. On Mac, the same button appears on the View tab and ribbon.
  4. Choose Freeze Top Row from the small dropdown menu.
  5. Scroll down the worksheet. Row 1 stays pinned at the top while the rest of the sheet moves underneath it. Excel draws a thin line under the frozen row so you can see where the freeze starts.
  6. To remove the freeze later, go back to View > Freeze Panes and click Unfreeze Panes.

Note: menu labels can differ slightly between Excel versions and platforms, but the Freeze Panes button has kept the same name and location on the View tab across current desktop and web versions.

Common Mistakes

  • Using Freeze Panes (the first option in the dropdown) instead of Freeze Top Row. The first option freezes everything above and to the left of your selected cell, so if cell C5 is selected, rows 1-4 and columns A-B all get frozen. If that happens, click Unfreeze Panes and start again.
  • Expecting Freeze Top Row to lock row 2 or 3 because that is where your real headers sit. The option only works on row 1. If your headers are elsewhere, either move them to row 1 or select the cell directly below your header row and use Freeze Panes instead.
  • Confusing freezing with splitting. The Split button next to Freeze Panes divides the window into scrollable panes but does not lock anything in place.
  • Looking for the setting under Page Layout or Home. Freezing is a view setting, so it lives exclusively on the View tab.
  • Assuming the freeze applies to the whole workbook. Freeze settings are per worksheet, so each sheet needs its own freeze.

Tips

  • To freeze the top row and the first column at the same time, select cell B2 and click View > Freeze Panes > Freeze Panes. This locks everything above and left of B2.
  • To freeze several top rows (for example a two-row header), select the cell in column A directly below the last row you want frozen, then use Freeze Panes.
  • Frozen panes do not affect printing. To repeat header rows on printed pages, use the Page Layout tab and set the rows to repeat at top in the Print Titles section.
  • Freezing works well combined with sorting and filtering, since your header row stays visible while you work with the filter dropdowns.
  • If you share the file, the freeze is saved with the worksheet, so collaborators see the same frozen row when they open it.

Troubleshooting

The Freeze Panes button is greyed out. This usually means the worksheet is protected. Unprotect the sheet via the Review tab (you may need the password from whoever protected it), then try again. It can also happen while you are in the middle of editing a cell; press Enter or Esc to finish the edit first.

Freeze Top Row is missing from the dropdown. You are probably already in a frozen or split state, or the workbook is open in a mode like Page Layout that handles panes differently. Switch back to Normal view (View > Normal), click Unfreeze Panes if available, and reopen the dropdown.

The wrong rows got frozen. You likely clicked Freeze Panes with a cell other than A1 selected. Click Unfreeze Panes, select cell A1, and use Freeze Top Row.

The freeze disappears when I open the file. Check that you saved the workbook after freezing. If the file was saved in a very old or non-Excel format, panes may not persist; save it as a standard .xlsx workbook.

It still does not work in Excel for the web. Make sure you are in Editing mode rather than Viewing mode, since view changes require edit access. If the workbook is read-only or shared as view-only, you cannot change the freeze setting.

Frequently Asked Questions

Does freezing the top row work in Excel for the web?

Yes. Open the View tab in the browser toolbar and choose Freeze Top Row. You need editing rights on the file for the setting to apply.

Can I freeze the top row in the Excel mobile app?

The mobile Excel apps have a limited ribbon, and pane freezing is not available in the same way as on desktop. Freeze the row on a computer first; the setting is saved with the file and respected when it is opened on mobile.

Can I freeze both the top row and first column?

Yes. Select cell B2 and click View > Freeze Panes > Freeze Panes. This locks row 1 and column A simultaneously.

Will freezing rows slow down a large spreadsheet?

No. Freezing panes is a display setting and has no meaningful effect on calculation speed, even on large files.

How do I unfreeze the top row?

Go to View > Freeze Panes and click Unfreeze Panes. This removes all frozen rows and columns on that worksheet at once.

Does the frozen row print on every page?

No. Freezing only affects the on-screen view. To repeat headers when printing, set Print Titles on the Page Layout tab.