Skip to main content

How to Freeze Multiple Rows in Excel

Learn how to freeze multiple rows in Excel with step-by-step instructions, tips, and troubleshooting to keep your headers visible while scrolling.
Dec 8, 2025  · 6 min read

By default, the “Freeze Top Row” option in Excel only locks the very first row in place. Depending on your case, this may not be useful. Excel does offer the option to freeze multiple rows, but it takes an extra step.

If you are getting started in Excel, our Introduction to Excel course covers skills like navigating the interface, understanding data formats, and working with basic functions. Also, I find the Excel Formulas Cheat Sheet, which you can download, as a helpful reference because it has all the most common Excel functions.

The Right Way to Freeze Multiple Rows

To freeze multiple rows in Excel, you use the Freeze Panes command. This command is more flexible than the "Freeze Top Row" option because it freezes all rows above the cell you've selected. Use the steps below:

  • Select the row immediately below the last one you want to freeze. For example, to freeze rows 1, 2, and 3, you must select row 4. The entire row should be selected, not just a single cell.
  • Go to the View tab on the ribbon, then select the Freeze Panes dropdown menu.
  • Select Freeze Panes from the options.

Freeze Panes option in Excel.

You will note that a thin gray line will appear below row 3, indicating that the top three rows are now frozen.

Freezing multiple rows in Excel.

I recommend taking our Data Preparation in Excel course to learn more about cleaning and organizing your rows and columns. 

What You Can’t Do When Freezing Rows

When freezing rows in Excel, it’s important to understand these common limitations and misconceptions:

  • You can’t multi-select rows to freeze them. The Freeze Panes option only works on the single row you have selected. If you select multiple rows and try to apply the command, it will not work as intended.
  • You can’t freeze non-contiguous rows. For example, you cannot freeze row 1 and row 5 while leaving rows 2, 3, and 4 unfrozen. The Freeze Panes command always freezes a continuous block of rows from the very top of the spreadsheet down to your selected row.
  • The “Freeze Top Row” option only locks row 1. This is a separate, dedicated command within the Freeze Panes dropdown menu.

Troubleshooting: When Freezing Multiple Rows Isn’t Working

If you're having trouble freezing multiple rows in Excel, here are some common issues and their solutions:

  • Freeze Panes option is grayed out: This is a common issue that often indicates you are not in the Normal View mode. To make this option active, switch to View > Workbook Views > Normal, and try again.

Normal mode in Excel.

  • The sheet is protected: If the worksheet is protected, many formatting and view options, including Freeze Panes, will be disabled to prevent unauthorized changes. To unprotect the sheet, go to the Review > Unprotect Sheet, then apply the freezing option.

Unprotect sheet in Excel.

  • Sometimes you might accidentally select a column instead of a row before applying Freeze Panes. Remember to select the entire row below the rows you want to freeze.
  • Some web-based or starter versions of Excel might have limited functionality compared to the full desktop version. Always check the features available in your specific version of Excel to confirm if the “Freeze Panes” option is available.

Check out our Excel Shortcuts Cheat Sheet, which you can download, to learn how to improve productivity by using shortcuts for different Excel features.

How to Freeze Rows and Columns at the Same Time

Sometimes, you may want to lock both the top rows and the left-side columns so your headers and labels stay visible as you scroll in any direction. In this case, you use the intersection logic, where you select a cell, and Excel freezes everything above and to the left of it. 

For example, let’s assume you want to freeze rows 1–3 and columns A–B:

  • Select cell “C4”. This cell is immediately to the right of the last column you want to freeze (column B) and directly below the last row you want to freeze (row 3).

How to freeze rows and columns in Excel using intersection logic.

  • Go to the View > Freeze Panes > Freeze Panes.

After you do this, a horizontal line will appear below row 3, and a vertical line will appear to the right of column B. Now rows 1 to 3 and columns A to B will remain visible as you scroll through your worksheet.

Freezing multiple rows and columns at the same time in Excel.

Excel Version Differences: Windows, Mac, and Office 365

The method of freezing panes is consistent across modern versions of Excel for Windows, Mac, and Microsoft 365. However, you might notice the following slight differences in the user interface or feature availability:

  • Excel for Mac: The process is nearly identical to the Windows version. You can find the Freeze Panes command under the View tab and the steps to freeze multiple rows or columns remain the same.
  • Excel 365: Users often mistakenly use the quick-access "Freeze Top Row" option when they need to use the more versatile "Freeze Panes" command to lock more than one row.
  • Excel Starter: This is a lightweight version of Excel that comes pre-installed on some computers. It has limited features, and the Freeze Panes option may be unavailable.

To avoid issues, always make sure you're in Normal View before you try to freeze panes. If you're not, the freezing options might not be available.

Pro Tips for Working with Frozen Rows

If you want to get the most out of Excel's freezing features, consider these advanced tips to enhance your workflow and data visualization.

  • Use Freeze Panes with filters or slicers: This method keeps your header row visible so filters, dropdowns, or slicers remain accessible as you scroll.
  • Avoid merged cells in frozen rows. Merged cells can behave inconsistently when frozen, making scrolling and alignment less consistent.
  • Combine Freeze Panes with Split View: For side-by-side or top-bottom comparisons, you can use Split View with Freeze Panes. The Split View feature divides the worksheet into separate scrollable sections, each with its own scroll bar. This allows you to view different parts of a large sheet simultaneously.
  • Add visual separators: To make frozen rows more distinct from the rest of your data, apply shading, bold fonts, or borders.

Conclusion

Freezing multiple rows in Excel comes down to choosing the right selection point. By selecting the row just below the ones you want to lock and using Freeze Panes, you can keep important headers and titles visible while you scroll. Whether you’re working with multi-level headers, dashboard layouts, or detailed datasets, this simple trick ensures you never lose context as you navigate your sheet.

If you want to advance your Excel skills, I recommend taking our Data Analysis in Excel course. This course will help you master advanced analytics and propel your career. I also recommend taking our Intermediate Power Query in Excel course to learn about data transformation and using the M language for creating dynamic functions.

Advance Your Career with Excel

Gain the skills to maximize Excel—no experience required.

Start Today for Free

Allan Ouko's photo
Author
Allan Ouko
LinkedIn
I create articles that simplify data science and analytics, making them easy to understand and accessible.

FAQs

How do I freeze multiple rows in Excel?

Select the row below the last one you want to freeze, then go to View > Freeze Panes > Freeze Panes.

Can I freeze rows and columns at the same time?

Yes. Select the cell below the rows and to the right of the columns you want to freeze, then apply Freeze Panes.

What do we mean by the difference between “Freeze Top Row” versus “Freeze Panes”?

Freeze Top Row locks only row 1, while Freeze Panes lets you lock multiple rows and columns.

How do I unfreeze rows in Excel?

Go to View > Freeze Panes > Unfreeze Panes to remove all frozen rows and columns.

Can I freeze rows while using filters or slicers?

Yes, the Freeze Panes option works with filtered headers and slicers for easier data navigation.

Topics

Learn Excel with DataCamp

Course

Data Analysis in Excel

3 hr
115.2K
Learn how to analyze data with PivotTables and intermediate logical functions before moving on to tools such as what-if analysis and forecasting.
See DetailsRight Arrow
Start Course
See MoreRight Arrow
Related

Tutorial

How to Freeze Panes in Excel: A Guide to Lock Rows and Columns

Learn how to keep important rows and columns visible while you scroll in Excel. I’ve explained Freeze Panes step-by-step, with tips for solving everyday problems and improving your workflow.
Laiba Siddiqui's photo

Laiba Siddiqui

Tutorial

How to Lock Cells in Excel: Step-by-Step Guide to Protecting Your Data

Learn how to lock all or specific cells in Excel to prevent unwanted changes. Follow detailed steps to protect formulas, enable editing for selected users, and secure your worksheets with passwords.
Laiba Siddiqui's photo

Laiba Siddiqui

Tutorial

How to Insert Multiple Rows in Excel: 4 Different Ways

Learn to insert multiple rows in Excel using menus, shortcut keys, the copy-paste method, or the name box.
Laiba Siddiqui's photo

Laiba Siddiqui

Tutorial

How to Move Columns in Excel: Simple Techniques and Pro Tips

Learn different methods to rearrange your spreadsheet by moving single or multiple columns in Excel. Discover practical shortcuts, hidden tricks, and expert tools to speed up your workflow.
Laiba Siddiqui's photo

Laiba Siddiqui

Tutorial

Unhide All Rows in Excel: Simple Tips, Shortcuts, and Fixes

This guide shows how to unhide rows in Excel using shortcuts, menu options, and VBA. You’ll also learn tips to troubleshoot common problems and keep your data visible and easy to work with.
Laiba Siddiqui's photo

Laiba Siddiqui

Tutorial

Unhide Columns in Excel: Easy Methods and Pro Tips

Learn quick ways to reveal hidden columns, including shortcuts, special cases like column A, and how to manage hidden columns for better spreadsheet organization.
Javier Canales Luna's photo

Javier Canales Luna

See MoreSee More