Skip to main content

How to insert a line in Word

Person typing on a laptop.
Pixabay/Pexels

Microsoft's flagship word processor has tons of neat little features to customize your documents, and it can be hard to keep track of and master them all. But with our quick guides to using Microsoft Word, we can help you learn how to use the tools you'll need to get up and running and make the most out of it.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • Microsoft Word

If you want to learn how to insert a line in a Word document, you've come to the right place. In this guide, we'll show you how to insert a line in Word. Using a few different methods, you can choose the one that augments your workflow in Microsoft Word the best.

How to draw a line in Word using the Shapes menu

If you’d like your line to be a particular length, you can draw it in Word using an option in the Shapes menu.

Step 1: Open your Word document or create a new one.

Step 2: Go to the Insert tab and select Shapes.

Shapes on the Insert tab in Word.
Digital Trends

Step 3: Within the section labeled Lines, choose your preferred line style.

Lines in the Shapes menu in Word.
Digital Trends

Step 4: Move your mouse pointer to where you want to insert your line, and click and hold it as you drag it across the page to the desired endpoint of your line. Then release your hold.

Drawn line in Word.
Digital Trends

How to insert a line in Word using the keyboard AutoFormat

Maybe you prefer to tackle tasks in Word using keyboard shortcuts. If so, you can insert a line using the keyboard AutoFormat feature.

Step 1: Open your Word document or create a new one.

Step 2: In the document, put your cursor where you want to insert the line. Then press the Hyphen key on your keyboard three times. (This key should be located in between the zero key and the plus/equal sign key.) Then press the Enter key.

Step 3: A line that stretches between both ends of the width of the page (minus the margins) should automatically appear. If you want to type on the line or insert a signature, simply move your cursor above the line to add your text.

AutoFormat line in Word
Digital Trends

Step 4: You can customize the style of your inserted line by choosing a different keyboard key to press three times. For example, pressing the Plus/Equal Sign key three times and then Enter will produce a set of two parallel lines. Here are some other options:

  • Three asterisk key presses: Produces a line of square dots.
  • Three underscore key presses: Produces a bold line.
  • Three number sign key presses: Produces a group of three lines (one bold with two thin).
  • Three tilde key presses: Produces a zig-zag line.

Note: The above bulleted line styles will require using the Shift key plus the key listed and then Enter in order to work.

AutoFormat lines in Word
Digital Trends

How to insert a line in Word using the Borders menu

If you want a simple horizontal line that stretches from the left to the right margin, you can use an option in the Borders menu.

Step 1: Open your Word document or create a new one.

Step 2: Place your cursor where you want the line.

Step 3: Go to the Home tab, open the Borders menu, and choose Horizontal Line.

Horizontal Line in the Word Borders menu
Digital Trends

FAQs

How do you insert a line through a word?

You can easily apply what’s called strikethrough formatting to a word, sentence, or paragraph in Word. Select the text, go to the Home tab, and choose Strikethrough in the Font section of the ribbon.

How do I put a line around a word in Word?

With the Borders menu in Word, you can add a line around a word or other text. Select the text, go to the Home tab, and open the Borders menu. Pick the Outside Borders option to place a line around the entire text.

How do I insert a horizontal line in Docs?

If you use Google Docs instead of Microsoft Word, you can insert a horizontal line easily in that application as well. Open your Google Doc and place your cursor where you want the line. Select the Insert tab and pick Horizontal line.

Anita George
Former Digital Trends Contributor
Anita George has been writing for Digital Trends' Computing section since 2018. So for almost six years, Anita has written…
Microsoft introduces new ‘pay-as-you-go’ AI agents
microsoft copilot introduce ai agents free enterprise subscription tier m365 465350 blog 250110 1 1260

Microsoft will begin offering access to AI agents — specialized generative models that can operate independently and automate repetitive daily tasks — to enterprise users. The new program is called Microsoft 365 Copilot Chat and offers "pay-as-you-go agents to our existing free chat experience for Microsoft 365 commercial customers," the company announced Wednesday.

The "free plus metered agent usage" Microsoft 365 Copilot Chat offers many of the same features as the existing $30 per user per month "Microsoft 365 Copilot" enterprise program, including access to a chatbot powered by GPT-4o, Copilot Pages, file uploads, image and code generation, enterprise data protection, and, of course, to Copilot Studio, where individual users and IT departments alike can create AI agents. Note, however, that the free Chat program does not grant you access to the Copilot personal assistant, which integrates the AI's capabilities into the rest of the 365 Copilot app ecosystem such as Word, Outlook, and Excel.

Read more
This new DirectX feature could completely change how PC games work
A scene from Fortnite running in Unreal Engine 5.

Microsoft has announced that neural rendering capabilities are coming to DirectX soon. Cooperative vector support, as it's called, will lead to "cross-platform enablement of neural rendering techniques," according to Microsoft, and it will usher in "a new paradigm in 3D graphics programming."

It sounds buzzy, but that's not without reason. This past week, Nvidia announced its new range of RTX 50-series graphics cards, and along with them, it revealed a slate of neural rendering features. Neural shaders, as Nvidia calls them, allow developers to execute small neural networks from shader code, running them on the dedicated AI hardware available on Nvidia, AMD, Intel, and Qualcomm GPUs. Microsoft is saying that it will enable these features on all GPUs, not just those sold by Nvidia, through the DirectX API.

Read more
Microsoft Outlook and Teams are down — and might be for a while
Microsoft Outlook app landing page.

As reported by Deadline, over 5,000 people have reported issues with different Microsoft 365 apps since around 8 a.m. ET this morning. The outage is affecting worldwide usage of email and calendar services associated with Exchange, Outlook, and Teams.

https://twitter.com/MSFT365Status/status/1860973220662280356

Read more