The Basic Steps for Installing a Zipper

Sewing a zipper into a bag involves pinning the zipper tape to the fabric edges, then stitching it down with a needle and thread or a sewing machine. The zipper sits between two layers of fabric, with the metal or plastic teeth facing inward so they do not catch on anything outside the bag. You will stitch along both sides of the zipper tape—once on each side—to hold it firmly in place.

The process takes about 30 to 45 minutes for a beginner, depending on the bag size and whether you use a machine or hand-sew. A sewing machine is faster and produces a straighter line, but hand-sewing works just as well if you take your time and use small, even stitches.

Key Takeaways

  • Measure your zipper opening and buy a zipper at least 2 inches longer than that opening so you have room to work.
  • Pin the zipper tape to the right side of one fabric piece, then flip and pin the second fabric piece on top, sandwiching the zipper tape between them.
  • Stitch along the edge of the zipper tape on both sides using a straight stitch, staying close to the teeth but not so close that the needle hits them.
  • Test the zipper before you finish the bag seams, because replacing a zipper after the bag is complete is much harder.

What You Need Before You Start

Gather a zipper that is at least 2 inches longer than your finished opening—if your bag opening will be 8 inches wide, buy a 10-inch zipper. Zippers come in different weights: lightweight zippers work for small pouches and clothing, while heavy-duty zippers suit larger bags and gear bags. Check the zipper slider to make sure it moves smoothly before you buy.

You will also need thread that matches your fabric or the zipper, a needle (size 70/10 or 80/12 for a machine, or a hand-sewing needle), pins, scissors, and a measuring tape. If you are using a sewing machine, a zipper foot attachment makes the work much easier—it is a narrow presser foot that lets you stitch right next to the zipper teeth without hitting them. Most machines come with one, but if yours did not, they cost $5 to $15 and fit most standard machines.

Preparing Your Fabric and Zipper

Cut your two fabric pieces to the size you want your finished bag opening to be. If you are making a pouch that is 8 inches wide, cut each piece 8 inches wide and as tall as you need. Press both pieces flat with an iron to remove wrinkles—this makes pinning much easier and your stitches will be straighter.

Lay one fabric piece right-side up on your work surface. Place the zipper face-down on top of it, so the zipper teeth are touching the fabric and the zipper tape is visible. The zipper should run along the edge where you want the opening to be. Pin the zipper tape to the fabric with the pins perpendicular to the zipper, spacing them about 2 inches apart.

Now lay the second fabric piece on top, right-side down, so the two fabric pieces are facing each other with the zipper sandwiched between them. Pin through all three layers—both fabric pieces and the zipper tape—along the same edge. The zipper is now trapped between the two pieces of fabric, which is exactly where you want it.

Stitching the Zipper in Place

If you are using a sewing machine, attach the zipper foot and thread your machine. Set the stitch length to 2.0 to 2.5 millimeters—a standard length for most sewing. Position the needle so it will run along the edge of the zipper tape, about 1/8 inch away from the teeth. Sew slowly and stop every few inches to make sure the needle is not hitting the zipper slider or teeth.

Once you have stitched one side, flip the bag so the other side of the zipper tape is facing up. Pin the second fabric piece to the other side of the zipper tape the same way you did the first side. Stitch along this edge as well, keeping the same distance from the teeth. When you reach the zipper slider, stop with the needle down, lift the presser foot, slide the zipper slider out of the way, lower the presser foot, and continue stitching.

If you are hand-sewing, use a backstitch, which is the strongest hand-sewing stitch. Bring the needle up through all three layers, then push it back down through the fabric about 1/8 inch behind where it came up. Bring it up again 1/8 inch ahead of that point. This creates a solid line of stitches. Work slowly and keep your stitches small and even—aim for about 8 to 10 stitches per inch.

Testing and Finishing

Before you sew the rest of the bag together, open and close the zipper several times to make sure it moves smoothly. If the zipper is stiff or catches, stop and check for thread caught in the teeth or fabric bunched under the zipper tape. Gently pull any caught thread free and smooth out the fabric.

Once the zipper works smoothly, you can sew the side seams of the bag to close it. Trim the excess zipper tape that sticks out beyond the bag opening—leave about 1/2 inch of tape, then fold it under and stitch it down, or cut it flush and cover the raw edge with a seam allowance from the side seams.

Common Mistakes and How to Avoid Them

The most common mistake is buying a zipper that is too short. If your zipper is shorter than your opening, you will not be able to close the bag all the way. Always buy at least 2 inches longer than your opening measurement, and you can trim the excess later.

Another frequent problem is stitching too close to the zipper teeth, which causes the needle to hit the metal or plastic and break. Stay at least 1/8 inch away from the teeth. If you are nervous about this, mark a line on the fabric with a fabric pencil before you stitch, and follow that line.

Bunched or puckered fabric under the zipper tape usually means the fabric was not pinned flat before stitching. Take your time pinning, and smooth the fabric as you go. If you notice puckering while you stitch, stop, remove the stitches, re-pin, and start again.

Hand-Sewing Versus Machine Sewing

A sewing machine produces faster, more consistent results and is the better choice if you plan to make multiple bags. The stitches are uniform and strong, and you can complete a zipper in 10 to 15 minutes. Hand-sewing takes longer—usually 30 to 45 minutes—but it gives you more control and works well if you do not have access to a machine or prefer the meditative pace of hand work.

Hand-sewing is also the only option if your fabric is very delicate or if you are repairing a bag where a machine stitch would be too bulky. The backstitch is strong enough for any bag, as long as your stitches are small and even. If you hand-sew, use thread that is waxed or thread-conditioned, which resists fraying and makes the work easier.

Frequently Asked Questions

Can I sew a zipper by hand, or do I need a sewing machine?

You can absolutely hand-sew a zipper using a backstitch. It takes longer than machine-sewing—usually 30 to 45 minutes—but the result is just as strong and durable. Use small, even stitches about 1/8 inch apart, and waxed thread if you have it.

What if my zipper is too long for my bag opening?

Trim the excess zipper tape after you have sewn it in place, leaving about 1/2 inch of tape beyond the bag opening. Fold this under and stitch it down, or cover it with the side seams of the bag. Do not cut the metal or plastic teeth themselves—only trim the fabric tape.

How do I fix a zipper that gets stuck or catches?

Stop when ready and check for thread caught in the teeth or fabric bunched under the zipper tape. Gently pull any caught thread free and smooth the fabric. If the zipper still sticks, rub the teeth lightly with a graphite pencil or a bar of soap to lubricate them, then test again.

Do I need a special zipper foot for my sewing machine?

A zipper foot makes the job much easier because it is narrow and lets you stitch right next to the zipper teeth without hitting them. Most machines come with one, but if yours did not, they are inexpensive ($5 to $15) and fit most standard machines. You can sew a zipper without one, but you will have to be very careful to stay away from the teeth.

What weight zipper should I use for my bag?

Lightweight zippers work for small pouches and delicate fabrics. Medium-weight zippers suit everyday bags and tote bags. Heavy-duty zippers are best for large bags, gear bags, and outdoor equipment. Check the zipper slider—it should move smoothly and feel solid, not flimsy or loose.