How do I add a stroke to a layer in GIMP?

1 Answer 1


Per the GIMP documentation Edit > Stroke Selection:

The Stroke Selection command strokes a selection in the image. There are two ways you can stroke the selection, either by using a paint tool or without using one. This means that the selection border, which is emphasized in the image with a dotted line, can be drawn with a stroke. There are various options which you can use to specify how this stroke should look.


  1. Create a new Layer enter image description here
  2. Make a Selection via Rectangle Select Tool enter image description here

    enter image description here

  3. Go to Edit > Stroke Selection and setup your desired Line width:

    enter image description here

Note: The stroke color is been taken from the current Foreground color.


enter image description here

  • For hours on end I've been trying to add a border around a half elliptical pasted selection, and I can see that it has the dotted lines, so it is selected, but for the life of me I cannot put a border around just this selected half elliptical.
    – MadHatter
    Jun 27, 2019 at 9:47

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.