Sewing piping onto a pillow requires a presser foot designed for cords, careful pinning, and a steady stitch line about 1/8 inch from the piping's edge

Piping is the narrow cord trim that runs along seams—it finishes a pillow edge and adds a professional look. To attach it, you sew the piping to the front pillow piece before you join the front and back together. The piping sits in the seam allowance, so when you close the pillow, the cord itself becomes part of the finished edge.

The key is using the right presser foot (a piping foot or cording foot) so you can stitch close to the cord without hitting it. Without this foot, your needle will strike the cord and break, or your stitches will be too far away and the piping will shift during assembly.

Key Takeaways

  • A piping foot lets you stitch 1/8 inch from the cord itself, keeping the piping stable and straight along the pillow edge.
  • Pin the piping to the right side of the front fabric piece before sewing, with the cord facing outward and the raw edges aligned.
  • Stitch slowly around corners and curves, stopping with the needle down to pivot without puckering.
  • Clip the piping seam allowance at corners so it folds flat when you attach the back piece.
  • The back piece stitches over the piping line, encasing the piping in the seam and creating a finished edge.

Choosing and installing the right presser foot

Check your sewing machine manual to find the piping foot or cording foot that came with your machine. Most machines include one; if yours did not, a universal piping foot costs $8 to $15 and fits most standard machines. The foot has a groove or channel on the bottom that the cord slides into, and the needle stitches in a groove to the left of the cord.

Install the foot by raising the presser foot lever, sliding the foot onto the presser bar, and lowering the lever until it clicks. Thread your machine as usual. Set the stitch length to 2.5 mm (a medium length) and the width to 0—you are sewing a straight line, not a zigzag.

Pinning piping to the pillow front

Lay your front pillow piece flat on the table with the right side facing up. Unroll your piping and lay it along one edge, with the raw edge of the piping seam allowance aligned with the raw edge of the fabric. The cord itself should face outward, away from the fabric. This way, when you sew the back piece on top, the cord ends up sandwiched in the seam.

Pin the piping every 2 to 3 inches, pushing pins straight through both the piping seam allowance and the pillow fabric. At corners, you will need to clip the piping seam allowance (see the section below) so it can turn without bunching. For now, just pin straight sections.

If your piping has a loose or frayed seam allowance, trim it to 1/2 inch wide before pinning. This keeps bulk out of the seam and makes the final edge cleaner.

Stitching the piping in place

Slide the piping under the presser foot so the cord sits in the groove. Lower the foot and the needle. Sew slowly, guiding the piping straight and keeping the cord centered in the foot's channel. Your stitches should land about 1/8 inch from the cord—close enough to hold it firm, but not so close that you hit the cord itself.

Stitch along the first edge until you reach a corner. Stop with the needle down (use the needle-down button or turn the wheel by hand), raise the presser foot, and pivot the fabric 90 degrees. Lower the foot and continue. Repeat at each corner.

When you reach the end of the first edge and are about to meet the starting point, stop stitching 2 inches before the end. Backstitch, cut the thread, and remove the pillow. You will join the piping ends after you have gone all the way around.

Handling corners and curves

At each corner, the piping seam allowance must be clipped so it can fold flat without puckering. Before you sew, use small scissors to cut into the seam allowance of the piping at a 45-degree angle, stopping just short of the cord. Make one clip at each corner. This allows the fabric to spread slightly on the inside of the corner and lie smooth on the outside.

As you stitch around a corner, slow down even more than usual. Stop every stitch or two with the needle down, raise the foot, and adjust the piping so it lies flat. This takes patience but prevents wrinkles and bunching that are hard to fix later.

If your pillow has curved edges (like a round pillow), clip the piping seam allowance every 1/2 inch along the curve. These small clips let the piping bend smoothly without puckering.

Joining piping ends

After you have sewn all the way around and your piping ends are about 2 inches apart, you need to join them so the seam is invisible. Overlap the two ends by about 1 inch, with the cord ends butting together (not overlapping). Fold back the top layer of piping fabric to expose the cord, then fold the bottom layer's seam allowance over the top layer's seam allowance and pin.

Stitch across this joint with a regular presser foot (not the piping foot), sewing through all layers. Trim the excess piping seam allowance close to this seam. Fold the piping back into place so the cord ends meet end-to-end. Finish stitching the last 2 inches of piping to the pillow front using the piping foot.

Attaching the back piece

Once the piping is sewn all the way around the front piece, lay the back pillow piece on top with right sides together. The piping now sits between the two pieces, with the cord facing outward. Pin the front and back together, pushing pins through the existing stitch line so you can see exactly where to sew.

Switch back to a regular presser foot. Sew along the same line you used to attach the piping—your needle should follow the groove left by the piping foot. Sew slowly and carefully so you stay on the line. This stitching locks the piping in place and seals the seam. Leave a 4-inch opening on one side for turning and stuffing.

Trim the seam allowance to 1/4 inch, clip the corners at a 45-degree angle, and turn the pillow right-side out through the opening. The piping now forms a finished cord along all four edges.

Common mistakes to avoid

The most common error is stitching too close to the cord and hitting it with the needle. This breaks the needle and can damage the cord. If you hear a loud pop or feel resistance, stop when ready, raise the foot, and check the needle for damage. Replace it if needed, and move the piping slightly away from the needle path.

Another mistake is not clipping the piping at corners, which causes puckers and bunching that show on the finished pillow. Always clip before you sew, even if it feels like you are cutting away good fabric.

Skipping the piping foot and using a regular foot will result in uneven stitches and piping that shifts during assembly. The piping foot is worth having—it makes the difference between a wobbly edge and a crisp, professional one.

Frequently Asked Questions

Can I use a zipper foot instead of a piping foot?

A zipper foot can work in a pinch, but it is not ideal. The zipper foot is designed for a single cord on one side, while a piping foot has a groove that centers the cord. You will have less control and may stitch unevenly. If you have a piping foot, use it.

What if my piping is too thick for the foot groove?

Thick piping (like 1/2-inch cording) may not fit in a standard piping foot. Check your machine manual for a wide piping foot, or use a regular presser foot and stitch as close as you safely can to the cord. Stitch slowly and watch the needle carefully.

Do I need to pre-wash the piping?

If your pillow fabric is pre-washed, wash the piping too so it shrinks at the same rate. If you are not washing the pillow, you do not need to wash the piping. Check the piping package for care instructions.

Can I sew piping on a pillow that is already stuffed?

No. Piping must be sewn into the seam before the pillow is closed and stuffed. If you want to add piping to a finished pillow, you would need to open a seam, insert the piping, and re-stitch—a much more difficult job.

How do I keep the piping from shifting while I sew?

Pin every 2 to 3 inches and sew slowly. Stop frequently with the needle down, raise the foot, and straighten the piping if it has drifted. The piping foot helps hold it in place, but pinning and slow stitching are what keep it straight.