Our Blog

How to Sew a Button By Hand and With a Sewing Machine

How to Sew a Button By Hand and With a Sewing Machine

Learning how to sew a button is one essential skill that every sewist should learn. Whether you are looking to mend your clothing, or to build your sewing skills, without doubt, you will want to know how to sew a button. This tutorial will cover how to sew buttons (shank and sew-through) by hand and machine.

What materials do I need to sew a button?

To sew a button, you will need a needle, thread that matches the color of your button and fabric, scissors to cut the thread, and of course, the button itself. Additionally, having a thimble can be helpful to protect your fingers while sewing.

How to Sew a Button by Hand and with a Sewing Machine


Before knowing how to sew a button, you will first need to know the first place for the button in relation to its buttonhole:

If the buttonhole is vertical, the button should be aligned at the top of the buttonhole. 

If the buttonhole is horizontal, the button should be aligned on the side of the buttonhole that is nearest the garment’s edge in that particular area. For example, in the photo below, the first button hole is about an inch long and at the edge of the cuff on the left. Therefore the button is aligned at the left side of the buttonhole. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineSewing patterns will typically mark button placement for you, but I always like to double-check my button placement and set of holes using this rule after my buttonholes are sewn. When mending garments, you can often tell where the button had been placed, but under the circumstance, there is no mark to help indicate, you can use this rule to place the button back into its proper spot easily. It is essential to ensure a proper alignment to avoid unwanted gapping between buttonholes. 

Shank Buttons

As previously mentioned, two types of buttons are attached to a garment by sewing, these are called shank and sew-through buttons.

A shank button has a solid surface with a shank on its underside. The shank is a piece, often shaped as a small loop, that creates space between the button and the fabric. Because the shank causes the button to sit higher above the fabric, this type of button is most recommended for use on garments with bulky or heavy-weight fabrics.  

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineIn addition to creating needed space for bulkier fabrics, the shank is where the thread will be sewn through in the sewing process to secure the button to the fabric. Due to its anatomy, this button type can only be sewn by hand. 

How to Hand Sew a Shank Button 

Step 1: Thread the Needle

The thread used in garment construction can also be used for sewing on a button. Since shank buttons are typically sewn onto heavier-weight fabrics, you can also use a thicker thread, such as a button or topstitching thread, for some extra strength.

Some suggest threading the needle with a single-strand thread when sewing buttons to avoid unwanted knotting of the thread. I like to thread my hand sewing needle, as usual, with a doubled-over thread strand because I like the double thickness and also find it easier to work with. As long as I keep my thread to a shorter length, I can typically avoid knots. You can also run your thread through beeswax to help prevent knotting.

To thread your hand-sewing needle, run the thread through the eye of the needle, tie the ends in a knot (a basic square knot will do), and trim off any excess thread at the knot. 

Step 2: Secure the Thread 

In this next step, you will be knotting the thread to the fabric at the spot where the button is to be sewn. For an extra clean look, do this on the right side of the fabric instead of the back side of the fabric and the the knot will be hidden underneath the button.  

Follow These Simple Steps:

A.) Slide the needle through the fabric at the button marking (In the photo below, I am using a pin to mark where my button is to be sewn)

B.) Pull the thread all the way until there is a small loop left near the thread tail

C.) Put the needle through the thread loop 

D.) Pull tight to create a knot. 

Do this twice for added security.  

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineStep 3: Attach the Button

Once the thread is secured to the fabric, run the needle through the hole in the shank and back into the garment, pulling tight. Do this 4-5 times or until the button is secured.

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineWhen sewing a shank button, it is best to have the shank piece positioned in the same direction as the buttonhole so that the long side of the shank runs parallel to the long side of the buttonhole. Doing so will help the button fit best and prevent any bubbling of the fabric at the buttonhole.

Step 4: Tie Off Thread  

To tie off the thread, create a knot in the same way done to secure the thread to the fabric in step 2. To create a clean finish, you can “bury” your thread tail and knot by running the needle once more through the back of the fabric. Cut the thread as close as possible where it resurfaces. 

Sew-Through Buttons

A sew-through button, sometimes called a flat button, has a flat surface containing two or four small holes in its center. These buttons can be sewn on by hand or by sewing machine. These buttons are better suited for thinner or lightweight fabrics because they are flat against the fabric, therefore, there is less room for bulky fabrics.

Though, if desired, it is certainly possible to use on thick and heavy-weight fabrics. If this is your desire, you must create a shank for the button so there is a spacer for the extra bulk. This can be done during the sewing process and using thread. This will be explained later in the step-by-step. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineHow to Hand Sew a Sew Through Button

Thread the needle as described in step 1 of the shank button tutorial.

You can use matching or contrasting threads depending upon your design choice.

Step 2: Secure the Thread

Secure the thread as described in step 2 of the shank button tutorial.

Step 3: Attach the button

You have two sewing options for flat buttons with 4 holes. Option 1 will create two parallel lines of thread on the button face, while option 2 will create an ‘x’. The visuals below will show how to attach the button for each of these options as well as a flat button with only two holes. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing Machine

Sewing Buttons | How to Sew a Button By Hand and With a Sewing Machine

Step 4: Tie Off Thread

Tie off the thread as described in step 4 of the shank button tutorial. If you are sewing the button flat to the fabric without adding a thread shank, this may be easier done on the backside of the material.

How to Add a Thread Shank to a Sew-Through Button

If you are sewing a flat button (without a shank) onto thick fabric, you must add your own shank made by thread. While following steps 1-4 from the previous step-by-step, prevent the button from being sewn tight against the fabric by keeping the tip of your thumb underneath the button. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineThen, between steps 3 and 4 wrap the thread multiple times around the base of the button to create a small shank.  

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineTie off the thread the same way as described previously.

Sewing Buttons Using a Sewing Machine

The great thing about sew-through buttons is that they can be sewn using a sewing machine, which can save quite a bit of time, especially on garments with lots of buttons. 

Step 1: Lower Feed Dogs

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineStep 2:Attach the Button Sewing Foot 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineStep 3: Place Button

With the garment on the sewing plate, place the button in the right place under the button foot so that the needle is aligned between the two holes being sewn, ensuring it is properly lined up with its designated spot on the garment. Lower the presser foot so that it is securely holding the button in place. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineStep 4: Adjust the Stitch Width

Using a zig-zag stitch, adjust the width so that the needle will perfectly line up with each hole as it moves left and right. Before sewing anything, slowly move the hand wheel to double check the needle and holes on the button are properly lined up with each other. It may take a little trial and error to get the stitch width to its perfect setting. 

Sewing Buttons | How to Sew a Button By Hand and With a Sewing Machine

Step 5: Sew the Button

Once you are positive the stitch width is correct and the needle does not touch the button at all when the hand wheel is turned, sew about 8-10 stitches going slowly and carefully.

Step 6: Secure the Thread Ends With a Knot

Cut the thread leaving a tail long enough to be tied off. Using a seam ripper or other sharp tip, pull all thread tails to the backside of the fabric and tie off in a knot.  

How to Add a Thread Shank When Sewing a Button Using a Sewing Machine

If you are sewing your flat button via machine but need a thread shank, start by placing a pin, toothpick, or other spacer at the center of the button as a part of Step 3. The button foot should have a small opening at its center to slide the pin into.

Sewing Buttons | How to Sew a Button By Hand and With a Sewing MachineAfter you have completed step 5, remove the pin and pull all the excess thread, including the thread tails, to the back of the button. Wind the thread tails around the shank and tie off in a knot. 

You have learned all you need to know to beautifully and efficiently sew buttons! Now that you’ve mastered the buttons take a look at this great tutorial for sewing buttonholes: 

Other patterns and Tutorials

Now you know how to sew a button! Go find the extra buttons around your house and start getting to work. We want to thank Danika for this great tutorial on sewing buttons. Before you leave, sign up for our Newsletter to get all of our sewing tips, new patterns and more. You can also join us over in our Facebook Group for help with your sewing projects.

how to sew a button

« Back to Blog