Press Alt+Enter to move to a new line within the same cell

To create a line break inside an Excel cell without moving to the next cell below, hold Alt and press Enter. This keeps all your text in one cell but splits it across multiple lines. The text wraps to the next line within that single cell.

This works the same way in Excel on Windows and Mac, though the Mac version uses Control+Command+Enter instead. The keyboard shortcut is the fastest way to add line breaks while you are typing or editing a cell.

Key Takeaways

  • Press Alt+Enter (Windows) or Control+Command+Enter (Mac) to create a line break inside a cell without moving to a new row.
  • You must be in edit mode — either double-clicking the cell or pressing F2 — before the keyboard shortcut will work.
  • Excel automatically adjusts the row height to fit multiple lines, but you can manually set it taller if text is cut off.
  • Wrap Text formatting makes text break automatically at cell edges, but Alt+Enter lets you choose exactly where the break happens.

Make sure you are in edit mode first

The Alt+Enter shortcut only works when the cell is in edit mode. If you just click a cell once and press Alt+Enter, nothing happens. You need to enter edit mode first by either double-clicking the cell or pressing F2.

Once you see the cursor blinking inside the cell, you can position it where you want the line break and press Alt+Enter. The text after the cursor moves down to the next line within that same cell. You can add as many line breaks as you need by repeating the shortcut.

Adjust row height if your text is cut off

When you add a line break, Excel usually makes the row taller automatically to show all the text. Sometimes it does not expand enough, and the bottom lines get hidden. If this happens, you can manually increase the row height by dragging the border between row numbers on the left side of the spreadsheet.

Position your cursor on the line between two row numbers until it turns into a resize arrow, then drag downward. You can also right-click the row number, select Row Height, and type a specific height in points. A height of 30 points usually fits two lines of text comfortably.

Use Wrap Text for automatic line breaks at cell edges

If you want text to break automatically whenever it reaches the edge of a cell, use the Wrap Text feature instead of manually adding line breaks. Select the cell or cells you want to format, then go to the Home tab and click Wrap Text in the Alignment group.

Wrap Text is useful when you have long text and do not want to decide where each break should happen. The text will reflow automatically if you change the column width. However, if you need breaks at specific spots — like separating a first name from a last name — Alt+Enter gives you that control.

Line breaks stay in place when you copy or move cells

If you copy a cell that contains line breaks created with Alt+Enter, the line breaks move with it. When you paste the cell elsewhere, the text still breaks at the same spots. This makes it easy to reuse formatted text across your spreadsheet.

If you want to remove line breaks from a cell, enter edit mode and delete them one at a time by positioning your cursor at the line break and pressing Backspace. There is no single command to strip all line breaks at once, so you have to do it manually for each cell.

Line breaks work in formulas and merged cells

You can use Alt+Enter inside formulas to make them more readable. For example, if you have a long formula, you can break it across multiple lines within the formula bar to see it better. The line breaks do not affect how the formula calculates — they are just for display.

Line breaks also work in merged cells. If you have merged several cells together, you can still use Alt+Enter to add line breaks within that merged area. The text will wrap across multiple lines just as it would in a regular cell.

Frequently Asked Questions

Why does Alt+Enter not work when I press it?

You are probably not in edit mode. Click the cell once to select it, then press F2 or double-click to enter edit mode. You should see a cursor blinking inside the cell. Only then will Alt+Enter create a line break. If you are on a Mac, use Control+Command+Enter instead of Alt+Enter.

Can I see line breaks in the formula bar?

Yes. When you click a cell with line breaks, the formula bar shows the text with small boxes where the line breaks are. These boxes represent the line break characters. You can edit them there too — position your cursor and press Alt+Enter to add or remove breaks.

Does Wrap Text do the same thing as Alt+Enter?

No. Wrap Text breaks lines automatically at the cell edge based on column width. Alt+Enter lets you choose exactly where breaks happen. You can use both together — add manual breaks with Alt+Enter and also turn on Wrap Text to handle any remaining overflow.

What happens to line breaks if I change the column width?

Line breaks you create with Alt+Enter stay exactly where you put them, even if you make the column wider or narrower. If you use Wrap Text instead, the breaks will shift automatically when you resize the column.