How to Tab to Next Line in Excel
In this article
To move to the next line in Excel, press Alt+Enter on Windows or Control+Option+Return on Mac. This inserts a line break within the same cell, allowing you to start a new line of text without leaving the cell.
Why You Need Line Breaks in Excel
Excel cells are designed to hold data, but sometimes a single cell needs to contain multiple lines of text—for example, an address with street, city, and zip code, or a product description with several bullet points. Without line breaks, all that text would run together in one long string, making it hard to read and print. The Alt+Enter shortcut is the built-in way to create a new line inside a cell, and it works in all modern versions of Excel (2010, 2013, 2016, 2019, 2021, and Microsoft 365).
How to Insert a Line Break (Step-by-Step)
- Click on the cell where you want the text.
- Type the first part of your text.
- Press Alt+Enter (Windows) or Control+Option+Return (Mac).
- Type the next line of text.
- Repeat steps 3–4 for additional lines.
- Press Enter to finish and move to the next cell.
If you want to see the line breaks, make sure the cell has Wrap Text enabled (Home tab → Wrap Text). Without it, the text will appear on one line, but the line breaks are still there—they just won’t be visible until you enable wrapping.
Using the Formula Bar to Add Line Breaks
You can also insert a line break using the formula bar. Click the cell, then click in the formula bar where you want the break, and press Alt+Enter (or Control+Option+Return on Mac). This is useful when you’re editing an existing cell and want to add a break in the middle of the text.
Line Breaks in Formulas and Concatenation
If you’re building a string with a formula, you can insert a line break using the CHAR() function. The character code for a line break is 10 in Excel (on Windows and Mac). For example, to combine cell A1 and B1 with a line break between them:
=A1 & CHAR(10) & B1
Make sure the cell has Wrap Text enabled, or the line break won’t show. You can also use this in a formula like CONCATENATE(A1, CHAR(10), B1) or the newer TEXTJOIN function if you’re using Excel 2016 or later.
Common Problems and Fixes
Problem: The line break doesn’t appear—text stays on one line.
Fix: Enable Wrap Text for the cell (Home tab → Wrap Text). The line break is stored, but without wrapping, Excel shows it as a single line.
Problem: Pressing Alt+Enter does nothing.
Fix: Check if you’re in edit mode. Click the cell, then press F2 to enter edit mode, then try Alt+Enter. Also, make sure you’re using the correct key combination for your OS (Alt+Enter on Windows, Control+Option+Return on Mac).
Problem: The line break disappears when I copy and paste.
Fix: When pasting, use Paste Special → Values to keep the line breaks. If you paste as plain text, the breaks may be lost.
Alternatives to Alt+Enter
If you’re working with a lot of text, you might consider these alternatives:
- Wrap Text: This automatically wraps text to fit the column width, but it doesn’t let you control where the break happens—it’s just visual wrapping.
- Merge cells: You can merge multiple cells and type text in the merged area, but this can cause issues with sorting and formulas.
- Text boxes: Insert a text box (Insert → Text Box) for free-form text that can be placed anywhere on the sheet. Text boxes support line breaks with Enter.
- Word Wrap in a cell: If you’re using Excel Online or Google Sheets, the shortcut is different (Ctrl+Enter in Google Sheets), but in Excel, Alt+Enter is standard.
Line Breaks in Different Excel Versions
The Alt+Enter shortcut has been consistent across Excel versions for decades. On Mac, the shortcut changed from Option+Return to Control+Option+Return in newer versions (Excel 2016 and later) to match the Windows behavior more closely. In Excel for the web, Alt+Enter works in most browsers, but if it doesn’t, you can use the formula bar and press Alt+Enter there.
Frequently Asked Questions
How do I remove a line break in Excel?
To remove a line break, select the cell, press F2 to edit, then place the cursor at the break and press Delete. Alternatively, use the Find and Replace feature: press Ctrl+H, in “Find what” type Alt+0010 (hold Alt and type 0010 on the numeric keypad), leave “Replace with” empty, and click Replace All. This removes all line breaks in the selected range.
Can I use Tab to move to the next line?
No, the Tab key moves the selection to the next cell to the right, not to a new line within the same cell. To move to the next line inside a cell, you must use Alt+Enter (or Control+Option+Return on Mac).
Why does Alt+Enter not work in some Excel files?
If the file is in compatibility mode (e.g., an .xls file opened in a newer Excel), the shortcut should still work. If it doesn’t, check if the cell is locked or the sheet is protected—you may need to unprotect the sheet (Review → Unprotect Sheet). Also, ensure you’re not in a dialog box or a mode that intercepts the shortcut.
How do I add a line break in a header or footer?
In the header/footer editing mode (Insert → Header & Footer), you can press Enter to create a new line. That’s different from cell text—there, a simple Enter works.
Can I use a formula to add a line break between two cells?
Yes, use the formula =A1 & CHAR(10) & B1 and enable Wrap Text on the result cell. This is a common way to combine addresses or names with a line break.
Does the line break affect sorting or filtering?
Line breaks are just characters (character 10) in the cell. Sorting and filtering treat them as part of the text, so they won’t break sorting unless you have a custom sort that looks at line breaks. They may affect how text appears in reports, but they don’t cause errors.