
Learn to Knit This Cute Rainbow Baby Blanket
There is something quietly magical about knitting a blanket for a baby. Every stitch carries a little warmth, a little hope, and a lot of love. If you have been looking for the perfect beginner-to-intermediate knitting project that results in something genuinely beautiful and useful, this rainbow baby blanket is exactly what you need. Bright, cheerful, and soft enough for the most sensitive newborn skin, this blanket will become a treasured keepsake long after the baby has outgrown it.
In this guide, you will learn everything from gathering your materials to casting off your final stitch. Whether you are picking up needles for the first time or returning to knitting after a long break, the step-by-step instructions here will walk you through the entire process with clarity and confidence. By the end, you will have a gorgeous, striped rainbow blanket ready to gift at a baby shower, welcome a new arrival home, or simply add to your own cozy collection.
Why Knit a Rainbow Baby Blanket?
Rainbow baby blankets have surged in popularity for good reason. The bold, joyful stripes translate beautifully into knitwear, and the repetitive striping pattern makes the project surprisingly meditative once you settle into a rhythm. Because you are working in simple horizontal stripes, you do not need to wrestle with complicated colorwork techniques like Fair Isle or intarsia. You simply change your yarn color at the end of a row, and the rainbow builds itself.
Beyond the technique, rainbow blankets carry emotional weight. In the baby community, a “rainbow baby” refers to a child born after a miscarriage, stillbirth, or infant loss, so this style of blanket has become a symbol of hope and new beginnings for many families. Even outside that meaning, the colors feel inherently celebratory and optimistic. A rainbow blanket says: this new life is worth celebrating in the most colorful way possible.
From a practical standpoint, a handknit blanket is one of the most appreciated handmade gifts you can give. Unlike clothing that gets outgrown in weeks, a well-made blanket stays useful for years, evolving from swaddle to tummy time mat to beloved stuffed-animal companion. When you knit it yourself, you imbue it with something no store-bought version can offer.
What You Will Need
Before you cast on a single stitch, gather everything on this list. Having your materials ready means you can settle in for long, uninterrupted knitting sessions without scrambling for a missing tool.
Yarn
For a baby blanket, you want a yarn that is soft, washable, and durable. Acrylic or acrylic-blend yarns are a fantastic choice because they hold up to the frequent washing that baby items demand, and they come in a stunning range of saturated colors perfect for a rainbow palette. Look for yarns labeled “super soft” or “baby” to ensure there is nothing scratchy against delicate skin.
For a standard baby blanket measuring approximately 30 by 35 inches, you will need roughly 200 yards each of seven colors. A classic rainbow uses red, orange, yellow, green, blue, indigo, and violet, but feel free to adapt. Pastels make for a softer, dreamier version. Bold primary colors give a more graphic, modern look. Some knitters love substituting pink for red or swapping indigo for a deeper navy. This is your blanket — make it yours.
A worsted weight yarn (also labeled as size 4 on the yarn band) works beautifully for this project. It knits up quickly enough to keep you motivated but produces a fabric with satisfying weight and drape.
Needles
You will need a pair of US size 7 or US size 8 (4.5mm or 5mm) straight or circular knitting needles. Even though this is a flat, non-circular project, many knitters prefer circular needles for blankets because they can hold more stitches without crowding and the cable takes the weight off your wrists during long sessions. Either style works perfectly fine.
Other Supplies
You will want a yarn needle (also called a tapestry needle or darning needle) for weaving in your ends. A pair of small scissors, stitch markers if you like using them to track your stitch count, and a tape measure round out your toolkit. A row counter — either a physical clicker or an app on your phone — is genuinely helpful for keeping track of which stripe you are on.
Understanding the Pattern Before You Begin
This rainbow baby blanket is worked in garter stitch, which means you knit every single row. There is no purling, no switching between knit and purl to create stockinette. Garter stitch produces a squishy, ridged fabric that lies flat without curling, which makes it ideal for blankets. It is also one of the simplest stitch patterns in knitting, making this project approachable even for newer knitters.
The stripe sequence is worked in equal bands, with each color getting the same number of rows before you switch. This creates clean, evenly spaced stripes across the finished blanket. You will work through the full rainbow sequence — red, orange, yellow, green, blue, indigo, violet — and then repeat the sequence as many times as needed to reach your desired length.
Gauge
In worsted weight yarn on US size 8 needles, you should aim for approximately 18 stitches and 36 rows per 4 inches in garter stitch. Because you are making a baby blanket rather than a fitted garment, your gauge does not need to be mathematically precise. A blanket that turns out slightly wider or narrower than planned is still a beautiful, useful blanket. That said, knitting a quick gauge swatch before you begin is a good habit that will give you a sense of how your particular yarn and needles behave together.
Step-by-Step Instructions
Step 1: Cast On
Using your red yarn, cast on 130 stitches. The long-tail cast on is recommended for this project because it creates a neat, elastic edge that looks tidy and professional. If you are new to the long-tail cast on, the knitted cast on is a perfectly acceptable substitute and may feel more intuitive.
To work a long-tail cast on, make a slip knot about 18 inches from the end of your yarn and place it on your needle. This will be your first stitch. Hold the needle in your right hand, drape the yarn from the ball over your index finger, and hold the tail over your thumb. Insert the needle tip upward through the loop on your thumb, swing it over and catch the yarn from your index finger, and pull it through the thumb loop. Release the thumb loop and pull gently to tighten the new stitch on the needle. Repeat until you have 130 stitches including the initial slip knot.
Step 2: Begin Knitting in Garter Stitch
With your 130 stitches on the needle and your red yarn attached, begin knitting every row. To knit a stitch, insert your right needle tip into the first stitch on the left needle from left to right, wrap the working yarn counterclockwise around the right needle, and pull the new loop through the stitch, sliding the old stitch off the left needle. Repeat across the entire row.
Turn your work at the end of each row and knit back in the same direction. In garter stitch, both sides of your work look identical — rows of horizontal ridges stacking up as you go.
Work 14 rows in red. This gives you 7 ridges on each side of the fabric, creating a stripe of satisfying depth.
Step 3: Change Colors
At the end of your 14th row in red, it is time to introduce orange. Drop the red yarn but do not cut it yet. Pick up your orange yarn, leaving a tail of about 6 inches, and begin knitting the next row with orange. On the second row of orange, you can loosely tie the red and orange tails together to keep them from unraveling as you work. You will weave them in properly when the blanket is finished.
Work 14 rows in orange, then switch to yellow following the same method. Continue through the full color sequence — red, orange, yellow, green, blue, indigo, violet — working 14 rows in each color. After violet, return to red and begin the sequence again.
A note on carrying yarn: some knitters prefer to carry unused yarns up the side of the work instead of cutting them after each stripe. This reduces the number of ends you need to weave in later. To carry yarn, simply bring the new color up along the side edge, catching the unused color against the edge on every other row. This works best when you are not carrying a color for more than a few stripes. Because the rainbow sequence is seven colors long, carrying yarn all the way from red to violet can create a slightly bulky edge; many knitters find it tidier to cut and rejoin colors in this case.
Step 4: Continue Repeating the Sequence
Repeat the full rainbow sequence — all seven colors at 14 rows each — until your blanket measures approximately 35 inches from the cast-on edge. This typically works out to about three full repetitions of the sequence, but measure as you go. Baby blankets are wonderfully forgiving, and you can end on any stripe you like. Some knitters love ending with the full sequence complete; others simply stop when they run out of yarn in a particular color.
Step 5: Bind Off
When your blanket has reached your desired length and you are at the end of a stripe (this is not strictly necessary but looks neat), bind off all stitches in the color of your final stripe.
To bind off, knit the first two stitches of the row. Using your left needle tip, lift the first stitch up and over the second stitch and off the right needle. You now have one stitch on the right needle. Knit one more stitch, then lift the right stitch over the left stitch again. Continue across the entire row until one stitch remains. Cut the yarn, leaving a tail of about 6 inches, and pull the tail through the final loop to secure it.
Step 6: Weave In Your Ends
This is the least glamorous part of any knitting project, but taking care with your ends will give your blanket a clean, polished finish that holds up through years of washing. Thread your yarn needle with one of the tails and weave it through the stitches along the wrong side of the work, traveling in one direction for about an inch and then doubling back in the opposite direction to lock it in place. Trim the tail close to the fabric. Repeat for every tail.
If you are working with a rainbow blanket, expect a lot of ends. It helps to weave them in as you go — after each color change — rather than saving them all for the end. Future you will be grateful.
Tips for Knitting Success
Keep your tension consistent. Uneven tension is one of the most common challenges for newer knitters, resulting in stitches that look too tight in some places and too loose in others. The best fix is simply practice and relaxation. Try not to grip the yarn too tightly; let it flow through your fingers at a steady, gentle pace.
Check your stitch count regularly. In garter stitch on a wide blanket, it is easy to accidentally add or drop a stitch at the edges, especially when you are turning your work. Make a habit of counting your stitches every few rows, especially at the beginning of a new stripe when you are handling multiple yarn tails.
Block your finished blanket. Blocking is the process of wetting or steaming your finished knitting and laying it flat to dry in its proper shape. It evens out the stitches, relaxes the yarn, and makes your finished blanket look decidedly more polished. For acrylic yarn, you can either wet block (soak in cool water, gently press out excess moisture, and lay flat to dry) or steam block (hold a steam iron a few inches above the surface without pressing down). Check your yarn’s care label before choosing a method.
Photograph your progress. This is partly for practical tracking purposes and partly because watching your rainbow stripes accumulate is one of the genuine pleasures of this project. Seeing that first flash of orange appear alongside the red, then yellow alongside the orange, is wonderfully motivating.
Caring for Your Rainbow Baby Blanket
Once the blanket is in the hands of its recipient, it will inevitably face the full force of baby life: spit-up, food, mud, and everything in between. Before gifting, write out simple care instructions on a small card. For most acrylic yarns, the blanket can be machine washed on a gentle cycle in cold water and tumble dried on low heat. Avoid high heat, which can distort acrylic fibers.
If you chose a wool or wool-blend yarn for a softer, more natural option, be sure to specify that it needs to be hand-washed or machine-washed on a dedicated wool cycle in cool water and laid flat to dry. A wool or superwash wool blanket is a luxurious choice, but it requires a bit more care from the recipient.
Variations to Try
Once you have finished your first rainbow baby blanket, you may find yourself wanting to explore variations on the design.
A gradient blanket uses shades of a single color moving from light to dark or vice versa — think palest lavender shifting all the way through to deep plum — for a sophisticated, monochromatic take on the striped format.
A gender-neutral earth tone blanket in terracottas, sages, creams, and warm browns follows exactly the same construction but produces something altogether different in feel: organic, modern, and timeless.
You could also adjust the stripe width. Narrower stripes — say, 6 rows each — produce a more graphic, finely detailed pattern. Wider stripes at 20 or more rows feel more relaxed and bold. Playing with stripe widths is one of the easiest ways to personalize this project.
Adding a simple border is another lovely option. After binding off, you can pick up stitches around the entire perimeter of the blanket and work a few rounds of garter stitch in a neutral color like cream or white, giving the blanket a clean, framed finish that ties all the rainbow colors together.
A Note on Giving Handmade Gifts
In an era of fast, mass-produced goods, a handmade knitted blanket stands apart in the most meaningful way. The hours you spend on this project — probably somewhere between 15 and 30 hours depending on your knitting speed — represent a genuine investment of your time and attention in someone you care about. That is not something you can buy, and most people who receive handmade gifts understand that intuitively.
If you are making this for a baby shower, consider packaging it with a brief note about what the blanket is made of and how to care for it. Tuck the care card inside a small envelope pinned to the blanket itself. These small touches communicate thoughtfulness and ensure the blanket lasts as long as it should.
If you are making it as a keepsake rather than a practical gift, consider adding a simple label sewn into one corner with the date it was made and your name. Decades from now, when the child who received this blanket finds it in a box of treasured things, they will know exactly who made it and when.
Final Thoughts
This rainbow baby blanket project has everything that makes a knitting pattern truly satisfying: a simple, meditative stitch pattern, a clear rhythm that builds momentum, and a finished object of genuine beauty and usefulness. Whether you work through the stripes in long weekend sessions or steal twenty minutes here and there between other obligations, the rainbow will grow row by row until you have something worth celebrating.
Pick up your needles, choose your colors, cast on those 130 stitches, and let the knitting begin. Somewhere out there is a baby who is going to love this blanket — and you are going to love making it.