The basic method: pin, stitch, and backstitch
Sewing a zipper onto a bag means pinning the zipper tape to the bag fabric, then stitching along both edges of the tape with a needle and thread or a sewing machine. The zipper teeth stay facing inward or outward depending on your bag design — most often inward, so the teeth don't catch fabric when you open and close the bag. You work one side at a time, stitching as close to the teeth as your needle will go without hitting them.
Start by cutting your bag pieces to size and marking where the zipper will sit. Pin the zipper tape to the right side of one bag piece, with the zipper pull facing the direction you want it to open. Use a zipper foot — a presser foot designed to ride close to the zipper teeth — if you have a sewing machine. Hand-sewing works too, but takes longer and requires a steady hand to keep stitches even.
Stitch from one end of the zipper to the other, staying about one-eighth inch from the teeth. Backstitch at the start and end to lock the thread. Flip the bag and repeat on the other side. Once both sides are sewn, you can assemble the rest of the bag around the zipper.
Key Takeaways
- Pin the zipper tape to your bag fabric before stitching, with the zipper pull facing the direction you want it to open.
- Use a zipper foot on your sewing machine to stitch close to the teeth without hitting them, or hand-sew with small, even stitches.
- Stitch both sides of the zipper tape, backstitching at the start and end of each seam to prevent unraveling.
- Keep the zipper teeth facing inward on most bags so they don't snag the lining or contents when you open and close the bag.
- Test the zipper by opening and closing it before you finish assembling the bag, so you can fix any caught fabric while the bag is still flat.
Choosing between hand-sewing and machine-sewing
A sewing machine with a zipper foot is faster and produces more even stitches, especially on longer zippers or stiff fabrics like canvas or denim. The zipper foot lets you position the needle right next to the teeth without the presser foot bumping into them. If your machine has a zipper foot, use it — most machines come with one, or you can buy a universal zipper foot for under ten dollars.
Hand-sewing works for small zippers, lightweight fabrics, or if you don't have a machine. Use a backstitch, which is stronger than a running stitch and less likely to come loose. Thread a needle with thread that matches your bag fabric, knot the end, and push the needle through both the zipper tape and the bag fabric from the back. Pull the thread tight, then push the needle back through the same hole and forward again about one-eighth inch away. Repeat all the way down the zipper.
Hand-stitching takes about three to five times longer than machine-sewing, but gives you more control if your bag has curves or corners near the zipper. Many people hand-sew the zipper and machine-sew the rest of the bag.
Pinning the zipper straight and find
Crooked pinning leads to a zipper that sits at an angle or pulls to one side when you open it. Lay your bag piece flat on a table and position the zipper on top, with the zipper tape aligned with the edge of the fabric. The zipper pull should face the direction you want to open the bag — usually toward the top or side, depending on your design.
Pin the zipper tape to the fabric every inch or so, pushing pins through the tape and fabric at a right angle to the edge. Check that the zipper is straight by looking at it from above and from the side. If the tape is bunched or twisted, unpin that section and reposition it. Once you're satisfied, you can stitch.
Some sewers use a temporary spray adhesive instead of pins, spraying the back of the zipper tape lightly and pressing it onto the fabric. This keeps both hands free while you stitch and prevents pins from getting in the way. If you use spray adhesive, let it dry for a minute before stitching.
Stitching close to the teeth without hitting them
The closer you stitch to the zipper teeth, the less visible the zipper tape will be on the finished bag. Aim for one-eighth inch from the teeth — close enough that the stitching line is nearly touching the metal or plastic, but far enough that your needle doesn't catch a tooth and break. If you're using a machine, the zipper foot should position your needle automatically; if you're hand-sewing, use the teeth as a visual guide and keep your stitches small and even.
If your needle does hit a tooth, stop, back up, and reposition. Hitting a tooth once won't break your needle, but repeated impacts will. If you're machine-sewing and the presser foot is bumping into the zipper pull as you stitch toward it, stop when you reach the pull, raise the presser foot, slide the pull down past the needle, lower the presser foot again, and continue stitching.
Test your stitching by gently tugging on the zipper tape. If the stitches hold and the tape doesn't shift, you're ready to move to the other side. If the tape is loose, you can add a second line of stitches one-quarter inch away from the first, or remove the first line and re-stitch closer to the teeth.
Dealing with thick fabrics and stiff zippers
Canvas, denim, and upholstery-weight fabrics are harder to push a needle through and can dull your needle faster. If you're hand-sewing, use a thimble on the finger that pushes the needle through, and consider using a needle one size larger than you would for lighter fabric. A larger needle is easier to push and less likely to bend.
For machine-sewing thick fabrics, slow down your stitching speed and use a needle rated for heavy fabrics — usually a size 16 or 18 instead of the standard size 12. Heavy-duty thread also helps; it's thicker and less likely to break under pressure. If your machine struggles to push the needle through, you may need to hand-walk the machine by turning the wheel by hand instead of using the foot pedal.
Stiff zippers — those with thick plastic or metal teeth — require the same approach as thick fabric. Take your time, keep the needle sharp, and don't force the needle through if it's resisting. A dull needle will skip stitches or break.
Finishing the zipper ends and testing before assembly
Once both sides of the zipper are stitched, trim any loose threads and test the zipper by opening and closing it several times. If fabric is caught in the teeth, gently work it free with a seam ripper or small scissors. If the zipper pulls hard or sticks, the tape may be twisted or the stitching may be too close to the teeth — you can carefully remove a few stitches and re-stitch if needed.
If your bag design calls for the zipper ends to be enclosed (for example, in a side seam), you don't need to finish them — the seam will cover them. If the zipper ends will be visible, you can fold the raw edges of the zipper tape to the back and stitch them down, or trim the tape to one-quarter inch and fold it under before stitching. Some sewers leave the ends raw and seal them with a small dab of clear fabric glue to prevent fraying.
Before you assemble the rest of the bag, open and close the zipper at least five times to make sure it moves smoothly and nothing is caught. This is your final note to fix problems while the bag is still flat and straightforward to work with.
Common mistakes and how to avoid them
Stitching too far from the teeth leaves a wide gap of visible zipper tape, which looks unfinished. Stitching too close or hitting the teeth can break your needle or jam the zipper. The solution is to use a zipper foot if you have one, and to practice on scrap fabric first — stitch a test zipper onto two pieces of fabric and open and close it to see how close you can safely go.
Pinning the zipper crooked is the most common cause of a zipper that pulls to one side or sits at an angle. Take time to pin straight, and check from multiple angles before you stitch. If you discover the zipper is crooked after stitching, you can remove the stitches and re-stitch, but it's faster to get it right the first time.
Forgetting to test the zipper before you assemble the bag means you might not discover a problem until the bag is nearly finished. Always open and close the zipper several times while the bag is still flat. If something is caught or the zipper is stiff, you can fix it in minutes; if you wait until the bag is assembled, you may have to take apart seams to reach the problem.
Frequently Asked Questions
Can I sew a zipper onto a bag by hand, or do I need a sewing machine?
You can hand-sew a zipper using a backstitch, which is stronger than a running stitch and holds up well on bags. Hand-sewing takes longer — usually three to five times longer than machine-sewing — but works fine for small zippers or lightweight fabrics. Use a needle that matches your fabric weight and keep your stitches small and even.
What is a zipper foot and do I really need one?
A zipper foot is a presser foot designed to ride close to zipper teeth without bumping into them, letting you stitch as close as one-eighth inch from the teeth. Most sewing machines come with one, and universal zipper feet cost under ten dollars. You don't need one to sew a zipper, but it makes the job faster and the stitching more even, especially on longer zippers.
What should I do if my needle hits the zipper teeth?
Stop when ready, back up a few stitches, and reposition the needle away from the teeth. Hitting a tooth once won't break your needle, but repeated impacts will. If you're machine-sewing and the presser foot is bumping the zipper pull, stop, raise the foot, slide the pull down past the needle, lower the foot, and continue.
How do I know if I'm stitching too close to the zipper teeth?
Aim for one-eighth inch from the teeth — close enough that the stitching line is nearly touching the metal or plastic, but far enough that your needle doesn't catch a tooth. Test on scrap fabric first to see how close you can safely go. If you're unsure, stitch a bit farther away; you can always add a second line of stitches closer to the teeth if the first line looks too far.
What if the zipper is crooked after I stitch it?
You can remove the stitches using a seam ripper and re-stitch the zipper straight. It's faster to pin carefully and check from multiple angles before you stitch the first time. If you discover the problem after the bag is assembled, you may have to take apart seams to reach the zipper.