HowToSimply Quizzes Surprise me

How to sew on a button so it stays on (flat and shank buttons)

In short: Double about 40 cm of thread and knot it. Start from the inside, sew through the holes several times over a toothpick, then wind the thread round the stitches under the button to make a shank. Finish with a knot on the inside.

By Updated 29 October 20265 min readPublisher: Saadat Rafiq

✓ Reviewed by Muqadas Fatima, BFA · 30 October 2026

Illustration of a woman sitting at a table sewing a button onto the front of a shirt, a reel of thread and a small pin cushion beside herIllustration

At a glance

Thread
Doubled, matched to fabric and button (UF/IFAS, Univ. of Idaho)
Spacer
Toothpick, pin or matchstick (UF/IFAS, NLWA)
Shank
Wind thread round the stitches, about six times (NLWA)
Heavy coats
Add a small reinforcing button inside (Univ. of Idaho)
Advice from
UF/IFAS Extension, University of Idaho Extension and North London Waste Authority, read 28 October 2026
Checked
October 2026

A button stays on when two things are right: strong enough thread, and a short "neck" of thread under the button, called a shank. The shank leaves room for the fabric with the buttonhole to sit under the button, so the buttonhole doesn't rub through your stitches. Most loose buttons are missing one or the other.

Which button do you have?

Two holes

Follow the steps below as written.

Four holes

Same steps, but stitch in an X across the holes, or as two parallel bars (UF/IFAS Extension). Four-hole buttons suit clothes that get heavier wear.

Shank (a loop or post underneath)

No spacer needed: the shank is built in. Sew through the loop several times, then knot a couple of times on the inside (UF/IFAS Extension). Line the loop up with the buttonhole so it closes neatly (University of Idaho Extension).

Heavy coat or jacket

Add a small flat reinforcing button on the inside, directly under it, and sew through both (University of Idaho Extension).

How to sew on a flat button

  1. Mark where the button goes, through the buttonhole.

    Illustration of the two front edges of a shirt overlapped, a pin pushed through the empty buttonhole into the fabric below
    Illustration

    Close the garment so the edges line up as they do when worn. Push a pin through the buttonhole into the fabric underneath: that is where the button goes (University of Idaho Extension). The old thread marks often show the spot too. Marking first is what makes the button line up with its buttonhole (UF/IFAS Extension).

    You should see: a pin, or the old thread holes, in line with the buttons above and below.

  2. Thread the needle with doubled thread and knot the end.

    Illustration of hands holding a threaded needle with the two ends of the thread pulled level and a small knot tied at the end
    Illustration

    Cut about 16 inches of thread (about 40 cm, our conversion), thread the needle and pull the two tails level, then knot them together (UF/IFAS Extension). A single strand is usually too weak for a button unless the thread is thick (UF/IFAS Extension). The North London Waste Authority guide uses a shorter doubled thread of about 20 cm; either works.

    You should see: a needle hanging in the middle of a double thread, with one knot holding both ends.

  3. Start from the inside of the garment and come up through one hole.

    Illustration of a needle coming up from the back of the fabric through one hole of a two-hole button held on the marked spot
    Illustration

    Make a small stitch on the inside at the mark, so the knot is hidden (NLWA). Then push the needle up to the outside and through one hole of the button, held on the mark (UF/IFAS Extension).

    You should see: the button sitting on the mark with the thread coming up through one hole, and the knot out of sight on the inside.

  4. Lay a toothpick across the button and sew over it.

    Illustration of a toothpick lying across a two-hole button between the holes, with thread passing over it from one hole to the other
    Illustration

    Lay the spacer across the top of the button, between the holes, so each stitch passes over it (UF/IFAS Extension). It stops you sewing the button on too tightly and leaves slack for the shank (NLWA). Go down through the second hole and back up through the first, several times (UF/IFAS Extension). For a four-hole button, make an X or two parallel bars.

    You should see: several neat stitches over the toothpick, pulled firm but not puckering the fabric.

  5. Remove the toothpick and wind the thread round the stitches under the button.

    Illustration of a button lifted slightly away from the fabric, with thread being wound round the short column of stitches beneath it
    Illustration

    Bring the needle up between the button and the fabric, not through a hole (UF/IFAS Extension). Pull out the spacer, lift the button so the stitches stand up, and wind the thread tightly round them, about six times (NLWA). This is the thread shank.

    How tall? University of Idaho Extension says as long as the fabric with the buttonhole is thick, plus about 1/16 inch (about 1.5 mm, our conversion). Too short a shank makes the front pucker when it's buttoned.

    You should see: the button standing a little off the fabric on a firm, wrapped column of thread.

  6. Take the needle to the inside and knot it off.

    Illustration of the inside of a shirt front, a needle making a small knot in the stitches behind a button, small scissors ready to trim
    Illustration

    Push the needle through to the inside and knot the thread (UF/IFAS Extension), or make a few small stitches on the spot (NLWA). Trim the ends.

    You should see: a small, tidy knot on the inside and no loose thread on the outside.

How to tell it worked

  • The button lines up with its buttonhole and with the buttons above and below.
  • It goes through the buttonhole easily, and the front lies flat when buttoned.
  • A gentle tug doesn't wobble the button.
  • There's a short wrapped shank under a flat button.
  • No knot or loose thread shows on the outside.

If something goes wrong

What happensWhat it meansWhat to do
The front puckers when buttonedThe shank is too short (University of Idaho Extension)Re-sew over a thicker spacer and wind a longer shank
The button won't line up with its holeIt wasn't marked through the buttonholeCut it off, mark the spot with a pin through the buttonhole and sew again
The thread keeps knottingDoubled thread twists as you sewRun it over beeswax (University of Idaho Extension), or use a shorter length (NLWA)
The needle won't go through thick fabricNormal on denim and coatsBe patient (UF/IFAS Extension); push the needle with a thimble or a firm surface behind it
The fabric round the button tearsHeavy fabric under strainPatch the tear, then sew on with a reinforcing button inside (University of Idaho Extension)

Questions readers ask

Why does my button keep falling off?

Usually the thread is too thin, or there's no thread shank, so the buttonhole rubs the stitches. UF/IFAS Extension says a single strand is usually too weak and recommends doubled thread. On metal shank buttons the metal can cut the thread over time (University of Idaho Extension).

What colour thread should I use?

University of Idaho Extension suggests thread that matches the fabric and the button, unless you want a contrasting or decorative look.

Can I sew on a button with a sewing machine?

Flat sew-through buttons, yes, on many machines with a button foot (University of Idaho Extension). Shank buttons, the ones with a loop underneath, can only be sewn by hand (UF/IFAS Extension).

How do I stop a coat button tearing the fabric?

Sew a small flat reinforcing button on the inside, directly under the outer button, sewing through both at once. University of Idaho Extension says it takes the strain that would otherwise tear heavy fabric.