To insert a new line within a text box in Excel, press Alt + Enter while editing the text. This allows you to format multi-line content inside shapes, comment boxes, or form controls without breaking the text into separate cells. No additional tools or add-ins are required—this works in all recent versions of Excel on Windows and macOS.
What You'll Need
- Microsoft Excel (2010 or later, Windows or macOS)
- A text box, shape, comment, or form control already inserted into your worksheet
- A keyboard with an Alt key (Windows) or Option key (macOS)
Step-by-Step
- Click once on the text box, shape, or comment where you want to insert a new line. This selects the object and activates the text editing mode.
- Place your cursor exactly where you want the line break to appear—between two words, after a phrase, or at the end of a sentence.
- On Windows, hold down the Alt key and press Enter. On macOS, hold down the Option key and press Enter. You will see the cursor move to the next line inside the same text box.
- Type the next line of text. Continue pressing Alt + Enter (or Option + Enter) to add as many lines as needed.
- Once you’ve finished editing, click outside the text box or press Enter once to exit editing mode. The line breaks will remain intact.
- To verify the line breaks are preserved, select the text box again and check that the text displays on separate lines within the same box. Resize the box if needed to ensure all lines are visible.
Common Mistakes
- Using Enter instead of Alt + Enter—this will confirm the text and exit edit mode, preventing you from adding more lines.
- Trying to use Ctrl + Enter (which does nothing in Excel text boxes) or Command + Enter on macOS (which may trigger other functions like printing).
- Assuming text wrapping automatically creates line breaks—text wrapping adjusts spacing based on box width but doesn’t insert manual line breaks unless you use Alt + Enter.
- Editing the text in the formula bar instead of inside the text box—changes made in the formula bar will not accept line breaks; you must edit directly within the object.
- Not resizing the text box after adding lines, causing text to be cut off or overlap other objects.
Tips
- Use Alt + Enter consistently for all manual line breaks in text boxes, comments, and labels—this is the only reliable method.
- If you need to align multi-line text, use the alignment buttons in the Format Shape pane (right-click the text box > Format Shape > Text Options > Text Box > Vertical Alignment).
- For long text, enable text wrapping in the Format Shape pane (Text Options > Text Box > Wrap text in shape) so lines auto-adjust if you resize the box.
- Copy-paste text with existing line breaks from Notepad or Word into an Excel text box will preserve the breaks—Excel recognizes standard line endings like \r\n.
- Use consistent spacing and punctuation in multi-line text for professional appearance, especially in reports or presentations.
- Test your text box on different screen resolutions; some layouts may show line breaks differently if the box is too narrow.
Troubleshooting
- If Alt + Enter does nothing, make sure you are editing the text directly inside the box, not in the formula bar. Click the text box and wait for the cursor to blink inside the text before pressing keys.
- If you’re on a laptop without a dedicated numeric keypad, ensure the Alt key is fully pressed and that you are using the main Enter key—not the keypad Enter, which may not register.
- On macOS, if Option + Enter doesn’t work, check that your keyboard layout is set to U.S. or standard English. Some international layouts map Option differently.
- If the text disappears after pressing Enter, you likely pressed Enter alone. Click the text box again to re-enter edit mode and try Alt + Enter.
- If line breaks appear as small squares or question marks, the text box may be using a font that doesn’t support line breaks properly—switch to Arial, Calibri, or Times New Roman.
- If the text box auto-resizes and hides content, right-click the box > Format Shape > Text Options > Text Box > check "Resize shape to fit text" and uncheck it to lock the dimensions.
- Restart Excel if the keystroke stops working entirely—this can resolve rare software glitches affecting keyboard input in shapes.