How to add a line break inside an Excel cell

To add a line break within a single cell in Excel, press Alt + Enter on Windows or Control + Option + Enter on Mac while you are typing or editing the cell. The cursor will move to a new line inside that same cell, and the text will wrap to the next line when you press Enter to finish editing.

This works whether you are typing new text or editing text that already exists. If you are editing a cell that already contains text, click inside the cell to enter edit mode, position your cursor where you want the break, and then press the keyboard combination. The cell will automatically expand vertically to show all the lines, and the text will stay contained within that one cell instead of spilling into the next column.

Excel will not automatically wrap text to multiple lines just because you typed a lot — you have to insert the break manually. This is different from the "Wrap Text" formatting option, which makes text flow across multiple lines based on the column width, but does not create actual line breaks within the cell.

Key Takeaways

  • Press Alt + Enter (Windows) or Control + Option + Enter (Mac) while typing or editing to create a line break inside a cell.
  • The cell will grow taller automatically to display all the lines, and the text stays in one cell instead of overflowing into adjacent columns.
  • Line breaks are different from the Wrap Text feature — line breaks are manual breaks you insert, while Wrap Text flows text based on column width.
  • You can add as many line breaks as you need in a single cell, and the breaks will remain even if you resize the column.

Adding a line break while you are typing new text

Click the cell where you want to add text. Start typing normally. When you reach the point where you want the text to move to a new line within that same cell, press Alt + Enter (on Windows) or Control + Option + Enter (on Mac). The cursor will jump to the next line inside the cell.

Continue typing the rest of your text. You can add as many line breaks as you need — just press the keyboard combination each time you want a new line. When you are finished typing all the text, press Enter to confirm the entry and move to the next cell. The cell will automatically expand vertically to fit all the lines you created.

Adding a line break to text that already exists

Double-click the cell that contains the text you want to edit, or click the cell and then press F2. This puts the cell into edit mode so you can see the cursor blinking inside the text. Use the arrow keys to move the cursor to the exact spot where you want the line break to occur.

Once the cursor is positioned, press Alt + Enter (Windows) or Control + Option + Enter (Mac). The text after the cursor will move to a new line within the cell. Press Enter when you are done editing to confirm the change. The cell will expand to show all the lines.

Why the cell height changes and how to control it

When you add a line break, Excel automatically increases the height of that row so all the text is visible. This happens whether you want it to or not — you cannot prevent the row from expanding. If you later delete the line break and go back to single-line text, the row height will not automatically shrink back down. You have to manually adjust it.

To manually set the row height, right-click the row number on the left side of the spreadsheet and select "Row Height" from the menu. Type the height you want (measured in points) and click OK. If you want the row to automatically fit the content again, right-click the row number and select "Optimal Height" instead — Excel will measure the text and set the height to fit.

The difference between line breaks and the Wrap Text feature

A line break is a manual break you insert by pressing Alt + Enter. It creates a specific point where the text moves to the next line, and that break stays in place no matter how wide or narrow the column becomes. The text does not flow or reflow — it breaks exactly where you told it to.

Wrap Text is a formatting option that makes text automatically flow to multiple lines based on the width of the column. If you widen the column, the text reflows to fewer lines. If you narrow the column, the text reflows to more lines. Wrap Text does not require you to insert breaks manually — it happens automatically based on the column width.

You can use both at the same time. If you have a cell with manual line breaks and you also turn on Wrap Text, the text will break at the places you specified and also wrap based on the column width. To turn on Wrap Text, select the cell or cells, go to the Home tab, and click the Wrap Text button in the Alignment group.

What to do if the keyboard shortcut is not working

On Windows, make sure you are using the numeric keypad Alt key, not the Alt key on the main keyboard — some keyboards have two Alt keys and only one works for this shortcut. If you are using a laptop without a numeric keypad, you may need to hold Fn while pressing Alt + Enter, or use your laptop's Alt Gr key instead.

On Mac, the shortcut is Control + Option + Enter, not Command + Option + Enter. Control and Command are different keys. If the shortcut still does not work, check whether your keyboard layout is set correctly in System Preferences — some international keyboard layouts use different key combinations.

If you are using Excel online (the web version), line breaks work differently. Click inside the cell to edit it, and then press Ctrl + Enter (Windows) or Command + Enter (Mac) to add a line break. The web version has some limitations compared to the desktop version, so if you need to work with many line breaks, the desktop process is more reliable.

Frequently Asked Questions

Can I add a line break in Excel on a Mac?

Yes. On Mac, press Control + Option + Enter while typing or editing the cell. The text will move to a new line within that same cell. Make sure you use Control and Option, not Command and Option — they are different keys.

Will the line break stay if I copy the cell to another location?

Yes. When you copy a cell that contains line breaks, the breaks copy along with the text. The line breaks remain exactly where you placed them in the new location.

Can I remove a line break without deleting the text?

Yes. Double-click the cell to enter edit mode, position your cursor right before or after the line break, and press Delete or Backspace to remove the break. The text on both sides of the break will join back into a single line.

What happens if I add a line break but the column is too narrow to show the text?

The text will still be there, but you will not see all of it. The cell will show only the portion that fits within the column width. Widen the column by dragging the column border to the right, and the hidden text will become visible.

Is there a way to add multiple line breaks at once without pressing Alt + Enter each time?

Not directly in the cell itself. However, if you are pasting text from another source, you can format that text with line breaks before pasting it into Excel. Some text editors and word processors use different characters for line breaks, so the breaks may not transfer correctly — test with a small amount of text first.