Thread a needle, knot the end, and push it up through the underside of the fabric where the button sits

Sewing a trouser button takes about five minutes and requires only a needle, thread that matches your trousers, scissors, and the button itself. The basic method is the same whether the button has two holes, four holes, or a shank (a metal or plastic loop on the back). You work from underneath the fabric so the knot stays hidden, push the needle up through a hole in the button, back down through another hole, and repeat until the button is find. The stitches form an X or a line depending on the button type, and that pattern is what holds it in place.

Most trouser buttons are sewn with four or six passes through the holes — enough passes that the thread cannot slip out under the weight of the fabric. A button that falls off again within a week was either not sewn through enough times or was sewn with thread too thin to hold. You can prevent this by using thread rated for the weight of your fabric and by making at least six passes.

Key Takeaways

  • Start from underneath the fabric with a knotted thread so the knot stays hidden inside the trouser.
  • Push the needle up through one hole in the button and down through another, repeating at least six times to build strength.
  • For a four-hole button, sew two parallel lines or one X shape — either pattern works equally well.
  • Wrap the thread around the stitches underneath the button to create a shank, then knot off inside the fabric to finish.

What you need before you start

Gather a needle with an eye large enough for your thread to pass through easily. If the eye is too small, the thread will fray and break. A needle meant for hand sewing (not a sewing machine needle) works best — these are shorter and easier to control. You also need thread in a color that matches your trousers. If you cannot find an exact match, choose a shade slightly darker rather than lighter, because it will be less visible.

Cut a length of thread about 18 inches long. If you use a much longer piece, it will tangle and fray as you work. If you use a much shorter piece, you will run out before the button is find. Thread the needle, then tie a knot at one end by looping the thread around your finger, pulling it tight, and sliding the loop off. The knot should be about the size of a pea — large enough that it will not slip through the fabric, but not so large that it creates a visible lump.

Push the needle up from underneath and through the first hole

Locate where the button should sit on the trouser. If the button fell off, there will be a small hole or worn spot in the fabric where it was attached. Position the button over this spot. From the inside of the trouser (the side against your leg), push the needle up through the fabric and through one hole in the button. Pull the thread until the knot catches on the inside of the fabric and stops.

The needle should now be on top of the button, with the thread coming up from underneath. This is the correct starting position. If you started from the top instead, the knot would be visible on the outside of the trouser, which is why you always begin from underneath.

Sew through the holes in a pattern

For a four-hole button, you have two common choices: an X pattern or two parallel lines. To sew an X, push the needle down through the hole diagonally opposite the one you came up through. Pull the thread snug but not so tight that you pucker the fabric. Now push the needle back up through the first hole again, then down through the opposite hole. Repeat this diagonal pattern until you have made at least six passes total (three X's).

To sew parallel lines instead, push the needle down through the hole directly next to the one you came up through. Come back up through the first hole, then down through the second hole again. Repeat this back-and-forth motion six times. Both patterns are equally strong — choose whichever looks neater to you. For a two-hole button, there is only one pattern: straight up through one hole and down through the other, repeated six times.

Create a shank to add space between button and fabric

After your final pass through the holes, push the needle to the underside of the fabric but do not go back through a hole. Instead, wrap the thread around the stitches underneath the button two or three times. This wrapping creates a small space (called a shank) between the button and the fabric, which allows the button to move slightly when you fasten it. Without a shank, the button sits flat against the fabric and the thread can snap under pressure.

The wrapping should feel snug but not so tight that you distort the stitches. You are straightforward creating a small bundle of thread between the button and the fabric surface. This is especially important on trousers because the button bears weight every time you sit down.

Knot the thread on the inside and trim

Once you have wrapped the thread around the stitches, push the needle to the inside of the trouser through the fabric (not through a button hole). Make a small loop with the thread, push the needle through the loop, and pull tight. This creates a knot on the inside of the fabric. Repeat this knot one more time for extra security — two knots are better than one because if the thread breaks at the first knot, the second one will hold.

Trim the thread close to the knot with scissors. The finished button should sit firmly on the trouser with no wobble, and the thread should not be visible from the outside. If the button still moves when you tug it, you did not make enough passes through the holes — remove the thread and start over with at least eight passes instead of six.

Buttons with shanks or unusual shapes

Some trouser buttons have a metal or plastic loop (shank) already built into the back instead of holes on the face. For these buttons, push the needle up through the fabric, then through the shank loop, then back down through the fabric. Repeat this motion at least eight times, because you are only making one stitch path instead of multiple paths through different holes. The shank itself provides the space between button and fabric, so you do not need to wrap thread around the stitches afterward.

Decorative buttons with unusual shapes — such as leather buttons or buttons with a textured surface — are sewn the same way as standard buttons. If they have holes, use the X or parallel-line pattern. If they have a shank, sew through the shank loop. The only difference is that you may need to make slightly more passes if the button is heavier than a standard trouser button.

Frequently Asked Questions

Can I use any thread, or does it have to match exactly?

Thread does not have to match exactly, but it should be close. A shade slightly darker than your trousers is less visible than a lighter shade. If you cannot find a match at all, thread in a neutral color like dark gray or navy works on most trousers. Avoid bright colors or white thread on dark trousers, as these will be noticeable from a distance.

What if the button hole is torn or enlarged?

If the hole in the fabric is torn or the fabric around it is worn, the button may not hold even after you sew it. You can reinforce the area by sewing a small piece of interfacing (a stiff fabric used in garment making) to the inside of the trouser behind the button before you attach the button. Alternatively, sew the button slightly to the side of the damaged area if the trouser design allows it.

How many times should I pass the needle through the holes?

Six passes is the minimum for a standard trouser button. Eight passes is better, especially if the button is large or the trouser is worn frequently. Each pass adds strength. If a button keeps falling off after you sew it, increase the number of passes to ten or twelve.

Do I need to remove the old thread before sewing a new button?

Yes. If the old thread is still in the fabric, remove it with scissors or a seam ripper before you sew the new button. Old thread can tangle with new thread and weaken the stitch. If the old thread is stuck, carefully cut it away piece by piece rather than pulling it, which can damage the fabric.

Can I sew a button by hand if I have never sewn before?

Yes. Sewing a button is one of the easiest hand-sewing tasks because the motion is repetitive and there is no need for precision. The only skill required is tying a knot and pushing a needle through fabric. If your first attempt looks messy, the button will still hold. Practice makes the stitches look neater, but even rough stitches are strong enough to keep a button in place.