To change row height in Excel, select the row or rows, go to Home > Format > Row Height, type a value in points, and select OK; to fit the contents instead, choose Home > Format > AutoFit Row Height or double-click the boundary below the row heading. Row height is measured in points: the default is 15, the maximum is 409, and a height of 0 hides the row.
Row height in Excel sounds trivial until a long string of text gets clipped or a row stubbornly refuses to grow. The default of 15 points suits a single line of normal text, but wrapped text, bigger fonts, and merged cells can outgrow it. This guide walks through the ways to adjust row height: dragging, double-click AutoFit, ribbon dialog entry, Key Tips, and VBA.
Row height is measured in points, the same unit used for fonts. Column width, by contrast, is measured in characters of the default font, which is why row and column sizing feel a little inconsistent. Excel's limit for row height is 409 points, so a value above that will not work. For more on resizing both axes together, see our guide to resizing cells in Excel.
This is the fastest way to change a single row. Hover over the boundary below the row heading you want to resize, then click and drag down to make the row taller or up to make it shorter. To resize several rows at once, select their row headings first, then drag the boundary below any one of the selected headings and every selected row takes the new height.
When you need a precise value rather than an eyeballed drag, use the ribbon dialog. Select the row or rows you want to change, go to Home > Cells > Format, and under Cell Size select Row Height. Type the value in the Row height box and select OK. Microsoft lists 15.00 points as the default, 0 as the minimum, and 409 as the maximum.
Microsoft's shortcut list does not include a dedicated one-key command for row height, but Key Tips give keyboard access to the same commands. Press Alt to display the Key Tips, press the letter shown for the Home tab, and follow the on-screen letters through Format to Row Height or AutoFit Row Height. The letters on your own screen are the reliable guide. Many readers pair this with the essential Excel keyboard shortcuts for navigation and formatting.
In Excel for Mac, select the row, then choose Format from the menu bar, point to Row, and click Height. You can also drag the separator beneath a row heading, or double-click it to fit the row to its contents. Microsoft's Mac instructions cover Excel for Microsoft 365 for Mac, Excel 2024, and Excel 2021 for Mac.
Hover the boundary below a row heading, click, and drag. Select several rows first to resize them all at once.
Home, then Format, then Row Height under Cell Size. Type an exact value in points, from 0 to 409.
Double-click the boundary below the row heading. The row snaps to fit its contents.
Click Select All, then double-click the boundary below any row heading to autofit every row on the worksheet.
Press Alt to show Key Tips, then follow the on-screen letters through Home and Format to Row Height or AutoFit Row Height.
Set Rows.RowHeight = 25 (points) or call Rows.AutoFit on a row or range of rows for bulk changes.
Use Home โ Cells โ Format โ Row Height under Cell Size to type an exact value, or AutoFit Row Height to fit the contents. Drag the boundary below a row heading for visual sizing, or double-click it to autofit. Microsoft documents these steps for Excel for Microsoft 365, 2024, 2021, 2019, and 2016. Press Alt to see Key Tips for keyboard access.
Use Format menu โ Row โ Height from the menu bar to type an exact value. Double-click the separator beneath a row heading to fit the row to its contents, or drag it to size by hand. Select all cells with the Select All triangle to resize every row at once.
AutoFit sizes a row to its contents instead of a value you guess. To trigger it, double-click the boundary below the row heading, or select the rows and choose Home โ Format โ AutoFit Row Height. Microsoft's quick tip for the whole sheet is to click Select All and double-click the boundary below one of the row headings.
AutoFit is also the fix for wrapped text. Microsoft advises that when wrapped text is not fully visible, you use Home โ Format โ AutoFit Row Height or adjust the height manually. Our deep dive on AutoFit in Excel covers the edge cases.
To give every row on the worksheet the same height, click Select All, then drag the boundary below any row heading, or open Home โ Format โ Row Height and type a value. Microsoft documents both approaches for changing all rows on the worksheet.
For hundreds of rows or a repeatable workflow, use VBA. Open the Visual Basic Editor with Alt+F11, insert a module, and paste a short routine. The RowHeight property sets the height, in points, for all rows in a range: Rows.RowHeight = 25 for the whole sheet or Range("A1:A100").RowHeight = 30 for a range.
To fit rows to their contents, use the Range.AutoFit method on a row or range of rows, for example Rows("1:100").AutoFit. Microsoft notes that RowHeight can return Null when the rows in a range differ, which includes ranges containing merged cells. Save the workbook as .xlsm to keep the macro.
These are the row-height facts documented by Microsoft Support.
| Item | Verified detail | Where it applies |
|---|---|---|
| Default row height | 15 points | Excel for Microsoft 365, 2024, 2021, 2019, 2016 |
| Maximum row height | 409 points | All worksheets |
| Minimum row height | 0 (the row is hidden) | All worksheets |
| Set an exact height | Home > Cells > Format > Cell Size > Row Height, type value, OK | Windows |
| AutoFit one or more rows | Home > Cells > Format > Cell Size > AutoFit Row Height | Windows |
| Quick AutoFit | Double-click the boundary below the row heading | Windows and Mac |
| AutoFit every row | Select All, then double-click the boundary below any row heading | Windows |
| Mac exact height | Format menu > Row > Height | Excel for Mac |
| Merged cells | AutoFit cannot be used; set the height manually | All platforms |
| Rows per worksheet | 1,048,576 | Excel specifications and limits |
| VBA | Range.RowHeight (points); Range.AutoFit on rows | Desktop VBA |
Sources: Change the column width or row height, Excel specifications and limits, and Excel for Mac row height.
Sometimes a row will not fit its text or a height will not stick. A few causes are worth checking first.
Merged cells. Microsoft states that you cannot use AutoFit on rows or columns that contain merged cells. For those rows, set the height manually through Home โ Format โ Row Height. Our guide to Excel merge cells explains the alternatives.
Protected sheet. A worksheet protected with Review โ Protect Sheet only allows the actions its author ticked, so formatting commands may be unavailable. Unprotect the sheet (Review โ Unprotect Sheet, entering the password if one was set), resize, then reapply protection.
Wrapped text. If wrapped text is cut off, apply AutoFit Row Height or type a taller value. Microsoft's wrap-text article describes both options.
Row height is in points, from 0 to 409. Column width is measured in characters of the default font, with a limit of 255 characters. The two units do not convert directly, so set each in its own dialog. Our guide to adjusting column width covers the column side in depth.
A row with a height of 0 is hidden. To bring it back, select the rows on both sides, right-click the selection, and choose Unhide, or double-click the double line between the two row headings. When consecutive rows are hidden, Microsoft notes you cannot unhide only some of them: unhide all, then hide the ones you want out of view.
The biggest trap is relying on AutoFit for merged cells. Microsoft states AutoFit cannot be used there, so wrapped text inside a merge can print clipped unless you set the height by hand. The second trap is dragging when you need consistency: type the exact value into the Row Height dialog instead.
Use AutoFit as a final pass after you have entered all your data and applied wrap text. Pair row height with Wrap Text for long-form text columns such as notes and descriptions. Remember that row height changes only how a row is displayed, not the values in its cells, so formulas and sort order are unaffected.
For one row, drag the boundary or double-click it for AutoFit. For many rows, select first, then drag once or AutoFit once. For an exact value, use Home โ Format โ Row Height. For bulk changes across hundreds of rows, use VBA. When something will not resize, check for merged cells or sheet protection first. If you are getting deeper into Excel formatting, our Excel Practice Test page brings together the guides on the site with practice questions for certification prep.
Leave rows at the 15-point default unless the content needs more room.
Turn on Wrap Text, then apply AutoFit Row Height so every line is visible.
AutoFit cannot be used on merged cells, so type an exact height in Home, Format, Row Height.
For consistent spacing, select the rows and enter one value in points in the Row Height dialog.
A height of 0 points hides a row. Select rows on both sides and choose Unhide to show it again.
Excel allows a maximum row height of 409 points, so very tall content must be split or reformatted.