Smart Systems for Home

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

How to Enter Another Line in an Excel Cell

· 7 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 enter another line inside a single Excel cell, press Alt+Enter on Windows or Control+Option+Return on a Mac. This inserts a line break exactly where your cursor is, letting you stack text vertically within the same cell. You can do this while typing or after the fact by double-clicking the cell and placing the cursor where the break should go. No special setup is needed, and the cell will automatically grow taller to show the extra line.

What You'll Need

  • A computer with Microsoft Excel installed (desktop version for Windows or Mac, or Excel for the web in a browser).
  • An open workbook with a cell you want to edit.
  • A keyboard (the shortcut requires key combinations; there is no on-screen button for this).

Step-by-Step

  1. Open your Excel workbook and click on the cell where you want multiple lines. If you are starting fresh, click any empty cell. If you are editing existing text, double-click the cell to enter edit mode, or click the cell and press F2 (Windows) or Control+U (Mac).
  2. Type the first line of text as you normally would. For example, type "Line one" and do not press Enter yet—pressing Enter alone would move you to the next cell, not create a new line inside the same cell.
  3. Press the line break shortcut where you want the next line to start:
    - On Windows: press Alt+Enter.
    - On Mac: press Control+Option+Return.
    - In Excel for the web (browser version): the same shortcuts work on both Windows and Mac, but if you are on a Chromebook or a keyboard without those keys, try Ctrl+Enter (Windows) or Cmd+Enter (Mac) as an alternative.
  4. Type the next line immediately after the break. The cursor will have moved to a new line within the same cell. Continue typing or press the shortcut again to add more lines.
  5. Finish by pressing Enter (or click another cell). The cell will display all lines stacked vertically. If the row height does not expand automatically, you may need to adjust it manually (see Troubleshooting below).
  6. To add a line break to existing text (for example, if you already typed a long paragraph and want to split it), double-click the cell, place your cursor at the exact spot where the break should go, then press the same shortcut. The text will split at that point.

Note: The exact wording of menus and buttons in Excel can vary slightly depending on your version, device, or region, but the keyboard shortcuts above are consistent across modern versions of Excel (2013, 2016, 2019, 365) and Excel for the web.

Common Mistakes

  • Pressing Enter alone—this moves the selection to the next cell instead of adding a line. Always use Alt+Enter (or the Mac equivalent).
  • Forgetting to be in edit mode—if you just select the cell and press Alt+Enter, nothing happens because you are not editing the cell's content. Double-click the cell or press F2 first.
  • Using a regular space or a long string of spaces to simulate a line break—this does not create a true line break and will not wrap correctly if the column width changes.
  • Expecting the row to auto-size—Excel often does not automatically increase row height when you add a line break, especially if the row height was manually set earlier. You may need to adjust it.
  • Copying from another program—if you copy text with line breaks from Word or a web page, Excel may or may not preserve them. If it doesn't, you'll need to re-insert the breaks manually with the shortcut.

Tips

  • Use wrap text if you want Excel to automatically create new lines when the text reaches the edge of the column. Select the cell, go to the Home tab, and click the Wrap Text button. This is different from a manual line break—wrap text adjusts dynamically based on column width, while manual breaks stay fixed.
  • Adjust row height to show all lines. After adding line breaks, if the text is cut off, select the row, right-click, choose Row Height, and type a larger number, or double-click the bottom border of the row header to auto-fit the height.
  • Use the formula bar to see and edit line breaks. When you select a cell with multiple lines, the formula bar shows the text with the line breaks visible as small gaps. You can also edit there, but the Alt+Enter shortcut works in the formula bar too.
  • Combine with concatenation—if you want to join text from multiple cells with a line break, use the formula =A1 & CHAR(10) & B1 (CHAR(10) is the line break character in Excel). Make sure Wrap Text is on for that cell to see the break.
  • Keyboard shortcut for Mac users—if Control+Option+Return feels awkward, you can also try Control+Command+Enter, but the standard is Control+Option+Return. Test both to see which works on your keyboard layout.

Troubleshooting

The line break does not appear—the cell stays on one line. First, check that you are in edit mode (double-click the cell or press F2). Then press the shortcut again. If you are on a Mac, make sure you are pressing Control+Option+Return, not just Return. If you are using a laptop, you may need to hold the Fn key to access the Alt or Option key. Also, confirm that the cell is not formatted with a custom number format that suppresses line breaks—go to Format Cells (right-click > Format Cells) and check the Alignment tab; the "Wrap text" checkbox should be checked if you want the break to display, though it is not strictly required for manual breaks.

The line break appears in the formula bar but not in the cell. This usually means the row height is too small. Select the row, right-click, and choose Row Height, then increase the value. Or double-click the bottom edge of the row header to auto-fit. If the row is set to a fixed height, it will not expand automatically.

Alt+Enter does nothing. Try using the on-screen keyboard or a different keyboard. Some keyboards have a dedicated Alt key that might not work with certain laptop function layers. Also, make sure you are not in a dialog box (like Format Cells) where the shortcut has a different meaning—close any dialog and try again in the worksheet.

Copying cells with line breaks loses the breaks. When you copy and paste between Excel and other programs, the line breaks may be converted to spaces. To preserve them, use Paste Special > Values, or paste into Notepad first and then copy back to Excel—but even then, you may need to re-insert breaks. The safest way is to use the shortcut manually after pasting.

If you are using Excel for the web and the shortcut does not work, try pressing Ctrl+Enter (Windows) or Cmd+Enter (Mac). In some browser versions, Alt+Enter is captured by the browser (for example, to open a menu), so the alternative shortcut is needed. If that still fails, use the Wrap Text feature instead, which will automatically create line breaks based on column width without manual input.

Frequently Asked Questions

Can I use a formula to create a line break?

Yes. Use the CHAR function with code 10, like =A1 & CHAR(10) & B1. This inserts a line break character between the contents of A1 and B1. You must have Wrap Text enabled on that cell to see the break.

Why does my cell show the line break as a small square or box?

That usually happens when the font or cell format does not support the line break character, or when Wrap Text is off and the row height is too small. Turn on Wrap Text and increase the row height, and the break should display correctly.

Does the line break affect sorting or filtering?

No, line breaks are just part of the text. Sorting and filtering treat the entire cell content as a single string, so the line break does not change the sort order or filter results.

Can I remove a line break later?

Yes. Double-click the cell, place your cursor at the start of the second line, and press the Backspace key to delete the break. Alternatively, use Find and Replace (Ctrl+H) and replace CHAR(10) with nothing—but this is tricky because you need to enter the line break character in the Find box by pressing Alt+Enter.

Will the line break appear when I print the sheet?

Yes, as long as the row height is sufficient and the column width allows the text to fit. If the row is too short, the text may be cut off in print. Adjust row heights before printing.

Is there a way to add a line break in a cell using a mouse only?

No, there is no mouse-only method. The only way is to use the keyboard shortcut. However, you can use the Wrap Text feature to get automatic line breaks without a keyboard, but those are not manual breaks—they change based on column width.