Free Knitting Pattern

Flat-Knit 2x2 Ribbed Hat

Beginner Knitting

Last updated November 12, 2026

Flat-Knit 2x2 Ribbed Hat

Pattern Details

Craft
Knitting
Difficulty
Beginner
Finished size
Circumference with the rib gently stretched: 17.5 (19.25, 20.75) in / 45 (49, 53) cm. Height: about 7.75 (8.5, 9) in / 19.5 (21.5, 23) cm. To fit a head of 18-19.5 (20-22, 22-23.5) in / 46-50 (51-56, 56-60) cm.
Time
A weekend or a few evenings
Gauge
20 sts and 26 rows to 4 in (10 cm) in stockinette on 4.5 mm needles - knit a stockinette swatch to check, because relaxed rib pulls in too much to measure, and the hat size depends on this gauge.

Materials

  • Worsted/aran weight yarn in wool or a wool blend, about 120 (160, 190) yd / 110 (145, 175) m - check the yardage on the ball band
  • 4.5 mm (US 7) straight knitting needles
  • Tapestry needle with an eye large enough for the yarn
  • Tape measure
  • Scissors

Stitches Used

Abbreviations

k
knit
p
purl
k2tog
knit 2 stitches together (1 stitch decreased)
RS
right side
WS
wrong side
rep
repeat
st(s)
stitch(es)

A free 2x2 rib beanie knitted flat on straight needles and seamed with mattress stitch, in child, adult S/M and adult L sizes - no circular needles needed.

A ribbed beanie is one of the most useful things you can knit, and you don't need circular or double-pointed needles to make one. This hat is knitted flat as a rectangle in 2x2 rib, decreased for the crown, gathered at the top, then sewn into a tube with mattress stitch. The seam disappears into the rib, so the finished hat looks almost the same as one knitted in the round.

Rib is stretchy, so the hat hugs the head without needing exact sizing, and the three sizes cover most children and adults. The stitch counts for every size are arranged so the knit and purl columns line up across the seam through the whole ribbed body, with no half-columns or doubled purls where the edges meet.

You'll learn 2x2 rib, how to decrease on both right-side and wrong-side rows, how to gather stitches to close a crown, and how to sew an invisible mattress stitch seam - skills you'll use again in sweaters and other seamed projects.

Pattern Notes

  • Sizes are given as child (adult S/M, adult L). Where only one number is given, it applies to all sizes. Highlight the numbers for your size before you start.
  • The cast-on is a multiple of 4 plus 2, so every RS row starts and ends with k2. When the hat is seamed, one stitch from each edge is taken into the seam, and the two knit stitches left on either side sit together as one k2 column, so the rib runs unbroken around the hat.
  • Between decreases, work the stitches as they appear: knit the smooth V stitches and purl the bumps.
  • The first crown decrease is worked on a WS row. The purl columns of the right side face you as knit stitches on that row, so every decrease in this hat is a k2tog.
  • Use wool or a wool blend. Rib relies on the yarn springing back, and cotton or bamboo rib tends to stretch out and lose its shape.

Cast on

  • Cast on 90 (98, 106) sts using the long-tail cast-on, leaving a 6 in (15 cm) tail.

Rib

  • Row 1 (RS): K2, *p2, k2; rep from * to end. (90 (98, 106) sts)
  • Row 2 (WS): P2, *k2, p2; rep from * to end.
  • Repeat Rows 1 and 2 until the piece measures 6 (6.75, 7.25) in / 15 (17, 18.5) cm from the cast-on edge, ending with a Row 1 (RS row).

Crown

  • Crown Row 1 (WS): P2, *k2tog, p2; rep from * to end. (68 (74, 80) sts)
  • Crown Row 2 (RS): K2, *p1, k2; rep from * to end.
  • Crown Row 3 (WS): P2, *k1, p2; rep from * to end.
  • Crown Rows 4-5: Repeat Crown Rows 2 and 3.
  • Crown Row 6 (RS): K2tog, *p1, k2tog; rep from * to end. (45 (49, 53) sts)
  • Crown Row 7 (WS): P1, *k1, p1; rep from * to end.
  • Crown Row 8 (RS): K1, *p1, k1; rep from * to end.
  • Crown Row 9 (WS): P1, *k1, p1; rep from * to end.
  • Crown Row 10 (RS): K1, *k2tog; rep from * to end. (23 (25, 27) sts)
  • Crown Row 11 (WS): Purl.
  • Crown Row 12 (RS): K1, *k2tog; rep from * to end. (12 (13, 14) sts)

Close the top

  • Cut the yarn, leaving a tail about 30 in (75 cm) long. This tail is used for the seam.
  • Thread the tail onto the tapestry needle. Pass the needle through the remaining 12 (13, 14) sts in order, from the tip of the knitting needle, sliding them off the needle as you go.
  • Pull the tail firmly to gather the stitches into a tight circle, then pass the needle through all the stitches a second time to secure them.

Seam with mattress stitch

  • Fold the hat in half with the RS facing you, bringing the two side edges together edge to edge. Start at the crown with the long tail and work down toward the cast-on edge.
  • Gently pull the edge stitch on each side away from its neighbor: between them you will see a ladder of horizontal bars. Pass the needle under one bar on the left edge, then under the matching bar on the right edge.
  • Keep alternating sides, going under one bar at a time, and pull the yarn snug every few stitches so the edges close up and the seam yarn disappears. The two edge stitches roll to the inside, and the knit stitches beside them meet to form one k2 column.
  • When you reach the cast-on edge, take the yarn through to the inside.

Finishing

  • Weave the ends in on the inside, running them along the seam so they are hidden and do not reduce the stretch of the rib. Trim.
  • Do not press or pin rib flat. If you want to wash or block the hat, soak it, squeeze out the water in a towel and let it dry over a balloon or bowl about the size of a head.

Tips

  • Before starting the crown, check the edges on a RS row: both ends should show k2. If they don't, a stitch has been lost or added somewhere.
  • Keep a tally of the crown rows on paper - the decrease rows come quickly and are easy to lose track of.
  • If you are between sizes, choose the smaller one. Rib stretches, and a snug hat stays on better than a loose one.
  • Hold the rib against your head before the crown: from the cast-on edge it should reach almost to the top of the head, with the crown rows adding the last 1.75 in (4.5 cm).

Variations

  • Folded brim - Knit an extra 2.5 in (6.5 cm) of rib before the crown and fold the brim up. Sew the bottom 2.5 in (6.5 cm) of the seam with the WS facing you, so the seam stays hidden when the brim is folded.
  • Pompom - Make a pompom about 3 in (7.5 cm) across and sew it firmly over the gathered crown with the long seaming tail.
  • Stripes - Change color at the start of a RS row. Stripes of 4 or 6 rows suit the rib, and both colors can be woven in along the seam.

More Knitting Patterns