If you want to learn how to sew a pencil case, you have picked a perfect first zipper project. A pencil case is small, it uses very little fabric, and it teaches you the two skills that unlock most bag making: sewing a zipper and adding a lining. It is also genuinely useful, whether it holds pencils, pens, crochet hooks, or sewing notions. My first pencil case was made from a scrap of quilting cotton I loved too much to throw away, and it still sits on my desk today.
The version in this guide is a simple flat pencil case with a zipper across the top, a lining inside, and no boxed corners, so it lies flat and slips easily into a bag. It takes about an hour, it needs no pattern, and it is a wonderful way to use up fabric scraps and a spare zipper. If you have never sewn a zipper before, this is the kindest introduction there is, because the pieces are small and the seams are straight.
You can make a pencil case in any size, from a slim case for a few pens to a roomy case for a full set of pencils and a ruler. The method stays exactly the same, and once you have made one, you will want to make a set. Pick a fabric you love, because a case you love is a case you will actually use, and do not be afraid of the zipper. I will show you the tabs trick that keeps the ends neat.
What You Need and How to Size a Pencil Case
For one pencil case you need outer fabric, lining fabric, a zipper, thread, and a zipper foot for your machine. A good starter size is ten inches wide by five inches tall, which fits standard pencils and pens with room to spare. Cut two rectangles of outer fabric and two of lining, all the same size, and choose a zipper at least one inch longer than the width of the case, so the ends extend past the fabric and can be finished with tabs.
Fabric choice is simple for this project. Medium weight cotton, quilting cotton, and canvas all work well. A light interfacing fused to the outer pieces gives the case a little body, so it holds its shape when it is empty, and it is worth the extra five minutes. If you are choosing between zipper lengths, my guide to how to choose zipper length walks through the measuring step. And if you want a shorter zipper for a slim case, how to shorten a zipper shows the safe way to do it.

How to Sew a Pencil Case Step by Step
Start with the zipper tabs. Cut two small rectangles of outer fabric, about one and a half inches wide by two inches long, fold each one in half with wrong sides together, and press. Fold the raw edges of each tab over the two ends of the zipper tape and stitch across, enclosing the metal stops. These tabs cover the raw zipper ends, stop the pull from running off, and give the finished case a neat edge. Trim the tabs level with the zipper tape so they sit flat and do not add bulk to the side seams.
Now lay one outer rectangle right side up on the table. Place the zipper face down along the top edge, with the teeth pointing toward the centre of the fabric and the pull on the left. Lay one lining rectangle face down on top, so the zipper is sandwiched between the outer and the lining with the top edges aligned. Pin or clip along the top edge, then sew with your zipper foot, stitching close to the teeth. Open the pieces out, press the seam flat, and repeat on the other side of the zipper with the remaining outer and lining rectangles. When you open it out, you should have a neat tube with the outer fabric outside and the lining inside.

Finishing the Sides, the Gap, and the Corners
Open the zipper halfway before you sew the sides, because you need that opening to turn the case right side out later. A closed zipper traps you, and unpicking a finished side seam to rescue a trapped case is no fun. Now bring the two outer pieces together, right sides together, and bring the two lining pieces together, right sides together, so the case lies flat with the zipper across the top. Pin all the way around the outer edge, matching the side seams at the zipper so the zipper sits neatly at the top corners.
Sew around the whole shape with a half inch seam allowance, leaving a two and a half inch gap in the bottom of the lining. Mark the gap clearly with pins so you do not sew across it by accident, and backstitch at the start and end of the gap so the lining does not unravel when you pull the case through. Trim the outer corners diagonally to reduce bulk, then reach through the gap and pull the whole case right side out. Push the corners out gently with a chopstick, tuck the raw edges of the lining gap inside, stitch the gap closed, and push the lining down inside the case. Press the whole case flat and topstitch along the top edge, close to the zipper, to hold the lining back from the teeth.
Tips for a Neat Pencil Case
The difference between a good pencil case and a great one is in the finishing. Topstitching along the zipper is the single most effective step, so slow down for it and keep the stitching line even. Use a slightly longer stitch length than usual, and line the fabric edge up with the edge of your zipper foot so the line stays straight. If your machine has a topstitching needle, use one, because it makes a visible difference on the finished seam.
Watch the zipper pull while you sew the sides. It must sit inside the case, between the zipper teeth and the lining, not caught in the side seam. Feel for it with your fingers before you sew over that spot, and move it out of the way if it is trapped. If it does get caught, unpick that section and move it, which is a five minute fix. And think about the fabric pairing: a bold outer print with a plain lining looks smart, and a lining in a contrasting solid makes it easy to find small things inside. Once you are comfortable with this shape, the same skills carry into a wallet, like the one in how to sew a simple wallet, which uses the same zipper and lining method.

Frequently Asked Questions
What size should a pencil case be?
Ten inches wide by five inches tall is a good starter size, and it fits standard pencils and pens with room to spare. Make it wider for a ruler or a full pencil set, and slimmer for just a few pens.
Do I need a zipper foot to sew a pencil case?
A zipper foot makes the job much easier, because it lets you stitch close to the teeth without the foot riding over them. Most machines come with one, and it is worth fitting it before you start.
Why is my zipper wavy after sewing?
Wavy zippers usually come from stretching the fabric while you sew, or from stitching too close to the teeth. Keep the layers flat without pulling, use a zipper foot, and press the seam after each step.
Can I sew a pencil case without interfacing?
Yes, especially in canvas or a firm cotton. Interfacing just gives a softer fabric more body so the case holds its shape when it is empty. Choose a fabric with some weight if you skip it.
How do I stop the lining getting caught in the zipper?
Topstitch along both sides of the zipper after pressing, which holds the lining back from the teeth. Pressing the lining away from the zipper before topstitching also helps a lot.
Make One, Then Make a Set
A pencil case is the perfect first zipper project because it forgives small mistakes and rewards you with something useful in about an hour. Cut your rectangles, add the tabs, sew the zipper between the outer and the lining, leave a gap, and turn it through. Once you have made one, the second will feel easy, and a set of them makes a lovely gift.
Written by June Carter
I am June, a sewing enthusiast who loves turning simple fabric into things people actually use. I test every technique and product I write about at my own machine before it lands here.