
Free Stash Buster Cosmic Rainbow Afghan Knitting Pattern
If you’ve been knitting for any length of time, you know the feeling. You open a drawer, a bin, or a closet door and suddenly a cascade of yarn ends tumbles out — half skeins of worsted weight in every color imaginable, some barely touched, others wound into tight little balls after finishing a project years ago. Stash yarn is the universal companion of every knitter, and figuring out what to do with it is one of the great pleasures and puzzles of the craft.
This free stash buster cosmic rainbow afghan knitting pattern was designed with exactly that problem in mind. It’s a project that doesn’t just tolerate scraps and leftovers — it absolutely thrives on them. The more colors you have, the better. The more random the combinations, the more alive and cosmic the finished blanket feels. You don’t need matching skeins, you don’t need a carefully curated palette, and you certainly don’t need to run out to the store before you get started. What you need is already sitting in your stash, waiting for its moment.
This post covers everything you need to know: the materials, the gauge, the stitch pattern, a complete row-by-row pattern, tips for blending colors, finishing techniques, and ideas for customizing the design to suit your style. Grab a cup of something warm and let’s dig in.
Why a Stash Buster Afghan Is the Perfect Project
Afghans and blankets have a reputation for being marathon projects — the kind of thing you start in January and hopefully finish by the time the leaves change. And while that’s sometimes true, a stash buster version is a completely different experience. Because you’re working in stripes or color sections with whatever yarn you have on hand, you get natural stopping and starting points. Finishing one color and moving to the next feels like a small celebration rather than a slog through endless identical rows.
The cosmic rainbow concept takes that idea even further. Rather than trying to arrange colors in a strict rainbow order, you let the colors flow in a looser, more intuitive way — deep purples bleeding into teal, teal giving way to gold, gold warming into coral, coral cooling back into dusty blue. The result looks deliberately artistic and kaleidoscopic, but the planning required is minimal. Trust your instincts, trust your stash, and the blanket will tell you what it wants to be.
Beyond the creative joy of it, stash buster projects are genuinely practical. They clear out yarn that might otherwise sit for years. They reduce the guilt that accumulates around buying more yarn when you still have so much at home. And they produce something beautiful and functional — a blanket that can live on a couch, wrap around a loved one, or become a cherished handmade gift.
Materials You’ll Need
One of the best things about this pattern is that the materials list is intentionally flexible. Here’s what to gather before you begin.
Yarn: Worsted weight yarn in as many colors as you like. Aim for a collection that spans the color spectrum — cool blues, purples, and greens; warm reds, oranges, and yellows; and neutrals like cream, charcoal, or taupe to give the eye a place to rest. You’ll need roughly 1,500 to 2,000 yards total for a throw-sized blanket approximately 48 by 60 inches. Smaller scraps can still be used — even a yard or two can be woven in as a single stripe. Acrylic yarn works beautifully here because it’s easy to wash and tends to be what most stashes are made of, but wool, cotton, and blends all work just as well.
Needles: US size 8 (5mm) circular knitting needles, at least 40 inches long, or a size that achieves your gauge. Because you’re knitting flat and the blanket grows wide, circular needles are much easier to work with than straights — they hold more stitches comfortably and distribute the weight of the growing fabric across your lap rather than concentrating it at your wrists.
Additional supplies: A tapestry needle for weaving in ends, scissors, stitch markers if you like using them, and a measuring tape. A row counter is helpful but not required.
Gauge
18 stitches and 24 rows = 4 inches in stockinette stitch
Gauge matters for this project primarily in terms of finished size. If you’re going for a specific measurement, swatch first and adjust your needle size up or down accordingly. If you’re more relaxed about exact dimensions — totally valid for a stash buster — simply cast on and enjoy the process. A denser gauge will give you a heavier, warmer blanket. A looser gauge will produce something lighter and more drapey.
About the Stitch Pattern
This afghan uses a combination of two simple stitch patterns that create beautiful texture without requiring anything beyond basic knitting skills.
The main body is worked in seed stitch panels separated by garter stitch ridges. Seed stitch (alternating knit and purl stitches in a specific arrangement) creates a lovely pebbly texture that looks the same on both sides — essential for a blanket where you’ll see the reverse as often as the front. Garter stitch ridges in contrasting colors create the visual separators between color sections and add a subtle stripe effect.
This combination means the blanket is entirely reversible, which is both practical and elegant. There’s no “wrong side” to hide against the couch cushions.
If you’re a beginner, both seed stitch and garter stitch are excellent skills to practice. If you’re more advanced, the simplicity of the pattern lets you sink into a meditative rhythm while still producing something that looks complex and considered.
Pattern Instructions
Finished Size: Approximately 48 x 60 inches (adjustable — see notes below)
Abbreviations:
- CO = cast on
- K = knit
- P = purl
- RS = right side
- WS = wrong side
- rep = repeat
- sl = slip
Cast On
Using your first color, CO 216 stitches. For a narrower blanket, cast on any multiple of 4 stitches plus 4. For a wider blanket, add stitches in multiples of 4.
Border Setup (Rows 1–8)
Work 8 rows of garter stitch (knit every row) in your first color. This creates a firm, tidy bottom edge and prevents curling.
Main Body Repeat
The main body of the blanket is worked in repeating sections. Each section consists of a seed stitch panel followed by a garter ridge separator. You’ll continue working these sections until the blanket reaches approximately 58 inches from the cast-on edge, leaving room for the top border.
Seed Stitch Section (work 12 rows in current color):
Row 1 (RS): K3, K1, P1; rep from to last 3 stitches, K3.
Row 2 (WS): K3, P1, K1; rep from to last 3 stitches, K3.
Repeat Rows 1 and 2 for 12 rows total (6 ridges on each side). The K3 at each edge creates a clean garter stitch border on the sides of the blanket.
Color Change and Garter Ridge (work 4 rows in new color):
Join your next color at the beginning of a RS row.
Rows 1–4: Knit every row.
This creates a garter ridge stripe in the new color before transitioning into the next seed stitch section. After completing the 4 ridge rows, continue immediately into the seed stitch section using the same new color or switch to yet another color — both options are beautiful.
Continue repeating the 12-row seed stitch section and 4-row garter ridge throughout the body of the blanket, changing colors as you like.
Color Changing Tips
This is where the “cosmic rainbow” comes to life. Here are a few approaches to color sequencing.
Intuitive method: Simply reach into your stash and pull out whatever feels right next. Hold the new color up against your working fabric and if you like the combination, use it. This is the most joyful and spontaneous approach.
Gradient method: Arrange your yarns roughly in color wheel order before you begin — moving through violet, blue, blue-green, green, yellow-green, yellow, orange, red, and back. This creates a cohesive, flowing rainbow effect.
Dark-light alternation: Alternate between a darker color and a lighter color for each new section. This creates contrast that makes each stripe pop and gives the blanket a more structured, rhythmic quality.
Neutral interruption: Every three or four color changes, insert a section in a neutral — cream, oatmeal, grey, or black. Neutrals act as visual palate cleansers and make the surrounding colors look more vibrant by contrast.
Whatever method you choose, don’t be afraid to cut a color and try again if you really don’t like the combination. This is your blanket.
Joining New Yarn
When you run out of a color or are ready to change, join the new yarn at the beginning of a row rather than mid-row. Leave a 6-inch tail on both the old and new yarn and weave these in later with your tapestry needle. If you’re working with very short scraps, you can carry the old yarn up the edge for a few rows before cutting, which reduces the number of ends to weave in.
Top Border
When your blanket measures approximately 58 inches from the cast-on edge, work 8 rows of garter stitch in your chosen border color, mirroring the bottom border. Bind off loosely on the 9th row. A loose bind-off is important for blankets — it keeps the edge flexible and prevents the top from pulling in tighter than the rest of the fabric.
Finishing
Weave in all ends thoroughly using a tapestry needle, running each tail at least 2 inches in one direction and then doubling back to secure it. For a stash buster project with many color changes, this step takes patience but is absolutely worth it. Ends that aren’t woven in securely will work their way out over time and become both a nuisance and an eyesore.
Once all ends are woven in, wet block your finished blanket. Soak it in cool water for 20 minutes, gently squeeze out the excess (don’t wring), and lay it flat on towels or a blocking mat. Shape it to your desired dimensions and let it dry completely. Blocking evens out the tension, softens the fabric, and makes the stitches relax into their best selves. The difference between a blocked and unblocked blanket is remarkable.
Customization Ideas
One of the most satisfying aspects of a pattern like this is how easily it bends to your preferences. Here are some ways to make it distinctly yours.
Size adjustments: To make a baby blanket, cast on 108 stitches and work to approximately 36 inches. For a lap blanket, cast on 144 stitches. For a bed-sized throw, cast on 288 stitches or more and work to 72 inches or longer. Remember to always cast on a multiple of 4 stitches plus 4 to maintain the seed stitch pattern.
Stitch substitution: If seed stitch isn’t your favorite, the color-section structure works just as well with moss stitch, broken rib, or even simple stockinette (though you’ll want to add more substantial side borders to prevent rolling). Garter stitch throughout — knit every row, no purling — produces a thick, squishy blanket that’s especially good for heavy worsted weight stash yarn.
Adding texture: On some color sections, try a simple cable running down the center of the panel, or substitute a lace row every other RS row for a more delicate, open effect. The garter ridges on either side of a lace section look lovely.
Tassels or fringe: After blocking, cut lengths of yarn in your favorite colors, fold them in half, and use a crochet hook to pull them through the cast-on and bind-off edges. Trim them to an even length and you have a fringe that adds movement and a bohemian flair perfectly suited to the cosmic rainbow aesthetic.
Monochromatic cosmic: If rainbow colors feel too bold for your space, try this same pattern using tonal variations of a single color — five or six shades of blue ranging from navy through periwinkle to pale ice blue. The same stitch structure in a tonal palette feels sophisticated and serene rather than exuberant, and still uses up stash yarn beautifully.
Caring for Your Finished Blanket
Care instructions depend on your yarn fiber content, but here are general guidelines for the most common stash yarn types.
Acrylic yarn is machine washable on a gentle or delicate cycle in cool water and can be tumble dried on low heat. Avoid high heat, which can distort the stitches permanently in acrylic. Wool should be hand washed in cool water with a gentle wool wash and laid flat to dry. Cotton and cotton blends can handle warmer water and a gentle machine cycle but are best laid flat or hung to dry.
If your blanket is made from a mix of fibers — which is very likely in a stash buster project — wash on the most delicate setting required by any yarn in the mix and dry with the most conservative method. When in doubt, hand wash and lay flat.
Making It a Gift
A cosmic rainbow afghan made from stash yarn is one of the most meaningful handmade gifts you can give. Because every color section comes from a different project and a different season of your knitting life, the blanket carries real history. You might recognize the leftover teal from a sweater you knit two winters ago, the coral from a hat made for a niece, the soft grey from a pair of fingerless mitts. That accumulated meaning is something no store-bought blanket can replicate.
If you’re making the blanket as a gift with intention, consider asking the recipient for their favorite colors beforehand. Even in a stash buster project, you can guide your color selection toward someone’s particular loves — a teal-and-gold palette for a friend who loves the ocean, or warm terracotta, sage, and cream for someone whose home is decorated in earthy tones. You’re still using your stash; you’re just curating it with a specific person in mind.
Final Thoughts
The free stash buster cosmic rainbow afghan knitting pattern is an invitation to knit with freedom. It asks you to stop worrying about whether your colors match perfectly, stop saving that yarn for the “right” project, and start making something beautiful from exactly what you already have. The process is meditative, the results are stunning, and the finished blanket becomes a record of your knitting journey — every scrap of yarn a memory, every color change a small adventure.
Cast on when you’re ready. Your stash has been waiting long enough.
If you make this blanket, share it with the hashtag #CosmicRainbowAfghan — there’s nothing more inspiring than seeing how different every stash buster project turns out, because no two stashes, and no two knitters, are ever quite the same.