How to Hit Return in an Excel Cell
In this article
The quick answer: press Alt+Enter (Windows) or Control+Option+Return (Mac) to insert a line break inside a single cell. Click into the cell first, put the cursor where you want the break, then use that key combination. Plain Enter just confirms your entry and jumps to the next cell — it never makes a new line inside the cell. The fastest way to write two lines at once is to type the first part, hit Alt+Enter, type the second part, and press Enter once at the end. Everything below covers the exact keystrokes per platform, how to make breaks visible, and how to bulk-add or remove them across many cells.
What You'll Need
- Microsoft Excel on Windows, Mac, or Excel for the web (the shortcut differs slightly by platform — explained in step 2).
- The cell you want to edit must be in edit mode, not just selected. Double-click the cell, or select it and press F2, before inserting the break.
- Wrap Text switched on if you want both lines to stay visible without the second line spilling into the next cell.
Step-by-Step
- Click the cell where you want the line break. To place a break in only part of the existing text, double-click the cell (or select it and press F2) so the cursor sits inside the text. Keyboard-only: select the cell and press F2.
- Move the cursor to the exact spot where the new line should start — the end of the first line, for example. Clicking once in the formula bar also works and is easier on long strings.
- Press Alt+Enter on Windows. On a Mac, press Control+Option+Return. In Excel for the web, use Alt+Enter too. Nothing visible happens yet — the cursor simply drops to a new line inside the same cell. If you pressed just Enter, the cell entry closes and the cursor moves down; undo that with Ctrl+Z (Cmd+Z on Mac) and try again with the full combination.
- Type the second line of text. Repeat step 3 for each additional line you need inside that cell.
- Press Enter once when you are finished to commit the entry. Because the cell now holds a multi-line value, the text appears on separate lines but still behaves as one value — sorting, filtering, and formulas treat it as a single item.
- Turn on Wrap Text so the second line shows properly. Select the cell (or the whole column), go to the Home tab, and click Wrap Text in the Alignment group. Without it, the new line may still be there but can look cut off until the row height grows.
- Adjust the row height if needed. Drag the bottom edge of the row header, or double-click that edge to auto-fit. In the Alignment group on the Home tab, Vertical Alignment set to Top makes multi-line cells easier to read.
- To enter breaks on many cells at once, type one line per cell in a single column, then merge them into one cell with a formula: put
=A1&CHAR(10)&B1in a target cell, copy it, and paste back as values over the originals.CHAR(10)is the line-break character, so this joins cells with a break between them. Wrap Text must still be on for the breaks to show. - To remove line breaks, use Find and Replace: press Ctrl+H (Cmd+H on Mac), click in Find what, press Ctrl+J (that inserts the break character in the field), leave Replace with empty or type a space, and click Replace All. In some versions you can instead type
CHAR(10)in a helper formula with SUBSTITUTE, but Find and Replace is simpler for a one-off cleanup.
Common Mistakes
- Pressing Enter instead of Alt+Enter. Enter ends the edit and moves down a cell. If a row of breaks turned into jumps to new cells, undo and use the full shortcut.
- Using Shift+Enter. That shortcut does not create a line break inside a cell; it is not the Excel equivalent of the browser behavior people expect.
- Editing in the wrong place. If the cell is selected but not in edit mode, Alt+Enter may not insert a break. Double-click or press F2 first.
- Forgetting Wrap Text. The break exists in the data, but the row looks like one line until wrapping is on — people often conclude the shortcut failed when it worked fine.
- Typing a break into a formula only after the equals sign. Inside a formula you need
CHAR(10)(orCHAR(13)in some imported data), not a pressed key, and the cell still needs Wrap Text. Also check that Join Text is not stripping the character. - Annoying leftover gaps. Two breaks in a row produce a blank line; if a pasted list looks doubled-spaced, find and replace the double break before assuming something else broke.
Tips
- Keep the resulting cell simple: one consistent pattern — one item per line — sorts and filters far more predictably than a cell mixing commas and breaks.
- Use the formula bar when you need precision. Press Ctrl+Enter (Cmd+Enter on Mac) there if you need to reapply a block of text, and click directly into the text at the exact point for the break.
- Paste multi-line text from Word or a text editor straight into Excel: if the source used real line breaks, Excel often places each line in its own row, not in one cell. To keep it in a single cell, paste into the cell while in edit mode, or paste into the formula bar.
- When you copy a multi-line cell into Word or Outlook, the breaks usually carry over as line breaks, which helps when building labels or email text from a spreadsheet.
- For headers or address blocks, set a column width that matches the longest line, then turn on Wrap Text and Top alignment so the block reads naturally.
- If a cell shows a small triangle or a comment-like box refusing clean syntax, check whether the cell is formatted as Text — formula-based breaks, like =A1&CHAR(10)&B1, will not calculate in a Text-formatted range.
Troubleshooting
If the break does not appear at all, make sure the cell is in edit mode (double-click or F2), not merely selected, and confirm the cell is not locked or protected. On Windows laptops, some keys need Fn held for function keys, but Alt+Enter itself rarely changes; if nothing responds, try editing in the formula bar and repeating the shortcut there.
If the break is there but the text looks like one long line, switch on Wrap Text and widen or auto-fit the row. If you see a small square symbol where the break should be, your font may not display the character — choose a standard font such as Calibri or Arial.
If a new line appears but the shared row now looks taller or pushed into the next row, adjust the row height; the cell has grown upward or downward with wrap enabled.
If the shortcut inserts a line in one cell but you needed it in a merged cell, edit the merged range the same way — the break inside a merged cell behaves normally, though alignment may shift after editing.
If a formula-built break shows as plain text or a zero, change the column format from Text to General, then re-enter the formula. If you get an error about too many characters when combining many cells, split the join into two formulas or use TEXTJOIN with CHAR(10) as the separator if your version includes it.
If nothing works after these checks, close and reopen the file, or the app, which clears a stuck edit state. Only reinstall Excel as a last resort, after saving your work.
Frequently Asked Questions
What is the shortcut to go to a new line in an Excel cell?
On Windows and Excel for the web, Alt+Enter. On Mac, Control+Option+Return.
Why does Enter move to the next cell instead of a new line?
Enter commits the entry and moves the selection. A new line inside a cell needs the Alt+Enter combination, pressed while the cell is in edit mode.
Can I add a line break with a formula?
Yes. Use CHAR(10) as a separator, for example =A1&CHAR(10)&B1, and turn on Wrap Text so the line displays on two lines.
How do I remove line breaks from many cells at once?
Use Find and Replace (Ctrl+H or Cmd+H); in Find what, press Ctrl+J to insert the break character, leave the replacement blank or use a space, then click Replace All.
Does a line break inside a cell affect sorting or filtering?
No. The cell remains one value, so sorting and filtering treat the whole multi-line text as a single item.
Will the breaks survive when I copy the cell to another app?
Usually, yes — most apps such as Word and Outlook treat them as line breaks. If the target shows one line, enable wrapping there too.