The freeze shortcut in Excel lives on the View tab as a short key sequence. To keep the heading row visible while you scroll down, press Alt, W, F, R. For the first column, end with C instead. To freeze both rows and columns, click the cell just below and to the right of them and press Alt, W, F, F.
Frozen rows and columns stay on screen however far you scroll, so you always know which column is Name and which is Amount. Pressing the same freeze panes keys again unfreezes them.
Quick facts
Top row
Alt, then W, then F, then RFirst column
Alt, then W, then F, then CRows and columns at cursor
Alt, then W, then F, then FUnfreeze
Alt, then W, then F, then FMac
View, then Freeze Top RowLock a formula instead
F4
Freeze shortcut in Excel: every option
| What stays visible | Click first | Keys |
|---|---|---|
| Top row only | Anywhere | Alt, then W, then F, then R |
| First column only | Anywhere | Alt, then W, then F, then C |
| Rows above and columns left of a cell | The cell below and right of what to freeze | Alt, then W, then F, then F |
| Unfreeze everything | Anywhere | Alt, then W, then F, then F |
How to freeze rows in Excel with the shortcut
- To freeze the first two rows, click cell A3, the first cell below them.
- Press Alt, then W, then F, then F.
- A thin line appears under row 2. Scroll down: rows 1 and 2 stay put.
- To also keep column A visible, click B3 instead before pressing the keys.
Freeze panes freezes everything above and to the left of the selected cell, so the cell you click decides what stays.
Shortcut to freeze formula in Excel
People sometimes say freeze when they mean lock a cell reference in a formula so it does not change when copied. That is a different job: while typing the formula, press F4 to add dollar signs, turning B2 into $B$2. The lock formula shortcut explains it. Freeze panes only changes what you see, not your formulas.
Freeze panes versus split
Split, with Alt, W, S, divides the window into separately scrolling parts, useful for comparing the top and bottom of a long sheet. Freeze is better for keeping headings in view. Turning one on usually turns the other off, so if freeze behaves oddly, check that split is off.
When freeze does not work
| Problem | Fix |
|---|---|
| Wrong rows frozen | Unfreeze, click the correct cell, and freeze again |
| Freeze Panes greyed out | You are editing a cell, or the sheet is in Page Layout view |
| Frozen part too large | You scrolled before freezing; scroll to the top first |
| Headings do not print on each page | Use Print Titles, not freeze |
Frequently asked questions
What is the freeze shortcut in Excel?
How do I freeze the top row in Excel?
How do I freeze rows and columns together?
Click the cell below and right of them, then Alt, W, F, F.
How do I unfreeze panes?
Press Alt, W, F, F again.
What is the shortcut to freeze a formula?
Lock the reference with F4 while typing it.
How do I freeze panes in Excel for Mac?
Use View, then Freeze Top Row or Freeze Panes.