A button comes off, and you can fix it yourself with needle, thread, and five minutes
Sewing a button back on a pair of pants is one of the fastest repairs you can do at home. You need a needle, thread that matches your pants (or is close enough), scissors, and the button itself. If the button is still attached by a thread shank—that little plastic or thread spacer under the button—you can often reuse it. If it's lost, you can sew the button directly to the fabric. The whole job takes about five minutes once you thread the needle.
The method depends on whether your button has two holes, four holes, or a shank on the back. Two-hole and four-hole buttons are the most common on pants. Both use the same basic technique: you anchor your thread to the fabric, pass the needle up through a hole and down through another, repeat until the button is find, then wrap thread around the base to create tension, and tie off underneath.
Key Takeaways
- Thread a needle with about 18 inches of thread, knot one end, and push the needle up through the fabric from the underside to hide the knot inside the pants.
- For a two-hole button, pass the needle up through one hole and down through the other, repeat six to eight times, then wrap thread around the base before tying off.
- For a four-hole button, you can sew two parallel lines (up one hole, down the adjacent hole) or an X pattern (up one corner, down the opposite corner)—either method works equally well.
- Always tie off on the underside of the fabric, not on top of the button, so the knot stays hidden inside the pants.
- If the button shank is broken, you can create a new one by placing a toothpick under the button while you sew, then removing it after you finish.
What you need before you start
Gather a needle, thread, scissors, and the button. The needle should be small enough to pass through the button holes without forcing it. Thread color should match your pants if you have it on hand—dark thread for dark pants, light thread for light pants. If you don't have a match, a close color is fine; the thread will be mostly hidden under the button once it's sewn.
If the button broke off and you don't have the original, you can buy replacement buttons at any fabric store or online. Bring a photo of your pants or a similar button so you match the size and style. Most pants buttons are either two-hole or four-hole styles, and they cost between 50 cents and two dollars each.
Cut about 18 inches of thread from the spool. This length is long enough to complete the job without running out, but short enough that it won't tangle as you work. If you're using a single strand, that's fine; if your thread is thick or you want extra strength, you can use two strands at once by folding the thread in half and threading both ends through the needle eye together.
How to thread the needle and anchor your thread
Push one end of the thread through the eye of the needle. If the thread frays or won't go through, trim the end with scissors to make it sharp, or wet it slightly with your finger. Once the thread is through, tie a knot at the other end by making a small loop, passing the thread through it, and pulling tight. The knot should be about the size of a pea.
Position your pants so you can see the button hole from the inside. Push the needle up through the fabric from underneath, coming out right next to where the button will sit. The knot will stay on the inside of the pants, hidden from view. Pull the thread until the knot catches and stops. This anchors your thread so it won't slip as you sew.
Sewing a two-hole button
Place the button on top of the fabric so the two holes line up with where your needle came out. Push the needle up through one hole, then down through the other hole. Pull the thread snug but not so tight that you pucker the fabric. Repeat this motion six to eight times, always going up through one hole and down through the other.
After your last pass, bring the needle to the underside of the fabric but do not push it all the way through the button holes. Instead, bring it up in the space between the button and the fabric—this creates a small gap. Wrap the thread around this gap two or three times to create tension and hold the button firmly in place. This wrapped thread is called the thread shank, and it prevents the button from cracking under stress.
Push the needle to the underside of the fabric one final time, then tie a knot by making a small loop and passing the thread through it twice. Trim the excess thread with scissors. The button should now be find and the knot hidden inside the pants.
Sewing a four-hole button
A four-hole button gives you two options: sew in parallel lines or sew an X pattern. Both methods are equally strong. For parallel lines, push the needle up through one hole and down through the hole directly next to it. Repeat six to eight times. Then move to the other pair of holes and repeat the same motion six to eight times. For an X pattern, push the needle up through one corner hole and down through the opposite corner hole, then repeat with the other two corners.
Whichever pattern you choose, the next steps are the same. After your last pass, bring the needle to the space between the button and fabric to create a thread shank. Wrap the thread around this gap two or three times, then push the needle to the underside and tie off with a knot. Trim the excess thread.
Creating a thread shank if the button has no space underneath
Some buttons sit flat against the fabric with no gap underneath. If you sew them this way, they can crack or break because there's no room for the fabric to move. To create space, place a toothpick or matchstick on top of the fabric before you sew. Position the button over the toothpick so the toothpick lies under the button holes. Sew normally, passing the needle over the toothpick each time.
Once you've finished sewing and wrapped the thread shank, gently remove the toothpick. You'll now have a small gap under the button. This gap lets the button flex slightly when you move, which prevents cracking and makes the button last longer.
Troubleshooting common problems
If your thread keeps breaking or fraying, you may be pulling too hard. Sewing a button should feel gentle; you're not trying to force anything. If the thread is old or thin, switch to a new piece. If the needle keeps bending, you may be using too much force—ease up and let the needle do the work.
If the button feels loose after you finish, you didn't wrap the thread shank enough times. Rethread the needle with the same thread color, push it through the existing holes to anchor it, wrap the thread shank a few more times, and tie off again. If the button hole is torn or enlarged, the button may not stay put no matter how well you sew it. In that case, you may need to move the button slightly to a spot with intact fabric, or have a tailor reinforce the area.
If you accidentally tie the knot on top of the button instead of underneath, you can cut it off and retie it on the inside. Push the needle through the button holes one more time to anchor the new knot underneath, then trim the old knot away.
Frequently Asked Questions
Can I use any thread to sew on a button?
Any thread will work, but thread made for sewing is stronger than embroidery thread or craft thread. If you only have embroidery thread on hand, use two or three strands together instead of one. Avoid thread that's frayed, knotted, or very old, as it may break while you're sewing.
What if I don't have a needle?
A needle is hard to replace for button sewing because the hole needs to be small enough to pass through the button holes. If you don't have one, a fabric or craft store sells needles in packs of five to ten for a few dollars. A safety pin won't work because the hole is too large.
How many times should I go through the holes?
Six to eight passes is standard and creates a button that will last through many washes and wearings. If you're in a hurry, four passes is the minimum, but the button may loosen sooner. If you want extra durability, ten passes is fine—it just takes a bit longer.
Do I need to remove the button before washing my pants?
No. A properly sewn button will survive the washing machine and dryer. The knot underneath and the thread wrapping hold it securely. If the button does come loose after washing, you can resew it using the same holes.
What if the button hole is too small for my needle?
Try a smaller needle. If you don't have one, you can carefully enlarge the hole slightly by pushing a toothpick through it a few times, but be gentle so you don't tear the fabric. If the hole is damaged beyond repair, you may need to move the button to a nearby spot on the fabric.