The Basic Process for Installing a Zipper in a Bag

Sewing a zipper into a bag means attaching the zipper tape (the fabric strip on either side of the metal or plastic teeth) to the bag's opening using a sewing machine or needle and thread. The zipper sits between two layers of fabric, with the teeth facing inward so they run along the inside seam. You mark where the zipper goes, pin it in place, and then stitch it down using a straight stitch or a specialized zipper foot that lets you sew close to the teeth without hitting them.

The process takes 30 to 45 minutes for a straightforward rectangular bag once you have the zipper and fabric ready. The hardest part is usually keeping the zipper straight and sewing close enough to the teeth that the bag closes smoothly, but not so close that the stitches jam the slider.

Key Takeaways

  • A zipper foot—a presser foot that narrows the needle path—makes sewing next to zipper teeth much safer and more accurate than a standard foot.
  • Mark your zipper placement on the fabric with a pencil or chalk before you pin, so the teeth line up with the seam and the zipper sits centered.
  • Pin the zipper tape to one side of the bag opening first, stitch it down, then flip and pin the other side so both edges are even.
  • Sew slowly and stop with the needle down if you need to adjust the fabric, and always test the slider before you trim threads.
  • If stitches jam the zipper, you can carefully pick them out with a seam ripper and re-stitch slightly farther from the teeth.

What You Need Before You Start

Gather a zipper that is slightly longer than your bag opening (you will trim the excess later), a sewing machine with a zipper foot attachment, thread that matches your bag fabric, pins, a pencil or tailor's chalk, scissors, and a seam ripper. If you are hand-sewing, you will need a needle, thread, and a thimble to protect your finger.

Check that your zipper works smoothly by sliding it up and down a few times. A stuck or stiff zipper will be frustrating to install and will not work well in the finished bag. If the zipper is new and stiff, run a graphite pencil along the teeth a few times to loosen it.

Marking and Pinning the Zipper in Place

Lay your bag pieces flat with the right sides (the finished sides you want to show) facing each other. The opening where the zipper will go should be at the top. Use a pencil or chalk to mark a light line down the center of the opening on the fabric, about 1/2 inch from the edge. This line is your guide for centering the zipper.

Place the zipper face-down (teeth facing the fabric) along one side of the opening, with the zipper tape aligned to your pencil line. The top of the zipper should sit about 1/2 inch below the top edge of the bag. Pin the zipper tape to the fabric every inch or so, keeping the pins perpendicular to the zipper so they do not shift it.

Once one side is pinned, flip the bag and pin the other side of the zipper to the opposite fabric piece in the same way. Check that the zipper is centered and straight by looking at it from both sides before you sew.

Sewing the Zipper Tape to the Fabric

Attach the zipper foot to your sewing machine and thread it with thread that matches your bag. Set the machine to a straight stitch with a length of 2.0 to 2.5 millimeters—small enough to hold the zipper securely but not so small that stitches bunch or jam.

Start at the bottom of the zipper on the side you pinned first. Position the needle about 1/4 inch from the zipper teeth (the zipper foot will guide you). Sew slowly up the length of the zipper, stopping every few inches to check that the fabric is not puckering and the zipper is still straight. When you reach the top, backstitch to lock the thread.

Flip the bag and sew the other side of the zipper the same way, starting at the bottom and working toward the top. Keep the stitch line parallel to the first one so the bag looks even. Once both sides are sewn, test the slider by gently pulling it up and down. It should move smoothly without resistance.

Trimming and Finishing the Zipper Ends

After both sides are stitched and the zipper works, trim the excess zipper tape at the top and bottom. Leave about 1/2 inch of tape beyond your stitching so it does not unravel. You can trim it flush with the bag edge once the bag is fully assembled, or fold it into the seam allowance if your pattern calls for it.

If the zipper slider has a long pull tab that sticks out, you can leave it as is or trim it shorter depending on the bag design. Some people wrap the excess tape with thread or fabric tape to finish the look, but this is optional.

Fixing Common Zipper Problems

If the slider jams or moves stiffly after you sew, the stitches are probably too close to the teeth. Use a seam ripper to carefully cut and remove the stitches on the side where the jam is worst, working slowly so you do not cut the fabric. Once the stitches are out, re-pin that side about 1/8 inch farther from the teeth and sew again.

If the zipper puckers the fabric or the two sides do not line up, the zipper was not pinned straight. Unpick the stitches, re-pin the zipper so it is centered, and sew again. This is normal—zippers are forgiving if you catch the mistake before the bag is fully assembled.

If the zipper is too long for your bag opening, do not cut the teeth themselves. Instead, sew a bar of stitches across the zipper tape above where you want the slider to stop, then trim the excess tape above that bar. This keeps the zipper from sliding off the top.

Hand-Sewing a Zipper if You Do Not Have a Machine

You can sew a zipper by hand using a backstitch, though it takes longer and requires a steady hand. Use a needle and thread that match your fabric, and make stitches about 1/8 inch long and 1/4 inch from the zipper teeth. A thimble on your middle finger will protect your skin and help you push the needle through the fabric and zipper tape.

Work slowly and check the slider every few inches to make sure the stitches are not jamming it. Hand-sewn zippers are just as strong as machine-sewn ones if the stitches are small and even, and many people prefer the look of hand-stitching on bags made from natural fabrics like linen or canvas.

Frequently Asked Questions

Can I sew a zipper without a zipper foot?

Yes, but it is harder and riskier. A standard presser foot is wider and sits farther from the needle, so you cannot sew as close to the zipper teeth without hitting them. If you must use a standard foot, sew farther from the teeth (about 1/2 inch) and accept that the zipper will be looser in the seam. A zipper foot costs $5 to $15 and fits most machines.

What if my zipper is shorter than the opening?

The zipper should be at least as long as the opening, ideally 1/2 inch longer. If it is too short, the bag will not close properly. You can sew the opening closed above the zipper with a regular seam, or buy a longer zipper and start over. Mixing zipper lengths into one opening does not work.

How do I keep the zipper from twisting while I sew?

Pin it every inch and check it from both sides before you start sewing. If it twists as you sew, stop with the needle down, lift the presser foot, adjust the fabric, lower the foot, and continue. Sewing slowly gives you time to catch and fix twists before they become a problem.

Should I sew the zipper before or after I close the side seams of the bag?

Sew the zipper first, while the bag pieces are still flat and straightforward to handle. Once the zipper is in, close the side seams of the bag with a regular seam, sewing from the bottom of the bag up to where the zipper tape ends. This keeps the zipper tape from getting caught in the side seams.

Can I use a regular needle and thread instead of a sewing machine?

Yes. Use a backstitch and make stitches small and close together (about 1/8 inch apart) so the zipper does not shift. It will take 45 minutes to an hour instead of 30 minutes, but the result is just as strong if your stitches are even and tight.