Sewing a zipper into a pocket means attaching the zipper tape to the fabric edges that form the pocket opening, then stitching the pocket closed around it.

The zipper sits between two layers of fabric—the pocket lining and the outer fabric—so the teeth face inward and only the slider shows when the pocket is closed. You'll need a regular sewing machine, a zipper foot (a special presser foot that lets you stitch close to the zipper teeth), thread that matches your fabric, and a zipper cut to the length of your pocket opening, plus about half an inch on each end.

The whole process takes 30 to 45 minutes once you've cut and prepared your fabric pieces. The hardest part is keeping your stitches straight and close to the zipper teeth without hitting them—a zipper foot solves this by letting you position the needle right next to the metal or plastic without breaking it.

Key Takeaways

  • A zipper foot is essential because it lets you stitch within a quarter-inch of the zipper teeth without breaking your needle.
  • The zipper tape gets sandwiched between the pocket lining and outer fabric, so the teeth face the inside of the pocket.
  • Stitch one side of the zipper completely before moving to the other side, and use a slow, steady pace to keep your line straight.
  • Test the slider before closing the pocket completely—if it catches or sticks, you may have sewn too close to the teeth.

Prepare your fabric and zipper before you start

Cut your pocket pieces to size: two rectangles of fabric (one for the outer pocket, one for the lining) that are each about half an inch wider and longer than your finished pocket will be. The extra half-inch becomes your seam allowance. If your pocket opening will be 5 inches wide, cut your rectangles 6 inches wide.

Cut your zipper to length by measuring the pocket opening and adding half an inch on each end. If your opening is 5 inches, cut a 6-inch zipper. Use scissors or a seam ripper to carefully cut through the zipper tape on both sides of the final tooth you want to keep, then slide the slider off if it's in the way. Do not cut through the teeth themselves—only the tape.

Press both fabric rectangles with an iron on medium heat to remove wrinkles. This makes it easier to see your sewing lines and keeps the fabric from shifting as you work.

Position the zipper between the two fabric layers

Lay your outer pocket fabric face-up on your work surface. Place the zipper face-down on top of it, with the zipper tape aligned with one long edge of the fabric. The teeth should point toward the fabric, and the tape should sit right along the edge—not floating in the middle.

Now lay your lining fabric face-down on top of the zipper, sandwiching it between the two pieces. The two fabric pieces should be right sides together (the pretty sides facing each other), with the zipper tape caught in the middle. Pin along the edge where the zipper tape sits, using pins every 2 to 3 inches. This keeps everything from shifting while you sew.

Check that the zipper slider is not in the way of where you'll be stitching. If it is, slide it toward the other end of the zipper before you start.

Attach the zipper foot and stitch the first side

Remove your regular presser foot and install the zipper foot according to your machine's manual. Most zipper feet slide onto the presser bar and lock in place with a screw or clip. The foot should sit so the needle can move to either side of it—this lets you stitch close to the zipper teeth without hitting them.

Thread your machine with thread that matches your fabric. Set your stitch length to 2.5 millimeters (a standard length for seaming). Position the fabric under the foot so the needle will land about a quarter-inch away from the zipper teeth, on the fabric side, not the tape side.

Lower the presser foot and sew slowly and steadily along the edge, keeping the zipper foot parallel to the zipper tape. Sew from one end of the zipper to the other without stopping. If your line wavers, stop with the needle down, lift the presser foot, adjust the fabric, lower the foot again, and continue. Do not try to correct while moving—it usually makes the line worse.

Flip and stitch the second side

When you reach the end of the first side, stop with the needle down, lift the presser foot, and remove the fabric from the machine. Trim the thread tails to about 2 inches.

Now flip the whole sandwich over so the lining fabric is on top and the outer fabric is on the bottom. The zipper is still sandwiched in the middle. Reposition the zipper foot so it will stitch the other side of the zipper tape, again about a quarter-inch from the teeth. Pin this side the same way you pinned the first.

Sew the second side using the same slow, steady pace. Try to keep your stitching line parallel to the first line you made—they don't have to be exactly the same distance from the teeth, but they should look balanced. When you finish, trim the thread tails again.

Test the slider and close the pocket

Before you sew the pocket closed, test the zipper slider by opening and closing it a few times. It should move smoothly without catching or sticking. If it catches, you may have sewn too close to the teeth on one side. Carefully use a seam ripper to cut a few stitches where it catches, then re-sew that section a tiny bit farther from the teeth.

Once the slider works smoothly, trim the zipper tape at each end so it doesn't stick out past the fabric edges. Leave about a quarter-inch of tape beyond the last stitch on each side—this keeps the tape from unraveling.

Now sew the pocket closed by stitching around the remaining three sides of the fabric rectangle, using your regular presser foot and a quarter-inch seam allowance. Start at one corner and sew all the way around, turning at each corner. Backstitch at the beginning and end to lock the stitches. Trim the thread tails and press the finished pocket with an iron on medium heat.

Common mistakes and how to avoid them

The most common mistake is sewing too close to the zipper teeth and breaking your needle. A zipper foot prevents this, but only if you position it correctly—the foot should sit so the needle lands in the fabric, not on the metal or plastic. If you hear a sharp ping sound, stop when ready and check your needle. It is probably bent or broken and needs to be replaced before you continue.

Another frequent problem is the zipper slider getting stuck because the two stitching lines are too close together and pinch the teeth. This usually happens on the second side if you're not paying attention to how close the first line was. Measure the distance from the teeth to your first stitching line and try to match it on the second side. If the slider does get stuck, a seam ripper and a few minutes of careful work can fix it.

Shifting fabric is also common, especially if you don't pin enough. Use at least one pin every 2 to 3 inches, and check that the zipper tape stays aligned with the fabric edge as you sew. If you notice it's drifting, stop, adjust, and continue.

Frequently Asked Questions

Do I need a special zipper foot, or can I use my regular presser foot?

A zipper foot is strongly recommended because it lets you position the needle right next to the zipper teeth without hitting them. A regular presser foot is too wide and forces you to sew farther away, which can leave gaps between the fabric and the zipper tape. Most machines come with a zipper foot, and replacement feet cost $10 to $20.

What if my zipper is longer than my pocket opening?

Cut the zipper to the correct length before you start. Measure from the top of the pocket opening to the bottom, add half an inch, and cut the zipper tape at that point. Use scissors or a seam ripper to cut only the tape, not the teeth. If you cut too short, you'll need a new zipper—there's no way to lengthen one.

Can I sew a zipper into a pocket by hand?

Yes, but it's much slower and harder to keep your stitches straight. Use a backstitch and sew about a quarter-inch from the zipper teeth, making stitches about a quarter-inch long. It will take 45 minutes to an hour instead of 15 to 20 minutes on a machine, and the line is more likely to be wavy. A machine is worth using if you have access to one.

Why does my zipper slider stick or catch?

This usually means your stitching line is too close to the teeth on one or both sides, pinching them as the slider moves. Use a seam ripper to carefully cut out a few stitches in the problem area, then re-sew that section about an eighth-inch farther from the teeth. Test the slider again before you close the pocket.

How do I keep the zipper tape from unraveling at the ends?

Leave about a quarter-inch of tape beyond your final stitches on each end, then trim it straight across with scissors. The stitching anchors the tape and keeps it from fraying. If you trim too close to the stitches, the tape can start to come apart—the quarter-inch buffer prevents this.