Press Alt+Enter to move to the next line inside a cell
When you want text to wrap to a new line within the same Excel cell instead of spilling into the next cell, use Alt+Enter on Windows or Control+Option+Enter on Mac. This creates a line break inside the cell while keeping all the text in one place.
The keystroke works whether you are typing new text or editing existing text in a cell. Position your cursor where you want the break to happen, press the key combination, and keep typing on the next line. When you press Enter alone, Excel moves you to the next cell down — Alt+Enter keeps you in the same cell but moves your text down.
Key Takeaways
- Alt+Enter (Windows) or Control+Option+Enter (Mac) creates a line break inside a single cell without moving to the next cell.
- You can add multiple line breaks in one cell by pressing Alt+Enter as many times as you need.
- Cells with line breaks inside them automatically expand vertically to show all the text, or you can manually adjust row height.
- Line breaks inside cells are different from wrapping text — wrapping happens automatically when text is too wide, while line breaks let you control exactly where the break occurs.
When to use line breaks instead of wrapping text
Excel has two ways to fit multiple lines of text in one cell: text wrapping and manual line breaks. Wrapping happens automatically when you turn on the wrap text setting — Excel breaks the line wherever it needs to fit the column width. Manual line breaks let you decide exactly where the text breaks, regardless of column width.
Use manual line breaks when you want to control the layout precisely — for example, to separate a person's first name from their last name in one cell, or to format an address with street on one line and city on another. Use wrapping when you have a paragraph of text and you just want it to fit the column without worrying about where each break lands.
How to add multiple line breaks in the same cell
You can press Alt+Enter as many times as you need within a single cell. Each time you press it, the text moves down one line. This is useful for formatting lists or addresses that need several separate lines.
For example, to create an address in one cell, you might type the street address, press Alt+Enter, type the city and state, press Alt+Enter again, and type the zip code. All three lines stay in the same cell. When you finish typing and press Enter alone, Excel confirms the entry and moves to the next cell.
Making sure all the text shows in the cell
When you add line breaks inside a cell, Excel automatically makes the row taller so you can see all the text. If the row does not expand automatically, you can manually adjust the row height by clicking and dragging the border between row numbers on the left side of the spreadsheet.
If you want the row to stay a certain height and hide some of the text, you can turn on text wrapping for that cell — go to the Home tab, find the Wrap Text button, and click it. The text will still break at your manual line breaks, but it will also wrap at the column edges if needed.
Removing line breaks from a cell
To remove a line break you added by mistake, click into the cell to edit it, position your cursor right before the line break (at the end of the first line), and press Delete. This removes the line break and brings the next line up. You can also select the entire cell content and retype it without the breaks.
If you have many cells with line breaks and want to remove them all at once, use Find and Replace. Press Ctrl+H (Windows) or Command+H (Mac) to open Find and Replace, click the Options button, then click Special. Choose Line Break from the menu, leave the Replace field empty, and click Replace All. This removes all line breaks in your selection at once.
Line breaks versus merged cells
Line breaks and merged cells serve different purposes. A merged cell combines two or more cells into one larger cell, which is useful when you want a title to span across multiple columns. A line break keeps the cell in its normal position but puts text on multiple lines within that cell.
If you want text on multiple lines but need the cell to stay a normal size and stay aligned with other cells in the column, use line breaks. If you want to combine cells visually for a header or title, use merging. You can also use both — a merged cell can contain line breaks inside it.
Frequently Asked Questions
Why does pressing Enter move me to the next cell instead of creating a line break?
Pressing Enter alone tells Excel to confirm your entry and move to the next cell. To stay in the same cell and move to the next line, you must hold Alt while pressing Enter. On Mac, hold Control and Option instead.
Can I see line breaks in a cell without making the row taller?
Not fully — if the row is too short, you will see only the first line of text. Excel automatically expands the row when you add line breaks, but you can manually shrink it afterward. The text is still there; you just cannot see it all. Widen the row to view the complete text.
Do line breaks inside a cell affect sorting or filtering?
No. Excel treats the entire cell content as one entry for sorting and filtering purposes, regardless of how many line breaks are inside it. Sorting and filtering work the same way whether the text is on one line or multiple lines.
Can I copy a cell with line breaks to another program?
Yes. When you copy and paste a cell with line breaks into another program like Word or Google Docs, the line breaks usually transfer over. Some programs may display them differently, but the breaks are preserved in the copied text.