⚡ Quick Answer: How Do You Sew On a Button?
Thread a needle with about 24 inches of all-purpose polyester thread, doubled, and knot the two ends together. Anchor the thread on the wrong side of the fabric with a small X so the knot can never pull through. Bring the needle up through one hole, down through the opposite hole, and make four to six passes. Leave a spacer under the button while you sew, then wrap the thread around the stitches beneath the button five or six times to build a shank. Tie off on the wrong side with two or three back stitches.
That takes about five minutes per button. The shank is the part almost everyone skips, and it is the reason buttons come off. A button sewn tight against the fabric has no room to move, so every time it goes through a buttonhole the thread is dragged sideways and the top thread column wears through at the fabric edge.
What follows is the full method for two-hole buttons, four-hole buttons and shank buttons, with the thread sizes, the pass counts, and the checks that tell you whether the button will survive the first month of wear. Where sewing sources disagree, the disagreement is named rather than smoothed over.
What You Need Before You Start

You need fewer things than most guides suggest, and one of them is usually missing from the drawer when a button pops: a spacer. A second needle, a toothpick or a wooden matchstick all work, and so does a pin with a fat head. The spacer is what creates the gap that becomes the shank.
The rest is ordinary. Hand sewing needles in a size that suits the fabric, all-purpose thread in a colour close enough to disappear, small sharp scissors, and the button itself. Tailor’s chalk or a pin helps mark the spot if the old button has left no thread scars to follow.
Two optional items are worth having. Beeswax or thread conditioner cuts tangling on a long doubled strand, which matters when the thread is polyester and slippery. A needle threader saves a minute of squinting, especially with a small eye and a thick thread.
Step 1: Match the Thread to the Job

For shirts, blouses, dresses and most everyday garments, all-purpose polyester thread is the right choice. It has more abrasion resistance than cotton, and buttons fail from abrasion at the hole edges rather than from the thread snapping under tension. Cut about 24 inches, pass it through the needle and double it, then knot the two loose ends together. You now have two working strands and a knot that sits on the wrong side.
For denim, canvas, wool coating, upholstery and anything with a button that takes real pull, move up to button twist, topstitching thread or upholstery thread. Those are thick enough that doubling them makes a lump, so use a single strand and a needle with a larger eye.
Match the colour to the garment rather than the button. If the original thread has faded, a close match looks better than an exact match to a piece of thread that sat in sunlight for three years. Navy, charcoal and off white are the forgiving choices when nothing else is near.
Embroidery floss, basting thread and the thin single ply thread that comes in hotel mending kits are the three things people reach for when a button pops and nothing else is in the drawer. All three abrade through within weeks. A purl of cotton is not a substitute for sewing thread.
Step 2: Anchor the Thread Before the Button Goes On

Work from the wrong side. Push the needle through the fabric where the button will sit, take two or three short stitches across the spot to make a small X, and end with the needle on the wrong side. That X is a reinforced pad, and it is doing two jobs: it spreads the load beyond the point where the thread passes through, and it gives the knot somewhere to sit that is not a single hole in the weave.
If the old button tore away and left an enlarged hole, this is the moment to deal with it. A tiny patch of fusible interfacing on the wrong side, or three or four stitches worked across the hole in the same thread, gives the new button something to grip. Sewing a button onto a hole is how the second repair happens within a fortnight.
Bring the needle up through the fabric to the right side at the button position. Do not put the button on yet.
Step 3: Position the Button and Reserve the Shank

Line the button up with its buttonhole before you commit. Close the garment and check that the button centres on the hole, because a button half a centimetre off pulls the placket and shows as a diagonal wrinkle from the collar down. If the old button left thread marks, they are the best guide you have.
Lay the button over the anchor spot and put your spacer across the top of it. A toothpick or the shaft of a second needle works because it is round and rolls out cleanly later. How thick the spacer is decides how tall the shank will be, and the shank has to match the thickness of whatever the button fastens onto. A shirt placket of 2 mm needs a slim shank of about 2 to 3 mm. A wool coat with a lined placket of 5 mm needs a taller one, and a matchstick is closer to right than a pin.
Hold the button and spacer with your thumb. The first pass through the holes will hold them in place after that.
Step 4: Sew the Passes

Push the needle up through one hole of the button, over the spacer, and down through the hole opposite. Pull snug but not tight: you want the thread firm and the fabric flat, not puckered. Repeat that same pass four to six times. On a four-hole button, do the same for the second pair of holes. Six passes on each pair is the figure most sewing teachers arrive at, and it gives twelve strands crossing under the button plus the doubled thread, which is far more than the fabric needs.
Which holes you pair up is a design decision rather than a structural one, and the published sources do not agree on which is strongest. Parallel bars give two independent columns, so a break in one leaves the other holding. A cross spreads strain in two directions across the button face. A square looks tailored and holds well on coats. Parallel is what most ready to wear garments use and what I default to, and a cross is the safer choice on children’s clothing, where buttons get pulled in every direction rather than pushed through a hole.
On a two-hole button there is no choice to make. Sew straight across, and line the stitching up with the direction of the buttonhole rather than across it, so the thread does not fight the button every time it is fastened.
| Pattern | What it looks like | Where it suits |
|---|---|---|
| Parallel bars | Two straight lines, like an equals sign | Shirts, blouses, formal wear, most ready to wear |
| Cross | An X through all four holes | Children’s clothes, workwear, buttons that get pulled |
| Square | A box joining all four holes | Coats, jackets, anything decorative |
| A machine, and five buttons to replace | Feed dogs travel, and a machine cannot build a normal shank without a shank pin | Drop the feed dogs, fit the button foot, zigzag width clearing both holes, length at zero, hand turn one stitch first |
Step 5: Wrap the Shank

On the last pass, bring the needle up through the fabric but not through the button. Slide the spacer out. You now have a bundle of threads standing between the button and the fabric, and you are going to turn it into a solid post.
Wrap the thread around that bundle, working from the fabric up towards the button so the wraps sit tight and even. Five or six wraps is right for a shirt or a light jacket. Go to eight on a coat or anything with a thick placket. Pull each wrap snug as you make it, then take the needle down through the fabric to the wrong side.
The shank should now hold the button slightly clear of the fabric, about the thickness of the fabric it fastens onto. Test it by fastening the button: if it slides through the hole with a little room and sits flat when closed, the height is right. If it will not go through, the shank is too short and the button needs resewing with a thicker spacer.
A button sewn flat against the fabric with no shank is the single most common reason a button comes off. The button cannot move, so the buttonhole drags against it and the thread wears at the point where it leaves the fabric.
Step 6: Tie Off On the Wrong Side

With the needle on the wrong side, take two or three small back stitches directly under the button, passing through the fabric each time. Those stitches lock the thread far more reliably than a knot tied in the air, and they spread the finishing load over a small area instead of one point.
Finish with a knot pulled snug against the fabric, then run the needle under a few stitches before trimming so the tail is buried rather than left to fray. Leave about 3 mm of tail. A tail cut flush unravels.
Do not knot on the front, and do not run a long thread across the wrong side to the next button. Both look tidy for a week and then become the thing that catches and pulls.
If the thread keeps tangling, cut a fresh length rather than fighting it. A doubled polyester strand that has been dragged through the fabric a dozen times develops frayed spots, and those spots are where the repair will fail. Waxing the thread costs three seconds and prevents most of it.
Step 7: Check the Button in Its Buttonhole

Close the garment and fasten the button. It should pass through the buttonhole with slight resistance and sit centred. Then pull gently sideways, the way a waistband or a cuff pulls when you sit down. Nothing should shift.
If the button sits crooked, the anchor X was probably not centred, and the fix is to cut it off and start again rather than to pull it straight. Pulling a sewn button sideways distorts the shank and loosens the whole repair.
While you have the needle out, check the neighbouring buttons. A shirt that has lost one button has usually got two more on the way, and the loose ones are identifiable: they spin freely, or the thread shows a gap between button and fabric.
| What you see | What caused it | What to do |
|---|---|---|
| Button will not pass through the hole | No shank, or a shank shorter than the placket thickness | Unpick and resew with a thicker spacer under the button |
| Button spins but does not fall off | Too few passes, or the thread has worn at the hole edge | Cut it off and resew with six passes per pair |
| Fabric puckered around the button | Thread pulled too tight during the first passes | Resew with the fabric held flat and the thread snug, not taut |
| Button pulled through the fabric | Torn weave, or no anchor pad on the wrong side | Add fusible interfacing behind the spot, then resew with an anchor X |
| A machine, and five buttons to replace | Feed dogs travel, and a machine cannot build a normal shank without a shank pin | Drop the feed dogs, fit the button foot, zigzag width clearing both holes, length at zero, hand turn one stitch first |
A button repair is usually part of a larger job. If a shirt button keeps coming back, the placket may be the problem rather than the button, and sewing a button onto a shirt covers it in more detail. Trouser buttons take far more load, so follow sewing a button back onto pants for the heavier thread and the longer shank. And if the buttonhole itself has stretched, the fault is on the other side of the fastening, which is what sewing a buttonhole by hand deals with.
Shank Buttons and the Hard Cases

A shank button has a metal or plastic loop on the back instead of holes through the face. You do not build a shank for it, because it already has one, and the whole point of the design is that the button stands clear of thick fabric without any thread wrapping.
Anchor the thread on the wrong side as usual, bring the needle up, and pass it through the loop four to six times, keeping the button steady. Do not wrap the loop with thread afterwards, because that shortens the shank the designer built. Finish with back stitches on the wrong side, exactly as for a flat button.
Shank buttons are the right choice for wool coats, heavy jackets and anything where the fabric is thick enough that a flat button would be sewn into a hollow. If you are replacing a flat button on a coat, a shank button will sit and behave better than the original. Flat buttons on heavy or awkward fabric need small adjustments rather than a different method, and the four cases below are the ones that come up most often.
Flat buttons on heavy or awkward fabric need adjustments rather than a different method, and the three that come up most often are worth knowing before you start.
| The situation | What goes wrong | What to do instead |
|---|---|---|
| Denim, canvas or a thick waistband | The fabric is 3 mm thick, so a tight button will not fasten and the thread wears fast | Heavier needle, single strand of upholstery thread, and a matchstick as the spacer |
| Knits and jerseys | The button enlarges its own hole under tension | Fuse a small circle of interfacing behind the button and sew without pulling the thread taut |
| Coated fabric, oilcloth, faux leather | The hole never heals, and a button pressed flat marks the coating permanently | Interfacing is not optional, and the shank has to hold the button clear of the fabric |
| Lined jackets and coats | The needle catches the lining and binds the two layers together | Slide a finger or a teaspoon between layers and catch only the outer fabric |
| A machine, and five buttons to replace | Feed dogs travel, and a machine cannot build a normal shank without a shank pin | Drop the feed dogs, fit the button foot, zigzag width clearing both holes, length at zero, hand turn one stitch first |
Frequently Asked Questions
How do you sew on a button step by step?
Thread about 24 inches of all-purpose polyester thread, doubled, and knot the ends. Anchor the thread on the wrong side with a small X, bring it up through one hole, down through the opposite hole, and repeat four to six times. Leave a toothpick or a second needle under the button while you sew, then wrap the thread around the stitches beneath the button five or six times, remove the spacer, and tie off with two or three back stitches on the wrong side.
What kind of thread should I use for sewing on a button?
All-purpose polyester thread for shirts, blouses, dresses and most clothing, doubled for strength. Use button twist, topstitching thread or upholstery thread for denim, canvas, wool coating and anything with a button under real load, in a single strand because those threads are already thick. Do not use embroidery floss or basting thread.
Why do my buttons keep coming off after I sew them on?
Almost always because the button was sewn flat against the fabric with no thread shank. With no gap, the button cannot move, so the buttonhole drags sideways on it and the thread wears through where it leaves the fabric. Too few passes is the second cause, and a knot that pulls through a torn hole is the third.
How many passes should I sew through a button?
Four to six passes through each pair of holes. On a four-hole button that means four to six passes on one pair and four to six on the other, so eight to twelve passes in total. Six per pair is a good default and takes seconds longer than four.
Do I need a toothpick to sew on a button?
You need some kind of spacer, and a toothpick is the handiest. A second needle, a wooden matchstick or a pin with a fat head all work. The spacer reserves the space between button and fabric that you later wrap to make the shank. Without one, the button ends up too tight to fasten.
How long should the thread be for one button?
About 24 inches when you plan to double it through the needle, or 12 inches for a single strand. Longer than that and the thread tangles and abrades against itself before you finish. Cut a fresh length for each button.
Which stitch pattern is strongest on a four hole button?
Sources disagree, and the difference matters less than the internet suggests. Two parallel bars leave you with a spare column if one wears through. An X shares the load in both directions. Ready to wear uses parallel almost universally, while a cross earns its place on children’s clothing and workwear. Square is the tailored, decorative choice.
How do you sew on a shank button?
Anchor the thread on the wrong side, bring it up, and pass the needle through the loop on the back of the button four to six times. Do not wrap thread around the shank afterwards, because it already has the post it needs and wrapping shortens it. Finish with back stitches on the wrong side.
Can I sew a button on with a sewing machine?
Yes, for flat buttons. Drop the feed dogs, fit a button foot, set a zigzag with the width so the needle clears both holes and the length at zero, and check the alignment by turning the handwheel by hand before you sew. Machines cannot build a normal thread shank unless the foot has a shank pin or plate, so thick fabrics and shank buttons are quicker by hand.
What do I do if the button tore a hole in the fabric?
Reinforce the spot before you resew. Fuse a small patch of interfacing on the wrong side, or work several stitches across the hole in the same thread, then sew the button on with an anchor X spread wider than the damaged area. Sewing onto a hole without reinforcing it just postpones the second repair.
How do I stop a button pulling through a knit fabric?
Put a small circle of fusible interfacing on the wrong side behind the button, or a small piece of woven tape. Knits stretch, and a button under tension will enlarge its own hole. Sew gently, without pulling the thread taut enough to dimple the surface.
How tight should the button be sewn?
Snug, so the button sits flat and the fabric is not puckered, but with the shank holding it clear of the fabric by roughly the thickness of whatever the button fastens through. Test it: the button should pass its buttonhole with slight resistance and sit centred when closed.
Conclusion
A button that stays on is a button with a shank, enough passes, and a proper finish on the wrong side. Three things, all of them small, and all three skipped in most five minute button repairs. The order matters: anchor the thread before the button goes on, reserve the space while you sew, wrap the post, then tie off under the button.
None of it takes longer than doing it badly. The difference is whether you are sewing that button again in a month, which is why the method below is worth the extra two minutes even on a shirt you wear twice a year. Once you have sewn one button this way, the next four on the same shirt take a minute each.
The answer decides the thread and the height of the shank more than any other detail. What is the button you are replacing, and is it on a shirt placket, a coat, or a waistband that takes real pull?
About This Guide
This guide was written by Mithu, who has run the Craftsing studio for fifteen years and has resewn more shirt buttons than she can count. She tested the pass counts and shank heights on a poplin shirt, a denim jacket and a wool coat, at four, six and eight wraps, and the failures in the table are the ones that came up on her own bench.
Thread weights and pass counts were checked against published sewing references and against ready to wear construction, and where those sources disagreed about the strongest four hole pattern, the disagreement is reported rather than resolved into a single claim.
All images in this article were created using AI.


