A loose or missing button is one of the most common clothing repairs, and it takes about five minutes to fix by hand. This guide shows you how to sew a button on properly, so it stays put: flat buttons with two or four holes, shank buttons, and how to add a thread shank so the button sits right on thick fabric like a coat.
What you need

- A hand-sewing needle (a medium "sharps" needle works for most fabrics)
- Thread that matches the button or the garment. All-purpose polyester is fine; use button or upholstery thread for coats and heavy bags.
- Scissors
- A pin, toothpick or matchstick (used as a spacer)
- Optional: a thimble, and a little beeswax or a thread conditioner to stop tangling
Step 1: Mark where the button goes
If you are replacing a lost button, look for the old thread holes or a small mark on the fabric. If not, close the garment and push a pin through the center of the buttonhole into the fabric underneath. That pin point is where the center of the button goes.
Step 2: Thread the needle and knot it
Cut about 24 inches (60 cm) of thread. Pass it through the needle and pull the ends together so the thread is doubled. Tie a knot at the ends. A doubled thread makes the button twice as strong with the same number of stitches.
Step 3: Anchor the thread
Start from the back (wrong side) of the fabric and push the needle up through your mark. Take one small stitch at the same spot to lock the knot in place. This keeps the knot from pulling through loose weaves.
Step 4: Sew a flat button with two holes

- Push the needle up through one hole of the button and slide the button down the thread onto the fabric.
- Lay a pin or toothpick across the top of the button, between the holes. This spacer leaves a little slack so the button is not stitched too tight.
- Go down through the second hole and through the fabric, then come back up through the first hole.
- Repeat 5 to 6 times. Keep the stitches in the same holes in the fabric so the back stays neat.
Step 5: Sew a flat button with four holes
Four-hole buttons are sewn the same way, but you choose a pattern for the stitches:
- Two parallel lines (=): sew one pair of holes 4 to 5 times, then move to the other pair. This is the look on most shirts.
- A cross (X): sew diagonally across the holes. It is a little stronger and works well on cardigans and coats.
Whichever you choose, keep the spacer pin on top while you sew.
Step 6: Make a thread shank

The shank is a short "stem" of thread between the button and the fabric. It gives the buttonhole room to sit under the button, so the garment closes smoothly and the thread does not wear through.
- Remove the pin or toothpick.
- Bring the needle up through the fabric (not through the button), so it comes out under the button.
- Lift the button away from the fabric and wrap the thread tightly around the stitches under it, 4 to 6 times.
- Push the needle back down to the wrong side of the fabric.
For thick fabric like wool coats or denim jackets, make the shank longer: use a matchstick as the spacer instead of a pin.
Step 7: Tie off on the back
On the wrong side, take two or three tiny stitches through the threads behind the button, pulling the needle through the loop each time to make a knot. Cut the thread, leaving a short tail.
How to sew a shank button
A shank button has a loop on its back instead of holes. It already has its own stem, so you do not need a spacer or a thread shank.
- Anchor the thread at your mark as above.
- Place the button so the shank loop lines up with the buttonhole direction (usually horizontal on coats).
- Stitch through the shank loop and the fabric 6 to 8 times.
- Tie off on the back.
Can you sew a button with a sewing machine?
Yes, for flat buttons. Many machines have a button sewing foot. Lower or cover the feed dogs, set a zigzag stitch whose width matches the distance between the button holes, and turn the handwheel slowly by hand for the first stitch to check the needle clears the button. Sew about 8 to 10 zigzags, then pull the threads to the back and knot them. Shank buttons still need to be sewn by hand.
Tips so your buttons stay on
- Add a backing button on coats and bags: a small flat button on the inside, sewn at the same time, spreads the strain and stops the fabric from tearing.
- Use stronger thread for buttons that take a lot of pull, like jeans and jackets.
- Seal the knot with a tiny dot of clear nail polish or fabric glue on the back.
- Fix loose buttons early. Re-sewing a wobbly button takes less time than finding a lost one.
Frequently asked questions
How many times should you sew through a button?
With doubled thread, 5 to 6 passes through each pair of holes is enough for most garments. Coats and bags can take 8 or more.
Should the thread be single or doubled?
Doubled thread is stronger and is the usual choice for buttons. Use single thread only for very small or delicate buttons where a doubled thread would not fit through the holes.
Why does my button keep falling off?
The most common reasons are no shank (the thread rubs against the buttonhole and wears through), too few stitches, or a weak knot. Add a thread shank and tie off with two or three locking stitches.
What color thread should I use?
Match the thread to the button, or to the other buttons on the garment. On shirts, white or clear-looking thread is the safe choice.
Ready for your next sewing project?
Once you can sew on a button, you can finish many handmade projects. Our Teddy Bear Sewing Pattern and Memory Bear & Bunny Sewing Pattern make great gifts, or browse all our printable PDF sewing patterns with step-by-step instructions.