The Basic Process for Installing a Bag Zipper
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 inside the bag so the teeth face inward, and the fabric edges of the bag fold over the zipper tape. Most bag zippers are sewn in two stages: first you baste (temporarily stitch) the zipper in place, then you sew it permanently with a zipper foot on your machine.
The method works the same whether you are closing the top of a tote, a pouch, or a backpack. The main variables are the zipper length, the bag fabric weight, and whether you want the zipper visible from outside or hidden inside a seam.
Key Takeaways
- Baste the zipper in place with hand stitches or a temporary machine stitch before sewing it permanently, so you can adjust it if it shifts.
- Use a zipper foot on your sewing machine—a regular presser foot cannot stitch close enough to the zipper teeth without breaking the needle.
- Sew both sides of the zipper tape to the bag fabric, keeping your stitches parallel to the teeth and about one-quarter inch away from them.
- Backstitch at the start and end of each seam to lock the thread and prevent unraveling when the bag is used.
- Test the zipper by opening and closing it several times before trimming threads, to catch any puckering or misalignment while you can still adjust it.
Prepare the Bag Pieces and Zipper
Cut your bag fabric to finished size, including seam allowance. If you are making a rectangular pouch, for example, cut two pieces of fabric that are the width and height you want, plus half an inch on all sides for seams. Press the fabric flat with an iron to remove wrinkles—a smooth surface makes it easier to position the zipper straight.
Measure your zipper against the opening where it will go. The zipper should be at least one inch longer than the opening on each end, so the slider (the pull tab) has room to move without hitting the bag edge. If your zipper is too long, you can trim the excess tape after sewing, but do not cut the teeth themselves. If it is too short, you will need a different zipper.
Lay the two bag pieces right sides together (the pretty sides facing each other) and pin them along the edge where the zipper will go. This edge should be straight and even. Do not sew this edge yet—you will sew the zipper in place of a regular seam.
Baste the Zipper in Place
Open the zipper fully. Place one bag piece flat on your work surface with the right side (pretty side) facing up. Lay the zipper face-down on top of it, so the zipper tape is on the fabric and the teeth point toward the fabric. The edge of the zipper tape should line up with the raw edge of the bag fabric. Pin the zipper tape to the fabric along its length, keeping the pins perpendicular to the zipper.
Hand-baste the zipper to the first bag piece using a needle and thread. Make small running stitches about one-quarter inch from the edge of the zipper tape, going through the tape and the bag fabric. Basting stitches are temporary and loose—they hold the zipper in place while you machine-sew. Use a contrasting thread color so you can see the basting stitches and remove them later.
Flip the bag so the second piece is now on top, right side down. The zipper is now sandwiched between the two fabric pieces. Pin the second piece of zipper tape to the second bag piece, making sure the zipper is centered and straight. Hand-baste this side the same way as the first side.
Sew the Zipper With a Zipper Foot
Install a zipper foot on your sewing machine. A zipper foot is narrower than a regular presser foot and has a groove on one side that lets the needle pass very close to the zipper teeth without hitting them. If your machine did not come with a zipper foot, you can buy one at a fabric store for ten to twenty dollars—they are universal and fit most machines.
Thread your machine with thread that matches your bag fabric. Set the stitch length to 2.5 millimeters (a medium length). Sew along the basted line on the first side of the zipper, starting at one end and backstitching to lock the thread. Keep the needle about one-quarter inch away from the zipper teeth. Sew slowly and stop often to check that the fabric is not puckering and the zipper is staying straight.
When you reach the slider (the pull tab), stop with the needle down in the fabric, raise the presser foot, and slide the zipper pull toward you to move it out of the way. Lower the presser foot and continue sewing. Backstitch at the end of the seam to lock it.
Flip the bag and sew the second side of the zipper the same way, keeping your stitches parallel to the first side and the same distance from the teeth. Both seams should look even and straight when you are done.
Remove Basting Stitches and Test the Zipper
Use a seam ripper or small scissors to cut and remove the hand-basting stitches. Pull the threads out gently so you do not accidentally cut the machine stitches underneath. This takes patience but prevents the basting thread from showing in the finished bag.
Open and close the zipper several times to make sure it moves smoothly and the fabric does not bunch or pucker. If the zipper pulls hard or the fabric wrinkles, the zipper tape may not be sewn straight. You can carefully remove the machine stitches with a seam ripper, adjust the zipper, and re-sew if needed. Once the zipper works smoothly, trim any loose threads with scissors.
Finish the Bag Seams
Now that the zipper is sewn in, sew the remaining three sides of the bag together using a regular presser foot and a straight stitch. Place the bag pieces right sides together and sew along the side seams and bottom, using a half-inch seam allowance. Backstitch at the start and end of each seam.
If your bag fabric frays (like cotton or linen), finish the raw seams by trimming them with pinking shears (scissors with a zigzag blade) or by sewing a zigzag stitch along each seam. This prevents the seams from unraveling when the bag is washed or used heavily. Turn the bag right side out through the opening, and the zipper is now part of the finished bag.
Common Mistakes and How to Avoid Them
The most common mistake is sewing the zipper too close to the teeth, which causes the needle to hit the metal or plastic and break. Always use a zipper foot and keep your stitches at least one-quarter inch away from the teeth. If your needle breaks, stop when ready, remove the broken piece, insert a new needle, and start again from a few stitches back.
Another mistake is not basting before machine-sewing. If you skip basting and the zipper shifts while you are sewing, the two sides of the zipper will not line up and the slider will jam. Basting takes an extra ten minutes but saves you from having to rip out and re-sew the entire zipper.
Puckering (wrinkles in the fabric next to the zipper) usually means the fabric was not smooth when you started, or the zipper tape was not pinned straight. Always press your fabric flat before you begin, and use plenty of pins to hold the zipper in place. If puckering happens, you can sometimes smooth it out by pressing the finished seam with an iron on a low setting.
Frequently Asked Questions
Can I sew a zipper by hand instead of with a machine?
Yes. Use a needle and thread in a color that matches your bag, and make small, even stitches about one-quarter inch from the edge of the zipper tape. Hand-sewing takes longer (thirty minutes to an hour for a standard bag zipper) but gives you more control and works well for small pouches or delicate fabrics. Use a backstitch for strength.
What if my zipper is longer than the bag opening?
Trim the excess zipper tape after sewing, leaving about one inch of tape beyond the bag edge on each end. Do not cut the teeth. You can fold the extra tape to the inside of the bag and stitch it down, or leave it as is if it will be hidden by a lining or seam.
How do I fix a zipper that jams after I sew it in?
Stop using the zipper when ready. Rub the teeth with a graphite pencil or a bar of soap to lubricate them, then try opening and closing it slowly. If that does not work, the zipper tape may be sewn crooked or the fabric may be caught in the teeth. You may need to carefully remove the stitches, adjust the zipper, and re-sew it.
Do I need to use a special thread for sewing zippers?
No. Regular all-purpose polyester or cotton thread works fine. Choose a color that matches your bag fabric so the stitches blend in. Heavy-duty thread is optional but can be helpful if you are sewing thick fabrics or expect the bag to get heavy use.
Can I sew a zipper into a bag made of stretchy fabric like knit or jersey?
Yes, but use a stabilizer. Baste a strip of tear-away stabilizer to the wrong side of the fabric behind where the zipper will go, then sew through both the fabric and stabilizer. After sewing, tear away the stabilizer. This prevents the stretchy fabric from puckering and keeps the zipper from pulling the seams out of shape.