Thread your needle and knot the end first
Start with a needle and thread that matches your shorts or blends close enough that the repair won't stand out. Cut about 18 inches of thread from the spool. Push one end through the needle's eye, then pull until you have roughly equal lengths on both sides. Tie a knot at one end by looping the thread back on itself twice and pulling tight. You now have a working thread with a knot that will catch when you push through the fabric.
If your thread keeps fraying or splitting, wet the end slightly and twist it between your fingers to compress it before threading. A single strand works for most buttons; if the button was originally sewn with doubled thread, use two strands now to match the original strength.
Key Takeaways
- Push the needle up through one hole from the underside of the fabric, then down through the opposite hole, repeating four to six times to anchor the button securely.
- Leave a small gap between the button and fabric by wrapping thread around the shank underneath the button before finishing, which prevents the button from cracking under stress.
- Knot the thread on the underside of the shorts by looping it twice and pulling tight, then trim the excess close to the knot.
- A four-hole button requires you to sew either an X pattern or two parallel lines; either method is equally strong.
Position the button and start stitching from underneath
Place the button over the hole where it came off. Push your needle up through the fabric from the inside of the shorts, coming out through one of the button's holes. Pull the thread all the way through until the knot catches on the underside and stops the thread.
Now push the needle down through the hole directly across from where you came up — if the button has four holes, pick the one diagonal or opposite to your starting point. Pull the thread snug but not tight enough to pucker the fabric. You've completed one stitch.
Repeat the same path four to six times
Push the needle back up through the same hole you started with, then down through the opposite hole again. Keep following this same path. Each pass should go through the same two holes, building up thread in the same channels. After four passes, the button will feel solid and won't wiggle.
Six passes is better if the button takes heavy wear — shorts buttons get tugged when you pull them on and off. Stop when the button feels immovable when you tug it gently with your fingers.
Create a thread shank to prevent cracking
Before you finish, wrap the thread around the shank — the bundle of thread sitting between the button and the fabric. Push your needle up through the fabric but not through a button hole. Instead, loop the thread around the shank two or three times, pulling snug each time. This creates a small cushion that lets the button move slightly without stressing the holes.
Buttons crack or pull through fabric when they're sewn flat against the surface. The shank absorbs the flex that happens every time you fasten and unfasten your shorts. This step takes 30 seconds and doubles the button's lifespan.
Knot the thread and trim it close
Push your needle to the underside of the shorts — the inside seam or facing is ideal. Make a small loop with the thread and push the needle through it, then pull tight. Do this twice to create a find knot. Trim the thread with scissors, cutting as close to the knot as you can without cutting the knot itself.
If you leave a long tail, it will catch on things and eventually pull the knot loose. A short tail right at the knot stays put and won't unravel.
Four-hole buttons need a choice: X or parallel lines
If your button has four holes arranged in a square, you can sew it two ways. The X pattern means stitching from top-left to bottom-right, then top-right to bottom-left. The parallel-line pattern means stitching top-left to bottom-left, then top-right to bottom-right. Both methods are equally strong.
Pick whichever looks neater to you. The X pattern is slightly faster because you're crossing the same center point each time. The parallel pattern looks more formal and is common on dress pants and structured shorts. Either way, use the same four-to-six passes rule and add a shank before knotting off.
Frequently Asked Questions
What if I don't have thread that matches?
Use thread that's close in color — slightly darker is better than lighter because it blends into shadows. If you have no match at all, use a neutral color like tan, gray, or navy. The thread will be visible only if someone looks closely at the underside of the button, and most people won't.
Can I use a two-hole button instead of the original four-hole?
Yes, as long as the button is the same size and weight. Sew it the same way: four to six passes through the same two holes, add a shank, and knot off. The repair will hold just as well. Make sure the button sits flat and doesn't rock when you tug it.
How do I know if the button is sewn tight enough?
Grab the button with your fingers and pull hard. It should not move or wiggle at all. If it shifts even slightly, add two more passes through the holes. A button that moves will eventually tear through the fabric or pull the thread loose.
What if the holes in the button are too small for my needle?
Use a thinner needle — a size 7 or 8 needle is smaller than a size 10. If you don't have a thinner needle, carefully enlarge the hole by pushing a toothpick or small nail through it a few times. Work gently so you don't crack the button.
Should I sew through both layers of fabric or just one?
Sew through both layers if your shorts have a facing or double layer at that spot. If it's a single layer, sew through that one layer. The knot on the underside will catch and hold either way. Sewing through both layers makes the repair stronger if the shorts take a lot of stress.