The two ways to create a line break inside a single Excel cell

You can move text to a new line within the same cell in two ways: by pressing Alt + Enter on Windows or Control + Option + Enter on Mac while you are typing or editing, or by using the CHAR(10) function in a formula. The first method works when you are typing directly into a cell. The second works when you want line breaks to happen automatically based on data from somewhere else.

Both methods require that the cell is set to wrap text, or the line break will be invisible. Excel does not wrap text by default, so you will need to turn this on for the cell to display multiple lines instead of cutting off the text or showing it on one long line.

Key Takeaways

  • Press Alt + Enter (Windows) or Control + Option + Enter (Mac) while typing to insert a line break in the middle of a cell's text.
  • You must turn on text wrapping for the cell to display the line break; without it, the break exists but remains invisible.
  • Use the CHAR(10) function inside a formula to create automatic line breaks when combining text from multiple cells or sources.
  • The row height will expand automatically when you add a line break and text wrapping is on, so you do not need to resize it manually.

Inserting a line break while typing or editing a cell

Open the cell by double-clicking it or pressing F2 to enter edit mode. Position your cursor where you want the line break to occur. On Windows, hold Alt and press Enter. On Mac, hold Control, Option, and press Enter at the same time. The cursor will move to the next line within the same cell.

Continue typing the rest of your text. When you press Enter alone (without the modifier keys), Excel will save the cell and move to the next one, so make sure you use the full key combination each time you want a new line within that cell.

Turning on text wrapping so line breaks are visible

Select the cell or cells that contain the line breaks. Go to the Home tab in the ribbon. In the Alignment group, click the Wrap Text button. The cell will now display all the text across multiple lines, and the row height will grow to fit the content.

If you created a line break but text wrapping was already off, the break is still there — you just cannot see it. Turning on wrapping will reveal it. If you turn wrapping off later, the line break remains in the cell but the text will collapse back to a single line on screen.

Using CHAR(10) to create line breaks in formulas

The CHAR(10) function represents a line break character. You can use it inside a formula to combine text from different cells with line breaks between them. For example, the formula =A1&CHAR(10)&B1 will take the text from cell A1, add a line break, and then add the text from cell B1 below it.

This is useful when you are building a single cell's content from multiple sources and want each piece on its own line. The cell must have text wrapping turned on for the line breaks to display. Without wrapping, the formula still works but you will see only the first line of text.

Why the row height changes when you add line breaks

When you insert a line break and turn on text wrapping, Excel automatically increases the row height to show all the text. This happens because the cell now contains multiple lines of content instead of one. You do not need to manually adjust the row height — Excel handles it for you.

If you later delete the line break or turn off wrapping, the row height stays where it is. You can manually reset it by double-clicking the border between two row numbers in the row header on the left side of the spreadsheet, which auto-fits the height to the current content.

Common mistakes when creating line breaks

The most common error is forgetting to turn on text wrapping. You press Alt + Enter, the line break is created, but nothing changes on screen because the cell is not set to wrap. Always enable wrapping before or immediately after adding a line break.

Another mistake is pressing Enter alone instead of Alt + Enter, which saves the cell and moves you to the next row instead of creating a line break. If this happens, press Ctrl + Z to undo, re-enter the cell, and use the correct key combination. On Mac, it is easy to forget the Control key and press only Option + Enter, which will not work.

Frequently Asked Questions

Can I see where the line break is if text wrapping is off?

No, the line break exists in the cell but is invisible without text wrapping. If you turn wrapping on later, it will appear. You can also click the cell and look at the formula bar at the top — if there is a line break, the text will appear on two lines there as well.

Does CHAR(10) work the same way on Mac and Windows?

Yes. The CHAR(10) function works identically on both platforms. The difference is only in the keyboard shortcut for manual line breaks: Alt + Enter on Windows versus Control + Option + Enter on Mac.

What happens to a line break if I copy and paste the cell?

The line break copies along with the text. When you paste the cell, the line break remains in the same place. If the destination cell does not have text wrapping on, the break will be invisible until you turn wrapping on.

Can I remove a line break without deleting the text?

Yes. Double-click the cell to enter edit mode, position your cursor right before or after the line break, and press Delete or Backspace to remove it. The text on both sides will join into one line.

Does text wrapping affect the entire row or just one cell?

Text wrapping is set per cell, not per row. You can have wrapping on in one cell and off in the cell next to it. However, when one cell wraps and expands the row height, all cells in that row become taller, even if they do not have wrapping on.