The fastest way to make a dotted line in Illustrator
Create a dotted line in Illustrator by drawing a straight line, then opening the Stroke panel and enabling the Dashed Line option. Set the dash value to 0 and the gap value to your preferred spacing. This produces dots instead of dashes because the line itself has no length.
The Stroke panel sits on the right side of your workspace by default. If you do not see it, go to Window > Stroke to open it. You must have a line selected before the Stroke options become active.
Illustrator also lets you control dot size, spacing, and alignment—useful when you need dots to line up at corners or endpoints. The method changes slightly depending on whether you want uniform dots or dots that adjust to fit your line length.
Key Takeaways
- Draw a line with the Pen tool or Line Segment tool, then select it before opening the Stroke panel.
- Enable Dashed Line in the Stroke panel, set dash to 0, and adjust the gap value to control dot spacing.
- Use the Dash and Gap values together to create evenly spaced dots that scale with your line.
- The Align Dashes to Corners and Path Ends option ensures dots land at endpoints instead of being cut off.
Drawing the line you want to convert to dots
Start by creating a straight line using either the Pen tool or the Line Segment tool. The Line Segment tool is faster for straight lines—find it in the toolbar on the left, or press the backslash key. Click once to set the starting point, then click again to set the endpoint. Hold Shift while clicking to constrain the line to 45-degree angles.
If you use the Pen tool instead, click twice to create two anchor points, then press Enter to finish the path. Either method produces a line you can convert to dots.
The line does not need to be horizontal. Dotted lines work on diagonal, vertical, or curved paths. For curved paths, you will need to use the Pen tool to create the shape first.
Opening the Stroke panel and enabling dashed lines
With your line selected, open the Stroke panel by going to Window > Stroke. The panel displays stroke weight, cap style, join style, and a checkbox labeled Dashed Line. Click that checkbox to enable it.
Once dashed lines are enabled, two input fields appear: Dash and Gap. The Dash field controls how long each dash or dot appears. The Gap field controls the space between them. To create dots instead of dashes, set the Dash value to 0 or a very small number like 1 point.
Adjust the Gap value to control spacing between dots. A gap of 5 points creates tighter dots; a gap of 10 or 15 points spreads them further apart. The exact number depends on your stroke weight and how your design looks at actual size.
Making dots align to line endpoints
By default, Illustrator may cut off dots at the start or end of your line, leaving partial dots instead of complete ones. To prevent this, enable Align Dashes to Corners and Path Ends in the Stroke panel. This option appears below the Dash and Gap fields and ensures dots land exactly at endpoints.
When this option is on, Illustrator adjusts the gap spacing slightly so the pattern fits perfectly from start to finish. The visual difference is small on long lines but noticeable on short ones. This setting is especially useful when dots need to meet at corners or connect to other design elements.
Adjusting dot size and spacing for your design
Dot size depends on your stroke weight, not the Dash value. A thicker stroke produces larger dots. If your dots look too small, increase the stroke weight in the Stroke panel. If they look too large, decrease it. Most designs use stroke weights between 1 and 4 points for dotted lines.
Spacing between dots is controlled entirely by the Gap value. Start with a gap equal to your stroke weight—if your stroke is 2 points, try a gap of 2 points. Then adjust up or down based on how the line looks. Smaller gaps create a denser pattern; larger gaps create a more open one.
If you want dots that scale proportionally when you resize the line, make sure Scale Strokes and Effects is enabled in your transform options. This keeps the dot pattern consistent when you make the line larger or smaller.
Creating dotted lines on curved paths
Dotted lines work on curves the same way they work on straight lines. Draw your curve with the Pen tool, select it, then apply the dashed line settings from the Stroke panel. The dots follow the curve automatically.
On curves, the Align Dashes to Corners and Path Ends option becomes more important because it prevents dots from bunching up or spreading unevenly around bends. Enable it before adjusting your gap value so the dots distribute evenly along the entire path.
If you are creating a closed shape with a dotted outline, the dots will wrap around the entire perimeter. The alignment option ensures the pattern meets smoothly where the path closes.
Saving dotted line styles for reuse
Once you have created a dotted line you like, save it as a graphic style so you can apply the same settings to other lines without repeating the steps. Select your dotted line, then go to Window > Graphic Styles. Click the New Graphic Style button at the bottom of the panel. Name your style something descriptive like "Dotted Line 2pt".
To use the style on another line, select the line and click your saved style in the Graphic Styles panel. The stroke weight, dash settings, and all other properties apply instantly. You can create multiple styles for different dot sizes and spacings, then switch between them as needed.
Frequently Asked Questions
Why do my dots look like dashes instead of dots?
Your Dash value is too high. Set it to 0 or 1 point so the line itself has almost no length. The Gap value controls spacing between dots, not their appearance. If dots still look like dashes, lower the Dash value further.
How do I make dots appear at the exact corners of a shape?
Enable Align Dashes to Corners and Path Ends in the Stroke panel. This forces Illustrator to place dots at anchor points and endpoints instead of cutting them off. You may need to adjust the Gap value slightly after enabling this option.
Can I create dotted lines on text outlines?
Yes. Convert the text to outlines first by selecting it and going to Type > Create Outlines. Then select the resulting path and apply dotted line settings from the Stroke panel. The dots will follow the letter shapes.
What stroke weight should I use for dotted lines?
Most dotted lines use 1 to 4 points. Thinner strokes (1 to 2 points) work well for detailed designs; thicker strokes (3 to 4 points) are more visible from a distance. Adjust based on where your design will be viewed and how prominent you want the dotted line to be.
Do dotted lines scale when I resize the object?
Yes, if Scale Strokes and Effects is enabled in your transform options. The dots and gaps will grow or shrink proportionally with the line. If you want the stroke weight to stay fixed while the line resizes, disable this option instead.