If you want to create a dotted stroke in Illustrator, follow these simple steps:

  1. Select the object you want to create the stroke with.
  2. Click the Stroke button (or press S).
  3. In the Stroke Options dialog box, select the Dotted option.
  4. Enter a value for the Width field (in pixels), and click OK. ..