The simplest way to add a line break in Excel

To add a line break inside a single Excel cell, press Alt + Enter on Windows or Control + Option + Enter on Mac while you are typing or editing the cell. The text will move to a new line within that same cell instead of moving to the next cell down. You can add as many line breaks as you need in one cell.

This works whether you are typing new text or editing text that is already in the cell. Double-click the cell to enter edit mode, position your cursor where you want the break, and press the key combination. The cell will automatically expand vertically to show all the lines, or you can manually adjust the row height to see them all.

Key Takeaways

  • Press Alt + Enter (Windows) or Control + Option + Enter (Mac) to create a line break inside a cell without moving to the next row.
  • The cell will expand automatically to fit multiple lines, or you can increase the row height manually to see all the text.
  • Line breaks work in both new text and existing text — double-click to edit and insert breaks where needed.
  • Text wrapping and line breaks are different: wrapping automatically breaks long text, while line breaks let you control exactly where each line ends.
  • Line breaks stay with the cell when you copy, move, or sort data, so they do not disappear when you reorganize your spreadsheet.

When to use line breaks versus text wrapping

Excel offers two ways to fit multiple lines in a cell, and they work differently. Text wrapping automatically breaks long text to fit the column width — if you make the column narrower, the text breaks into more lines. Line breaks are manual breaks you insert yourself, and they stay in the same place no matter how wide or narrow the column is.

Use line breaks when you want to control the exact layout — for example, if you are entering an address with street, city, and state on separate lines, or a list of items that should always appear in a specific order. Use text wrapping when you have long paragraphs or descriptions and you want them to reflow automatically as you adjust column width.

You can use both in the same cell. If you add line breaks and also turn on text wrapping, the text will break at your manual line breaks first, then wrap automatically if any single line is still too long for the column.

How to enable text wrapping for automatic line breaks

If you want Excel to break text automatically without you inserting breaks manually, select the cell or range of cells, then go to the Home tab and click Wrap Text in the Alignment group. The text will now break to fit the column width, and the row height will expand to show all the lines.

Text wrapping is useful for cells with long notes, comments, or descriptions. When you change the column width later, the text will reflow automatically — narrower columns create more lines, wider columns create fewer. If you later decide you do not want wrapping, select the cells again and click Wrap Text to turn it off.

Adjusting row height to see all your lines

When you add line breaks or enable text wrapping, Excel usually expands the row height automatically. If it does not, or if you want to make the row taller or shorter, you can adjust it manually. Position your cursor on the border between two row numbers on the left side of the spreadsheet until the cursor changes to a resize arrow, then drag up or down.

You can also double-click that same border to auto-fit the row height to the content — Excel will make the row exactly as tall as it needs to be to show all the text. If you want to set a specific height, right-click the row number, select Row Height, and enter a number in points.

Line breaks in formulas and merged cells

Line breaks work inside formulas too. If you are building text with a formula using the CONCATENATE function or the ampersand (&) operator, you can add a line break by including CHAR(10) in the formula. For example, =A1&CHAR(10)&B1 will combine the text from cells A1 and B1 with a line break between them. The cell must have text wrapping enabled to display the break.

Line breaks do not work well in merged cells. If you merge cells and then try to add a line break, Excel may not display it correctly or may remove it when you edit the cell. If you need line breaks, it is better to use a single unmerged cell and adjust the column width and row height instead.

Copying, sorting, and line breaks

Line breaks stay with the cell when you copy and paste it to a new location. If you copy a cell with line breaks and paste it elsewhere, the breaks will appear in the new cell exactly as they were in the original. This is useful when you are duplicating entries that need the same layout.

When you sort data, cells with line breaks sort normally — Excel treats the entire cell content as one value for sorting purposes, regardless of how many lines it contains. If you sort by a column that contains line breaks, the rows will rearrange, but the line breaks within each cell will stay in place.

Removing line breaks from existing text

If you have a cell with line breaks and you want to remove them, you can use the SUBSTITUTE function to replace the line break character with a space or nothing. The formula =SUBSTITUTE(A1,CHAR(10)," ") will replace every line break in cell A1 with a space. Copy the formula result and paste it back as values if you want to keep the change permanent.

Alternatively, you can edit the cell manually by double-clicking it, positioning your cursor at each line break, and pressing Delete to remove it. This works for cells with only a few line breaks, but the formula method is faster for large amounts of data.

Frequently Asked Questions

Why does Alt + Enter not work in my Excel?

On Windows, make sure you are using the Alt key on the left side of the keyboard and the Enter key on the main keyboard, not the numeric keypad. On Mac, use Control + Option + Enter. If it still does not work, check that you are in edit mode by double-clicking the cell first. Some keyboard layouts or regional settings may use different key combinations — try Alt + Shift + Enter or Ctrl + Shift + Enter if the standard combination does not work.

Can I add line breaks in a cell that is part of a table?

Yes, line breaks work in Excel tables the same way they work in regular cells. Double-click the cell to edit it, press Alt + Enter (or Control + Option + Enter on Mac), and the line break will appear. The row height will expand automatically to show all the lines in that row.

What is the difference between a line break and pressing Enter?

Pressing Enter alone moves you to the next cell down. Pressing Alt + Enter (or Control + Option + Enter on Mac) creates a line break inside the current cell. If you press Enter without the Alt or Control + Option key, you will leave the cell and move to the one below, losing any text you were typing.

Do line breaks affect how Excel calculates or filters data?

Line breaks do not affect calculations or formulas — Excel treats the entire cell content as one value. Filtering and sorting also work normally with line breaks. The line breaks are just formatting and do not change the underlying data or how Excel processes it.

Can I see line breaks in a cell without expanding the row height?

No, you need to expand the row height or enable text wrapping to see line breaks. If the row is too short, the text will be hidden. You can see that a cell contains line breaks by double-clicking it to enter edit mode — the line breaks will be visible in the cell editor even if the row is not tall enough to display them all.