
Rainbow Baby Blanket Knitting Pattern
There is something quietly magical about knitting a blanket for a baby. Every stitch carries intention, and when that blanket happens to be a rainbow, it carries even more. Whether you are crafting this for a rainbow baby — a child born after loss — or simply because you believe every little one deserves a riot of color to snuggle into, this pattern brings joy from the very first cast-on.
This rainbow baby blanket is designed to be beginner-friendly without being boring. If you can knit and purl, you have everything you need. The finished blanket is soft, stretchy, and substantial enough to last through years of loving use. It works beautifully as a crib blanket, a pram cover, a play mat, or simply a keepsake draped over a nursery chair.
Let’s get into everything you need to make it.
What Is a Rainbow Baby?
Before we dive into needles and yarn, it feels right to pause here for a moment. A rainbow baby is a baby born after a miscarriage, stillbirth, or infant loss. The term comes from the idea that a rainbow appears after a storm — a symbol of hope and beauty after something devastating. Knitting a rainbow blanket for a rainbow baby is one of the most meaningful things you can make with your hands. If that is why you are here, welcome. This pattern is for you.
Of course, rainbows belong to everyone, and this blanket is just as at home in any nursery. It is cheerful, bold, and endlessly charming. But knowing the deeper meaning it can hold makes every stitch feel even more worthwhile.
Materials You Will Need
Getting your materials right before you begin makes the whole experience smoother and more enjoyable. Here is what you will need for this project.
Yarn: You will need a DK weight yarn (also called light worsted or 8-ply) in seven colors. The traditional rainbow colors are red, orange, yellow, green, blue, indigo, and violet, but you can adapt the palette to whatever suits your taste or the nursery’s color scheme. Soft pastels make for a gentle, dreamy blanket; bold saturated tones create something vibrant and modern. For each color, you will need approximately 100 to 120 meters, which means the total yardage for the project sits around 750 to 850 meters. A good quality machine-washable yarn is highly recommended — this is a baby item, and it will be washed frequently. Brands like Paintbox Simply DK, Cascade 220 Superwash, or Rowan Pure Wool Superwash DK all work beautifully.
Needles: A pair of 4mm (US 6) straight or circular knitting needles. If you prefer to work flat on circular needles so the stitches don’t fall off, that works perfectly here. The blanket is knitted flat (back and forth in rows), so you do not need to work in the round.
Additional supplies: A tapestry needle for weaving in ends, scissors, stitch markers if you like to track your progress, and a ruler or tape measure.
Finished size: Approximately 70cm x 70cm (roughly 27 inches x 27 inches). This is a generous lap blanket size that works well for both newborns and older babies. If you want a larger blanket, simply cast on more stitches in multiples of two and add more rows to each stripe.
Gauge
Gauge in knitting refers to how many stitches and rows fit into a 10cm (4 inch) square of your knitted fabric. Getting gauge right ensures your blanket comes out close to the intended size.
For this pattern, the gauge is approximately 22 stitches and 30 rows over 10cm in stockinette stitch using 4mm needles and DK weight yarn.
Knit a small swatch before you begin. Cast on 26 stitches and work in stockinette for about 30 rows, then bind off and lay it flat. Measure the middle 10cm. If you have more stitches than expected, try going up a needle size. Fewer stitches means going down a needle size. Gauge is especially important if you are aiming for a specific finished size, but for a baby blanket, a little variation won’t ruin anything — it’s not a fitted garment.
Abbreviations and Stitch Guide
This pattern uses straightforward abbreviations that any knitting beginner can get comfortable with quickly.
CO — Cast on. The method of getting your initial stitches onto the needle. A long-tail cast on is recommended for a neat, elastic edge.
K — Knit. The basic knit stitch.
P — Purl. The basic purl stitch.
BO — Bind off (also called cast off). This closes your stitches at the end of your work.
St(s) — Stitch or stitches.
RS — Right side. The side of your work that faces outward.
WS — Wrong side. The reverse side of your work.
Rep — Repeat.
The main stitch pattern used in this blanket is a simple seed stitch border with a stockinette center. The seed stitch border gives the blanket beautiful, non-rolling edges, while the smooth stockinette center lets the color stripes really shine. Seed stitch is simply alternating knit and purl stitches, so that each stitch sits opposite its neighbor from row to row.
Pattern Notes
This blanket is worked in horizontal stripes, with the colors changing as you work upward. Each stripe is 16 rows tall, which creates bold, even bands of color. The order of colors moves through the rainbow from bottom to top: violet, indigo, blue, green, yellow, orange, and red — so when the blanket is laid flat or draped, it reads like a rainbow arc from one side to the other.
The border is worked in the main background color (white or cream is lovely for this, but you can also use one of your rainbow colors or a neutral gray). The border frames all four sides of the blanket and keeps the edges tidy. If you prefer an all-over stripe without a border, you can skip the border setup and simply begin striping from the first row.
Carry your yarn up the side as you go rather than cutting and re-joining at every stripe. To do this, simply bring the new color yarn up from underneath the old color at the beginning of each RS row. This reduces the number of ends you need to weave in at the end, which is a genuine time-saver and makes the inside edge tidier.
The Pattern
Step One: Cast On
Using your border color yarn and 4mm needles, cast on 154 stitches using the long-tail cast on method. This gives you a total width that includes 8 stitches of seed stitch border on each side and 138 stitches of stockinette in the middle.
Step Two: Border Setup
Work 10 rows of seed stitch across all 154 stitches. Seed stitch is worked as follows:
Row 1 (RS): K1, P1; rep from to end.
Row 2 (WS): K1, P1; rep from to end.
Because seed stitch staggers the knits and purls, both rows look the same when you stitch them correctly. If the stitch on the needle is a knit stitch (the V of the stitch faces you), you purl it. If it is a purl stitch (the bump faces you), you knit it. This creates that lovely textured, bumpy surface that lies completely flat.
Step Three: Setting Up the Main Body
Once your 10 rows of border are complete, you will begin working the main body of the blanket. This is where your rainbow stripes come in. From this point on, every right-side row and wrong-side row will maintain the 8-stitch seed stitch border on each side, while the middle 138 stitches are worked in stockinette.
The formula for each row looks like this:
RS row: (K1, P1) four times, K138, (P1, K1) four times.
WS row: (K1, P1) four times, P138, (P1, K1) four times.
Note: On wrong-side rows, the border is still worked in seed stitch (so you are purling the stitches that were knit on the previous row, and knitting the ones that were purled). Only the middle section changes to purling on the WS row.
Step Four: The Rainbow Stripes
Now attach your first rainbow color — violet. Join the new yarn at the beginning of a RS row. Work the body formula for 16 rows in violet, then switch to indigo for 16 rows, then blue for 16 rows, then green for 16 rows, then yellow for 16 rows, then orange for 16 rows, then red for 16 rows.
That is 7 colors multiplied by 16 rows each, giving you 112 rows of striped body. Combined with the seed stitch borders top and bottom, the finished blanket will have pleasing proportions and a good square shape.
To switch colors, simply drop your current color at the start of a RS row and pick up the next color. Leave a tail of about 15cm on both the old and new yarn so you can weave them in later. If you are carrying the yarn up the side rather than cutting between colors, simply loop the carried yarn around the working yarn as you begin each new row.
Step Five: Closing Border
Once all seven color stripes are complete, rejoin your border color yarn and work another 10 rows of seed stitch across all 154 stitches, mirroring the border at the bottom.
Step Six: Bind Off
Bind off all stitches loosely in seed stitch pattern. To do this, work the first two stitches in pattern (K1, P1), then pass the first stitch over the second and off the needle. Continue working each stitch in its pattern sequence and passing the previous stitch over. A loose bind off is important for keeping the edge stretchy and preventing the blanket from puckering along the top.
Finishing
Weaving in ends is the part of knitting that nobody truly loves, but it is worth doing carefully on a baby blanket. Thread each yarn tail onto your tapestry needle and weave it through the stitches on the wrong side of the work, going in one direction for about 2 to 3 centimeters, then doubling back to anchor it. Trim the excess. Take care to weave your ends into yarn of the same color where possible, so they don’t show through on the right side.
Once all ends are woven in, give your blanket a gentle wash according to the yarn’s care instructions. Most DK weight superwash wool or acrylic blends can go into the machine on a cold, gentle cycle. Lay the blanket flat to dry, gently shaping it into a square with your hands. This is called blocking, and even a light block makes a visible difference — the stitches even out, the colors look more vibrant, and the blanket gains a polished, professional finish.
Tips for Customizing This Pattern
One of the best things about a striped blanket pattern is how easily it adapts. Here are a few ideas for making it entirely your own.
If you prefer a pastel rainbow, choose soft, muted shades rather than saturated ones. A pale lavender, baby pink, mint, butter yellow, powder blue, soft coral, and lilac will give you a gentle, ethereal version that suits any nursery palette.
For a modern monochrome twist, work the stripes in a gradient of a single color — from deepest navy down to the palest sky blue, for example. This creates a sophisticated ombre effect that looks striking and contemporary.
You can also add texture by swapping the stockinette center for a different stitch pattern. A simple moss stitch or broken rib across the whole blanket (eliminating the separate border and center sections) gives a more rustic, textural look. Just make sure whatever stitch pattern you choose has a naturally flat tension, or add extra rows at the borders.
If the recipient is not a newborn but a toddler, simply add more stitches to your cast-on (working in multiples of two) and extend the number of rows in each stripe. The pattern scales beautifully.
How Long Will This Take?
Knitting speed varies enormously from person to person, but as a rough guide, most knitters working at a comfortable, relaxed pace can complete this blanket in about 12 to 18 hours of knitting time. That might be spread over a couple of dedicated weekends, or a few weeks of evening knitting while watching television. It is a meditative, rhythmic project — the kind that feels deeply satisfying to pick up and put down.
Gift Wrapping and Presentation
If you are gifting this blanket, presentation makes the moment even more special. Fold the finished blanket in thirds lengthwise, then roll it into a soft bundle and tie it with a satin ribbon in one of the rainbow colors. You can also pair it with a handwritten note about what the rainbow means, or tuck in a small wooden knitting needle charm or a sprig of dried lavender.
If the blanket is for a rainbow baby, consider writing a few words on a card about the symbolism — about storms and sunshine, about hope and color, about the extraordinary love that goes into every stitch. These small gestures transform a handmade object into a keepsake that families hold onto for decades.
Caring for Your Rainbow Baby Blanket
Because this blanket will be used daily and washed frequently, choosing a machine-washable yarn from the very beginning is the wisest move. If you have used a superwash wool, it can be machine washed on a cool, gentle cycle and laid flat to dry. Pure acrylic yarns can often be tumble dried on low heat, which is particularly convenient for busy parents. Avoid hot water and high heat regardless of fiber content, as both can cause shrinkage or distortion.
Store the blanket away from direct sunlight when not in use to preserve the brightness of the colors over time. A cotton bag or pillowcase is ideal for storage.
A Note on Knitting for Someone You Love
There is an old knitting tradition that says every handmade item holds the energy of the person who made it. Whether or not you believe that literally, there is something true about it emotionally. The hours you spend on this blanket are hours of care made visible. Every stripe completed is a quiet act of love for the person who will receive it.
Knitting for a baby — especially a rainbow baby — is one of the most tender things you can do with your time. It requires nothing fancy, no expensive tools, no professional training. Just a pair of needles, some yarn, and the willingness to sit with the work and let it become something beautiful.
This blanket will be there for naps and feeds, for tummy time on the floor and late-night cuddles in a rocking chair. It will be photographed and treasured and possibly handed down. That is the extraordinary thing about something handmade — it outlasts the moment of making entirely.
Cast on and enjoy every single stitch.
Quick Reference: Rainbow Baby Blanket at a Glance
Yarn weight: DK (light worsted, 8-ply). Needle size: 4mm (US 6). Finished size: Approximately 70cm x 70cm. Gauge: 22 sts / 30 rows over 10cm in stockinette. Difficulty: Beginner to intermediate. Skills used: Long-tail cast on, knit, purl, seed stitch, color changes, binding off, weaving in ends. Estimated yardage: 750 to 850 meters total across seven colors plus border color.
If you make this blanket, I would love to see it. Share your finished project on Instagram and tag it with #mypoppetmakes so the whole community can celebrate it with you. Whether it goes to a rainbow baby or simply to a baby who deserves every color of the world, it is going to be something truly wonderful.
Happy knitting.