To insert a line break inside an Excel cell, click into the cell where you want the break, position the cursor at the split point, then press Alt+Enter on Windows or Control+Option+Return on a Mac. On Excel for the web, use Alt+Enter on Windows or Control+Option+Return on a Mac as well. The cell must be in edit mode (double-click the cell or press F2) for the shortcut to work; pressing it while the cell is merely selected does nothing. Once the break is in, turn on Wrap Text so the second line is visible instead of being clipped by the row height.
What You'll Need
- Excel for Microsoft 365, Excel 2021, 2019, 2016, or Excel for the web. The shortcut works in all of them, though the exact key combination differs on Mac.
- A keyboard with a numeric keypad or a full Return key. On some compact laptops the Return key is labelled Enter and sits where you expect it; on others you may need the Fn key to reach it.
- Wrap Text enabled on the cell if you want to see both lines without manually dragging the row taller.
Step-by-Step
- Select the cell. Click the cell that should contain the line break. If the cell already has text, the break will be inserted wherever you place the cursor, so decide the split point first.
- Enter edit mode. Double-click the cell, or select it and press F2. The status bar at the bottom left changes to "Edit" and a blinking cursor appears inside the cell. This is the key difference: the line-break shortcut only works in edit mode.
- Position the cursor. Click between the words where the line should end, or use the arrow keys to move the insertion point. If you want a break at the very start or end of the existing text, place the cursor there.
- Press the line-break shortcut. On Windows, hold Alt and press Enter. On a Mac, hold Control and Option and press Return. The cursor jumps to a new line inside the same cell. Nothing appears in the formula bar except a small gap where the break sits.
- Repeat for additional breaks. You can insert as many line breaks as you need in one cell. Each press adds one more line. Keep in mind that very tall cells may need the row height adjusted manually.
- Confirm the entry. Press Enter to commit the edit, or click another cell. If you press Enter without the Alt or Control+Option modifier, Excel commits the cell and moves down, which is what you want at this stage.
- Turn on Wrap Text. With the cell selected, go to the Home tab and click Wrap Text in the Alignment group. This makes Excel display the second line instead of hiding it behind the row boundary. Without Wrap Text, the line break exists in the cell but is not visible until you widen the row or column.
- Adjust row height if needed. If the wrapped text is still cut off, drag the row border down, or use Home > Format > AutoFit Row Height. Note that AutoFit may not expand a row that already has a manually set height; in that case, double-click the row boundary to reset it.
Common Mistakes
- Pressing Alt+Enter with the cell selected but not in edit mode. This does nothing to the cell contents. You must be inside the cell with a visible cursor. Double-click or press F2 first.
- Using Enter alone. A plain Enter commits the cell and moves the selection down. It does not create a line break.
- Forgetting Wrap Text. The break is stored correctly but the second line is invisible because the row height only shows one line. This is the most common reason people think the shortcut failed.
- Using the wrong Mac shortcut. On a Mac, Alt+Enter does not insert a line break. Use Control+Option+Return. Some keyboards label Option as Alt, which is fine, but the Control key must be included.
- Typing a space instead of a break. A space wraps text naturally but does not force a break at a specific point. If you need a hard break, use the shortcut.
- Pasting text with existing breaks. Text copied from a web page or another app may already contain line breaks. Pasting it into a cell can produce unexpected wrapping. Use Paste Special > Text if the formatting misbehaves.
Tips
- To remove a line break, click into the cell, place the cursor just after the break, and press Backspace. Alternatively, use Find and Replace: in the Find field press Ctrl+J (Windows) to enter a line break character, leave Replace empty, and click Replace All. This removes all manual breaks in the selected range.
- Line breaks work inside formulas too. Use CHAR(10) in Windows formulas to insert a break, for example
="First line"&CHAR(10)&"Second line". On a Mac, the character code is CHAR(13) in older versions, though CHAR(10) also works in current Excel for Mac. Wrap Text must be on for the result to display on two lines. - If you are building a label or address block, combine line breaks with Wrap Text and a slightly wider column to keep the layout readable.
- When exporting to CSV, line breaks inside cells are preserved only if the CSV is quoted correctly. Some tools split them into separate rows. Check the export before sharing.
- To force a break in a header row without changing the cell width, use the shortcut and then reduce the font size slightly so both lines fit.
Troubleshooting
The shortcut does nothing. Confirm you are in edit mode. The status bar should read "Edit" rather than "Ready". If it says Ready, double-click the cell or press F2. On a laptop, check whether the Enter key requires Fn; try Fn+Alt+Enter if the plain combination fails.
The break is there but invisible. Turn on Wrap Text. If Wrap Text is already on, the row height may be fixed. Drag the row boundary down or use Home > Format > AutoFit Row Height. If AutoFit does nothing, the row has a manual height; double-click the row border to reset it.
The break appears in the formula bar but not in the cell. This is the same visibility issue. Widen the column or turn on Wrap Text. Also check that the cell's font colour is not white on white.
Pressing Enter after the break commits the cell unexpectedly. That is normal: the modifier key only applies to the moment you press it. Once the break is inserted, a plain Enter finishes the edit.
Line breaks disappear after pasting. If you paste as plain text, Excel may treat the breaks as row separators. Use Paste Special and choose Text, or paste into the formula bar instead of directly into the cell.
On Excel for the web, the shortcut may be captured by the browser. If Alt+Enter opens a browser menu, click inside the cell first and try again, or use the formula bar to edit. Some browsers reserve certain key combinations; switching to the desktop app resolves it.
Frequently Asked Questions
Why does Alt+Enter not work in my Excel?
Most often the cell is selected but not in edit mode. Double-click the cell or press F2, place the cursor, then try again. On Mac, use Control+Option+Return instead.
Can I insert a line break with a formula?
Yes. Use CHAR(10) between text segments, for example ="Line one"&CHAR(10)&"Line two", and turn on Wrap Text. On Mac, CHAR(10) works in current versions; older versions may need CHAR(13).
How do I remove all line breaks from a range?
Select the range, open Find and Replace (Ctrl+H on Windows, Control+H on Mac), click in Find, press Ctrl+J to insert the line-break character, leave Replace empty, and click Replace All.
Does a line break affect sorting or filtering?
No. Excel treats the cell as a single text value; the break is just a character inside it. Sorting and filtering work on the whole cell, not on individual lines.
Will line breaks survive when I save as CSV?
They can, but only if the CSV is quoted properly. Many programs split quoted line breaks into separate rows. Test the file in the target application before relying on it.
Can I use a line break in a header or chart label?
Yes. The same shortcut works in headers, footers, and chart titles. For chart labels, you may need to resize the chart area so the second line is not clipped.