Sewing piping is a machine stitch that takes practice, but the basic motion is the same every time
Piping is a narrow tube of fabric, usually filled with cord, that you stitch into a seam to create a finished edge or decorative line. You sew it by placing the piping between two pieces of fabric, then running all three layers through your machine so the stitching line sits just inside the piping's edge. The result looks professional because the piping itself becomes the visible trim, and your stitching stays hidden underneath.
The hardest part is not the stitching—it is keeping the piping straight and the fabric layers flat as they feed under the presser foot. A piping foot (also called a cording foot) solves this by holding the piping in a groove while you stitch. Without one, the piping shifts and your seam becomes uneven. You can buy a piping foot for most machines for $15 to $30, and it is worth the cost if you plan to do this more than once.
Key Takeaways
- A piping foot is essential for keeping the piping straight and centered under the needle; sewing without one leads to crooked seams and wasted fabric.
- Pin the piping to the right side of the first fabric piece before you add the second piece, and stitch with the piping facing you so you can see the edge.
- Your needle should sit just inside the piping's edge, not through the cord itself, so the stitching stays hidden when the seam is finished.
- Corners require you to stop, pivot, and clip the piping seam allowance so it folds flat without bunching.
- Practice on scrap fabric first to find the right needle position and presser foot pressure for your machine and piping thickness.
Gather the right tools and materials
You need the piping itself (pre-made or homemade), two pieces of fabric to sandwich it between, thread that matches your fabric, a piping foot for your machine, pins, scissors, and a seam ripper for mistakes. Check your machine manual to find the piping foot model number—different machines use different feet, and buying the wrong one wastes money. If your manual is lost, search your machine model plus "piping foot" online, or bring your machine to a fabric store and ask staff to identify the correct foot.
Pre-made piping comes in cotton, polyester, and specialty fabrics, usually in packages of 2 to 5 yards. The cord inside is typically 2 mm or 3 mm thick. Thicker cord is stiffer and harder to turn corners with; thinner cord is easier to handle but less visible. For your first project, buy 3 mm cotton piping in a neutral color so mistakes are less noticeable.
Thread color matters less than you might think because your stitching sits inside the piping seam allowance. Use thread that matches your fabric, not the piping, so if any stitching shows at the seam edge it blends in. Polyester thread is stronger than cotton and less likely to break when you stitch through the cord.
Prepare your fabric and piping before you pin
Cut your two fabric pieces to the finished size you want, plus a seam allowance (usually 5/8 inch). Lay the first piece right side up on your work surface. Lay the piping on top of it so the piping's seam allowance (the raw edge of fabric wrapped around the cord) lines up exactly with the raw edge of your fabric piece. The piping should sit on the right side of the fabric, not the back.
Pin the piping in place every 2 to 3 inches, pushing pins perpendicular to the piping so they do not interfere with the presser foot. If the piping is curved or going around a corner, pin more often—every inch—so it does not shift. Curved piping especially wants to bunch up, and extra pins prevent that.
Now lay your second fabric piece on top, right sides together, so the piping is sandwiched between the two pieces. The raw edges of all three layers should line up. Pin through all three layers, again every 2 to 3 inches. Step back and look at the sandwich from the side—the piping should sit flat and straight, not twisted or bunched. If it is not, unpin and reposition it.
Install the piping foot and thread your machine
Remove your regular presser foot and install the piping foot according to your machine manual. The piping foot has a groove or channel on the bottom that the piping sits in. Slide the piping into that groove to make sure it fits snugly—if it is too loose, the piping will shift; if it is too tight, the foot will not move smoothly.
Thread your machine with the thread color you chose. Set your stitch length to 2.5 mm (a medium length). If your machine has a presser foot pressure dial, start at the middle setting. You may need to adjust this later if the fabric puckers or the piping shifts, but middle is a good starting point.
Insert a fresh needle—a bent or dull needle will skip stitches and break thread. Use a universal needle in size 80/12 or 90/14 for most fabrics; use a size 100/16 if your fabric is heavy or your piping is very thick.
Stitch with the piping facing you
Position your fabric sandwich under the presser foot so the piping is facing you (toward the front of the machine). The groove in the piping foot should hold the piping centered. Lower the presser foot and take one stitch by hand, turning the wheel toward you. Check that the needle goes into the fabric just inside the piping's edge—close enough that your stitching will be hidden, but not so close that the needle hits the cord inside.
If the needle is too far from the piping edge, loosen the presser foot and slide the fabric slightly to the left or right, then tighten the foot and try again. This is the most important adjustment you will make. Once the needle position is right, you can stitch the whole seam.
Sew slowly, guiding the fabric gently with your hands but letting the feed dogs do most of the work. Do not pull the fabric toward you or push it away—that causes puckering and uneven stitches. Keep your eyes on the piping edge and the needle position. If the piping starts to shift, stop, raise the presser foot, reposition the piping, and continue. It is better to stop and fix it than to sew a crooked seam.
Handle corners and curves
When you reach a corner, stop with the needle down in the fabric. Raise the presser foot. You now need to clip the seam allowance of the piping so it can fold around the corner without bunching. Using small scissors, clip into the piping's seam allowance (the fabric wrapped around the cord) at a 45-degree angle, cutting from the raw edge toward the cord but not through the cord itself. Make the clip about 1/4 inch long.
Pivot the fabric 90 degrees so you are now sewing along the next edge. Lower the presser foot and continue stitching. The clip allows the piping to fold flat instead of creating a bulge at the corner. If you do not clip and the piping bunches, you can use a seam ripper to remove a few stitches, clip the piping, and re-stitch that section.
For gentle curves, clip the piping seam allowance every 1/2 inch or so as you sew, making small cuts perpendicular to the piping edge. This lets the piping curve smoothly without puckering. Tight curves need more clips than gentle ones.
Finish the seam and press
When you reach the end of the seam, backstitch a few stitches to lock the thread, then cut the thread and remove the fabric from the machine. Trim the thread tails close to the fabric. If you have extra piping hanging off the end, trim it even with the fabric edge.
Press the seam open using a pressing ham or a rolled towel under the seam so the piping does not flatten. Use a steam iron on the setting for your fabric type. Press from the back side first, then flip and press the front side. The piping should stand up slightly and look crisp, not squashed.
If you are joining two ends of piping (for example, on a pillow where the piping goes all the way around), overlap the ends by about 1 inch, trim the cord from one end so it does not bunch, and wrap the fabric of one end around the other. Stitch through all layers to find it. This overlap is hidden inside the seam.
Common mistakes and how to avoid them
The piping shifts while you stitch. This happens when you do not pin enough or when you pull the fabric instead of letting the feed dogs move it. Pin every 2 inches, and on curves every inch. Keep your hands light and let the machine do the work.
The stitching is visible on the finished seam. Your needle was too far from the piping edge. On your next project, position the needle closer to the edge. If this seam is already done, you can live with it—it is a learning curve, and the next one will be better.
The piping bunches at corners. You did not clip the seam allowance. Use a seam ripper to remove the stitches at the corner, clip the piping, and re-stitch. Next time, clip before you sew.
The thread breaks while you stitch. The needle may be bent, the thread may be old, or the presser foot pressure may be too high. Replace the needle, use fresh thread, and lower the presser foot pressure dial by one or two notches.
Frequently Asked Questions
Can I sew piping without a piping foot?
Technically yes, but it is very difficult. Without the groove to hold the piping, it shifts under the presser foot and your seam becomes crooked. A piping foot costs $15 to $30 and makes the job much easier. If you do not want to buy one, practice on scrap fabric first and expect to rip out and re-stitch several times.
What if I sew the piping on backwards?
If the piping is facing the wrong way (cord side out instead of seam allowance out), you will see the raw fabric edge instead of the piping on the finished seam. Rip out the stitches with a seam ripper, flip the piping around, and re-stitch. It happens to everyone.
How do I make my own piping?
Cut fabric strips on the bias (45-degree angle to the grain), sew them together end-to-end, wrap them around cord, and stitch close to the cord using a zipper foot. This takes longer than buying pre-made piping but lets you match your fabric exactly. Search "how to make bias piping" for detailed steps.
Can I use piping on knit fabric?
Yes, but knits stretch and piping does not, so the seam can pucker. Use a ballpoint needle and a stretch stitch if your machine has one. Sew slowly and do not pull the fabric. Test on a scrap first to see how it behaves.
What stitch length should I use?
Start with 2.5 mm (a medium length). Shorter stitches (2.0 mm) are stronger but can pucker lightweight fabric. Longer stitches (3.0 mm) are faster but may not hold the piping securely. Adjust based on how your fabric looks after the first few inches of stitching.