Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Hide Cell Borders in Excel: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To hide cell borders in Excel, select the cells, go to the Home tab, open the Borders dropdown, and choose No Border. This removes any borders you added manually. If you are seeing the faint gray gridlines that appear by default, those are not cell borders—they are worksheet gridlines, and you hide them by unchecking View > Gridlines on the View tab. The method you need depends on which of the two you are actually seeing.

What You'll Need

  • Microsoft Excel for Windows, Mac, or the web version (steps are similar; labels may differ slightly by version, device, or region).
  • A worksheet with cells that have borders or gridlines you want to hide.
  • Basic familiarity with selecting cells and using the Home tab.

Step-by-Step

Method 1: Remove Cell Borders You Added

  1. Open your workbook and click the worksheet that contains the bordered cells.
  2. Select the cells with borders. To select the entire sheet, press Ctrl+A (Windows) or Command+A (Mac), or click the square at the top-left corner where the row and column headers meet.
  3. On the Home tab, find the Borders button in the Font group. It looks like a small square with a dashed outline.
  4. Click the arrow next to the Borders button to open the border menu.
  5. Choose No Border. The selected cells lose all manual borders and revert to the default gridline appearance.
  6. If you only want to remove specific edges (for example, just the outer border), choose the corresponding option such as Outside Borders or Left Border from the same menu, or use the Erase Border tool (the eraser icon) and drag across the edges you want to clear.
  7. Save your workbook with Ctrl+S (Windows) or Command+S (Mac).

Method 2: Hide Default Gridlines

  1. Open the worksheet where the gray gridlines are visible.
  2. Go to the View tab on the ribbon.
  3. In the Show group, uncheck the box labeled Gridlines. The gray lines disappear from the entire sheet.
  4. To hide gridlines only on specific cells, you cannot do that directly—gridlines are a sheet-wide setting. Instead, apply a white fill color to the cells you want to appear borderless: select those cells, go to Home > Fill Color, and choose white. This masks the gridlines in that area while leaving them elsewhere.
  5. Save the workbook.

Method 3: Hide Borders in Excel for the Web

  1. Select the cells with borders.
  2. On the Home tab, click the Borders dropdown in the Font group.
  3. Choose No Border.
  4. To hide gridlines, go to the View tab and uncheck Gridlines.

Common Mistakes

  • Confusing borders with gridlines. Cell borders are formatting you apply; gridlines are a view setting. Removing borders will not hide gridlines, and unchecking gridlines will not remove borders you added.
  • Selecting only one cell. Borders apply to the entire selected range. If you click a single cell and choose No Border, only that cell's borders are removed—adjacent cells keep theirs.
  • Using white fill as a substitute for removing borders. White fill hides gridlines visually but does not remove actual borders. If you later change the background color, the borders may reappear.
  • Forgetting that gridlines are per-sheet. Unchecking Gridlines on one sheet does not affect other sheets in the workbook. Repeat the step for each sheet.
  • Overlooking print settings. Gridlines may be hidden on screen but still print if Print Gridlines is enabled in Page Layout > Sheet Options. Check that setting if printed output shows lines.

Tips

  • Use Ctrl+Shift+_ (underscore) as a keyboard shortcut to remove all borders from selected cells in Windows Excel. On Mac, use Command+Option+_ (underscore).
  • To quickly select all cells with borders, press Ctrl+A twice (the first press selects the current region, the second selects the entire sheet).
  • If you want a clean look without gridlines but still need some structure, apply a light fill color to header rows instead of borders.
  • Remember that gridlines are a view setting and do not affect data or printing unless Print Gridlines is enabled.
  • When sharing a workbook, note that gridline visibility is saved with the sheet, so recipients will see the same setting.

Troubleshooting

  • Borders still appear after choosing No Border. Check if the cells have a fill color that resembles a border, or if conditional formatting is applying borders. Go to Home > Conditional Formatting > Manage Rules and review any rules that add borders.
  • Gridlines reappear after reopening the file. The workbook may have been saved with gridlines on. Uncheck Gridlines again and save. If the file is shared, another user may have changed the setting.
  • Cannot find the Borders button. Ensure you are on the Home tab. If the Excel window is narrow, the Font group may be collapsed—click the small arrow at the bottom-right of the group to expand it.
  • Borders print but do not show on screen. This can happen if the border color is white or very light. Select the cells, open the Borders dropdown, and choose a darker color under Line Color before reapplying a border, or remove the border entirely.
  • Gridlines option is grayed out. This usually means the sheet is protected. Go to Review > Unprotect Sheet (you may need a password).

Frequently Asked Questions

How do I hide borders for only part of a worksheet?

Select the specific cells, then use Home > Borders > No Border. For gridlines, you cannot hide them per cell—apply a white fill to those cells instead, or hide gridlines for the whole sheet and add borders where you want lines.

What is the difference between cell borders and gridlines?

Cell borders are formatting you apply to individual cells or ranges. Gridlines are faint lines that appear by default across the entire sheet to help with reading, and they are controlled from the View tab.

Can I hide borders in Excel for Mac?

Yes. The steps are the same: select cells, go to the Home tab, click the Borders dropdown, and choose No Border. To hide gridlines, go to the View tab and uncheck Gridlines.

Why do my borders come back after I remove them?

Conditional formatting or a table style may be reapplying borders. Check Home > Conditional Formatting > Manage Rules, and if the range is formatted as a table, use Table Design > Borders to remove them.

Does hiding gridlines affect printing?

No, by default gridlines do not print. If you want them to print, enable Print Gridlines in Page Layout > Sheet Options. Hiding gridlines on screen does not change the print setting.

Can I remove all borders in a workbook at once?

Select all sheets by right-clicking a sheet tab and choosing Select All Sheets, then select all cells and apply No Border. Be aware this affects every sheet and cannot be undone easily, so save a backup first.