Our son’s first Halloween is just a few days away. The holiday looks different this year, but COVID-19 won’t keep us from dressing him up in an adorable costume.
We decided to dress Alexander as Baby Yoda (well, I know it’s technically “The Child”) quite a few weeks ago. And yes, we planned. But of course, Halloween is just two days away and we’re still getting the finishing touches on his costume.
That’s part of the Halloween tradition, right? Scrambling at the last minute to get your costume ready is all part of the fun.
This Baby Yoda-inspired knitted hat ended up being too cute to keep the pattern all to myself, so I want to share it with you all here — for free!
This post may contain affiliate links. In the event of a sale, I get rewarded a small commission at no extra cost to you. This helps me deliver great content (including free patterns!) to you, so thank you!
It’s only written for one size right now — 3 to 6 month old babies with heads approximately 14 to 16 inches around. Hats are very stretchy though, so I’m sure you could fit a slightly older child in this pattern. Plus I designed it with a rolled brim so I can extend the length as he grows.
If your child is older, consider adding an inch or so to the length. You can always roll it up if it’s too long.
Or if you have a favorite hat pattern you prefer to make in the right size for your kiddo, you can make only the ears from this Baby Yoda Hat Pattern and attach them to that hat. Whatever works best for you!
A Note About Materials
This green yearn is from my stash, and I lost the tag to it. So unfortunately I can’t tell you exactly what I used. But I do know that it’s a Medium-4 weight and is superwash wool. You can substitute any Medium-4 weight yarn and use any fiber — wool, acrylic, bamboo, cotton, etc. Whatever you think “The Child” will like best. Brava Worsted Yarn from Knit Picks in Fig or Avocado is a great option.
The ears are, well, quite large. They will most certainly flop down. To help keep them firm I inserted some EVA foam before seaming them up. This is totally optional, but does help. If you don’t have any EVA foam, you could cut out some cardboard from a shipping or cereal box, or try stuffing them with scrap yarn. The benefit of using EVA foam or cardboard is that you can mold the shape a little to give the ears some depth.

To complete the costume, I wrapped Alexander in a tan flannel blanket. Tadaa! Baby Yoda, a.k.a “The Child,” is ready for Halloween.
This hat also makes a really fun gift for any fan of Star Wars or The Mandalorian for Christmas, birthdays, or anytime.
If you make this free hat, please share on Instagram with the hashtag #BabyYodaHatKnit and tag me @KnitJulep. I’ll try to share each of your projects!
And now, the pattern instructions for my free knitted Baby Yoda-inspired hat pattern.
*** *** ***
Baby Yoda-Inspired Knit Hat Pattern
Notes
Yarn: Medium-4 Weight Yarn (I recommend Knit Picks’ Brava Worsted Yarn in Fig or Avocado.)
Needles: Size 8 16″ circular needles for the hat & set of three Size 8 double-pointed needles for the ears
Gauge: 19 stitches and 26 rows = 4 inches in stockinette stitch knitted in the round
Notions: Tapestry needle, stitch marker
Size: Fits babies around 3 to 6 months old with a 14 to 16 inch head circumference. Hat measures approximately 15 inches around.
Instructions
Using circular needles, cast on 64 stitches.
Join in the round and place marker.
— Hat Body —
Knit every round until hat measures approximately 5 inches from cast on edge.
Shaping
Round 1: (K6, K2tog) repeat to marker
Round 2: Knit
Round 3: (K5, K2tog) repeat to marker
Round 4: Knit
Round 5: (K4, K2tog) repeat to marker
Round 6: Knit
Round 7: (K3, K2tog) repeat to marker
Round 8: (K2, K2tog) repeat to marker
Round 9: (K1, k2tog) repeat to marker
Round 10: (K2tog) repeat to marker
Cut yarn leaving at least a 7 inch tail for sewing. Using tapestry needle, thread through remaining stitches. Pull tightly to close. Weave in ends.
— Hat Ears —
Using double pointed needles, cast on 22 stitches and divide evenly among 2 needles.
Join in the round and place marker.
Row 1: Knit
Row 2: (K2, M1, K7, M1, K2) repeat to marker
Row 3: Knit
Row 4: (K2, M1, K9, M1, K2) repeat to marker
Row 5: Knit
Row 6: (K2, M1, K11, M1, K2) repeat to marker
Row 7: Knit
Row 8: (K2, M1, K13, M1, K2) repeat to marker
Row 9: Knit
Row 10: (K2, M1, K15, M1, K2) repeat to marker
Rows 11 through 14: Knit
Row 15: (K1, SSK, K15, K2tog, K1) repeat to marker
Row 16: Knit
Row 17: (K1, SSK, K13, K2tog, K1) repeat to marker
Row 18: Knit
Row 19: (K1, SSK, K11, K2tog, K1) repeat to marker
Row 20: Knit
Row 21: (K1, SSK, K9, K2tog, K1) repeat to marker
Row 22: (K1, SSK, K7, K2tog, K1) repeat to marker
Row 23 and 24: Knit
Row 25: (K1, SSK, K5, K2tog, K1) repeat to marker
Row 26: Knit
Row 27: (K1, SSK, K3, K2tog, K1) repeat to marker
Row 28 and 29: Knit
Row 30: (K1, SSK, K1, K2tog, K1) repeat to marker
Row 31: (K1, SSK, K2) repeat to marker
Row 32 through 34: Knit
Row 35: (SSK, K2tog) repeat to marker
Row 36 and 37: Knit
Cut yarn leaving at least a 10 inch tail. Using tapestry needle, thread through remaining stitches. Weave in ends.
Repeat to make the second ear.
Foam Ear Inserts (optional)
Trace the shape of your ears onto a piece of EVA foam (or cardboard). Draw another line inside the one you traced approximately a quarter inch smaller all the way around. This is the line you want to use to cut out the ear so that it is smaller than your knitted ear. Repeat this process for your second ear.

Insert one piece of foam (or cardboard) into one ear. Seam the open end together. Give some shape to the ears by bending them in half lengthwise a bit. Repeat for the second ear.


Using a piece of yarn and the tapestry needle, attach the ears to each side of the hat approximately a half inch above the rolled brim.


*** *** ***
That’s it! This hat knits up pretty fast, like all baby sized knits. Just grab some green yarn from your stash and cast on.
If you make this hat, please share on Instagram with the hashtag #BabyYodaHatKnit and tag me @KnitJulep. I’ll try to share each of your projects!
Happy knitting!
– Kim
This pattern and photographs of this item are the property of Knit Julep. This pattern is for personal, non-commercial use only. You may not sell this pattern under any circumstances. The design is inspired by Baby Yoda, of which I do not have or claim any copyrights. This site displays third party ads and contains affiliate links.
I am having difficulty understanding the ear pattern, unable to work out to start using 3needles.
Hi Mary! If you’re having trouble using the two needles but are familiar with a traditional three double-pointed needle approach, you can split the stitches evenly among the three instead of two. As long as you follow the stitch counts and instructions, it won’t matter if it’s on 2 or 3 double-pointed needles.
Here’s a video that’s helpful: https://www.youtube.com/watch?v=jh5QEl9lUv0
I hope that helps! I hope you like the finished hat 🙂
Let me know if you have any more questions.
-Kim