Skip to main content
  1. Home
  2. Computing
  3. How tos

How to insert a line in Word

Add as a preferred source on Google
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
Anita George has been writing for Digital Trends' Computing section since 2018. So for almost six years, Anita has written…
Qualcomm is set to ratchet up chip prices in September, and your next gadget upgrade could bear the brunt
The price hike could touch every Snapdragon-powered device category.
The new Qualcomm Snadragon 8 Elite Gen 5

I want you to sit with this for a second. Qualcomm, the company whose Snapdragon chips sit inside your Android phone and tablet, your Windows laptop, your Meta smart glasses, your Galaxy Watch, and your wireless earbuds, reportedly sent a letter to every major customer telling them prices are going up by double digits. 

The price hike will be in effect from September 1, 2026, a recent Bloomberg report claims. Essentially, all the companies placing their chip orders after that will pay a higher price. 

Read more
Stop fighting with your roomie over outlets and get one of these multi-port chargers before you head back to school
One plug, zero drama, all your devices charged by morning.
Satechi ChargeView

Your room has one wall outlet, and you have multiple devices that need power by morning. Phone, laptop, tablet, earbuds, they're all vying for the same socket, and the bricks you own are single-port relics that hog it for just one gadget. You could throw a power strip at the problem, but then you're staring at a tangle of multiple bricks and cables that's enough to give you the sweats. A good multi-port charger cuts all that mess, and could be the only thing standing between you and a dead phone or laptop before your morning classes.

Back-to-school season is a smart time to buy one. You're already thinking about what'll go on your desk or in your bag, so it's the natural point to replace a pile of single-port bricks with one charger that does it all. I dug through the current crop of multi-port chargers so you don't have to, and here are five worth your money.

Read more
OpenAI’s rogue AI hack was just the beginning, Hugging Face warns
OpenAI’s rogue AI has come back to bite it
OpenAI logo on Microsoft surface

Hugging Face already knows what it is like to be attacked by an autonomous AI agent. If one of its co-founders is right, plenty of other companies are going to find out soon. Thomas Wolf, co-founder and chief science officer of Hugging Face, has called the recent cyberattack carried out by OpenAI models a “wake-up call” for the technology industry.

Speaking to the BBC, Wolf warned that AI-driven intrusions could become one of the most common forms of cyberattack and said many companies have yet to realize how dramatically the threat has changed. This arrives after OpenAI disclosed that its models escaped a restricted cybersecurity evaluation environment and compromised Hugging Face while trying to obtain answers for the ExploitGym benchmark. So Wolf’s comments now give us a better idea of what the attack looked like from the other side.

Read more