Teyro
CoursesFor creatorsBlog
Log inGet started
Tey Mascot
LOADING.

Every expert you admire was once a beginner who refused to quit.

Teyro

The fun way to finish learning coding and AI: short daily lessons with streaks, leagues and friends.

Get the app

Learn

  • All courses
  • Learn coding
  • Learn AI
  • Learn online
  • How it works
  • Leagues
  • Get the app

Creators

  • Teach on Teyro
  • How teaching works
  • Teach coding online
  • Teach AI online
  • Join as a Founding Creator
  • Creator log in

Resources

  • Blog
  • Features
  • Use cases
  • Compare
  • FAQ

Legal

  • Terms of Use
  • Privacy Policy

© 2026 Teyro · support@teyro.app

HomeBlogProductivity & Focus
Productivity & Focus

How to Pin a Row in Excel (Freeze It in Under 10 Seconds)

Pin any row in Excel so headers stay visible while you scroll — the top row, multiple rows, or rows plus columns — plus fixes when Freeze Panes is greyed out.

The Teyro TeamAug 23, 20264 min read
On this page6 sections
  1. Pin the Top Row in Three Steps
  2. Pinning Anything Else: Multiple Rows, Columns, or Both
  3. When Freeze Panes Refuses to Work
  4. Printing Is a Different Setting Entirely
  5. From Ten-Second Trick to Actual Skill
  6. The Bottom Line

Scroll down to row 400 of a busy spreadsheet and you are working blind: which column held the invoice totals, which one held the due dates, nobody knows. The fix takes ten seconds and is one of the highest-value tricks in Excel. To pin the top row in Excel, go to the View tab, open the Freeze Panes dropdown, and choose Freeze Top Row. The row locks in place while everything beneath it scrolls normally. Excel calls this freezing; most people say pinning — same feature, same result.

Here is the full toolkit: pinning several rows, pinning columns, doing both at once, what to do when the option is greyed out, and how to make headers repeat on printed pages too.

Pin the Top Row in Three Steps

  1. Click any cell in your worksheet — location does not matter for this variant.
  2. Open the View tab on the ribbon.
  3. Click Freeze Panes, then Freeze Top Row.

A thin solid line appears under row 1. Scroll anywhere in the sheet — row 1 stays put. To undo it later, return to the same dropdown and pick Unfreeze Panes.

Prefer the keyboard? Press Alt, then W, then F, then F on Windows desktop Excel to toggle freezing without touching the mouse.

Pinning Anything Else: Multiple Rows, Columns, or Both

The Freeze Top Row button only handles row 1. For everything else you use the general-purpose option, which freezes everything above and left of the cell you selected before opening the menu:

You want pinnedSelect this firstThen click
Top row onlyAny cellFreeze Top Row
First column onlyAny cellFreeze First Column
Rows 1-3Cell A4 (or row 4)Freeze Panes
Rows 1-2 plus column ACell B3Freeze Panes
Row 1 plus columns A-BCell C2Freeze Panes

Pin Several Rows

Say rows 1 through 3 hold a merged title, a date range and your real column headers:

  1. Select row 4 — click its row number, or just click cell A4.
  2. View tab, Freeze Panes dropdown, Freeze Panes.

All three rows above stay visible. The rule to remember: select where scrolling should start, not what should stay still.

Pin Rows and Columns Together

Selecting cell B3 before freezing locks rows 1-2 and column A simultaneously — anything above and left of B3 goes rigid. This is the setup for wide ledgers where both the header row and the account-name column need to survive diagonal scrolling.

When Freeze Panes Refuses to Work

If the option is greyed out or does nothing, check these in order:

  • You are in Page Layout or Page Break Preview. Freezing only works in Normal view — switch it on the View tab.
  • A cell is in edit mode. If the cursor blinks inside a cell, press Escape first.
  • The sheet is protected or shared. Remove protection via Review, Unprotect Sheet (password may be required).
  • You expected the frozen line to appear somewhere else. The line lands above and left of whatever cell was active — reselect, unfreeze, refreeze.

Printing Is a Different Setting Entirely

Frozen headers exist only on screen; printed pages will not repeat them. For paper output:

  1. Go to the Page Layout tab and click Print Titles.
  2. In Rows to repeat at top, select your header row, for example 1:1.
  3. Print preview now shows those headers atop every page.
ToolWhat it controlsWhere
Freeze PanesOn-screen visibility while scrollingView tab
Split barsTwo independently scrollable views of one sheetView tab
Print TitlesHeader repetition on printed pagesPage Layout tab

From Ten-Second Trick to Actual Skill

Freezing a row is a gateway discovery: the moment spreadsheet friction disappears, people start asking what else they have been missing — tables, lookups, pivot summaries. If that curiosity hits, this roundup of apps worth having as a learner pairs well with building an Excel habit, and Teyro turns daily spreadsheet practice into a gamified routine with streaks that keep it alive past week two.

The Bottom Line

Pinning a row in Excel is the Freeze Panes feature: View tab, Freeze Panes, Freeze Top Row for the classic case — or select the cell below and right of what should stay put, then Freeze Panes for full control. Greyed-out menus mean Page Layout view or an editing cursor, and printed pages need Print Titles rather than freezing. Ten seconds once, saved minutes forever.

Frequently asked questions

How do I pin multiple rows in Excel?

Select the first row BELOW the last row you want pinned — for three header rows, select row 4. Then go to View, open Freeze Panes, and choose Freeze Panes. Everything above your selection stays locked while the rest scrolls. The same logic works vertically for columns.

Why can't I freeze panes in Excel?

Three usual causes. You are in Page Layout view instead of Normal view — switch views on the View tab first. You are mid-edit inside a cell — press Escape, then freeze. Or the workbook is shared or protected, which disables freezing until protection is removed. Freezing also cannot be applied while a Split is active on the same pane area.

Does pinning a row affect printing?

No. Frozen rows only change what stays visible on screen while scrolling. To repeat header rows on printed pages, use Page Layout, then Print Titles, then Rows to repeat at top. Screen behavior and paper output are controlled separately, which surprises almost everyone eventually.

How do I unpin a row in Excel?

Go to the View tab, open the Freeze Panes dropdown, and click Unfreeze Panes. That clears all frozen rows and columns at once. There is no per-row unpinning — freezing is a single setting per worksheet, so it is remove-everything and reapply what you want.

Tricks are nice. Skills compound.

Knowing ten seconds of Excel saves an hour today; understanding spreadsheets deeply changes what you can do at work. Teyro turns practice into a daily game with XP and streaks.

Start learning free

Free to start · No credit card needed

Share

Written by

The Teyro Team

Learning Team at Teyro

We build Teyro — an AI-powered learning platform that turns skill-building into a daily habit through bite-sized, gamified lessons. We write about the learning science and study strategies that shape our product.

More from The Teyro Team

On this page

  • Pin the Top Row in Three Steps
  • Pinning Anything Else: Multiple Rows, Columns, or Both
  • Pin Several Rows
  • Pin Rows and Columns Together
  • When Freeze Panes Refuses to Work
  • Printing Is a Different Setting Entirely
  • From Ten-Second Trick to Actual Skill
  • The Bottom Line

Keep reading

Productivity & Focus

The Best Way to Learn Online (2026)

Looking for the best way to learn online? Discover proven methods, platforms, and daily habits that make online learning actually stick and produce results.

Sep 20, 20268 min read
Productivity & Focus

How to Stay Motivated and Make Learning Engaging Online

Science-backed strategies to stay motivated while learning online, make learning fun, maintain focus during long courses, and break courses into daily manageable lessons.

Sep 20, 202611 min read
Productivity & Focus

How to Stay Focused and Concentrated: A Science-Backed Guide

Learn how to stay focused and concentrated using proven focus techniques — attention management, deep work routines, and the 15-minute daily system that actually sticks.

Sep 19, 20269 min read