How to do mattress stitch
By Mehmed Hunjra ยท Checked against the standards
Quick answer
Mattress stitch is an invisible seam for knitting. Lay two pieces right side up, then with a yarn needle pick up the horizontal bar one stitch in from the edge on one piece, then the matching bar on the other, and keep alternating. Tug the yarn every few stitches and the seam closes with no ridge on the front.
Key facts
- Mattress stitch picks up the bar 1 stitch in from each edge.
- Pull the yarn every few stitches; the seam closes from the front.
- Use seam yarn in lengths of about 18 in.
Source: standard knitting practice
6 steps at a glance
- Lay the pieces side by side
- Find the bars
- Anchor the bottom
- Pick up bars on each side
- Pull the seam closed
- Finish and check
Printing this page prints the steps only.
On this page
Why mattress stitch
If you want to know how to seam knitting so nobody can find the join, mattress stitch is the answer. It still feels like a magic trick to me every time the seam closes up. You work it from the right side, so you see exactly how the seam will look as you go, and it tucks the messy edge stitches away inside. It's the standard seam for sweater sides and sleeves, and for joining blanket strips.
How to do mattress stitch, step by step
Step 1 of 6
1Lay the pieces side by side
Place both pieces right side up, edges touching, with the rows lined up. Thread a blunt yarn needle with about 1.5 times the seam length of yarn.

AI illustration Step 2 of 6
2Find the bars
Gently pull the edge apart one stitch in from the side. Between the first and second column of stitches you will see horizontal bars, one per row, like the rungs of a ladder.

AI illustration Step 3 of 6
3Anchor the bottom
Bring the needle up through the corner of the left piece, then through the corner of the right piece, and back through the left corner, to make a figure eight that joins the cast on edges.

AI illustration Step 4 of 6
4Pick up bars on each side
Pass the needle under one bar on the right piece, then under the matching bar on the left piece. Keep alternating sides, one bar at a time, working up the seam.

AI illustration Step 5 of 6
5Pull the seam closed
After every few stitches, pull the yarn gently. The loops disappear and the edges roll inward, leaving an invisible join.

AI illustration Step 6 of 6
6Finish and check
At the top, fasten off and weave the tail into the seam allowance on the wrong side. On the right side the knitting should look continuous.

AI illustration
Mattress stitch knitting on different fabrics
| Fabric | What to pick up |
|---|---|
| Stockinette | One bar per row, one stitch in from the edge |
| Garter stitch | The top bump on one side and the bottom bump on the other |
| Ribbing (k2, p2) | Seam into a knit column so the rib pattern continues across |
| Pieces with different row counts | Occasionally pick up two bars on the longer side |
Worked example
Picture two sweater fronts of 60 rows in worsted on 5 mm needles. Cut a length of yarn about 1.5 times the seam length, anchor the bottom with a figure eight, then pick up one bar on each side for all 60 rows, pulling the seam closed every 5 rows. If one piece came out at 62 rows and the other at 60, pick up two bars on the longer piece twice, spaced out along the seam, so the ends still meet at the top.
Puckered or visible seams
- Pulling too hard. The seam puckers. Pull just enough for the stitches to close and the fabric to lie flat.
- Wandering in from the edge. Mark the column you're following with a contrast thread before you start.
- Skipping rows. The seam slants or the pieces end at different lengths. Pick up every bar.
- Seaming unblocked pieces. Curled stockinette edges make the bars really hard to find. Block first.
A tip for next time: when you knit pieces you plan to seam, add one extra stitch at each side edge. It becomes the seam allowance and keeps the visible fabric exactly as wide as the pattern intended. And pin the pieces together at the top, middle and bottom before you start sewing.
Seaming top to bottom edges
Mattress stitch can also join a bound-off edge to a cast on edge, or two bound-off edges, like the top of a sleeve to a shoulder. Instead of bars, you pick up whole stitches: go under both legs of a V on one piece, then under both legs of the matching V on the other. Done neatly, the seam looks like one more row of knitting between the pieces.
Seaming rows to stitches
Setting a sleeve into an armhole means joining rows (on the body) to stitches (on the sleeve top). Knitting usually has more rows than stitches per inch, so pick up one stitch on the sleeve for every bar on the body, and every so often take two bars instead of one to keep the seam flat. Pin the middle and both ends first so the extra fabric spreads out evenly.
Blocking after seaming
A light steam or a wet block after seaming relaxes the seam yarn and smooths out any tight spots. Lay the garment flat, pat it into shape, and let it dry completely before you weave in the last tails. A well-blocked mattress stitch seam is almost impossible to find from the right side.
Mattress stitch on crochet and on blanket strips
Long blanket strips are a brilliant place to practice, because the edges are straight and the seams are long. Use a contrasting color the first time so you can see every stitch you pick up, then switch to matching yarn for the real thing. For crocheted strips worked in rows, the same back-and-forth idea works: catch the edge stitch of one strip, then the matching stitch of the other.
Work with short lengths of seam yarn, about 18 in at a time, and join new lengths as you need them. Long strands get thin and fray from being dragged through the knitting over and over.
Take it slowly for the first few inches. Once the rhythm settles in, the rest of the seam goes quickly.
Other knitting seams
- Three-needle bind off: joins live stitches at the shoulders. See how to bind off.
- Kitchener stitch (grafting): joins two sets of live stitches invisibly, used at sock toes.
- Whip stitch: quick but visible; fine for blanket squares where a small ridge doesn't matter.
Frequently asked questions
Is mattress stitch only for knitting?
- It is mostly used for knitting, but a similar ladder seam works on crochet pieces worked in rows. For crochet, many people prefer a whip stitch or slip stitch seam.
Should I block before seaming?
- Yes. Blocking flattens the edges and makes the bars easier to see, and pieces of the same length line up better.
What yarn should I sew the seam with?
- The same yarn as the project, unless it is thick, fluffy or breaks easily. Then use a thinner, smooth yarn in a matching color.
Why can I see my seam?
- You picked up bars too far from the edge, or not the same distance in on both sides. Stay one stitch in along the whole seam.
Can I use mattress stitch on garter stitch?
- Yes. Instead of the bars, pick up the top bump of the edge stitch on one piece and the bottom bump on the other. The ridges line up and the seam lies flat.
Sources
- Knitting Abbreviations Master List (opens in a new tab), Craft Yarn Council
Last checked: by Mehmed Hunjra