If I have a line segment with a stroke on it in Illustrator, is there any way to snap to the edges of that stroke instead of the middle? I know I could convert the stroke to a path, but I don't want to do that because I may want to change the stroke width later on. I've included a screenshot below to demonstrate what I'm talking about.


Is this possible? And, if not, are there any good workarounds?

  • I believe this was added to the new version. But even if it wasnt you can allways expand a copy of the stroke. (This leaves the stroke intact)
    – joojaa
    Commented Feb 25, 2021 at 19:30
  • Can you explain what you mean by "expand a copy of the stroke," @joojaa? Commented Feb 26, 2021 at 0:32
  • 1
    Ctrl+c, ctrl+f, expand, snap, delete/hide expanded shape
    – joojaa
    Commented Feb 26, 2021 at 5:38

1 Answer 1


The easiest way, like joojaa suggested, is to duplicate and expand (i.e. convert the stroke to a path). Then you group the two so you can transform them together.

If the path is closed you can play with the 'align stroke' parameter (stroke panel) to have it be internal or external.

  • Why store the expanded one you can allways remake it?
    – joojaa
    Commented Feb 27, 2021 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.