Zippers

Sewing, zipper fixes and clothing repair

How to Sew a Buttonhole by Hand & Machine

· 7 min read · Zipper Repair

In this article
  1. What a Buttonhole Actually Is
  2. Tools and Materials You Need
  3. How to Sew a Buttonhole by Hand: Step-by-Step
  4. How to Sew a Buttonhole with a Sewing Machine
  5. Choosing the Right Method for Your Fabric
  6. Common Problems and How to Fix Them
  7. Frequently Asked Questions
  8. Safety and Care Tips for Buttonholes

To sew a buttonhole, you first create a narrow rectangular slit in the fabric and then bind its raw edges with dense, closely spaced stitches—either by hand using a buttonhole stitch, or automatically with a sewing machine's built-in buttonhole program. The exact method depends on your fabric, button size, and whether you prefer hand control or machine speed, but the core principle is always the same: reinforce the slit so it won't fray or tear under repeated use.

What a Buttonhole Actually Is

A buttonhole is a reinforced opening in fabric that allows a button to pass through and secure a garment or item. The reinforcement is essential because a simple slit in woven fabric will quickly fray and enlarge with use. Historically, buttonholes were hand-sewn with a specialized stitch called the buttonhole stitch (a type of blanket stitch with an extra twist) that creates a firm, dense edge. Modern sewing machines replicate this with zigzag or satin stitches, often automatically. The two main styles are the horizontal buttonhole (for most shirts and blouses, where stress pulls across the grain) and the vertical buttonhole (for cuffs and plackets, where stress pulls along the grain). Keyhole buttonholes have a small round opening at one end to accommodate a shank button.

Tools and Materials You Need

For hand-sewing a buttonhole, you need a sharp needle (a #7 or #8 crewel or embroidery needle works well), thread that matches your fabric (cotton or polyester, or a heavier buttonhole twist thread for durability), small sharp scissors, and a marking tool (tailor's chalk or a fabric pen). For machine-sewing, you need a sewing machine with a buttonhole foot and a buttonhole stitch function—most modern machines have a one-step or four-step automatic buttonhole. You also need the actual button that will be used, because the machine measures the buttonhole length from the button's diameter plus thickness. Optional but helpful: a seam ripper for opening the slit, and a small piece of interfacing or stabilizer to support stretchy or delicate fabrics.

How to Sew a Buttonhole by Hand: Step-by-Step

  1. Mark the position: Use chalk or a fabric pen to draw a straight line the length of your button's diameter plus its thickness (about 2–3 mm extra). Mark the center point and the two ends.
  2. Cut the slit: Using sharp small scissors, carefully cut along the marked line. For a keyhole, cut the straight line and then snip a tiny circle at one end.
  3. Thread your needle: Use a single thread about 50 cm long, knotted at the end. Double thread is stronger but harder to pull through dense stitches.
  4. Start the buttonhole stitch: Bring the needle up from the back of the fabric, about 1–2 mm from the cut edge. Insert the needle from the front into the fabric, then bring it up through the loop formed by the thread before pulling tight. This creates a purled edge that lies firmly against the slit.
  5. Work around the entire slit: Continue the buttonhole stitch around the full perimeter, keeping stitches close together (about 1 mm apart) and even in tension. At the ends, make a few extra stitches (a bar tack) by sewing over the same spot several times to reinforce.
  6. Finish: Weave the thread to the back and secure with a small knot. Repeat on the other side if you started from the middle.

How to Sew a Buttonhole with a Sewing Machine

  1. Attach the buttonhole foot and select the buttonhole stitch on your machine. If using a one-step buttonhole, place the button in the foot's holder (the foot will measure it automatically).
  2. Stabilize the fabric: For stretchy or thin fabrics, apply a small piece of water-soluble stabilizer or interfacing on the underside to prevent puckering.
  3. Position the fabric: Place the marked area under the foot, aligning the center line with the foot's guide. Lower the foot and start the stitch—the machine will sew the left side, the right side, and the end bars automatically.
  4. Open the slit: After stitching, remove the fabric from the machine. Use a seam ripper or small scissors to cut the slit between the two rows of stitches. Be careful not to cut the stitches themselves. Place a pin at the end of the slit to prevent cutting through the bar tack.
  5. Finish: If your machine didn't automatically tie off, pull the threads to the back and knot them. For a cleaner look, apply a drop of fray-check liquid or a tiny bit of clear nail polish to the cut edges if the fabric is prone to fraying.

Choosing the Right Method for Your Fabric

Hand-sewn buttonholes give you more control and are ideal for delicate fabrics like silk, wool, or couture garments where you want a soft, flexible edge. They also work well on thick fabrics like coats, where a machine may struggle to penetrate multiple layers. Machine buttonholes are faster and more uniform, making them perfect for everyday cotton, linen, or polyester blends. For stretchy knits, use a machine with a stretch buttonhole setting or add interfacing. For leather or vinyl, you need a Teflon foot and a longer stitch length, and you should test on a scrap piece first. Always test both methods on a scrap of your actual fabric to see which looks and behaves better.

Common Problems and How to Fix Them

  • Fraying edges: Increase stitch density or use interfacing. For hand-sewn, make sure your stitches are close together and the purl edge is tight.
  • Buttonhole too small or too large: Re-measure the button. The slit should be the button's diameter plus its thickness (for a flat button) or the shank length (for a shank button).
  • Machine skips stitches: Use a new needle (size 70/10 for fine fabrics, 90/14 for heavy), and ensure the fabric is not too thick for the foot.
  • Puckering: Use a stabilizer or reduce the presser foot pressure. Also try a smaller stitch length.
  • Cutting the stitches when opening the slit: Always place a pin horizontally across the end of the slit before cutting—this stops the seam ripper from going too far.
  • Uneven hand stitches: Practice on scrap fabric, and keep the same distance from the cut edge and the same stitch spacing.

Frequently Asked Questions

How long should a buttonhole be?

The buttonhole should be the button's diameter plus its thickness, plus a tiny bit of ease (about 1–2 mm) so the button slips through without force. For a flat button, measure the diameter and add the thickness. For a shank button, add the shank length instead of thickness.

Can I sew a buttonhole without a special machine foot?

Yes, you can sew a manual buttonhole using a zigzag stitch. Set the stitch width to the desired buttonhole width, sew one side with a dense zigzag, then the other side, and finish with a few straight stitches at each end. It takes practice and is less uniform than an automatic buttonhole, but it works.

Why does my machine buttonhole have a gap at one end?

This usually happens when the buttonhole foot is not properly aligned or the machine's sensor is not reading the button correctly. Re-insert the button in the foot, ensure the fabric is flat, and test on a scrap. Also check that the upper thread tension is correct—too loose can cause gaps.

What is the best thread for buttonholes?

For hand-sewn buttonholes, use a heavy, non-stretch thread like buttonhole twist or a doubled regular sewing thread. For machine buttonholes, regular all-purpose polyester thread works well. Avoid thick threads in a machine unless your machine is designed for them, as they can cause tension issues.

How do I sew a buttonhole on stretchy fabric?

Use a stabilizer on the back (like a water-soluble or tear-away) to prevent stretching. If your machine has a stretch buttonhole setting, use it—it creates a more flexible stitch. Alternatively, hand-sew with a slightly looser tension to allow some give.

Safety and Care Tips for Buttonholes

Always test your buttonhole on a scrap piece of the same fabric before working on the actual garment. This ensures the stitch density, size, and tension are correct. When using a seam ripper, keep your fingers clear of the blade and work on a flat surface. For ironing, follow the fabric's care label: cotton can take high heat, but synthetics need low heat or a pressing cloth. Never iron directly over a machine buttonhole with a hot iron, as the synthetic thread can melt. For hand-washed garments, buttonholes may shrink slightly; allow extra ease if you plan to wash in hot water. Finally, if you are sewing buttonholes on children's clothing, make sure the slit is not too large, as a button could become a choking hazard if it slips out easily.