Table of Contents
To add borders in Google Sheets, select the cells, open Borders on the toolbar, choose a color and line style, then choose which edges to draw. Borders help separate a table, label a header row, or emphasize a total without changing the cell values.
Add borders to a selected range
- Select one cell or drag across the range you want to format.
- Click the Borders toolbar button
. - Choose the border placement, such as all borders, outer borders, or a specific edge.
- Check that the border applies to the intended range.

The selected range determines what each option affects. For example, outer borders draw around the perimeter of the selection; all borders also draw internal cell boundaries. A bottom border on a header row is often enough to separate headings from data.



Change the border color
- Select the cells with the borders you want to change.
- Open Borders > Border color
. - Choose a color, then choose the relevant border-placement option again to apply it.

Changing the menu’s color alone may only set the color for the next border you apply. Reapply the intended edges so existing borders update. Keep enough contrast with the fill color to make the boundary visible.

Change line style or thickness
Open Borders > Border style
and choose a solid, dashed, dotted, double, or thicker line as available. Then apply the placement option to the selected range.

Use a stronger line sparingly, such as under a total row. A consistent thin line usually works better for ordinary table boundaries. Check the current settings before formatting another range because the menu can retain your previous choices.
Remove borders
Select the affected range and choose the Clear borders option in the Borders menu. This removes the border formatting without deleting the values. If a line remains on a shared cell edge, select the cells on both sides of that edge and clear their borders.
Borders and gridlines are different
Gridlines are the sheet’s default cell guides. Borders are formatting you apply to specific cells, so they can remain visible even when gridlines are hidden. Use borders to define a particular table rather than relying on gridlines alone.
Combine a simple border with cell fills or alternating row colors when that improves readability. To reuse the same appearance elsewhere, see Paint Format in Google Sheets; check that you are copying all the formatting you intend.
Reader Comments 0
Sign in with email or Google to join the discussion.