The two ways to break a line within a single cell

Excel lets you write multiple lines of text inside one cell without moving to the next row. You can do this in two ways: press Alt+Enter on Windows, or Control+Option+Enter on Mac. The cell will expand vertically to show all the text, and the text will wrap to the next line within that same cell.

This is different from pressing Enter alone, which moves you down to the next cell entirely. When you use Alt+Enter (or Control+Option+Enter), you stay in the same cell and create a line break inside it.

Key Takeaways

  • Press Alt+Enter on Windows or Control+Option+Enter on Mac to create a line break inside a cell without moving to a different cell.
  • The cell will automatically grow taller to fit multiple lines of text, and you can see all the text without scrolling.
  • You can add as many line breaks as you want within a single cell by pressing the keyboard shortcut multiple times.
  • If you want to see all the text at once, turn on text wrapping in the Format menu so the cell displays everything without expanding too much.

Using Alt+Enter on Windows

On a Windows computer, click inside the cell where you want to add a line break. Type the first part of your text, then hold down Alt and press Enter. You will stay in the same cell, and the cursor will move to a new line below your first line of text. Type the next part of your text.

You can repeat this as many times as you need. Each time you press Alt+Enter, a new line appears inside the cell. When you are done typing, press Enter alone to confirm the entry and move out of the cell.

Using Control+Option+Enter on Mac

On a Mac, the shortcut is different. Click inside the cell and type the first part of your text. Hold down Control and Option together, then press Enter. The cursor moves to a new line within the same cell, just like on Windows.

Type the next part of your text and repeat the shortcut as needed. When you finish, press Enter to confirm and exit the cell. The Mac shortcut works the same way as Alt+Enter on Windows — it just uses different modifier keys.

What happens to the cell when you add line breaks

When you add a line break inside a cell, Excel automatically makes that row taller so you can see all the text. If you have multiple lines in one cell and shorter text in the cells next to it, that entire row will be as tall as the tallest cell in it.

If the cell is not tall enough to show all your text, you can manually drag the row border down to make it taller. You can also turn on text wrapping by selecting the cell, going to the Format menu, and choosing Wrap Text. This makes the cell break your text across multiple lines automatically based on the column width, rather than only where you pressed Alt+Enter.

Combining line breaks with text wrapping

You can use both line breaks and text wrapping together. If you press Alt+Enter to create a specific break where you want it, and then turn on text wrapping, Excel will break the text at your Alt+Enter points and also wrap any remaining text that does not fit on one line.

This is useful when you have a cell with a list or multiple sentences and you want some breaks to happen exactly where you choose, while letting the rest of the text wrap naturally based on the column width.

Editing a cell with line breaks

To edit text that already has line breaks in it, double-click the cell to enter edit mode. You will see the cursor blinking inside the cell, and you can see where the line breaks are. You can click anywhere in the text to position your cursor, then add or delete text as usual.

If you want to remove a line break, click at the end of the line above it and press Delete. This pulls the text from the next line up to the current line. If you want to add a line break in a different spot, position your cursor where you want it and press Alt+Enter (or Control+Option+Enter on Mac).

Common reasons line breaks do not work

If Alt+Enter does not create a line break, check whether you are in edit mode. You must be inside the cell (either by double-clicking it or by pressing F2) before the shortcut will work. If you press Alt+Enter while the cell is selected but not in edit mode, nothing will happen.

On some keyboards or in some regional settings, the shortcut might be different. If Alt+Enter does not work on your Windows machine, try Ctrl+Alt+Enter instead. If you are using a Mac and Control+Option+Enter does not work, check your keyboard settings to see if a different combination is mapped to that function.

Frequently Asked Questions

Can I copy and paste text with line breaks into Excel?

Yes. If you copy text from another program that already has line breaks in it, you can paste it into an Excel cell and the line breaks will come with it. Excel will automatically make the row taller to show all the lines.

What is the difference between a line break and pressing Enter?

Pressing Enter alone moves you to the next cell down. Alt+Enter (or Control+Option+Enter on Mac) keeps you in the same cell and creates a new line within it. If you press Enter while editing a cell, it confirms your entry and closes the cell.

Can I see line breaks in the formula bar?

Yes. When you click a cell that has line breaks in it, the formula bar at the top shows all the text, and you can see where the line breaks are. They appear as small spaces or breaks in the text display.

Does text wrapping automatically add line breaks?

No. Text wrapping makes text break across multiple lines based on the column width, but it does not create actual line breaks in the cell. If you turn off text wrapping, the text goes back to one line. Line breaks created with Alt+Enter stay in the cell permanently.

Can I delete a line break without deleting the text?

Yes. Double-click the cell to enter edit mode, click at the end of the line above the break you want to remove, and press Delete. This joins the two lines together without losing any text.