How to Erase Borders in Excel: A Step-by-Step Guide
In this article
To erase borders in Excel, select the cells with borders, go to the Home tab, click the Borders dropdown arrow, and choose No Border. That removes all border lines from the selected range. For a single edge, use the Erase Border tool (the pencil eraser icon) and drag along the line you want gone. This guide covers both methods, plus fixing borders that seem to stick around.
What You'll Need
- Microsoft Excel on Windows, Mac, or the web (Excel for the web has the same Home > Borders menu)
- A workbook with at least one cell or range that has borders applied
- No special permissions — border formatting is available to anyone who can edit the sheet
Note: menu labels can differ slightly by Excel version, platform, and region. The steps below use the standard English desktop labels; on Mac the Home tab is still called Home, but some dropdowns are grouped differently.
Step-by-Step
Method 1: Remove all borders from a selection
- Open your workbook and click the sheet tab that contains the bordered cells.
- Select the cells, row, or column you want to clean up. Drag across a range, click a row number to select the whole row, or press Ctrl+A (Cmd+A on Mac) to select the used range.
- Go to the Home tab on the ribbon.
- In the Font group, find the Borders button. It looks like a small grid of squares with a dropdown arrow beside it.
- Click the dropdown arrow, not the button face. Clicking the button face reapplies the last-used border style, which can add borders instead of removing them.
- Choose No Border from the menu. All border lines are removed from the selected cells immediately.
- Press Ctrl+Z (Cmd+Z) if you removed more than intended.
Method 2: Erase individual border lines
- Select the range that contains the borders you want to erase — the Erase Border tool only works on selected cells.
- On the Home tab, click the Borders dropdown arrow.
- Choose Erase Border. The cursor changes to an eraser shape.
- Click or drag along the specific border line you want to remove. Only that edge is cleared; the other borders on the same cell stay.
- Press Esc when you are done to return to the normal cursor.
Method 3: Clear formatting from the whole cell
- Select the cells.
- On the Home tab, in the Editing group, click Clear (the eraser icon).
- Choose Clear Formats. This removes borders along with fill color, bold, number formatting, and font changes — use it only when you want a completely plain cell.
Method 4: Remove borders that come from a table or conditional formatting
- If the borders belong to an Excel Table, click any cell in the table, go to Table Design (called Design in some versions), and in Table Styles uncheck the border options, or choose a style with no borders.
- If the borders come from conditional formatting, go to Home > Conditional Formatting > Manage Rules, select the rule, and click Edit Rule to remove the border setting, or delete the rule.
- If the borders come from a cell style, go to Home > Cell Styles, right-click the applied style, and choose Modify to remove the border, or apply the Normal style.
Common Mistakes
- Clicking the Borders button instead of its arrow. The button face applies the last-used border; only the dropdown lets you pick No Border.
- Selecting only one cell inside a bordered block. Borders are shared between adjacent cells, so clearing one cell can leave lines on its neighbors. Select the full block first.
- Confusing gridlines with borders. The faint gray lines across the sheet are view gridlines, not borders. Turning them off (View > Gridlines) does not remove real borders, and removing borders does not hide gridlines.
- Using Clear Formats when you only wanted borders gone. That also wipes number formats, fills, and fonts. Use No Border instead.
- Forgetting merged cells. A merged cell's border may be applied to the whole merged area; unmerge first if you need to erase only part of it.
Tips
- To remove borders from an entire sheet quickly, click the select-all corner (the small triangle between the row and column headers), then choose No Border.
- Use Format Painter from an unbordered cell to copy a clean look onto bordered cells.
- If you want borders gone but keep the data styled, copy the cells and use Paste Special > Formats from a plain cell.
- Keyboard shortcut: Alt+H, B, N applies No Border on Windows. On Mac, use the Borders menu from the Home tab.
- Save a copy before bulk-clearing formats on a shared workbook so you can restore if needed.
Troubleshooting
- Borders reappear after you remove them. A table style, cell style, or conditional formatting rule is likely reapplying them. Check Table Design, Cell Styles, and Conditional Formatting > Manage Rules.
- No Border seems to do nothing. Make sure you selected the cells that actually have borders; a single click inside a range selects only one cell. Also confirm you are on the right sheet.
- Only some lines disappear. Adjacent cells may each carry their own border. Select the whole block, including one row and column beyond the visible lines, and apply No Border again.
- The Erase Border cursor will not appear. Press Esc, reselect the range, and reopen the Borders dropdown. On Excel for the web, Erase Border is available but behaves slightly differently — click each line individually.
- Borders print but do not show on screen. Check View > Gridlines and Page Layout view; some border colors are very light and hard to see at low zoom.
- File is read-only or protected. If the sheet is protected, go to Review > Unprotect Sheet (you will need the password). If the workbook is marked final, click Edit Anyway.
Frequently Asked Questions
Does removing borders delete my data?
No. Borders are formatting only; cell contents, formulas, and comments are untouched.
How do I remove borders from an entire worksheet at once?
Click the select-all corner above row 1 and left of column A, then choose Home > Borders > No Border.
Why do my borders come back after reopening the file?
Usually a table style, cell style, or conditional formatting rule is reapplying them. Remove or edit that source rather than clearing borders repeatedly.
Can I erase just the outside border and keep inner lines?
Yes. Select the range, open Borders, and choose Inside Borders to keep inner lines, or use Erase Border and click only the outer edges.
Is there a keyboard shortcut for No Border?
On Windows, Alt+H, B, N applies No Border to the selection. Mac Excel does not have a default single shortcut, so use the Home > Borders menu.
Do gridlines count as borders?
No. Gridlines are a view setting under the View tab; borders are cell formatting under Home > Borders. Turning off gridlines will not remove borders.