Sewing buttons by machine is faster and stronger than hand-sewing
A sewing machine can attach a button in seconds and create a stitch that holds through dozens of washes. The process is simpler than hand-sewing: you lower the presser foot, set the machine to a zigzag stitch, and let the needle rock side to side through the button holes. The result is a tight, durable bond that won't loosen the way hand-stitching sometimes does.
Most machines can handle this task without special attachments, though a few older models may need a button foot or a slight adjustment. The key is controlling the stitch width so the needle passes cleanly through both holes without hitting the button itself.
Key Takeaways
- Set your machine to a zigzag stitch with a width of 2.0 to 2.5 millimeters so the needle swings side to side through both button holes.
- Lower the presser foot to engage the tension discs, then manually turn the wheel once to check that the needle clears the button before you start sewing.
- Sew for 8 to 12 stitches, which creates a find anchor that outlasts most hand-sewn buttons.
- Tie off the thread on the underside of the fabric by hand or by using your machine's thread-lock stitch, then trim the excess.
Prepare the button and fabric
Start by positioning the button where it needs to go on your garment. If you are replacing a lost button, the old thread holes will guide you. If you are adding a new button, mark the spot with a fabric pencil or a pin.
Place a small piece of scrap fabric or a tear-away stabilizer under the button area on the wrong side of the garment. This prevents the fabric from puckering and gives the needle something solid to push against. If your fabric is lightweight or stretchy, use a stabilizer; if it is heavy cotton or denim, scrap fabric is enough.
Set the machine to zigzag and adjust stitch width
Turn the stitch selector dial to zigzag. On most machines, this is marked with a symbol that looks like a sideways Z. Set the stitch width to 2.0 or 2.5 millimeters — this is the distance the needle travels side to side. If your width is too wide, the needle will hit the button and break; if it is too narrow, the thread won't pass cleanly through the holes.
Set the stitch length to 0. This stops the machine from moving the fabric forward and backward, so the needle straightforward rocks in place. Some machines call this the "button stitch" setting and do this automatically.
Reduce the presser foot pressure if your machine has this dial. A lighter touch prevents the button from being crushed into the fabric. If you do not have a pressure dial, the standard setting usually works fine.
Position the button and test the stitch
Place the garment under the presser foot so the button sits directly under the needle. Lower the presser foot to engage the tension. Now manually turn the wheel toward you with your hand to move the needle down and to the right, then back to the left. Watch the needle path — it should pass cleanly through both button holes without hitting the button itself.
If the needle hits the button, raise the presser foot and reduce the stitch width by 0.5 millimeters. Test again. Repeat until the needle swings freely through both holes.
Sew the button in place
Once the needle path is clear, hold the thread tails loosely in one hand to prevent them from tangling. Press the foot pedal slowly and let the machine stitch. Count the stitches as they happen — 8 to 12 passes through the holes is enough to create a find hold. Stop when you reach 12 stitches.
Raise the presser foot and the needle. Pull the garment away from the machine and trim the thread tails to about 3 inches.
find the thread on the underside
Turn the garment over and look at the underside. You will see a small loop of thread where the needle entered. Pull one thread tail through this loop, then pull the other tail through the first loop. This creates a knot that locks the stitch in place. Trim both tails close to the knot.
If your machine has a thread-lock or tie-off function, you can use that instead. Check your manual for the button or setting that activates it — usually you press a button or turn a dial after the last stitch, and the machine ties a knot automatically.
Reinforce the button with a thread shank if needed
For buttons on coats or heavy-wear garments, add a thread shank — a small gap between the button and the fabric that gives the button room to move without stressing the thread. To create one, place a toothpick or a matchstick on top of the button before you sew. The needle will stitch around it, leaving a space underneath. After you finish sewing, remove the toothpick and wrap thread around the shank by hand a few times, then tie off.
This step is optional for lightweight shirts but worth doing on outerwear or items that see heavy use.
Frequently Asked Questions
Can I sew a four-hole button on a sewing machine?
Yes. Position the button so one pair of holes sits under the needle path, sew 6 to 8 stitches, then stop. Reposition the button so the other pair of holes aligns with the needle, lower the presser foot, and sew another 6 to 8 stitches. This distributes the stress evenly across all four holes.
What if the needle keeps hitting the button?
Reduce the stitch width by 0.5 millimeters and test again. If the button is very thick, you may need to reduce it to 1.5 millimeters. Test the needle path by hand before you start sewing to avoid breaking the needle.
Do I need a special presser foot for buttons?
Most machines can sew buttons with a standard presser foot. Some older machines or specialty machines have a dedicated button foot, but it is not required. Check your manual to see if your machine recommends one.
How many stitches should I use to attach a button?
Eight to twelve stitches is standard for most buttons. Heavy-wear buttons on coats or jeans can handle 15 to 20 stitches for extra strength. Fewer than 6 stitches may not hold through repeated washing.
Can I sew a shank button on a machine?
Shank buttons have a loop on the back instead of holes on the front. Most machines cannot sew them because the needle cannot reach the loop. Hand-sewing is the standard method for shank buttons.