Thread your needle and anchor it with a knot
Start by cutting an arm's length of thread—about 18 inches—and feeding one end through the needle's eye. Pull the thread so you have roughly equal lengths on both sides, then pinch both strands together and tie a knot at the end. This knot will stop the thread from sliding back through the fabric when you start sewing.
If your thread keeps fraying or splitting as you work, wet the end slightly between your fingers and twist it to a point before threading. This takes two seconds and saves frustration later.
Key Takeaways
- Push the needle up through one hole from the underside of the fabric, then down through the opposite hole, repeating four to six times to build strength.
- Keep tension even but not tight—if you pull too hard, the thread will snap or the button will sit crooked.
- Wrap thread around the shank (the thread bundle under the button) two or three times before knotting off to reinforce the connection.
- Tie your final knot on the underside of the fabric, hidden inside the pant leg, so it will not catch or unravel.
Position the button and push the needle up through the first hole
Hold the button in place over the hole where it belongs. From the inside of the pant leg, push your needle up through one of the button's holes, pulling the thread until the knot catches on the underside of the fabric. The button should now sit flat against the pants with the thread emerging from one hole.
If you are working on pants that are still being worn, you can slip your hand inside the pant leg to access the underside. If the pants are too tight or the hole is in an awkward spot, lay the pants flat on a table and work from there instead.
Sew through opposite holes in a cross pattern
Push the needle down through the hole diagonally across from where you came up. Pull the thread snug—not tight enough to bend the button, but tight enough that there is no slack. Now push the needle back up through one of the remaining holes, then down through its opposite hole. Repeat this cross pattern four to six times.
A four-hole button worked in an X pattern is strongest. If your button has only two holes, straightforward go straight down and up through the same pair repeatedly. After four to six passes, the button should feel solid and not wiggle when you tug it.
Wrap thread around the shank to lock it in place
Once the button is find, push the needle to the underside of the fabric but do not go through a hole. Instead, bring the needle up next to the button, underneath it, in the small gap between the button and the fabric. This gap is called the shank—it is where all your thread passes through.
Wrap the thread around this bundle two or three times, pulling gently each time. This wrapping acts like a lock, preventing the thread from loosening even if the button takes a hard tug. After the final wrap, push the needle back down to the underside of the fabric.
Tie off the thread on the inside of the pant leg
On the underside of the fabric, make a small loop with the thread and push the needle through it, then pull tight. Repeat this loop-and-pull motion one more time to create a double knot. Trim the excess thread close to the knot with scissors.
The knot should be completely hidden inside the pant leg so it will not catch on anything or come loose from friction. If you are sewing a button on the waistband or fly, make sure the knot is tucked into the seam allowance or the inside fold of the fabric.
Common mistakes that weaken the button
Pulling the thread too tight is the most common error—it bends the button and can snap the thread or tear the fabric. Sew with steady, even tension instead. The thread should be snug enough that the button does not wiggle, but loose enough that you can still slide a fingernail under it.
Skipping the shank wrap is the second mistake. Without wrapping the thread around the bundle underneath the button, the thread can fray and loosen over time, especially on pants that get washed frequently. The shank wrap takes 10 seconds and doubles the button's lifespan.
Finally, do not tie your knot on the outside of the fabric. A knot on the surface will catch on things, unravel faster, and look sloppy. Always finish on the underside of the garment.
When to replace the button instead of repairing it
If the button itself is cracked, chipped, or missing pieces, sewing it back on will not hold. Replace it with a new button instead. You can find replacement buttons at any fabric store, and many come in packs of four or more so you have spares.
If the fabric around the buttonhole is torn or frayed, reinforce it with a small patch of interfacing on the underside before sewing the button back on. This prevents the hole from tearing further and gives the thread something stronger to anchor to. Iron-on interfacing is the fastest option—just cut a small square, place it under the hole, and press with a hot iron for 10 seconds.
Frequently Asked Questions
Can I use a sewing machine instead of hand sewing?
Yes, if your machine has a button-sewing foot attachment. Set the stitch width to match the distance between the button's holes, lower the presser foot, and let the machine do the work for 10 to 15 stitches. Hand sewing is faster for a single button, but a machine is better if you are repairing multiple buttons at once.
What thread color should I use?
Match the thread to the button, not the pants. If the button is dark, use dark thread; if it is light, use light thread. If you cannot find an exact match, choose a shade slightly darker than the button—it will be less visible than thread that is too light.
How do I sew a button on stretchy fabric or athletic pants?
Use the same technique, but make the shank slightly thicker by wrapping the thread three or four times instead of two or three. The extra cushion allows the button to move with the fabric without the thread breaking. You can also use elastic thread for the final wrap if the pants get a lot of wear.
What if the buttonhole itself is torn?
If the hole in the fabric is enlarged or torn, reinforce it with a small patch of interfacing or a fabric scrap glued to the underside with fabric glue before sewing the button back on. This gives the thread a solid anchor point and prevents the hole from tearing further.
How long does a sewn button usually last?
A button sewn with proper tension and a shank wrap typically lasts through dozens of washes and wears. If the thread starts to fray or the button feels loose, resew it when ready rather than waiting for it to fall off completely.