To sew a zipper into a bag, mark the center of the top edge and of the zipper, mark where the stitching starts and stops so the side seams stay free, and stitch the zipper to the top edge from mark to mark. Then lay the lining right sides together over it and stitch again. Finally press the seam allowance toward the lining and topstitch close to the edge, so the lining stays inside when the bag is open.
Zipper Installation at a Glance
| Step | What you do | Why it matters |
|---|---|---|
| 1 | Mark the center on the bag and on both sides of the zipper | The zipper sits straight and even |
| 2 | Mark start and stop points, allowing for the side seams | The side seams can be sewn later without catching the zipper |
| 3 | Pin and stitch the zipper to the top edge, mark to mark | A clean, secure closure |
| 4 | Lay the lining right sides together and stitch | The zipper tape is hidden between outer fabric and lining |
| 5 | Turn the seam allowance toward the lining and topstitch | The lining does not spill out when the zipper is open |
A zipper along the top edge gives a bag a secure closure and a neat, professional finish. The method in the course uses a zipper with an end piece, which should always be a little longer than the width of the bag.
What You Need
A zipper with an end piece, a little longer than the bag is wide
The outer bag pieces and the lining pieces, with a small snipped center mark at the top edge
Chalk and a measuring tape
Pins or clips
A sewing machine; sew slowly over the zipper
Step by Step
Mark the Center and the Stop Points
Find the center pinch at the top edge of the bag and mark the center on the zipper. Close the zipper and transfer that mark to the other side, so you know exactly where the second bag piece goes. Then mark the side seam allowance on the bag and mark on the zipper where the stitching will start and stop. Stitching stops short of the side edges so the side seams stay free.
Stitch the Zipper to the Top Edge
Pin the zipper along the top edge, center mark to center mark, with the zipper edge against the bag edge. Stitch from mark to mark, backstitching at both ends. Repeat on the second side of the bag. When you close the zipper, the two center marks should meet.
Add the Lining
Lay the lining and the outer fabric right sides together with the zipper in between, center mark on center mark, and clip. At the start, fold the beginning of the zipper so it runs into the bag; at the end, let the zipper run round into the bag in a gentle curve. Stitch the seam along the edge of the zipper, slowly over the teeth.

Topstitch the Lining
Lay the whole seam allowance toward the lining and topstitch close to the edge. This keeps the lining from spilling out of the top of the bag when you open the zipper. Do the same on the other side.
With an endless zipper that is not secured at the front, never pull the slider off the end while you work. If it happens, you have to open the end piece, re-thread the slider and make a new end piece.
Common Mistakes
Uneven measuring or marking gives a zipper that sits crooked or misaligned along the top edge.
Zipper ends that are not secured or do not lie flat get in the way of a smooth closure.
A lining sewn too close to the zipper track can jam the slider.
A well-finished top edge is part of a good bag interior. For more ideas, read what makes the perfect bag interior.
See It on Video
Sewing a zipper into the top edge of a bag with its lining is shown step by step in close-up video in the Bag Sewing Fundamentals course. See the bag making courses.
Frequently Asked Questions
How do I keep the zipper straight on the bag?
Mark the center on the bag and on both sides of the zipper, and pin center mark to center mark before stitching.
Where do I start and stop stitching the zipper?
Mark the side seam allowance and stop the stitching short of the side edges, from mark to mark, so the side seams can be sewn later.
How do I stop the lining from showing when the bag is open?
Lay the seam allowance toward the lining and topstitch close to the edge. That keeps the lining inside the bag.
Why does my zipper slider jam?
The lining may be sewn too close to the zipper track. Keep the stitching along the edge of the zipper tape, away from the teeth.


