How to Freeze a Row in Excel (Step-by-Step Guide)

How to freeze a row in Excel in seconds. Steps for freeze top row, multiple rows, columns, and how to unfreeze panes in any Excel version.

How to Freeze a Row in Excel

Freezing a row in Excel is one of those features you didn't know you needed — until the moment you're scrolling through 500 rows of data and you've completely lost track of what each column means. It's a simple trick, but it saves real time.

This guide walks you through exactly how to freeze a row in Excel, how to freeze multiple rows at once, and how to unfreeze them when you're done. You'll also find steps for freezing columns, since the process is nearly identical and just as useful.

What Does Freezing a Row Do?

When you freeze a row, it stays visible at the top of your screen no matter how far down you scroll. Think of it like pinning a sticky note to the top of your spreadsheet. Your header row — the one with labels like "Name," "Date," "Amount" — stays locked in place while all the data below it scrolls normally.

This is especially helpful when you're working with large datasets, financial reports, or any spreadsheet where losing track of your column headers would cause mistakes. Excel calls this feature Freeze Panes, and you'll find it under the View tab.

How to Freeze the Top Row in Excel

The fastest way to freeze just the first row — your header row — takes three clicks.

  1. Open your spreadsheet in Excel.
  2. Click the View tab in the ribbon at the top.
  3. In the Window group, click Freeze Panes.
  4. From the dropdown menu, click Freeze Top Row.

That's it. A thin gray line appears just below row 1, confirming it's frozen. Now scroll down — your header row stays right where it is.

One important note: Freeze Top Row always freezes row 1, regardless of which cell you have selected. If your actual headers are in row 2 (maybe row 1 has a title or logo), use the manual freeze method described below instead.

How to Freeze Multiple Rows in Excel

What if you need to keep the top two or three rows frozen? Excel handles this too — you just need to select the right cell before you apply the freeze.

  1. Click on the first cell in the row immediately below the rows you want to freeze. For example, if you want rows 1 and 2 frozen, click on cell A3.
  2. Go to ViewFreeze PanesFreeze Panes (the first option in the list).

A gray line will appear below row 2, and both rows will stay locked as you scroll. The rule is simple: whatever rows are above your selected cell get frozen.

This same logic applies if you want to freeze a row that isn't at the very top. If your headers start at row 3 (because rows 1 and 2 have merged title cells or a logo), click A4 and then use Freeze Panes.

How to Freeze a Column in Excel

Freezing a column works exactly the same way — just in the horizontal direction. If you want your first column (column A) to stay visible as you scroll right:

  1. Go to ViewFreeze PanesFreeze First Column.

To freeze multiple columns, click the cell in the first row of the column to the right of the ones you want frozen. Want to freeze columns A and B? Click cell C1, then go to View → Freeze Panes → Freeze Panes.

How to Freeze Both Rows and Columns at Once

You can freeze both rows and columns simultaneously — which is useful for wide spreadsheets where you need to keep both your headers and your row labels visible at the same time.

  1. Click the cell that sits below the rows and to the right of the columns you want to freeze. For example, if you want to freeze row 1 and column A, click cell B2.
  2. Go to ViewFreeze PanesFreeze Panes.

You'll see a gray line both below row 1 and to the right of column A. Now you can scroll in any direction and your headers stay in place.

This combination freeze is especially handy for financial models, project trackers, and comparison tables where you need to keep both column headers and row identifiers visible at all times. If you're working regularly with large data tables, it's worth building your broader Excel features knowledge — freeze panes is just one of dozens of view controls that make data work faster.

How to Unfreeze Rows in Excel

Unfreezing is even easier than freezing. Once you've applied any freeze to a spreadsheet, the Freeze Panes menu changes to show an Unfreeze Panes option.

  1. Go to ViewFreeze Panes.
  2. Click Unfreeze Panes.

That removes all frozen rows and columns at once. There's no way to unfreeze just the rows while keeping the columns frozen — it's all or nothing. If you want to keep columns frozen but remove the row freeze, unfreeze everything and then re-apply just the column freeze.

Freeze Panes Not Working? Common Issues

If the Freeze Panes option is grayed out or not behaving as expected, here are the most common reasons:

Your sheet is in Page Layout view

Freeze Panes only works in Normal view. If you're in Page Layout or Page Break Preview mode, the option gets disabled. Go to View → Normal to switch back, then try again.

Your workbook is protected

A protected sheet or workbook can prevent you from changing view settings. Check under the Review tab to see if sheet protection is turned on. You'll need to unprotect it first — which requires the password if one was set.

You're using an older file format

Files saved in .xls format (the old Excel 97-2003 format) sometimes behave oddly with freeze panes. Save the file as .xlsx and try again.

You already have a freeze applied

Excel only allows one freeze at a time. If there's already a freeze active, Freeze Top Row and Freeze First Column won't do what you expect — they'll replace the existing freeze rather than add to it. Unfreeze first, then reapply with the right settings.

Freeze Panes in Excel Online and Excel for Mac

The process is essentially the same in both Excel Online (the browser version) and Excel for Mac:

  • Excel Online: Go to View → Freeze Panes. The same three options are available — Freeze Top Row, Freeze First Column, and Freeze Panes.
  • Excel for Mac: View → Freeze Rows & Columns, or View → Freeze Top Row / Freeze First Column. The menu labels are slightly different but the functionality is identical.

Freeze settings are saved with the file — so a freeze you applied in the desktop app carries over when you open the file in a browser or share it with a colleague. They'll see the same locked rows you set up, no explanation needed.

Tips for Working With Frozen Rows

A few practical things worth knowing once you start using freeze panes regularly:

  • Freeze settings are saved with the file. If you send the spreadsheet to someone else, they'll see the same frozen rows. You don't need to explain it.
  • Printing is separate. Freezing rows doesn't affect how the spreadsheet prints. If you want headers to repeat on every printed page, set that up separately under Page Layout → Print Titles.
  • You can still edit frozen cells. Freezing only affects scrolling behavior — you can click and edit cells in frozen rows normally.
  • Freeze and split view are different. Excel's "Split" feature (View → Split) divides the spreadsheet window into separate scrollable panes. Freeze is simpler and more commonly useful, but split gives you more flexibility if you need to compare distant parts of the same sheet simultaneously.

Understanding these view controls is part of building real proficiency with Excel spreadsheet work. Once you've mastered freeze panes, the next logical step is learning how to use named ranges, data validation, and conditional formatting — the tools that turn a basic spreadsheet into something genuinely powerful.

Keyboard Shortcuts for Freeze Panes

There's no direct one-key shortcut for freeze panes, but you can use the keyboard to navigate there quickly:

  • Press Alt to activate the ribbon shortcuts (Windows only).
  • Then press W for View, F for Freeze Panes, then R for Freeze Top Row, C for Freeze First Column, or F again for Freeze Panes.

So the full keyboard sequence to freeze the top row is: Alt → W → F → R. Sounds like a lot — but after doing it a few times, your fingers remember it automatically.

If you use freeze panes constantly and want even faster access, you can add it to the Quick Access Toolbar (the small icons in the top-left corner of Excel) so it's always one click away regardless of which tab you're on.

When Would You Actually Need This?

Let's be concrete. Here are the situations where freezing rows makes a real difference:

  • Budget spreadsheets: You're tracking 12 months of expenses across 30+ categories. Freezing the header row means you always know which column is January and which is December.
  • Employee rosters: A list of 200 staff members with department, role, start date, and salary columns. Freeze row 1 so the column labels stay visible as you scroll down.
  • Project trackers: Tasks in rows, dates in columns. Freeze both the top row (dates) and the first column (task names) to navigate without losing context.
  • Data from exports: When you export data from a CRM, accounting tool, or database, the files often have dozens of columns. Freezing the headers makes the export usable immediately.

In every one of these cases, scroll down without a frozen header and you're constantly scrolling back up to check what each column means. It's a small friction point — but multiplied across a workday, it adds up fast.

Freeze Panes vs. Split View

People sometimes confuse freeze panes with Excel's Split feature. Here's the difference: split divides your spreadsheet window into two or four independent scrollable sections. Each section can scroll to a different part of the sheet at the same time. Freeze panes keeps specific rows or columns locked while everything else scrolls freely.

For most everyday use — keeping header rows visible while scrolling through data — freeze panes is the right tool. It's simpler, saves with the file, and doesn't visually change your spreadsheet layout. Split view is better when you need to compare data from two distant areas of the same sheet simultaneously.

Validating Your Excel Skills

Freeze panes is one of those Excel features that feels slightly awkward the first couple of times, then becomes completely automatic. The key insight: always select the cell below and to the right of what you want to freeze before clicking Freeze Panes. Once that logic clicks, you'll never have to look it up again.

From there, it's worth exploring the broader set of view controls and data tools that make Excel genuinely productive. Things like conditional formatting, VLOOKUP, PivotTables, and named ranges — the skills that separate basic users from people who can actually build something useful. If you're preparing for a role that requires Excel proficiency, or just want a benchmark for where you stand, an Excel skills test can help you identify gaps before they show up on the job.

If you're aiming for a formal credential, the Microsoft Excel certification path is worth exploring — the MOS (Microsoft Office Specialist) exam validates your skills against an industry-recognized standard that hiring managers recognize. And if you're just starting out or want a structured overview, the Excel features guide covers the full toolkit from formulas to formatting.

Whether you're managing budgets, tracking project milestones, or trying to make sense of a data export — knowing how to freeze rows in Excel makes the whole process less frustrating. It's a small feature with a real impact on how smoothly your day goes.

About the Author

James R. HargroveJD, LLM

Attorney & Bar Exam Preparation Specialist

Yale Law School

James R. Hargrove is a practicing attorney and legal educator with a Juris Doctor from Yale Law School and an LLM in Constitutional Law. With over a decade of experience coaching bar exam candidates across multiple jurisdictions, he specializes in MBE strategy, state-specific essay preparation, and multistate performance test techniques.