How to Indent a New Line in an Excel Cell: Easy Steps

How-to basics · Updated November 20, 2026

To indent just one new line in an Excel cell, edit the cell, insert a line break with Alt+Enter on Windows, then type a few spaces before the new line’s text. Excel’s Increase Indent command moves the whole cell’s contents, not just one line. You’ll need a cell with text to edit; turn on Wrap Text if the lines are not fully visible.

What You’ll Need

  • Excel for Microsoft 365 on Windows, or Excel for Mac or the web if you want to follow the matching shortcut notes below.
  • A worksheet cell containing text, or an empty cell where you can enter a short example.
  • A keyboard. The Windows shortcut for a line break inside a cell is Alt+Enter; Mac uses Control+Option+Return.

No formula or special add-in is required. The spaces used to indent an individual line become part of the cell’s text, so keep that in mind if the cell is used in a formula or exported to another system.

Step-by-Step

  1. Select the cell and start editing it. Click the cell that should contain the text. If it already has text, press F2 or double-click the cell to edit it. You can also click in the formula bar to edit the cell’s contents there. If the cell is empty, start typing your first line.

    For example, you might want a cell to show a heading followed by a detail on the next line: Event, then the time underneath it. Keeping both lines in one cell can make a compact label, but they will still be stored together as one cell value.

  2. Put the cursor where the next line should begin. If you are entering new text, place the cursor at the end of the first line. If you are changing existing text, click or use the arrow keys to move the insertion point to the position where the break belongs. A line break is inserted at the cursor, so check its position before using the shortcut.

  3. Insert a line break inside the cell. In Excel for Microsoft 365 on Windows, press Alt+Enter. The cursor moves to a new line within the same cell; it does not move to the cell below. On a Mac, use Control+Option+Return. In Excel for the web, use Alt+Enter while editing a cell on Windows; available shortcuts can vary with the browser and keyboard, so use the on-screen editing behavior if your browser intercepts the key combination.

  4. Add spaces before the line you want to indent. After the line break, type two to four spaces, then enter the new line’s text. For example, type three spaces before a detail such as 9:30 a.m. The spaces shift that line to the right while leaving the first line in place. Add or remove spaces to get the visual offset you want.

    If you are editing text that is already in the cell, use the arrow keys to reach the start of the line after the break, then insert the spaces there. Avoid pressing the space bar after the text has begun, since that adds spaces within the words rather than at the line’s start.

  5. Finish editing and check the display. Press Enter to commit the change. The cell may show only part of the text if the column is narrow or text wrapping is off. Select the cell, then choose Home > Wrap Text to display multiple lines. Adjust the column width or row height if needed; to fit a row to its contents, double-click the lower border of its row number.

  6. Use Increase Indent only if every line should move. Select the cell, then choose Home > Alignment > Increase Indent. Each click adds indentation to the cell’s contents as a whole. This is useful when all lines should have the same inset, but it does not target only the new line. If the first line should remain at the left edge, use spaces at the start of the second line instead.

  7. Review the result in the worksheet. Click another cell and then select the edited cell again. Confirm that the line break is in the right place, the intended line is indented, and no extra spaces have appeared between words. If you plan to copy the cell, check the result after pasting as well, because the destination’s width and formatting can change how it looks.

Common Mistakes

Pressing Enter instead of Alt+Enter. Enter normally finishes editing and moves the selection to another cell. It does not add a line inside the current cell. If that happens, select the original cell and edit it again before inserting the break.

Expecting Increase Indent to move only the second line. The alignment command applies to the cell’s contents, so the heading and detail move together. Use leading spaces for a line-specific visual indent.

Forgetting Wrap Text. A line break can exist even when the cell does not appear to show multiple lines clearly. Turn on Wrap Text and check the row height before assuming the break failed.

Adding too many spaces. A long run of spaces can make the line look misplaced, especially after changing the font or column width. Start with two or three spaces and adjust gradually. Spaces are text characters, not a permanent paragraph-formatting setting.

Using spaces to align a whole column. Manual spaces can look uneven when cells have different fonts, widths, or content. For consistent indentation across many cells, use Increase Indent on those cells instead, provided you want all their lines indented.

Tips

Use a short, consistent number of spaces when you need an inset on just one line. A few spaces are usually enough for a visual label; a large indent can push text out of view in a narrow column. Review the worksheet at the zoom level and column width other people will use.

If you need the second line to begin at exactly the same position in many cells, consider whether separate cells would be more suitable. For example, put the heading in one column and its detail in the next, then set the column widths and alignment. This avoids relying on different numbers of typed spaces and makes the data easier to sort, filter, or reuse.

For a simple two-line label, keep both lines in the same cell and use a manual line break. For a list of separate facts that need to be analyzed individually, store each fact in its own cell instead. Formatting can make a worksheet easier to read, but it does not change the underlying structure of the data.

Increase Indent is a good choice when the entire cell should sit farther from its edge. Select several cells first if you want to apply the same setting to all of them. If you later change your mind, select the cells and use Home > Alignment > Decrease Indent to reduce the indentation.

On Mac, the keyboard shortcut for inserting a line break differs from Windows, but the basic method of typing spaces at the beginning of a line is the same. In Excel for the web, browser or operating-system shortcuts may affect key combinations; if Alt+Enter does not insert a break, check the available Excel keyboard shortcuts for your browser and try editing the cell directly.

Troubleshooting

The shortcut moves out of the cell instead of adding a line. Make sure you are editing the cell, not just selecting it: double-click the cell or press F2, position the cursor inside its text, and then press Alt+Enter. On Mac, try Control+Option+Return. In the web version, confirm that the cell is in edit mode and that the browser is not using the key combination for another command.

The second line is there but hidden. Select the cell and turn on Home > Wrap Text. Then increase the row height by dragging the row boundary, or double-click the lower border of the row number to fit it. AutoFit may not behave as expected with merged cells; if the row remains too short, set its height manually or unmerge the cells if that suits the layout.

The indent does not appear. Check that the spaces were inserted after the line break and before the first character of the new line. A single space can be difficult to see, so try two or three. Also check that the cell is left-aligned; right or centered alignment can make the visual position less obvious.

All lines moved when you wanted only one to move. Undo the Increase Indent command with Ctrl+Z on Windows or Command+Z on Mac, then edit the cell and add spaces at the start of only the line that needs an inset. If the workbook has already been saved or the undo history is gone, select the cell and use Decrease Indent as needed, then correct the line’s text.

The text looks different after copying or changing the layout. The indent made with spaces is part of the text, while the display also depends on font, column width, and alignment. Recheck the destination cell and remove or add spaces if necessary. For a layout that must stay aligned under frequent changes, use separate columns or cells rather than repeated spaces.

Frequently Asked Questions

Can I indent only one line with Excel’s Increase Indent button?
No. Increase Indent changes the alignment of the cell’s contents. To indent only one line, insert a line break and type spaces before that line, or place the lines in separate cells.

What is the shortcut for a new line inside an Excel cell?
In Excel for Microsoft 365 on Windows, edit the cell and press Alt+Enter. In Excel for Mac, use Control+Option+Return. This inserts a line break without moving to another cell.

Will the spaces at the start of a line be kept?
Yes, spaces typed at the start of a text line are part of the cell’s contents. They can affect formulas or exported text, so use them for presentation rather than as a substitute for structured data.

Why does my cell show only one line?
Wrap Text may be off, or the row may be too short to show all the content. Turn on Wrap Text and enlarge the row. A narrow column can also make the displayed result harder to read.

Can I make every line in a cell indented?
Yes. Select the cell and choose Home > Alignment > Increase Indent. Use the command again to increase the inset further, or choose Decrease Indent to reduce it.

Does this work in Excel for Mac and Excel for the web?
The method is the same: insert a line break, then add spaces at the start of the line you want inset. The shortcut differs on Mac, and browser shortcuts may affect Excel for the web, so use the keyboard combination supported by your version.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.