
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. 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.

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.

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.

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.
About
Bennie Wilder is a dedicated figure in the world of sewing, clothing repair, and garment care, with years of hands-on experience exploring practical techniques for making, repairing, and maintaining everyday clothing. His professional focus lies in combining traditional sewing craftsmanship with modern, easy-to-follow solutions, helping readers confidently handle common clothing problems at home. As an author at SewFixes, Bennie shares practical knowledge on sewing techniques, garment alterations, fabric care, clothing repairs, and DIY projects for beginners and experienced sewing enthusiasts alike.
Education
Fashion Institute of Technology (New York, USA)
Associate Degree in Fashion Design & Apparel Studies
- Focused on garment construction, sewing techniques, fabric fundamentals, and clothing alterations.
- Developed practical skills in pattern making, hand stitching, machine sewing, and garment finishing.
- Gained hands-on experience working with different fabrics, sewing tools, and apparel construction methods.
Academy of Art University (San Francisco, USA)
Bachelor’s in Fashion Design
- Specialized in apparel construction, textile selection, garment fitting, and contemporary clothing design.
- Studied the relationship between fabric properties, garment structure, durability, and comfort.
- Participated in practical design projects involving garment creation, alterations, repairs, and sustainable clothing practices.
Publications and Impact
Through SewFixes, Bennie shares practical insights into sewing, clothing repair, fabric care, garment alterations, and everyday DIY solutions. His writing focuses on turning complicated sewing tasks into simple, understandable steps that readers can follow at home.
Bennie covers everything from repairing torn seams and replacing buttons to fixing hems, adjusting garment fit, choosing suitable fabrics, and maintaining sewing machines and tools. His content is designed to help readers become more confident with their clothing while encouraging practical repair and reuse instead of unnecessary replacement.
Through his work, Bennie aims to bridge the gap between traditional sewing knowledge and modern everyday needs—making sewing more approachable, useful, and accessible to anyone who wants to repair better, sew smarter, and make their clothes last longer.