How to Machine Sew a Buttonhole

Written by

Bennie Wilder

:

December 1, 2026

How to Machine Sew a Buttonhole

Sewing a buttonhole by machine can feel intimidating the first time you try it. Those tiny, precise stitches look complicated, and one wrong move seems like it could ruin your whole project. The good news is that learning how to machine sew a buttonhole is far easier than most beginners expect, especially once you understand what your machine is actually doing.

A buttonhole is simply a reinforced opening that holds a button in place. Machines handle the tricky parts for you, stitching neat edges and securing the ends so the fabric will not fray. Whether you are finishing a shirt, a cushion cover, or your first pair of homemade trousers, this skill opens up a world of professional-looking results.

In this guide, you will find clear steps, helpful tips, and answers to common questions. Take it slow, practice on scraps, and you will be adding tidy buttonholes to your projects with real confidence before you know it.

Why Machine Sewing a Buttonhole Matters

Buttonholes appear on almost everything you sew, from cuffs to coats, so mastering them saves you time and frustration on nearly every project. A machine-stitched buttonhole is stronger, more even, and far quicker than working one by hand, which means your garments hold up better through repeated washing and daily wear.

There is also the satisfaction factor. Neat, uniform buttonholes instantly lift the quality of your work and make handmade pieces look shop-bought. Once you feel comfortable with the technique, you gain the freedom to tackle more ambitious patterns without fear. That confidence encourages you to keep learning, experimenting, and improving, turning a small technical skill into a genuine creative advantage you will use again and again.

Step-by-Step Guide to How to Machine Sew a Buttonhole

Follow These Seven
 Steps in Order

Follow these seven steps in order. Practice each one on a fabric scrap that matches your project before working on the real thing, and you will avoid most beginner mistakes.

Step 1: Gather Your Tools and Fabric

Start by collecting everything you need in one place so you are not searching mid-project. You will want your sewing machine, the buttonhole foot, matching thread, a seam ripper, a fabric marker, and the buttons you plan to use. Choose thread that suits your fabric weight, since heavier fabrics need stronger thread for durability.

Learning how to machine sew a buttonhole becomes much smoother when your workspace is tidy and your supplies are within reach. Check that your machine is threaded correctly and the bobbin is full, because running out halfway through leaves an uneven, unfinished edge that is tricky to fix.

Step 2: Attach the Buttonhole Foot

Swap your regular presser foot for the buttonhole foot that came with your machine. This special foot usually has a sliding back section where you place your actual button, allowing the machine to measure the correct length automatically. Snap or screw it into place following your machine manual, and give it a gentle tug to confirm it is secure.

Swap your regular presser foot

If your machine did not include this foot, check the model number online and buy a compatible one. Take a moment to slide the button into the back tray. This small setup step is what makes automatic buttonholes so accurate and repeatable across your project.

Step 3: Mark the Buttonhole Placement

Precise marking keeps your buttons evenly spaced and your finished piece looking professional. Use a fabric marker, chalk, or a removable pen to draw a straight line where each buttonhole should sit. Measure the distance between marks carefully, especially on shirts and jackets where uneven spacing is very noticeable. Swap your regular presser foot for the buttonhole foot that came with your machine.

Draw the line slightly longer than the button itself so it has room to pass through comfortably. Double-check your measurements against the button size before you stitch anything. Taking a few extra seconds here saves you from unpicking crooked or badly placed stitches later, which is one of the most common frustrations for beginners.

Step 4: Select the Buttonhole Stitch

Turn to your machine and choose the buttonhole stitch setting. Most modern machines display a small buttonhole icon, and many offer several styles such as square, rounded, or keyhole shapes. For general sewing, the standard square buttonhole works beautifully on almost any fabric.

Consult your manual if you are unsure which symbol matches which style, since settings vary between brands. Set the stitch width and density if your machine allows it, though the default settings usually work well. Once selected, the machine knows exactly how to machine sew a buttonhole in the size you programmed through the foot in the previous step.

Consult Your Manual 
If You Are Unsure

Step 5: Test on a Fabric Scrap

Never stitch your first buttonhole directly onto your finished garment. Grab a scrap of the same fabric, folded to match the layers of your project, and run a full test buttonhole. This shows you the true size, stitch density, and appearance before it counts.

Check that the button slides through easily after you open the test hole. If the stitches look too loose or too tight, adjust the settings and try again. This quick rehearsal builds your confidence and catches problems early, giving you real peace of mind before you commit to the actual piece.

Step 6: Sew the Buttonhole

Position your fabric under the foot so the marked line sits directly beneath the needle. Lower the presser foot and the buttonhole lever if your machine has one. Then press the pedal gently and let the machine guide the fabric on its own, stitching down one side, across the end, back up the other side, and finishing the second end.

Position your 
fabric under the foot

Keep your hands lightly on the fabric to steady it, but avoid pulling or pushing, since the feed dogs control the movement. Stay relaxed and let the machine do the precise work it was designed to handle.

Step 7: Open the Buttonhole

Once the stitching is complete, you need to cut the opening so the button can pass through. Place a straight pin across each end just inside the bar tacks, which stops your blade from slicing too far. Then use a seam ripper or small scissors to carefully cut through the fabric between the rows of stitching.

Work slowly and keep the cut centered. Test the opening with your button to make sure it slides through smoothly. Trim any loose threads, and your buttonhole is finished, neat, and ready to wear or gift.

Frequently Asked Questions

What Fabric Works Best For Beginners?

Medium-weight woven fabrics like cotton or linen are ideal for your first attempts. They hold their shape, feed evenly through the machine, and do not stretch out of place. Avoid slippery, very thin, or heavily stretchy materials until you feel comfortable, since they can shift or pucker. Adding a layer of interfacing behind your fabric also gives extra stability and cleaner results.

Why Does My Buttonhole Look Uneven?

Uneven stitches usually come from inconsistent fabric feeding or incorrect tension settings. Make sure you are not pulling or pushing the fabric while sewing, as this disrupts the machine’s rhythm. Check that your thread tension is balanced and your bobbin is wound smoothly. Using interfacing helps too, since it prevents the fabric from stretching and keeps both sides of the stitching looking crisp and symmetrical.

How Do I Get The Right Buttonhole Size?

The size depends on your button, not guesswork. If you use an automatic buttonhole foot, place the actual button in the back tray so the machine measures it for you. For manual settings, add the button’s diameter plus its thickness, then add a couple of millimeters of ease. Always test on a scrap first to confirm the button slides through comfortably without straining the stitches.

Can I Sew A Buttonhole Without A Special Foot?

Yes, though it takes more effort. Many machines include a manual buttonhole stitch you can control step by step using the reverse button. You mark the length yourself and guide each section carefully. The results can still look great with practice, but a dedicated buttonhole foot makes the process faster, more consistent, and much easier for beginners to master.

What If I Cut Through The Stitches By Accident?

Do not panic, since this is a common slip. Simply restitch the damaged area by running the buttonhole stitch over the gap, or reinforce it by hand with matching thread. To prevent it next time, place a pin across each end before cutting and work slowly with a sharp seam ripper. A careful, centered cut is your best protection.

Conclusion

Buttonholes no longer need to be the scary part of your sewing projects. With the right foot, careful marking, and a quick test on scrap fabric, you can produce clean, durable openings that make your work look truly professional. The seven steps above break the process into manageable pieces, so every stage feels achievable no matter your skill level.

Now that you know how to machine sew a buttonhole, the best thing you can do is practice. Pull out some spare fabric, experiment with different stitch styles, and build your confidence one buttonhole at a time. Each attempt brings noticeable improvement, and soon this once-daunting task will feel like second nature. So gather your supplies, start stitching, and enjoy the satisfaction of finishing your next project beautifully.

Leave a Comment