Nested tables in Word let you place one table inside a cell of another table. This helps organize complex data like forms, invoices, or comparison layouts. However, nested tables often inherit extra cell padding from the parent cell, causing misaligned text and uneven spacing. This article explains how to remove unwanted cell padding and create clean nested tables that stay aligned.
Key Takeaways: Creating Nested Tables Without Extra Padding
- Table Properties > Options > Default cell margins > Set top, bottom, left, right to 0: Removes all padding from the parent cell so the nested table sits flush.
- Table Design > Borders > No Border for the nested table: Prevents visual clutter and keeps the nested table invisible within the parent cell.
- Right-click > Table Properties > Cell > Options > Same as the whole table: Ensures the nested table uses zero margins instead of default Word spacing.
Why Nested Tables Get Extra Cell Padding
Word applies default cell margins to every table. When you insert a table inside a parent cell, that cell still has its own top, bottom, left, and right padding. The nested table starts inside that padded area, creating a gap between the nested table and the parent cell borders. The default cell margin in Word is 0.04 inches on each side. This small gap adds up when you have multiple nested levels, causing text and borders to misalign.
The parent table also has a default table alignment. If the parent table is set to Center or Right, the nested table may shift unpredictably. You must set the parent cell alignment to Left and the table alignment to Left to keep the nested table anchored to the top-left corner of the cell.
Steps to Remove Cell Padding From Nested Tables
Follow these steps to create a nested table with zero cell padding. These instructions work in Word for Microsoft 365, Word 2021, Word 2019, and Word 2016.
- Insert the parent table
Go to Insert > Table and select the number of rows and columns you need. For this example, use a 2×2 table. - Remove default cell margins from the parent table
Right-click anywhere inside the parent table and select Table Properties. Go to the Table tab and click Options. In the Default cell margins section, set Top, Bottom, Left, and Right to 0 inches. Click OK twice. - Set parent cell alignment to Top Left
Right-click the cell where you will insert the nested table. Select Cell Alignment and choose the top-left icon (Align Top Left). This ensures the nested table starts at the top-left corner of the cell. - Insert the nested table
Click inside the parent cell. Go to Insert > Table and choose the size of your nested table. For example, select 3 rows and 2 columns. - Remove cell margins from the nested table
Right-click inside the nested table and select Table Properties. Go to the Table tab and click Options. Set Top, Bottom, Left, and Right to 0 inches. Click OK. Then go to the Cell tab and click Options. Uncheck Same as the whole table and set margins to 0. Click OK twice. - Remove borders if needed
Select the nested table. Go to Table Design > Borders and select No Border. This makes the nested table invisible inside the parent cell. If you want borders, skip this step. - Adjust column widths manually
Drag column borders in the nested table to fit the parent cell width. Hold Alt while dragging for precise pixel-level control.
Common Issues When Creating Nested Tables
Nested table still has a gap on the left or top
The parent cell may have paragraph spacing or indentation. Click inside the parent cell. Go to Home > Paragraph dialog launcher. Set Before and After spacing to 0 pt. Set Indentation Left and Special to None. Click OK. This removes extra space that is not part of cell margins.
Text in the nested table overflows into the parent cell borders
The nested table column widths are too wide. Reduce column widths in the nested table so the total width fits inside the parent cell width minus any remaining padding. You can also set the nested table to AutoFit to Window: right-click the nested table, select AutoFit, and choose AutoFit to Window.
Nested table moves to the next line instead of staying inside the cell
The parent row height may be set to Exactly instead of At least. Select the parent row. Right-click and choose Table Properties. Go to the Row tab. Set Row height is to At least and enter a value large enough to contain the nested table. If the parent row height is set to Exactly, the nested table will push content to the next row.
Nested Table vs Merged Cells: Layout Comparison
| Item | Nested Table | Merged Cells |
|---|---|---|
| Structure | Table inside a single cell | Cells combined into one larger cell |
| Column independence | Nested table has its own columns | Merged cell spans existing columns |
| Cell padding control | Must set margins to 0 on both tables | Margins apply to the merged cell only |
| Best use case | Complex forms or data grids | Headers or section titles |
| Print layout stability | May shift if parent cell resizes | Stable across page breaks |
Use nested tables when you need independent column widths inside a single cell. Use merged cells when you only need a wider area for text or an image.
You can now create nested tables in Word without extra padding. Always set cell margins to 0 on both the parent and nested tables. Adjust paragraph spacing in the parent cell to zero. For precise column control, hold Alt while dragging column borders. To quickly reset all margins on an existing nested table, right-click the nested table, choose Table Properties, and set all margins to 0 in both the Table Options and Cell Options dialogs.