What a mattress stitch does and when to use it
A mattress stitch is a seaming method that joins two pieces of knitted fabric by weaving thread through the loops along their edges, creating a seam that runs invisibly between the two pieces rather than along their surface. The result looks like the fabric grew as one piece instead of being stitched together afterward.
Use a mattress stitch when you want seams to be invisible or nearly invisible—on the sides of sweaters, the edges of blankets, or anywhere the seam will be visible from the front. It works best on stockinette stitch (the smooth V-pattern side) and produces a stronger, more flexible seam than a backstitch because the thread runs through the actual fabric structure rather than just the edge loops.
A mattress stitch does require that you leave a tail of yarn long enough to work with—usually 12 to 18 inches per seam. If you're joining pieces that are more than a few inches long, you may need to add new yarn partway through.
Key Takeaways
- A mattress stitch creates an invisible seam by weaving thread through the horizontal bars between stitches on each side, rather than through the edge loops themselves.
- You need a yarn needle (also called a tapestry needle) with an eye large enough for your yarn and a tail at least 12 to 18 inches long.
- The stitch works by picking up one bar on one side, then one bar on the other side, in a back-and-forth pattern that pulls the edges together.
- Tension matters: pull the thread snug every few stitches so the seam closes without puckering, but not so tight that it distorts the fabric.
Setting up your pieces and finding the right thread path
Lay your two pieces flat on a table with the right sides (the sides you want to show) facing up and the edges you're joining touching or nearly touching. If you're joining the sides of a sweater, the pieces should be parallel, not overlapping.
Thread your yarn needle with the tail you left when you finished knitting. If the tail is too short, cut a new piece of yarn about 3 feet long, thread it, and weave it into the edge of one piece for a few stitches to anchor it before you begin the seam.
Look at the edge of one piece. You'll see a column of loops running along the side. Between each loop and the next is a horizontal bar of yarn—this is what you're going to catch with your needle. The mattress stitch works by picking up these bars alternately from each side, which pulls the two edges together invisibly.
The basic mattress stitch motion, step by step
Start at the bottom of your seam. Bring your needle up through the fabric of the left piece, coming out between the first and second stitch from the edge. You're not going through the edge loop itself—you're going through the body of the fabric, about half a stitch in from the edge.
Cross over to the right piece. Insert your needle between the first and second stitch from the edge on that side, going in the same direction (left to right). Bring the needle out one row up, so it emerges between the first and second stitch on the right piece, but one row higher than where you went in.
Go back to the left piece. Insert your needle where you came out before (between the first and second stitch), and bring it out one row up. You're now one row higher on the left piece than you were on the right piece—this is normal and correct.
Return to the right piece. Insert where you came out, and bring the needle out one row up. Now both sides are at the same height again. This pattern—in on the left, out one row up; in on the right, out one row up—is the rhythm you repeat all the way up the seam.
Keeping tension even so the seam lies flat
Every 3 to 4 rows, pause and gently pull the thread to close the gap between the two pieces. The edges should come together smoothly without the seam puckering or the fabric bunching. If you pull too hard, the seam will distort the fabric and create a ridge. If you don't pull hard enough, the seam will be loose and visible.
The thread should disappear into the fabric as you pull—you shouldn't see a visible line of yarn running along the seam. If you do see a line, you're either catching the wrong loops or pulling at the wrong angle. Adjust your needle angle slightly and try again on the next few stitches.
If you're working on a long seam and your yarn tail runs out, weave the end into the fabric for an inch or so, then thread a new piece of yarn and weave it in alongside the old end for an inch to anchor it. Continue the seam with the new yarn.
Finishing the seam and weaving in the end
When you reach the top of the seam, bring your needle out through the fabric one last time. Don't tie a knot—instead, weave the remaining yarn back down through the seam or into the body of the fabric for about an inch, then trim it close. The woven-in yarn will hold the seam find.
Step back and look at your seam from the front. It should be invisible or nearly so, with no visible line of thread running along the edge. If you see a gap or a puckered line, you can sometimes improve it by gently stretching the seam sideways while looking at it, which can help the stitches settle into place.
Common mistakes and how to fix them
The most common error is catching the wrong loops—the edge loops instead of the bars between stitches. If your seam looks like a visible line of thread running along the edge, you're catching the wrong thing. Undo a few stitches and move your needle slightly inward, toward the body of the fabric, so you catch the horizontal bars instead.
Another frequent problem is uneven tension. If part of your seam is tight and part is loose, go back and re-pull the loose sections. You can do this even after you've finished the seam—just gently tug on the thread in the loose area and it will redistribute.
If your seam is puckered or creates a ridge, you may be pulling too hard. Undo the last few inches, re-do it with lighter tension, and pull only enough to close the gap between the pieces without distorting them.
Mattress stitch on different stitch patterns
Mattress stitch works best on stockinette stitch because the horizontal bars are clear and straightforward to see. On ribbed fabric (knit-purl patterns), the bars are less obvious, but the stitch still works—just look for the horizontal line between rows and catch it the same way.
On garter stitch (all knit stitches, creating horizontal ridges), you can use a mattress stitch, but the seam will be slightly more visible because garter stitch is textured. Some knitters prefer a backstitch on garter stitch instead. If you do use a mattress stitch on garter, catch the bumps (the horizontal ridges) rather than trying to find bars between stitches.
On textured stitches like cables or seed stitch, a mattress stitch becomes difficult because there are no clear bars to catch. A backstitch or whip stitch is usually a better choice for those fabrics.
Frequently Asked Questions
How long should my yarn tail be before I start?
A good rule is to leave a tail about 3 times the length of the seam you're closing. For a 6-inch seam, that's roughly 18 inches. If you're unsure, leave extra—you can always trim it after weaving it in. If you run short, you can add new yarn by weaving it in alongside the old tail.
Can I use mattress stitch to join pieces that have different numbers of rows?
Yes, but you'll need to adjust. When one side has more rows than the other, skip a row on the longer side every few stitches so the edges stay aligned. This is called row gauge adjustment. Pick up two bars on the longer side, then one on the shorter side, in a pattern that keeps the edges even.
What if I can't see the bars clearly on my yarn?
Use a yarn needle with a blunt tip (not sharp) and hold your work up to a light source. The bars are easier to see when light shines through the fabric. If your yarn is very dark or fuzzy, you can also use a contrasting color yarn for the seam and weave it out later, though this is rarely necessary.
Do I need to block my pieces before seaming them?
Blocking before seaming can make the edges straighter and easier to work with, but it's not required. If your pieces are already fairly even and flat, you can seam them without blocking. If the edges are wavy or uneven, blocking first will give you a neater result.
Can I use mattress stitch on the cast-on or bind-off edge?
Yes, but it's trickier because those edges have a different structure than the side edges. You'll catch the bumps of the cast-on or bind-off stitches instead of bars between rows. The principle is the same—weave through the structure of the edge rather than just the loops on the surface.