To add multiple lines in an Excel cell, edit the cell and press Alt + Enter on Windows or Control + Option + Return on Mac where you want each new line. You can also enable Wrap Text to display text across multiple lines automatically. The desktop steps below apply to Excel for Microsoft 365 and Excel 2024, with separate instructions for Excel for the web and the mobile apps.
The short version
- Windows and web: Edit the cell, position the cursor, then press Alt + Enter to insert a line break.
- Mac: Press Control + Option + Return while editing the cell.
- Phones and tablets: While editing, show the numeric keyboard first on iPhone or iPad, then hold at the insertion point and tap New Line; on Android, hold at the insertion point and tap New Line.
- Display every line: Enable Wrap Text and adjust the row height on Windows or Mac if text remains hidden.
| Method | Where to use it | Action |
|---|---|---|
| Windows keyboard | Windows | Press Alt + Enter while editing |
| Mac keyboard | Mac | Press Control + Option + Return while editing |
| Browser keyboard | Excel for the web | Press Alt + Enter in an editable workbook |
| Android touch menu | Android phones and tablets | Hold at the insertion point and tap New Line |
| Apple touch menu | iPhone and iPad | Show the numeric keyboard, hold at the insertion point, and tap New Line |
| Formula bar | Windows | Edit the text and press Alt + Enter |
| Ribbon wrapping | Windows and web | Select Home > Alignment > Wrap Text |
| Mac wrapping | Mac | Select Home > Wrap Text |
| Dialog wrapping | Windows | Press Ctrl + 1 and enable Wrap Text under Alignment |
| Row height correction | Windows | Choose AutoFit Row Height or adjust the height manually |
| Worksheet protection | Windows, when authorized | Choose Review > Unprotect Sheet to allow editing |
| Combine cell contents | Windows, Mac, and web | Use CHAR(10) between values |
| Combine a range | Windows, Mac, and web | Use TEXTJOIN with CHAR(10) |
| Replace separators | Windows, Mac, and web | Use SUBSTITUTE with CHAR(10) |
| Insert at a character position | Windows, Mac, and web | Use REPLACE with CHAR(10) |
| Combine explicit arguments | Windows, Mac, and web | Supply each CHAR(10) separator inside CONCAT |
Add line breaks in Excel on Windows
Double-click the cell you want to edit, or select it and press F2. Place the cursor where the next line should begin, then press Alt + Enter. Continue typing on the new line.
Repeat Alt + Enter wherever you need another break, then press Enter to finish the entry. If some text is hidden afterward, enable Wrap Text and adjust the row height using the steps below.
You can also insert the break through the formula bar. Select the cell, edit its text in the formula bar, and position the cursor at the intended break. Press Alt + Enter, then enable Home > Wrap Text if necessary.
Start a new line in Excel on Mac
Edit the cell and place the cursor where you want the next line to begin. Press Control + Option + Return to insert the break. Repeat the shortcut for additional lines, then finish the entry.
If the finished text is not fully visible, select the cell and choose Home > Wrap Text. For lines that remain hidden, choose Format > Row > AutoFit.
Add multiple lines in Excel for the web
In an editable workbook, double-click the target cell, or select it and press F2. Move the cursor to the position where you want the line break, then press Alt + Enter.
For text that should wrap automatically, select the cells and choose Home > Alignment > Wrap Text. Adjust the column width to control where the displayed lines wrap. Automatic wrapping changes the display without inserting newline characters.
Insert a new line on Android or iPhone
On an Android phone or tablet, double-tap the cell to open it for editing. Hold your finger at the point where the new line should begin to display the contextual menu. Tap New Line to insert the break.
On an iPhone or iPad, edit the cell and use the keyboard toggle button to display the numeric keyboard. Hold your finger at the intended insertion point, then tap New Line.
Use Wrap Text for automatic lines
Choose automatic wrapping when you want the text to fit the column width without selecting each break position. To wrap text in Excel on Windows or the web, select the target cells and choose Home > Alignment > Wrap Text. On Mac, select the cells and choose Home > Wrap Text.
On Windows and the web, adjust the column width to change where automatically wrapped lines break. Use a manual line break when you want to choose the exact position of a new line.
Windows also offers a dialog route to the wrapping setting. Select the cells, press Ctrl + 1, then open Alignment and find Text control. Check Wrap Text and select OK.
Fix hidden lines and blocked editing
If wrapping is enabled but some lines remain hidden on Windows, select the affected cells. Choose Home > Format > AutoFit Row Height to adjust the row to its contents. Fixed row heights and merged cells can prevent all wrapped text from appearing.
For manual control on Windows, choose Home > Format > Row Height and enter a height, or drag the row's lower boundary. On Mac, use Format > Row > AutoFit when wrapped lines remain hidden.
A protected worksheet can block entry or formatting on Windows. If you are authorized to edit it, choose Review > Unprotect Sheet and supply the worksheet password if requested. Then insert the line breaks or apply Wrap Text.
Combine text from cells onto separate lines
Formulas can combine existing values into one multiline cell in Excel for Microsoft 365 and Excel 2024 on Windows and Mac, and in Excel for the web. Use CHAR(10) between values to insert a line break. To combine A1 and B1, enter this formula in a destination cell:
=A1&CHAR(10)&B1Select the result cell and enable Home > Wrap Text so the break displays as separate lines. Add more CHAR(10) separators to combine additional values. For text written directly inside the formula, use:
="First line"&CHAR(10)&"Second line"For a range of cells, TEXTJOIN saves you from adding a separator between every reference. Enter the following formula in another cell, then enable Home > Wrap Text. The TRUE argument skips empty cells in the range:
=TEXTJOIN(CHAR(10),TRUE,A1:A5)Turn existing separators into line breaks
If a cell contains text separated by commas and spaces, use SUBSTITUTE to turn those separators into new lines. This works in Excel for Microsoft 365 and Excel 2024 on Windows and Mac, and in Excel for the web. Enter this formula in another cell:
=SUBSTITUTE(A1,", ",CHAR(10))Enable Home > Wrap Text for the result. Change the separator inside the quotation marks to match the text in your source cell. An optional fourth argument lets you replace only a particular occurrence of that separator.
Frequently Asked Questions
How can I keep empty cells as blank lines when using TEXTJOIN?
Use FALSE instead of TRUE for the second argument, as in =TEXTJOIN(CHAR(10),FALSE,A1:A5). This retains empty cells' positions in the combined result. Enable Wrap Text to display the lines.
Can I insert a line break at a specific character position with a formula?
In Excel for Microsoft 365 and Excel 2024 on Windows and Mac, or Excel for the web, use =REPLACE(A1,6,0,CHAR(10)) to insert a break before character 6 without deleting characters. Change 6 to your desired insertion position and enable Wrap Text.
How do I preserve number or date formatting when combining text?
Excel drops number formatting when it combines text with numbers or dates, so wrap the value in the TEXT function with a format code that sets how it should appear, as in =TEXT(A1,"mm/dd/yy")&CHAR(10)&B1. You can combine that formatted value with other text and CHAR(10) in Excel for Microsoft 365 and Excel 2024 on Windows and Mac, and in Excel for the web.
Can CONCAT add line breaks between cell values?
Use =CONCAT(A1,CHAR(10),B1,CHAR(10),C1) and enable Wrap Text in Excel for Microsoft 365 and Excel 2024 on Windows and Mac, or Excel for the web. Supply each separator explicitly because CONCAT has no delimiter argument. Microsoft recommends CONCAT for new work in place of the older compatibility function CONCATENATE.