How to Freeze Rows or Columns So Headers Stay Visible

Beginner How-To · Excel

Keep your header row (or a key column) on screen while you scroll through a long sheet.

  1. To freeze just the top row: go to View > Freeze Panes > Freeze Top Row.
  2. To freeze just the first column: View > Freeze Panes > Freeze First Column.
  3. To freeze both a header row and a header column at once, click the cell just below and to the right of what you want frozen, then View > Freeze Panes > Freeze Panes.
  4. To undo it, go back to View > Freeze Panes > Unfreeze Panes.
  5. This only affects your view while scrolling — it doesn't change the data or affect what prints, which is a separate setting under Page Layout > Print Titles.
Running into an error instead of just needing the how-to? Check our Excel troubleshooting guides or the error lookup.

Frequently Asked Questions

Can I freeze both rows and columns at the same time?
Yes — select the cell just below and to the right of what you want frozen, then use Freeze Panes, and both the rows above and columns to the left of that cell stay frozen together.
Does freezing panes affect printing?
No — freezing panes is purely a screen viewing convenience. It has no effect on how the spreadsheet prints.

More Excel how-tos