You can knit a hat on straight needles by working flat in rows, then seaming the sides together

Straight needles are easier to manage than circular needles for beginners, and they work just as well for hats. You knit the hat as a flat rectangle, bind off, and sew the back seam closed. The finished hat will have a visible seam running down the back, which is a normal look and not a flaw. Most hats take between 50 and 100 rows depending on how tall you want them, and the whole project typically takes a few hours to a few days depending on your speed.

The basic process is: cast on stitches for the width, knit in stockinette stitch (or your chosen pattern) until the piece is tall enough, bind off, then seam the sides. You will need straight needles in the size your yarn calls for, yarn, scissors, and a yarn needle for seaming. No special skills beyond basic knit and purl stitches are required.

Key Takeaways

  • Cast on stitches equal to your head circumference divided by the stitch gauge, then add 1 inch for the seam allowance.
  • Knit in stockinette stitch (knit on the front, purl on the back) for a smooth fabric, or choose a textured stitch if you prefer.
  • Work until your piece measures about 7 to 8 inches tall, or until it reaches from your eyebrows to the crown of your head.
  • Bind off all stitches, then use a yarn needle to sew the two short ends together with a mattress stitch for an invisible seam.
  • Weave in loose ends and try the hat on; it should fit snugly but not tight, with a small amount of stretch.

Measuring and casting on the right number of stitches

Start by measuring your head circumference with a soft measuring tape. Wrap it around your forehead where a hat would normally sit. Most adult heads measure between 21 and 23 inches; children's heads are typically 18 to 20 inches. Write this number down.

Next, check your yarn label for the recommended needle size and the stitch gauge. The gauge tells you how many stitches equal 1 inch when you knit with that yarn and needle size. For example, a common gauge is 5 stitches per inch. Divide your head circumference by the gauge: if your head is 22 inches and your gauge is 5 stitches per inch, you need 110 stitches. Add 2 extra stitches for the seam allowance (you will lose about 1 stitch on each side when you sew). In this example, cast on 112 stitches.

Cast on using the long-tail method or your preferred method. Make sure your cast-on row is loose enough that you can stretch it slightly; a tight cast-on edge will make the hat uncomfortable to pull on. If your cast-on feels tight, go up one needle size just for the cast-on row, then switch back to your regular size for the body.

Knitting the body in stockinette stitch

Once you have cast on, begin knitting in stockinette stitch. This means knitting every stitch on the front side (the side facing you), then purling every stitch on the back side (the side facing away). Stockinette creates a smooth, flat fabric that looks like a V-pattern on the front and bumpy on the back. It is the most common stitch for hats because it is straightforward and shows off yarn color and texture well.

Work in stockinette stitch until your piece measures about 7 to 8 inches from the cast-on edge. This height works for most adults; measure against your own head if you want it taller or shorter. A good way to check is to hold the knitted piece up to your head: it should reach from just above your eyebrows to the top of your head. If you are making a hat for a child, aim for 5 to 6 inches instead.

Keep your tension even as you work. Tension means how tightly or loosely you pull the yarn as you knit. Uneven tension will make your hat look bumpy or wavy. If you notice your stitches are getting tighter as you go, consciously relax your hands a little. If they are getting looser, tighten up slightly. This becomes automatic with practice.

Binding off and preparing to seam

When your piece reaches the right height, bind off all stitches. The standard bind-off is: knit 2 stitches, pass the first stitch over the second and off the needle, knit 1 more stitch, pass the first stitch over the second and off the needle, and repeat until you have 1 stitch left. Cut the yarn, leaving a 6-inch tail, and pull it through the last stitch to find it.

You now have a flat rectangle. The two short ends (the cast-on edge and the bind-off edge) will become the bottom and top of the hat. The two long sides will be seamed together to form the back seam. Before you sew, lay the piece flat and check that it looks even. If one side is noticeably tighter or looser than the other, you can gently stretch and pin it to block it, then let it dry. This step is optional but makes seaming easier.

Seaming the back with a mattress stitch

Thread a yarn needle with a length of yarn about 24 inches long. If you have a long tail from binding off, you can use that. Otherwise, cut a new piece from your yarn ball. Position the hat so the two long edges are facing you and the right sides (the smooth V-pattern side) are facing outward.

Insert the needle under the first stitch on the left edge, going from bottom to top. Then insert it under the first stitch on the right edge, also from bottom to top. Now go back to the left edge and insert the needle under the second stitch, going from bottom to top. Alternate sides, going up one stitch at a time. Pull the yarn snug every few stitches so the seam closes invisibly. This is called a mattress stitch and creates a seam that is nearly invisible from the outside.

Continue seaming all the way to the top. When you reach the end, weave the yarn needle through the last few stitches on the inside of the hat to anchor it, then cut the yarn. The seam should be tight enough that you cannot see daylight through it, but not so tight that it puckers the fabric.

Shaping the crown and finishing

At this point you have a tube with an open top. You can leave it as is for a slouchy, open-top hat, or you can close the crown. To close the crown, thread the yarn needle with a new length of yarn and weave it through all the stitches on the bind-off edge (the top). Pull the yarn tight to gather the stitches together, then weave the needle through the gathered stitches a few more times to find them. This creates a gathered crown that looks like a drawstring bag.

Alternatively, if you want a flat top, you can fold the top edge down about 1 inch and sew it to the inside of the hat with a whip stitch. This creates a cuff and hides the bind-off edge. Either method works; choose based on the look you prefer.

Weave in any remaining loose ends by threading them through the yarn needle and running them through nearby stitches on the inside of the hat. Trim the ends close to the fabric. Try the hat on. It should fit snugly around your head with a small amount of stretch, and the seam should run straight down the back. If it is too tight, you may have cast on too many stitches or your gauge was off; if it is too loose, you cast on too few.

Choosing yarn and needle size for your hat

Hat yarn comes in many weights, from fingering weight (thin and delicate) to bulky weight (thick and warm). Fingering weight takes longer to knit but creates a fitted, elegant hat. Worsted weight is a good middle ground and knits up quickly. Bulky weight makes a hat in just a few hours but can look chunky.

Check your yarn label for the recommended needle size. If the label says "US 6-8", you can use any needle in that range; smaller needles create tighter fabric, larger needles create looser fabric. For a hat, aim for fabric that is dense enough to hold its shape but not so tight that it is stiff. If you are unsure, start with the middle of the recommended range.

Natural fibers like wool, merino, and cotton are popular for hats because they breathe and regulate temperature. Acrylic yarn is affordable and straightforward to care for. Blends of wool and acrylic offer a balance of warmth and washability. Choose based on your budget and how you plan to wear the hat.

Troubleshooting common problems

The hat is too tight or too loose: This usually means your gauge was off. Measure your finished hat around the widest part and compare it to your head circumference. If it is more than 1 inch smaller or larger than intended, you will need to knit a new one with a different needle size. A smaller needle size makes the hat smaller; a larger needle size makes it bigger.

The seam is visible or lumpy: A visible seam is normal and not a mistake. If it is lumpy, you may have pulled the yarn too tight when seaming. Try a new hat and use a lighter hand. If the seam is coming undone, you did not anchor the yarn well enough at the end; thread the needle again and go over the last few stitches.

The cast-on edge is too tight to pull over your head: This is the most common problem. Next time, use a larger needle size just for the cast-on row, or try the long-tail cast-on method, which tends to be looser. You can also carefully cut the cast-on edge and pick up the stitches with a larger needle, then bind off again with a looser tension.

The hat is too short or too tall: Measure your next hat as you go. Hold it up to your head every inch or so to check the fit. Most hats need 7 to 8 inches of height for adults, but this varies by head shape and personal preference.

Frequently Asked Questions

Do I have to use stockinette stitch?

No. You can use any stitch you like: garter stitch (knit every row) for a bumpy texture, ribbed stitch for stretch, or any pattern stitch. Keep in mind that some stitches use more yarn or create looser or tighter fabric, so your gauge may change. Always knit a gauge swatch with your chosen stitch before casting on for the whole hat.

Can I add a brim or cuff?

Yes. Knit the hat as normal, but before binding off, switch to a ribbed stitch (alternating knit and purl stitches) for the last 1 to 2 inches. Ribbed stitch stretches and hugs your head, making a comfortable brim. Bind off loosely so the ribbed edge does not feel tight.

What if I run out of yarn before the hat is tall enough?

You can join a new ball of yarn by tying a knot at the edge of your work, leaving 6-inch tails on both sides. Knot it on the side that will become the seam so the knot is hidden. Weave in the tails later. Alternatively, you can bind off early and accept a shorter hat, or unravel and start over with a thinner yarn.

How do I make the hat fit a child?

Measure the child's head circumference and use the same method as for an adult. Most children need 18 to 20 inches of circumference and 5 to 6 inches of height. If the child is very young, aim for a looser fit so they can grow into it.

Can I knit a hat in the round on straight needles?

No, straight needles only work flat. To knit in the round, you need circular needles or double-pointed needles. However, knitting flat and seaming is just as fast and gives you a finished hat with a seam, which is a classic look.