Fix Microsoft Word Table Borders That Extend With Cell Spacing
Question details
Stop unwanted table borders from remaining or extending when cell spacing is enabled in Microsoft Word.

- 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.
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.
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.
Right-click inside the table and select Table Properties.
On the Table tab, select Options, clear Allow spacing between cells, and leave the dialog open.
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.
Select the table and use Table Design > Borders to remove or add any lines needed for the revised layout.

Remove and reapply the required table borders
Use this workaround if unwanted lines remain or you need to keep cell spacing enabled.
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.

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.




