How to Remove Borders in Excel: Quick Steps
In this article
To remove borders in Excel, select the cells with borders, go to the Home tab, click the Borders dropdown arrow (next to the gridlines icon), and choose No Border. This instantly clears all borders from the selected range. If you only want to remove specific border lines (like just the bottom or inside lines), use the Erase Border tool or the More Borders option for precise control. Below, we cover every method in detail, including keyboard shortcuts and how to avoid common pitfalls.
What You'll Need
- Microsoft Excel (desktop version for Windows or Mac, or Excel for the web).
- A spreadsheet that already has borders applied to some cells.
- Basic familiarity with selecting cells or ranges (click and drag, or Ctrl+Click / Cmd+Click for multiple selections).
No special add-ins or permissions are required. The steps work in Excel 2016, 2019, 2021, Microsoft 365, and Excel for the web, though menu labels may differ slightly by version and device.
Step-by-Step
Method 1: The Quickest Way – No Border Option
- Open your Excel workbook and select the cell or range of cells from which you want to remove borders.
- Go to the Home tab on the ribbon.
- In the Font group, look for the Borders button (it looks like a square divided into four quadrants with a line through the middle). It has a small dropdown arrow next to it.
- Click the dropdown arrow and choose No Border from the list. The borders on your selected cells will disappear instantly.
Keyboard shortcut: After selecting the cells, press Ctrl+Shift+_ (underscore) on Windows or Cmd+Shift+_ on Mac. This applies the same “No Border” command.
Method 2: Erase Only Specific Border Lines
If you want to remove just one border line (for example, only the bottom border of a cell, leaving the rest intact), use the Erase Border tool:
- Select the cells that contain the border you want to erase.
- Go to the Home tab, click the Borders dropdown arrow.
- At the bottom of the dropdown list, click Erase Border (the icon looks like a pencil eraser).
- Your cursor will change to an eraser icon. Click on the specific border line you want to remove. You can click and drag along the border to erase multiple lines.
- Press Esc or click anywhere outside the cell when you’re done to exit erase mode.
Method 3: Using the Format Cells Dialog (For Precise Control)
- Select the cells with borders.
- Press Ctrl+1 (Windows) or Cmd+1 (Mac) to open the Format Cells dialog box.
- Go to the Border tab.
- Under the Presets section, click the None button. This removes all borders from the selected cells.
- Click OK to apply.
Method 4: Clear All Formatting (Use with Caution)
If you want to remove borders along with all other formatting (like fill color, font style, number formatting), you can use the Clear Formats option:
- Select the cells.
- Go to the Home tab, find the Editing group, and click the Clear dropdown (the eraser icon).
- Choose Clear Formats. This removes borders, fills, fonts, and number formats, but leaves the cell contents (text/numbers) intact.
Method 5: Removing Borders from an Entire Worksheet
- Click the Select All button (the triangle where the row numbers and column letters meet, or press Ctrl+A twice on Windows).
- Follow Method 1 or Method 3 to apply “No Border” or “None” to the entire selection.
Common Mistakes
- Selecting the wrong range: If you only select part of a bordered area, only that part will be cleared. Make sure you select the entire range that has borders.
- Using “Clear All” instead of “Clear Formats”: The “Clear All” option (in the same dropdown) deletes the cell contents too. Always choose “Clear Formats” if you want to keep your data.
- Clicking the Borders button itself instead of the dropdown: Clicking the main button applies the last-used border style, not “No Border”. Always click the small arrow to see the full list.
- Forgetting to exit Erase Border mode: After erasing, if you click elsewhere, you might accidentally erase more borders. Press Esc to stop.
- Borders reappearing after printing: If borders still show in print preview, you might be looking at the gridlines (the light gray lines that define cells) rather than actual borders. Gridlines are not borders; they are a view setting. To hide gridlines, go to the View tab and uncheck Gridlines.
Tips
- Use the Format Painter: If you have a cell without borders that you like, select it, click the Format Painter (the paintbrush icon in the Clipboard group), and then click the bordered cells. This copies the “no border” format.
- Keyboard shortcut for Format Cells: Memorize Ctrl+1 to quickly open the Format Cells dialog – it’s the fastest way to access the Border tab.
- Apply borders to a range first, then remove selectively: If you’re creating a table, it’s often easier to apply all borders, then use Erase Border to remove the ones you don’t want.
- Check the border style before applying: If you see a border that won’t go away, it might be a table style border. Select the table, go to the Table Design tab (or Table Tools), and choose a different style or convert the table back to a range.
Troubleshooting
Borders still visible after applying “No Border”
- First, check if you are seeing gridlines instead of borders. On the View tab, uncheck Gridlines to see if the lines disappear. If they do, they were gridlines, not borders.
- If the lines persist, they might be part of a table style. Click anywhere inside the table, go to the Table Design tab, and either choose a style with no borders or click Convert to Range (confirm when prompted). This removes table formatting, including borders.
- Conditional formatting can also apply borders. Select the cells, go to Home > Conditional Formatting > Manage Rules, and review any rules that might be adding borders. Delete or modify those rules.
Erase Border tool isn’t working
- Make sure you are clicking directly on the border line, not inside the cell. The eraser icon must touch the line itself.
- If you’re trying to erase a border that spans multiple cells, you may need to click on each segment individually, or select the whole range and use “No Border”.
Borders reappear when I type in a cell
- This usually happens when the cell is part of an Excel Table. The table style automatically adds borders to new rows. Convert the table to a range (as described above) to stop this.
Frequently Asked Questions
Can I remove borders from multiple non-adjacent cells at once?
Yes. Hold Ctrl (Windows) or Cmd (Mac) while clicking each cell or range, then apply “No Border” from the Borders dropdown.
How do I remove borders but keep the cell fill color?
Use the “No Border” option (Method 1) or Format Cells > Border tab > None. That only removes borders, leaving fill and other formatting intact.
Why does the Borders button show a line but not “No Border”?
The main Borders button always shows the last border style you used. Click the dropdown arrow next to it to see the full list, including “No Border”.
Does the keyboard shortcut work in Excel for the web?
Yes, Ctrl+Shift+_ (Windows) and Cmd+Shift+_ (Mac) work in Excel for the web as well.
Can I remove borders from a whole column or row?
Yes. Click the column letter or row number to select the entire column/row, then apply “No Border” as usual.
What if I want to remove only the outer border but keep the inside lines?
In the Format Cells dialog (Ctrl+1), go to the Border tab. Under Presets, choose None, then under Border, click the Inside button (or the middle horizontal and vertical lines) to re-add only the inside lines. Click OK.