Press Alt+Enter to move text to the next line inside a cell
When you want text to wrap to a new line while staying in the same cell, press Alt+Enter on Windows or Control+Enter on Mac. This creates a line break within that single cell instead of moving to the next cell down. The text stays in one cell but displays on multiple rows.
This is different from pressing Enter alone, which moves you to the cell below. Alt+Enter keeps you in the same cell and pushes the cursor to a new line within it. You can add as many line breaks as you need by pressing Alt+Enter multiple times.
Key Takeaways
- Alt+Enter on Windows (Control+Enter on Mac) creates a line break inside a cell without moving to the next cell.
- You must enable text wrapping in the cell format for the wrapped text to display on multiple lines instead of running off the edge.
- Line breaks within a cell are useful for addresses, multi-line notes, or any text that reads better split across rows.
- You can edit an existing cell by double-clicking it or pressing F2, then use Alt+Enter to add breaks where you need them.
Enable text wrapping so your line breaks actually show
Creating a line break with Alt+Enter only works if the cell is set to wrap text. Without wrapping enabled, the text will stay on one line and spill over into the next cell (or get cut off if there is text there). To turn on wrapping, select the cell or cells you want to format, then go to the Home tab and click Wrap Text in the Alignment group.
Once wrapping is on, the cell height automatically adjusts to show all the text on separate lines. If you later delete a line break, the cell height shrinks back down. You can also manually adjust row height by dragging the border between row numbers at the left edge of the spreadsheet.
Edit an existing cell to add line breaks
To add a line break to text that is already in a cell, double-click the cell to enter edit mode. The cursor will appear inside the cell. Move to the spot where you want the break and press Alt+Enter (or Control+Enter on Mac). You can then type more text, add more breaks, or press Enter when you are done editing.
Alternatively, click the cell once to select it, then press F2 to enter edit mode. This works the same way — you can navigate with arrow keys, position your cursor, and add breaks with Alt+Enter.
Use line breaks in formulas and merged cells
If you are building a formula that produces text output, you can include a line break in the result using the CHAR(10) function. For example, =CONCATENATE("Line 1",CHAR(10),"Line 2") will create text with a break between the two parts. The cell still needs text wrapping enabled to display the break visually.
Line breaks work in merged cells too, but the cell must have wrapping turned on. Merged cells sometimes behave unpredictably with formatting, so test your layout before relying on it for important data.
Common reasons line breaks do not appear
The most common reason a line break does not show is that text wrapping is not enabled. Select the cell, go to Home > Wrap Text, and the break should become visible. Another reason is that the row height is too short — if the cell is very narrow, the text may still run off the edge even with wrapping on. Widen the column or increase the row height to see all the text.
If you are copying and pasting text from another program, line breaks from that source may not transfer correctly. Paste the text into Excel first, then add line breaks manually using Alt+Enter where you need them. This gives you full control over where the breaks land.
Line breaks versus splitting text into separate cells
Line breaks within a cell keep all the text in one place, which is useful for notes, addresses, or any content that belongs together logically. If you need to split text into separate cells — for example, separating a first name and last name into two columns — that is a different task that uses the Text to Columns feature or formulas like LEFT, RIGHT, and MID.
For most everyday use, a line break inside a cell is simpler and cleaner. It keeps related information grouped and makes the spreadsheet easier to read without creating extra columns.
Frequently Asked Questions
What is the difference between Alt+Enter and just pressing Enter?
Pressing Enter alone moves you to the next cell down. Alt+Enter creates a line break inside the current cell and keeps you in that cell. Both require text wrapping to be enabled for the text to display properly on multiple lines.
Can I see where line breaks are in my spreadsheet?
Not easily in normal view. If you need to find or edit line breaks, double-click the cell to enter edit mode — you will see the cursor position at each break. Some users turn on the Show Formulas view to see CHAR(10) functions, but manual line breaks do not display as visible characters.
Do line breaks affect sorting or filtering?
No. Excel treats a cell with line breaks the same as any other cell for sorting and filtering purposes. The line break is just formatting — it does not change how the data is stored or processed.
Can I remove all line breaks from a cell at once?
Not automatically. You would need to delete the cell content and retype it, or use Find & Replace with regular expressions if you are comfortable with that feature. For most cases, it is faster to double-click the cell, select the text, and retype it without breaks.