Download the Excel freeze panes practice workbook
Free Download

Get the Freeze Panes Practice Workbook

Want the file without building it from scratch? Download the ready-to-use workbook and follow along with every method in this tutorial.

  • Practice freezing rows, columns, and both at the same time
  • See exactly how to keep headers and labels visible while scrolling
  • Includes the workbook challenge so you can test what you learned

Enter your email below for instant access.

Get the Practice Workbook
Free. Instant access.

When you scroll down, do your column titles disappear? That makes analyzing data frustrating. The good news? Excel has a simple solution: freezing rows and columns.

If your frozen rows are hidden and you can’t unhide them, see our guide on how to unhide rows in Excel for troubleshooting steps.

How to Freeze Rows in Excel

Freezing rows in Excel is a straightforward process. Here’s how to lock a row in Excel.

How to Freeze the Top Row

Here is how to lock the top row in Excel (row 1):

Simply go to the “View” tab, choose “Freeze Panes,” and select “Freeze Top Row.”

Excel View tab with Freeze Panes menu open and Freeze Top Row option highlighted to lock row 1 while scrolling

This action locks the first row of your worksheet, making it always visible as you scroll down.

How to Freeze Multiple Rows

In our example, to freeze specific rows 1 and 2, you’ll need to select row 3.

Always pick the row immediately below the ones you want to freeze.

Excel spreadsheet with row 3 selected to freeze rows 1 and 2 above it using the Freeze Panes option

Then, go to “View“, select “Freeze Panes“, and then choose “Freeze Panes” from the drop-down.

Excel View tab with Freeze Panes dropdown open and Freeze Panes option selected to lock rows above the selected row

As you scroll down the worksheet, the frozen rows at the top remain visible.

For instance, in our example, we’ve scrolled down to row 35.

Excel spreadsheet scrolled down to row 35 with rows 1 and 2 still visible at the top due to the freeze panes setting

How to Freeze Columns in Excel

Learn how to lock a column in Excel. It’s just as simple and follows a similar process:

How to Freeze the First Column

Excel makes it easy to keep your first column (A) visible.

Simply navigate to “View,” select “Freeze Panes,” and then click on “Freeze First Column.”

Excel View tab with Freeze Panes menu open and Freeze First Column option highlighted to keep column A visible while scrolling

This can be really helpful when you need to pin a column in Excel. Especially if it has important data like IDs or names.

How to Freeze Multiple Columns

If you need to freeze more than one column, click the column to the right of the last column you want to freeze.

In our example, to freeze columns A and B, you’ll need to select column C.

Excel spreadsheet with column C selected to freeze columns A and B to its left using the Freeze Panes option

Then, head to “View“, select “Freeze Panes“, and then click on “Freeze Panes” from the drop-down menu.

Excel View tab with Freeze Panes dropdown open and Freeze Panes option selected to lock columns to the left of the selected column

As you scroll across the worksheet, the frozen columns on the left remain visible.

For instance, in our example, we’ve scrolled across to column K.

Excel spreadsheet scrolled across to column K with columns A and B still visible on the left due to the freeze panes setting

How to Freeze Rows and Columns at the Same Time

Sometimes, you’ll want to freeze both rows and columns to keep both headers and row labels in view.

In our example, we want to freeze the rows 1 and 2 along with column A.

Excel spreadsheet showing the goal layout with rows 1 and 2 and column A to be frozen simultaneously using a single cell selection

To do this, select the cell that is immediately below the last row and to the right of the last column you wish to freeze. In our example, this is cell B3.

Excel spreadsheet with cell B3 selected to freeze rows 1 and 2 above and column A to the left simultaneously

Then, go to “View“, select “Freeze Panes“, and click on “Freeze Panes.”

Excel View tab with Freeze Panes dropdown open and Freeze Panes selected to lock both rows and columns at the B3 split point

As you scroll across the worksheet, the frozen rows on top and the frozen columns on the left remain visible.

For instance, in our example, we’ve scrolled down to row 27 and across to column K.

Excel spreadsheet scrolled to row 27 and column K with rows 1 and 2 and column A still visible confirming simultaneous freeze result

If you also want to protect certain cells from being edited (not just keep them visible), see our guide on how to lock cells in Excel.

How to Unfreeze Rows and Columns

To return your worksheet to its original layout, unfreezing panes is easy.

Just head to “View,” choose “Freeze Panes,” and then select “Unfreeze Panes.”

Excel View tab with Freeze Panes menu open and Unfreeze Panes option highlighted to remove all frozen rows and columns

Freeze Panes Keyboard Shortcut

Excel is all about efficiency, and shortcuts can save you a ton of time. If you frequently use the Freeze Panes feature, it’s a good idea to add it to your Quick Access Toolbar.

Here’s how to do it:

  • Click the small dropdown arrow on the Quick Access Toolbar and select “More Commands“:
Excel Quick Access Toolbar dropdown arrow clicked showing the More Commands option to add Freeze Panes to the toolbar
  • In the “Choose commands from” dropdown, select “All Commands.” Scroll down to “Freeze Panes,” select it, and then click “Add >>.”
Excel Options dialog with All Commands selected and Freeze Panes located in the list ready to be added to the Quick Access Toolbar
  • Click “OK” to apply your changes.

Now, you can quickly freeze or unfreeze panes from the Quick Access Toolbar at the top of your Excel window.

Excel doesn’t have a single shortcut for freezing panes, but you can use Alt + W, F to open the Freeze Panes menu instantly. This lets you lock rows or columns without searching through the ribbon.

💡 Want more time-saving Excel shortcuts? Grab our cheat sheet here!

Practice Challenge

Now it’s your turn to practice! The best way to get comfortable with freezing panes in Excel is to practice. Here is a quick challenge for you:

  1. Open the practice workbook.
  2. Unfreeze panes.
  3. Freeze columns A through E and rows 1 to 2.
  4. Scroll across to column N and down to row 27.
  5. Your screen should look like this:
Excel spreadsheet practice challenge result showing columns A through E and rows 1 and 2 frozen while scrolled to column N and row 27

Featured Course

Excel Essentials for the Real World

A hands-on Excel course for professionals who never had formal training. Fill in what got skipped, so you stop doing things the long way without knowing there was a shorter one.
Learn More

Want to keep important data in view while scrolling in Excel?

Freezing panes is a simple but powerful trick that makes navigating large datasets easier. It helps you stay organized and keeps key information visible, improving both efficiency and presentation.


New to Excel? Freezing panes is one of the first skills every user needs. Check out our Excel Essentials course for a structured path from beginner to confident.


Download the Free Practice File

Want to follow along? Download the workbook here and practice freezing rows in Excel step by step. Hands-on learning makes it easier to master this essential skill.

Excel Download Practice file

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.