Sewing a brim onto a hat crown requires a needle, thread, and patience with hand-stitching or machine work

A brim is the fabric piece that extends from the crown of a hat. You attach it by folding the raw edges inward, pinning the brim to the crown opening, and then stitching them together with either a sewing machine or a needle and thread. The stitch runs around the entire circumference where the brim meets the crown. Most brims are sewn with the right sides of the fabric facing each other first, then turned right-side out so the seam is hidden inside.

The method you choose depends on whether you are working with a structured brim (like on a baseball cap) or a soft, floppy brim. A structured brim usually has interfacing or buckram inside it to hold its shape, while a soft brim is just folded fabric. Both attach the same way, but the interfacing makes the brim stiffer and easier to handle while you work.

Key Takeaways

  • Press and fold the raw edges of both the crown and brim inward before pinning them together, so the finished seam stays hidden inside the hat.
  • Pin the brim to the crown opening all the way around, matching the center points and spacing pins every inch or so to keep the layers even.
  • Stitch by machine or hand using a straight stitch or backstitch, sewing as close to the folded edge as you can without the needle catching loose threads.
  • A structured brim with interfacing or buckram will hold its shape better and is easier to sew neatly than a soft brim made from fabric alone.

Prepare the crown and brim pieces

Before you pin anything, both the crown and the brim need their raw edges folded and pressed. Start with the crown opening—the bottom edge where the brim will attach. Fold that edge inward by about half an inch and press it flat with an iron. This creates a clean, finished edge that will be hidden inside the hat when you are done.

Do the same with the brim. If your brim is two layers of fabric (which is typical), fold both the outer and inner edges inward by half an inch and press them flat. If your brim has interfacing or buckram sandwiched between two layers, fold the outer edges only—the interfacing will sit inside and does not need to be folded. Press everything with a warm iron so the creases stay put while you work.

Pin the brim to the crown opening

Lay the crown on a flat surface with the folded opening facing up. Take the brim and position it so the folded edges of the brim and crown line up exactly. Start by pinning at the center front and center back of the hat—these are your anchor points. Then pin at the sides, and finally fill in the gaps with pins spaced about one inch apart all the way around.

As you pin, check that the brim sits evenly and does not bunch or twist. The folded edges should be flush against each other with no gaps. If the brim is longer than the crown opening (which sometimes happens with soft brims), ease the extra fabric in gradually as you pin, distributing the fullness evenly rather than bunching it in one spot.

Stitch by machine or hand

If you are using a sewing machine, set it to a straight stitch with a medium stitch length. Sew as close to the folded edge as you can without the needle catching any loose threads from the fold itself. Start at a side seam or an inconspicuous spot, and sew all the way around the hat, removing pins as you approach them. Backstitch at the beginning and end to lock the thread.

If you are hand-stitching, use a backstitch or a ladder stitch (also called a whip stitch). A backstitch is stronger and more visible; a ladder stitch is nearly invisible but takes longer. Thread a needle with thread that matches your hat, knot the end, and push the needle through the folded layers so the knot hides inside. Stitch all the way around, keeping your stitches small and even, about one-eighth inch apart. Knot the thread on the inside when you reach the starting point.

Reinforce the seam if needed

After your first row of stitching, you can add a second row of stitching about one-quarter inch away from the first one. This is optional but makes the brim much more durable, especially if the hat will get a lot of wear. The second row also helps the brim sit more rigidly against the crown.

If you used a machine for the first stitch, you can use the machine again for the second row. If you hand-stitched, hand-stitch the second row as well. Make sure both rows are parallel and evenly spaced. When you are done, trim any loose threads and press the seam flat one more time with an iron.

Finish the inside of the hat

Once the brim is attached, the inside of the hat where the seam sits is visible. You can leave it as is if the thread matches the hat, but many hat-makers cover this seam with a strip of fabric called a sweatband or bias tape. This hides the stitching and gives the inside a finished look.

To add bias tape, cut a strip of fabric about one and a half inches wide and long enough to wrap around the inside of the crown opening. Fold it in half lengthwise and press it. Pin it over the seam on the inside of the hat, and stitch it down by machine or hand. The tape covers the raw edges and the stitching line, and it also absorbs sweat if the hat is worn regularly.

Troubleshoot common problems

If the brim puckers or bunches after you stitch it, you pinned too tightly or did not ease the fabric evenly. Unpick the stitches, repin with less tension, and try again. If the brim twists or sits at an angle, the crown and brim pieces may not be the same size. Measure both openings before you start—they should be nearly identical, or the brim will not sit straight.

If the stitching is visible and you used a machine, you may have sewn too far from the folded edge. Hand-stitching with a ladder stitch will hide the thread better, but it takes practice. If the brim feels loose or wobbly after stitching, add a second row of stitching closer to the crown, or use a thicker thread for more grip. A structured brim with interfacing will always feel more stable than a soft brim, so if stability is your goal, add interfacing before you sew.

Frequently Asked Questions

Can I sew a brim onto a hat that is already finished?

Yes, but you will need to carefully unpick the original seam or opening where the brim attaches. If the crown is already fully closed, you may need to cut a small opening, attach the brim, and then close it again. This is more work than attaching a brim during the initial construction, so plan ahead if you can.

What thread should I use?

Use thread that matches the color of your hat fabric. If the brim and crown are different colors, match the thread to whichever piece will be more visible from the outside. All-purpose polyester or cotton thread works well for most hat fabrics. Use a heavier thread if you want the stitching to be more durable.

Do I need interfacing in the brim?

Interfacing or buckram makes the brim hold its shape and stay stiff, which is especially useful for baseball caps or wide-brimmed hats. Without it, the brim will be soft and floppy. If you want a structured look, add interfacing before you fold and pin the brim to the crown.

How do I attach a brim to a hat with a seam allowance?

If your pattern includes seam allowances, fold them inward before pinning the brim to the crown, just as described above. The seam allowance is the extra fabric beyond the finished edge—folding it inward hides it and creates a clean finish. Check your pattern instructions to see how much seam allowance is included.

What is the difference between a backstitch and a ladder stitch?

A backstitch is visible and strong, making it good for structural seams. A ladder stitch (whip stitch) is nearly invisible because the thread runs inside the fold of the fabric, making it ideal for hats where you want the seam to disappear. Both work; choose based on whether you want the stitching to show.