The quickest 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.
  • Line breaks work in both new text and text you are editing — just position your cursor and press the key combination.
  • Excel automatically expands the row height to fit multiple lines, but you can also manually adjust it if needed.
  • Wrapped text (which breaks lines automatically based on column width) is different from a manual line break and does not require a key press.

When to use manual line breaks versus text wrapping

A manual line break (Alt + Enter) lets you control exactly where the text splits. Use this when you want a specific word or phrase on its own line, such as formatting an address with street, city, and state each on a separate line within one cell.

Text wrapping, by contrast, automatically breaks lines based on the column width — the text flows to fit the space available. To turn on text wrapping, select the cell or cells, go to the Home tab, and click Wrap Text in the Alignment group. Wrapping is useful when you have a long paragraph and want it to display neatly without manually choosing each break point.

You can combine both: use text wrapping for automatic breaks and add manual line breaks where you want extra control. The manual breaks will stay in place even if you later change the column width.

How to adjust row height to see all the lines

When you add line breaks, Excel usually expands the row height automatically so you can see all the text. If it does not, or if you want to make the row taller or shorter, double-click the border between two row numbers on the left side of the spreadsheet. Excel will auto-fit the row to the content.

To manually set the height, right-click the row number and select Row Height, then type a number (measured in points). You can also drag the border between row numbers up or down to resize by eye. If you want all rows to be the same height, select multiple rows, right-click, and choose Row Height or Optimal Height.

Removing or editing line breaks

To remove a line break, 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 the next line will move back up to join the previous line.

If you want to replace a line break with a space or different character, position your cursor at the break, delete it, and type what you want instead. You can also use Find & Replace to remove all line breaks at once: press Ctrl + H (Windows) or Command + H (Mac), leave the Find field empty, click in the Replace field, press Ctrl + J (Windows) or Command + J (Mac) to insert a line break character, and click Replace All.

Line breaks in formulas and functions

Line breaks inside cells do not affect formulas or calculations — they are purely visual. If a cell contains a formula that produces text with line breaks, the formula will work normally. For example, you can use the CHAR(10) function to insert a line break within a formula result, though this only displays correctly if the cell has text wrapping turned on.

A formula like =A1&CHAR(10)&B1 will combine the contents of cells A1 and B1 with a line break between them. The result will show on two lines if the cell is set to wrap text. This is useful for creating formatted output from multiple cells without manually editing each one.

Troubleshooting line breaks that do not appear

If you add a line break but do not see it, the most common reason is that text wrapping is turned off. Select the cell, go to Home, and click Wrap Text to turn it on. The lines will then become visible.

Another possibility is that the row is too short to display multiple lines. Increase the row height by double-clicking the border between row numbers or by dragging it down. If you are working with a cell that is formatted as a number or date, line breaks may not display — change the format to Text or General first. You can also check that you actually pressed the correct key combination: Alt + Enter on Windows or Control + Option + Enter on Mac.

Frequently Asked Questions

Can I add a line break in Excel on a Mac?

Yes. On Mac, press Control + Option + Enter instead of Alt + Enter. The process is otherwise the same — double-click the cell, position your cursor, and press the key combination to insert the break.

Does a line break affect sorting or filtering?

No. Line breaks are formatting only and do not change how Excel sorts or filters the data. A cell with line breaks will sort based on the full text content, just as if the line breaks were not there.

Can I copy and paste a line break from one cell to another?

Yes. Copy the cell with the line break and paste it into another cell. The line break will come along with the text. You can also copy just the formatting by using Paste Special (Ctrl + Shift + V on Windows, Command + Shift + V on Mac) and selecting Format.

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

Pressing Enter alone moves you to the next cell down. Alt + Enter (or Control + Option + Enter on Mac) keeps you in the same cell and moves the text to a new line within it. This is the key difference that lets you put multiple lines of text in one cell.

Will line breaks show up if I export the spreadsheet to PDF or print it?

Yes, line breaks will print and export normally. Make sure the row height is tall enough to display all the lines before you print or export, or the text may be cut off.