A sewing machine can attach a button faster and more securely than hand sewing
A sewing machine button attachment takes about two minutes once you set it up, and the stitches hold through dozens of washes. The machine does the work of looping thread through the button holes repeatedly, which creates a stronger bond than most people manage by hand. You will need a button with two or four holes, thread that matches your garment, a sewing machine with a straight stitch, and a stabilizer (even a scrap of fabric works).
The basic process: place the button on your garment with a stabilizer underneath, lower the presser foot, and run the machine so the needle passes through one hole and then the other, building up thread layers. Most machines complete this in a single forward-and-back motion or a few short runs. The result is a button that will not come loose.
Key Takeaways
- Use a stabilizer under the button — even a small scrap of fabric prevents the button from pulling through the garment material.
- Set your machine to a straight stitch with the width adjusted so the needle passes cleanly through both button holes without hitting the button itself.
- Lower the presser foot before you start sewing, even though the button sits on top of the fabric — this engages the tension discs.
- Sew forward and backward three to five times to build up enough thread layers that the button will not fall off after repeated wear.
- Tie off the thread on the underside of the garment by hand or by running a few stitches in place, then trim the excess.
Setting up your machine and stabilizer
Place your garment on the sewing machine bed with the button positioned where it needs to go. Slide a small piece of scrap fabric — cotton, muslin, or even a folded paper towel — underneath the button on the wrong side of the garment. This stabilizer prevents the button from sinking into the fabric or pulling through during sewing. The stabilizer does not need to be large; a square two inches by two inches is enough.
Thread your machine with thread that matches the garment color. Wind a bobbin if yours is empty. Position the button so it sits flat on the garment surface, and lower the presser foot all the way down. Even though the button is raised above the fabric, lowering the foot engages the tension discs and holds everything in place. If your machine has a button-sewing mode or a special foot, consult your manual — some machines have a dedicated button foot that holds the button steady.
Adjusting stitch width so the needle clears the button
The needle must pass through one hole of the button, then swing across to the other hole, without hitting the button body itself. Set your stitch width to match the distance between the holes. For most buttons, this is somewhere between 2.0 and 3.0 millimeters — you can measure the hole spacing with a ruler or straightforward test on scrap fabric first.
Turn the handwheel by hand (not the motor) to watch the needle move. It should enter one hole, swing to the other hole, and exit cleanly without striking the button. If the needle hits the button, reduce the width slightly. Once the width is correct, you are ready to sew. Leave the stitch length at its normal setting — usually around 2.5 — because you will control how many passes you make by hand.
Sewing the button in place with multiple passes
Hold the thread tails loosely in one hand to prevent them from tangling. Press the foot pedal gently and let the machine run forward for one complete stitch cycle — the needle will go down through one hole and up through the other. Stop and reverse, running backward for one cycle. This creates an X pattern of thread.
Repeat this forward-and-backward motion three to five times, depending on how much wear the button will see. A shirt button needs fewer passes than a coat button. After each pass, pause and check that the thread is not tangling and the button has not shifted. Once you have enough thread layers, stop with the needle in the up position, raise the presser foot, and remove the garment.
Finishing the thread on the underside
Pull the garment away from the machine and trim the thread tails to about three inches. On the wrong side of the garment, tie the thread ends together with a square knot — loop one tail over the other, then back under and over again. Pull tight so the knot sits close to the button.
Alternatively, thread a hand needle with the machine thread tails and make three or four small stitches in place on the wrong side, then trim. Either method secures the button so it will not unravel. Trim any excess thread close to the knot or stitches. The button is now ready to use and should hold through many wash and wear cycles.
Two-hole versus four-hole buttons
A two-hole button requires the needle to swing back and forth between the same two holes. Set your stitch width to the distance between those holes and sew as described above. The result is a straightforward parallel line of thread.
A four-hole button gives you more options. You can sew the top two holes together, then the bottom two holes together, creating two separate thread lines. Or you can sew diagonally from top-left to bottom-right, then from top-right to bottom-left, creating an X. To sew four-hole buttons, you will need to reposition the button between passes or adjust your stitch width. Many sewers find it easier to hand-sew four-hole buttons or to use a dedicated four-hole button foot if their machine has one.
Troubleshooting common problems
If the needle keeps hitting the button, your stitch width is too wide. Reduce it by 0.5 millimeters and test again on scrap fabric. If the button is sinking into the garment or pulling through, you forgot the stabilizer — remove the button and start over with a stabilizer in place underneath.
If the thread is tangling or bunching, check that the presser foot is fully lowered and that you are holding the thread tails loosely, not pulling them tight. If the button shifts during sewing, the presser foot may not be down all the way, or the button may be too loose under the foot. Raise the foot, reposition the button, and lower the foot again before resuming.
If the thread breaks, your machine may be running too fast for the delicate motion of button sewing. Slow down by pressing the foot pedal more gently, or use a slower speed setting if your machine has one. If breakage continues, check that your thread is not old or brittle, and that the needle is inserted correctly and not bent.
Frequently Asked Questions
Can I sew a button on a delicate fabric like silk or chiffon?
Yes, but use a thicker stabilizer underneath — two or three layers of fabric or a piece of tear-away stabilizer designed for embroidery. Delicate fabrics need more support to prevent the button from pulling through. Sew fewer passes (two or three instead of five) to avoid weakening the fabric with too many needle holes.
What if my button has a shank — a metal loop on the back instead of holes?
A shank button cannot be sewn on a sewing machine using the method described here. Hand-sew a shank button by threading a needle, passing it through the shank loop multiple times, and tying off on the underside. A shank button needs hand sewing because the machine cannot reach the loop.
Do I need special thread for button sewing?
Regular sewing thread works fine. If you want extra durability, use buttonhole thread or upholstery thread, which is thicker and stronger. Match the color to your garment so the stitches blend in. Avoid very thin thread like silk thread, which can break under the stress of button sewing.
How many times should I sew back and forth?
Three to five passes is standard. A shirt button on a garment worn daily needs at least four passes. A coat button or a button on a child's garment should have five or more. The more passes, the stronger the attachment, but too many passes can weaken the fabric underneath.
Can I sew a button on a stretchy fabric like knit or jersey?
Yes, but use a stabilizer on both sides of the fabric — one underneath and one on top, sandwiching the button between them. This prevents the stretchy fabric from distorting under the needle. After sewing, carefully tear away the stabilizer. Stretchy fabrics need extra support because they move more than woven fabrics.