Excel guide ยท Reviewed 9 October 2026

How to add borders in Excel

Ctrl+Shift+&

Quick answer: Select the cells and press Ctrl+Shift+& to add an outline border. Ctrl+Shift+_ removes all borders.

Clean borders are what make a sheet look finished and printable. Two shortcuts add and remove them instantly, so you can tidy a report in seconds.

Hold Ctrl and Shift, then press &.

Step by step

  1. Select the cells you want to outline.
  2. Press Ctrl+Shift+& to put a border around the outside of the selection.
  3. To remove every border from the selection, press Ctrl+Shift+_ (underscore).

Tips & troubleshooting

  • Ctrl+Shift+& is Ctrl+Shift+7 on most keyboards, and Ctrl+Shift+_ is Ctrl+Shift+Minus.
  • For inside borders, thicker lines or colours, press Ctrl+1 and use the Border tab.

More border options from the keyboard

The two Ctrl shortcuts only handle the outline. The Borders menu on the Home tab has the rest: press Alt, H, B and then one more key.

  • A: All Borders, a full grid around every cell.
  • S: Outside Borders.
  • T: Thick Outside Borders.
  • O: Bottom Border, the usual choice under a header row.
  • N: No Border.
  • M: More Borders, which opens the Border tab of Format Cells for colours, line styles and diagonals.

Borders are not gridlines

The faint grey lines on a worksheet are gridlines. They are a guide for the screen and do not print unless you tick Print under Gridlines on the Page Layout tab. Borders are formatting you apply, and they always print.

A common finishing touch for a report is to add borders where they help and then hide the gridlines altogether by unticking View, Gridlines. The page looks cleaner and the borders stand out.

Use borders sparingly

  • A line under the headings and another above the totals is usually enough. A full grid makes numbers harder to read.
  • Use a thin, light grey line for row separators and keep black for the outline.
  • Borders belong to cells, so they travel when you sort, copy or move data. If the design needs stripes that survive sorting, use an Excel table style instead.

On a Mac

In Excel for Mac press Cmd+Option+0 to add an outline border.

Common questions

Why isn't Ctrl+Shift+& working on my keyboard?

The shortcut is really Ctrl+Shift+7, because & sits on the 7 key on UK and US layouts. On other layouts the symbol is elsewhere, so use Alt, H, B, S instead.

Why don't my borders show when I print?

Check you applied borders rather than relying on gridlines, and that Draft quality isn't ticked on the Sheet tab of Page Setup. Very light border colours can also vanish on some printers.

Turn it into a habit

Knowing a shortcut is one thing. Using it without thinking is another. Practise it in seconds with our free trainer.

Free weekly email

Shortcut of the Week

One genuinely useful Microsoft 365 shortcut, explained in a minute. No spam, no sharing your address, unsubscribe in one click.

By subscribing you agree to receive this weekly email. We'll ask you to confirm first. See our privacy policy.

Related guides