What mattress stitch looks like on the needles
You have two knitted pieces that need to be joined side-by-side: a sweater body side seam, a sleeve seam, or blanket panels. From the right side (RS), you want the join to disappear, with the columns of knitting flowing straight up the fabric. Mattress stitch does that by pulling the edge “bars” together like a drawstring.

Before you seam: set up for a smooth, even join
1) Choose which edge stitch you are seaming
Most patterns include 1 edge stitch (sometimes called a selvedge stitch) on each side for seaming. If your pieces have that, the invisible seam usually happens when you stitch between the edge stitch and the next stitch in.
If your pattern says “seam using mattress stitch,” but does not mention selvedge stitches, look at the fabric: find the first full knit column in from the edge on each piece. That column is your visual guide. Your seam will pull those columns together so they look like neighboring columns in one continuous fabric.
2) Put pieces right side up and line up the hems
Lay both pieces flat with the RS facing up. Arrange them so the edges to be seamed are parallel. Match cast-on edges, ribbing borders, and any shaping points like underarms.
3) Pin or clip, and add row markers for accuracy
Use pins or clips every 2 in to 3 in (5 cm to 8 cm). Then add locking stitch markers as “row checkpoints.”
- On piece A, count up 10 rows from the hem and place a marker on the edge.
- On piece B, count up the same 10 rows and place a marker on the edge.
- Repeat every 10 rows, or more often if your yarn is slippery.
If one piece has more rows (for example, easing a sleeve cap), use markers more frequently and plan to distribute the extra rows gradually.
Mattress stitch step by step (Stockinette stitch)
Mattress stitch is easiest to learn in Stockinette stitch because the edge shows clear horizontal “bars” between columns. You will stitch under those bars, alternating sides.
What to pick up: the “ladder” bars
Along a Stockinette side edge, look between the edge stitch and the next stitch in. You will see a little horizontal strand connecting them. That strand is the bar you want. On many yarns, these bars form a neat ladder up the edge.

Method A: Start at the hem with a tail
This is a clean, common setup for sweater side seams and sleeve seams.
- Thread the needle with a length of yarn about 3 times the seam length. Knotting is optional. If you do not knot, leave a 6 in (15 cm) tail to weave in later.
- Anchor at the bottom: From the WS to the RS, bring the needle up at the very bottom corner of piece A near the edge. Then take a small stitch into the bottom corner of piece B. You are just stabilizing the start.
- Pick up 1 bar on piece A: Insert the needle under the first horizontal bar between the edge stitch and the next stitch in. Pull yarn through gently.
- Pick up 1 bar on piece B: Move to piece B, insert under the matching bar at the same height. Pull through.
- Continue, alternating sides: A bar, B bar, A bar, B bar. Work a few inches.
- Tighten the seam: After 6 to 10 passes, pull the working yarn straight up (not sideways) and watch the edges zip together. The seam should close without puckering.
Stitch count guidance: for a typical Stockinette edge, picking up 1 bar per row on each side keeps row heights matched. If your edge curls, use your row markers every 10 rows to confirm you are not drifting.
Method B: Two bars at a time for speed and stability
If your yarn is fuzzy or the bars are hard to see, it can help to work in pairs.
- On piece A, pick up 2 consecutive bars (two horizontal strands) before pulling the yarn through.
- On piece B, pick up 2 consecutive bars at the same height.
- Repeat, tightening every inch or two.
This still produces an invisible seam on most Stockinette fabric, and it can reduce the stop-and-start feeling while you learn.
Keeping the seam invisible: tension and alignment
Pull just enough, then stop
The goal is to bring the two fabrics together so the seam line disappears, not to cinch the knitting. If the seam looks like a ridge, you are pulling too tight. If you can see daylight between panels, you are not pulling enough.
A helpful rhythm is: stitch, stitch, stitch, then tighten. Check the front. Adjust. Continue.
Match rows, not guesses
Use those 10-row markers. When you reach a marker on one side, you should reach the marker on the other side at nearly the same time. If you are off by a row or two, correct right away by:
- Skipping a bar once on the longer side, or
- Picking up the same-height bar twice on the shorter side, then continuing normally.
This is also how you “ease” a little extra length without creating a pucker.
Mattress stitch for garter stitch and ribbing edges
Garter stitch (knit every row)
Garter stitch edges do not show the same ladder bars as Stockinette. Look for the “bumps” (purl bumps) at the edge. A simple approach is to pick up the outer loop of one garter ridge on each side, alternating pieces.
Row matching: one garter ridge equals 2 rows. If you marked every 10 rows, you should pass 5 ridges between markers.
Ribbing (for example, 1x1 or 2x2 rib)
Ribbing can flare if the seam is too tight. Use the same “between columns” idea as Stockinette, but tighten more gently. If the ribbing is 2x2 (knit 2, purl 2), aim to join so the knit ribs meet neatly.
If you need a refresher on terms used in finishing instructions, the site abbreviation list is at /abbreviations/.
Common mattress stitch problems and fixes
The seam is visible as a ladder
- Cause: not tightening enough, or picking up bars too far from the edge.
- Fix: tighten in small increments. Make sure you are picking the bars between the edge stitch and the next stitch in, not farther into the fabric.
The seam puckers or feels stiff
- Cause: pulling too tight, or using a seaming yarn that is too thin and strong.
- Fix: loosen the last few inches by gently tugging the seam yarn back through, then re-tighten more lightly. Using the same yarn as the project usually helps.
The rows do not line up at the underarm or color change
- Cause: drifting over many rows without checkpoints.
- Fix: unpick back to the last row marker, then seam again, matching marker to marker. Place markers more often in shaped areas.
The edge curls and is hard to control
- Cause: Stockinette edges naturally curl.
- Fix: block first when possible. A guide to how blocking changes fabric is at /wet-blocking-vs-steam-blocking/. Pinning the edges flat while you seam helps.
Finishing the seam neatly
Secure the end
When you reach the top, take 2 or 3 small backstitches through the seam area on the WS to lock the yarn. Then weave in the tail.
Weave in ends so the seam stays flexible
Run the tail through the seam allowance on the WS, changing direction once or twice. Avoid pulling tight. Detailed end-weaving steps are here: /how-to-weave-in-ends-securely/.
Quick seam check
- From the RS, the join should look like one continuous fabric column.
- From the WS, the seam allowance should lie flat without big knots or hard ridges.
- Stretch the fabric gently. The seam should give a little with the knitting.
Mattress stitch mini practice (two swatches)
If mattress stitch feels mysterious, practice on two small squares before seaming your project.
- Make two swatches: Cast on 20 stitches. Work 24 rows of Stockinette stitch (knit on RS rows, purl on WS rows). Bind off.
- Needles: whatever size gave you a fabric similar to your project. Many knitters practice with US 8 [5 mm] and a smooth worsted-weight yarn, but any combination works if you can see the bars.
- Seam: Place swatches RS up. Put a marker every 8 rows. Work mattress stitch from bottom to top, tightening every inch.
After seaming, spread the fabric with your fingers. If you cannot find the seam quickly from the RS, you are doing the right thing.
Knitting Pattern Central