To freeze columns in Google Sheets, you lock the first one or more columns so they stay on screen while you scroll sideways through a wide sheet. This guide covers the View menu, the drag-the-bar method, freezing rows and columns together, the Android and iPhone apps, and fixes for the messages that stop a freeze from working.
Quick answer: Click a cell in the last column you want to keep visible, then choose View > Freeze > Up to column (the option shows that column's letter). Everything from column A through that column stays put when you scroll right.
- Open the spreadsheet in your browser.
- Click any cell in the last column you want to lock.
- Click View > Freeze.
- Pick 1 column, 2 columns or Up to column plus the letter.
- To undo it, choose View > Freeze > No columns.
In this guide
- When Freezing Columns Helps
- Freeze Columns on a Computer with the View Menu
- Freeze Columns by Dragging the Gray Bar
- Freeze the Header Row and First Column Together
- Freeze Columns in the Google Sheets App (Android, iPhone, iPad)
- Can You Freeze a Column in the Middle of a Sheet?
- How to Unfreeze Columns
- Freeze Columns Automatically with Apps Script
- Common Problems When Freezing Columns
- FAQ
- Next Steps

When Freezing Columns Helps
Freeze a column when the information that tells you what a row is about sits on the left, but the numbers you are reading sit far to the right. Common examples:
- Wide reports: a customer name in column A and monthly figures out to column Z.
- Data entry: an order ID or product code you need to see while typing into later columns.
- Shared trackers: a task or owner column that everyone needs as a reference point.
Freezing only changes what stays visible. It does not stop anyone from editing those columns. For that, see the FAQ on locking columns below.
Freeze Columns on a Computer with the View Menu
These steps work in any desktop browser (Chrome, Edge, Firefox, Safari).
- Open the spreadsheet and go to the tab you want to change. Freezing is set per tab, so other tabs are not affected.
- Click any cell in the last column you want to keep visible. Frozen columns always start at column A, so to keep A to C on screen, click a cell in column C.
- Open the menu: click View in the menu bar, then hover over Freeze.
- Choose how many columns: 1 column freezes column A, 2 columns freezes A and B, and Up to column (followed by the letter of the cell you clicked) freezes everything from A through that column.
Check that it worked: a thick gray line now runs down the sheet just to the right of the last frozen column. Scroll right with your trackpad or the scroll bar. The frozen columns should stay in place while the other columns slide underneath them.
Google Sheets has no dedicated shortcut for freezing. If you prefer the keyboard, press Alt + / (Option + / on a Mac) to open the tool finder, type freeze and pick the option you want. The Alt + W, F, C sequence you may have seen elsewhere is an Excel shortcut and does nothing in Sheets.
Freeze Columns by Dragging the Gray Bar
You can also freeze columns without opening a menu. Look at the top-left corner of the grid, where the row numbers meet the column letters. There are two thick gray bars there:
- Point at the vertical bar on the right edge of that corner box.
- Drag it to the right and release it just after the last column you want to freeze.
- The horizontal bar along the bottom edge of the corner box does the same for rows: drag it down to freeze rows.
The bar snaps to column borders, so you cannot freeze half a column. To remove the freeze, drag the bar back to the left edge.
Freeze the Header Row and First Column Together
Most wide tables need both: a header row that stays at the top and a label column that stays on the left. Rows and columns are set separately, so you make two choices in the same menu.
- Click View > Freeze > 1 row to lock the header row.
- Click View > Freeze > 1 column to lock column A.
For a larger frozen area, click the cell at the bottom-right corner of the area you want to lock first. For example, click B3, then choose Up to row 3 and, from the same menu, Up to column B. Rows 1–3 and columns A–B now stay visible.
Check that it worked: scroll down and then right. You should see a gray line under the frozen rows and another to the right of the frozen columns, and the top-left block should never move.
A frozen header row also helps when you sort: Data > Sort sheet leaves frozen rows at the top instead of sorting your headers into the data.
Freeze Columns in the Google Sheets App (Android, iPhone, iPad)
The mobile apps have no View menu. You freeze from the column header instead.
Android
- Open the spreadsheet in the Google Sheets app.
- Touch and hold the letter of the column you want to freeze.
- In the menu that appears, tap Freeze. To undo it later, repeat the steps and tap Unfreeze.
iPhone and iPad
- Open the spreadsheet in the Google Sheets app.
- Tap the letter of the column you want to freeze.
- In the menu that appears, tap the right arrow to see more options, then tap Freeze. Use Unfreeze to remove it.
Frozen columns are saved in the file, not on your device. A freeze you set on a computer also shows in the app, and the other way round. If the app does not give you the exact number of frozen columns you want, set it on a computer with View > Freeze; the result syncs to your phone.
Can You Freeze a Column in the Middle of a Sheet?
No. Google Sheets only freezes columns starting from column A. You cannot freeze column D on its own and let A–C scroll. These workarounds get you the same result:
- Move the column to the left. Click the column letter to select the whole column, then drag the letter to the left edge of the sheet. Formulas that point at it update automatically. Then freeze it as usual.
- Hide the columns in between. Select the columns you do not need right now, right-click and choose Hide column. An arrow marks the spot; click it to show them again.
- Group the columns in between. Select them and choose View > Group > Group columns. Click the minus button above the grid to collapse the group and the plus button to expand it.
- Open the file in a second window. Two browser windows side by side, each scrolled to a different part of the sheet, act like a split view.
If you only need a few columns from a wide tab, a report tab built with the Google Sheets QUERY function can pull just those columns into a narrower view, so there is less to scroll in the first place.
How to Unfreeze Columns
- Click View in the menu bar.
- Hover over Freeze.
- Select No columns. To release frozen rows as well, open the menu again and choose No rows.
The gray line disappears and all columns scroll together again. Dragging the gray bar back to the left edge of the grid does the same thing.
Freeze Columns Automatically with Apps Script
If you create sheets from a script, or want every new report tab to open with the same layout, set the freeze in code. Open the spreadsheet, click Extensions > Apps Script, paste this function into the editor and change 'Data' to your tab name:
function freezeHeaderAndKeyColumns() {
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Data');
sheet.setFrozenRows(1); // keep row 1 (headers) visible
sheet.setFrozenColumns(2); // keep columns A and B visible
}Click Run and approve the permission prompt the first time. When the execution log shows that it completed, switch back to the sheet: row 1 and columns A–B should now be frozen. Passing 0 to either method removes the freeze. For triggers, menus and other automation, see the Google Apps Script automation guide.
Common Problems When Freezing Columns
- A message says you can't freeze columns that contain only part of a merged cell. The freeze line would cut through a merged block. Either freeze up to a column that includes the whole merged area, or select the merged cells and choose Format > Merge cells > Unmerge, then freeze again.
- Sheets warns that the window is too small, or you can barely scroll. The frozen columns are wider than your screen. This happens most on phones, laptops and narrow browser windows. Freeze fewer columns, make the frozen columns narrower by dragging their borders, or zoom out with the zoom setting in the toolbar.
- "Up to column" shows the wrong letter. The option always uses the column of the cell you selected. Close the menu, click a cell in the right column and open View > Freeze again.
- You can't change the frozen columns at all. Freezing changes the sheet, so you need edit access. Ask the owner for edit access, or use File > Make a copy and freeze columns in your own copy.
FAQ
Does freezing columns change the sheet for everyone?
Yes. Frozen rows and columns are saved with the tab, so everyone who opens the file sees the same frozen area, on a computer or in the app. If a shared sheet suddenly scrolls differently, someone with edit access has probably changed the freeze.
What is the difference between freezing and locking a column?
Freezing keeps a column visible while you scroll; locking stops people from editing it. To lock a column, select it and use Data > Protect sheets and ranges, then choose who may edit. You can freeze and protect the same column.
Can I freeze different columns on each tab?
Yes. The freeze setting belongs to each tab, so you can freeze two columns on a data tab and none on a summary tab. Select the tab first, then use View > Freeze while that tab is open.
Why are my frozen columns not staying in place?
Usually the freeze was removed or never set on that tab. Look for the thick gray line to the right of column A. If it is missing, freeze again with View > Freeze. If the line is there but scrolling feels stuck, the frozen area is wider than your window; freeze fewer columns.
Next Steps
Freeze your header row and key column now, then check the result by scrolling right and down. If people type into the sheet, add drop-down lists so entries stay consistent: set up dependent dropdowns in Google Sheets.


You must be logged in to post a comment.