Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Go to the Next Line Within an Excel Cell

· 8 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To move to a new line inside a single Excel cell, press Alt + Enter on Windows or Option + Return on a Mac. That inserts a line break in the same cell instead of committing your text and jumping to the cell below. Editing with the formula bar works the same way, and you can also turn on Wrap Text so existing text flows onto extra lines without manual breaks. Below are the exact steps, the shortcuts that actually work on each platform, and the fixes for the times Enter just moves you to the next row.

What You'll Need

  • A copy of Excel on Windows, Mac, Excel for the web, or the mobile app. Labels and menus can differ slightly by version, device or region, but these shortcuts are stable across current releases.
  • A keyboard. The newline shortcut depends on a modifier key, so this is the one task that is genuinely harder on a touch-only device or on a phone.
  • Optional but useful: a column wide enough to show the result, or Wrap Text switched on, so you can see what you did.

Step-by-Step

  1. Select the cell you want to edit. You can click the cell once and start typing, or double-click it to enter edit mode at a specific position. Both routes accept the line-break shortcut.
  2. Position the cursor where the break should go. If the cell already contains text, double-click to get into edit mode, then click between the words where you want the line to end. Use the arrow keys if clicking is fiddly.
  3. Press Alt + Enter (Windows). Hold Alt, tap Enter, and release both. The cursor drops to a new line inside the same cell. The cell grows taller if Wrap Text is on, or shows a taller edit box if it is not.
  4. Press Option + Return (Mac). On a macOS keyboard the equivalent is Option (the Alt key, marked "alt") plus Return. If your Mac keyboard has no Option key visible, it is the key next to Command.
  5. Type the next line of text. The break behaves like a paragraph mark inside the cell: text after it starts on the new line but stays in the same cell for sorting, filtering and formulas.
  6. Repeat for as many lines as you need. There is no practical limit beyond what the cell can display. Each Alt + Enter adds one more break.
  7. Commit the entry. Press Enter on its own, or click another cell. The single Enter without Alt is what finishes the edit, so the final keypress moves you out of the cell.
  8. Turn on Wrap Text so the lines are visible. Select the cell or column, go to the Home tab, and click Wrap Text in the Alignment group. Without it, Excel keeps the breaks but may not show the extra lines if the row height is too small or the cell is too narrow.
  9. Adjust row height if the text is cut off. Double-click the boundary between the row numbers on the left, or drag it down. Excel's auto-fit row height often needs a nudge once you have added manual breaks.
  10. Use the formula bar for long entries. If your text is longer than the visible cell, click the cell, then click into the formula bar and place the cursor there. Alt + Enter and Option + Return both work in the formula bar, and you can see the whole entry while you edit.

One important variant: on the web version of Excel, Alt + Enter works in the browser on Windows in most current browsers, and Option + Return on a Mac. If your browser intercepts the key combination, edit in the formula bar instead, which reliably accepts the shortcut. On the Excel mobile app for iPhone and Android, there is no line-break key on the onscreen keyboard; the reliable approach is to type the text using a return on the keyboard where the app shows one, or to add the break later on a desktop. If the Return key on the mobile keyboard simply confirms the entry, that is expected behaviour, not a fault.

Common Mistakes

The most frequent error is pressing Enter on its own and assuming it did not work. A plain Enter always ends the edit and moves the selection, so nothing is inserted. You need the modifier key held down at the same moment.

Second, many people type the first line, press Enter, click back into the cell and type the second line, then wonder why the lines sit in separate rows. That creates two rows of data, not two lines in one cell. Undo it with Ctrl + Z (Command + Z on Mac) and start again with Alt + Enter.

Third, people forget Wrap Text. The line break exists in the cell's content, but if the row is too short the second line may be clipped visually, so the shortcut looks like it failed. Check the formula bar: if the break is there, the problem is display, not data entry.

Fourth, a subtler mistake is adding spaces before the break. Leading spaces at the start of the new line push text out of alignment and make columns look ragged. Put the cursor at the end of the last word and insert the break with no trailing space.

Finally, be careful with breaks inside data you plan to sort or export. They are fine for labels and notes, but if you push the sheet into a CSV or another system, line breaks inside cells can be read as row separators by some tools. Strip them before export if that matters.

Tips

  • Combine wrap and breaks deliberately. Wrap Text alone will reflow text to fit the column width; manual breaks give you control over exactly where each line ends. Use breaks for addresses and lists, wrap for prose.
  • Edit in the formula bar for visibility. When a cell is full of lines, editing in the formula bar is far easier than squinting at the small cell edit box.
  • Widen the column instead of the row when you can. Often a single line reads better than two cramped ones. Widen the column, then decide whether you still want the break.
  • Copy the style, not just the text. If you use line breaks for a formatted label, copy the finished cell and paste it, or use the Format Painter, rather than re-typing breaks repeatedly.
  • Find and remove stray breaks. Select the range and use Find and Replace with the break typed into the Find box (Ctrl + J on Windows inserts a line break character into the Find field). Replace with a space if you want to flatten the text.
  • Check the alignment. With multiple lines, setting vertical alignment to Top or Center usually looks better than Bottom.

Troubleshooting

Alt + Enter does nothing. Make sure you are in edit mode inside the cell or the formula bar, not just with the cell selected. A single click selects the cell but does not always start editing; type something first or double-click. If it still fails, try F2 to enter edit mode, then Alt + Enter. On laptops, some key combinations require Fn; if your function row is mapped to media keys, press Fn + Alt + Enter.

Enter keeps moving to the next row. That is correct behaviour. You need the modifier. If your keyboard layout or an add-in is remapping keys, test the same cell in a fresh workbook to rule out the file.

The break is there but text does not show. Turn on Wrap Text, then adjust row height. Click the cell and look at the formula bar: multiple lines there confirm the break is stored.

On a Mac, Option + Return types a strange character. You are probably in a different application or a text field rather than an Excel cell. Click into the cell first, then use the shortcut. Return rather than the Enter key on the numeric keypad is the one to use.

The mobile app has no way to insert a break. The onscreen keyboard often has no modifier key that does this. The practical alternative is to edit the file on a computer, or split the content across separate rows if a break is not essential.

If none of the above helps, close and reopen the workbook, check that Office is up to date, and try the formula bar route. If Excel itself is misbehaving across every file, restart the app before assuming a setting is wrong.

Frequently Asked Questions

Why does Enter move me to the next cell instead of a new line?

Because a plain Enter is the command to finish editing. To stay in the same cell you must hold Alt (Windows) or Option (Mac) while pressing Enter or Return.

Can I put more than two lines in one cell?

Yes. Each Alt + Enter or Option + Return adds another break, so you can stack as many lines as the cell can display.

Do line breaks inside cells affect sorting and formulas?

No. The cell remains one value. Sorting, filtering and lookups treat the whole entry as a single text string, breaks included.

Does this work in Excel for the web and mobile?

In the browser it generally works on Windows with Alt + Enter and on Mac with Option + Return; if the browser intercepts it, use the formula bar. On phones and tablets the onscreen keyboard usually cannot insert a break, so edit on a computer.

How do I remove a line break later?

Click the cell, place the cursor next to the break in the formula bar, and press Backspace or Delete. To clear many at once, use Find and Replace with Ctrl + J in the Find field.

What about Google Sheets?

The same idea applies with different keys: Ctrl + Enter on Windows and ChromeOS, and Command + Enter on Mac, inserts a line break inside a cell.