Formatting Issues

Fix Microsoft Word Table Borders That Extend With Cell Spacing

Ayan MasoodAyan Masood Nov 14, 2026 868 views

Question details

Stop unwanted table borders from remaining or extending when cell spacing is enabled in Microsoft Word.

Fix Word Table Borders That Extend When Cell Spacing Is Enabled
Product
Microsoft Word
Device & OS
not provided
Scenario
A user is formatting a Word table with cell spacing enabled and wants to remove selected borders.
Observed behavior
Border lines may remain or extend into the space between cells after they are deleted.
Before you start

Click inside the affected table and check whether cell spacing is enabled under Table Properties > Options. Identify which lines you want to keep, including any outer table borders.

Solution 1Recommended

Replace cell spacing with cell margins

Use this approach for a printed table when you want more space around cell contents without gaps between cells.

Cell margins add space inside each cell; they do not create gaps between cells. This may change the table's appearance compared with cell spacing.

1
Open table properties

Right-click inside the table and select Table Properties.

2
Turn off cell spacing

On the Table tab, select Options, clear Allow spacing between cells, and leave the dialog open.

3
Adjust cell margins

In the same Table Options dialog, set the top, bottom, left, and right default cell margins to provide the space you need. Select OK, then OK again.

4
Check the borders

Select the table and use Table Design > Borders to remove or add any lines needed for the revised layout.

Replace cell spacing with cell margins
Free Microsoft Office alternative

Edit table borders in WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and table formatting. Open compatible Word files in WPS Writer to continue working on your documents without recreating them.

Edit table borders and cell layout in WPS WriterCompatible with Microsoft Word DOC and DOCX filesFamiliar document-editing interfaceFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does a border remain after I delete it in Word?

The visible line may be a table border or a border belonging to a neighboring cell. Select the table or affected cells and check Table Design > Borders > Borders and Shading.

Where do I turn off spacing between table cells?

Right-click inside the table, choose Table Properties, and select Options on the Table tab. Clear Allow spacing between cells and select OK.

Will cell margins create gaps between cells?

No. Cell margins add space between the cell edges and their contents. Adjust them under Table Properties > Options.

Can I hide a border without removing it?

Yes. In Table Design > Borders > Borders and Shading, apply a border color matching the background to the unwanted edge. The border remains in the document and may show if the background changes.