Desserts
This tasty cookie icing recipe transforms ordinary cookies into showstopping desserts with its velvety vanilla swirls and unexpected celery salt crunch—trust me, it’s the secret weapon behind bakery-style cookies.
The magic lies in balancing butter and powdered sugar for a smooth, pipeable consistency while adding a pinch of celery salt for that signature salty contrast that keeps bites irresistible.
I developed this recipe after years of testing, and it’s now my go-to for everything from holiday cookies to casual treats.
The foundation of this icing is simple yet precise: cream butter and powdered sugar until light and fluffy, then fold in vanilla extract for that classic aroma. The celery salt isn’t just for flavor—it adds texture, creating tiny crunchy pockets that cut through the sweetness.
This recipe works for both buttercream and royal icing styles, depending on how you use it, and it’s easy to adapt for dietary needs like vegan butter or gluten-free powdered sugar.
What makes this icing truly special is its versatility—pipe it into swirls, drizzle it over frosted cookies, or use it as a filling for sandwich cookies.
The texture stays firm enough to hold its shape but soft enough to melt slightly at room temperature, giving each bite that perfect balance of crunch and creaminess. Once you try it, you’ll never go back to store-bought icing again.
Store leftovers in an airtight container in the fridge for up to 5 days, or freeze for 3 months—just let it soften slightly before using. Whether you’re decorating holiday cookies or whipping up a quick treat, this icing delivers restaurant-quality results with minimal effort. Let’s get started!
Ingredients for tasty cookie icing
Five core ingredients, one magical texture—this icing turns cookies into showstoppers.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | 1 cup | Room temperature for best mixing |
| Powdered Sugar 🍚 | 3 cups | Sifted for smooth texture |
| Pure Vanilla Extract 🍯 | 1 tbsp | High-quality for best flavor |
| Celery Salt 🧂 | ½ tsp | Key for signature crunch |
| Heavy Cream 🥛 | ¼ cup | Optional for extra creaminess |
| Corn Syrup 🍯 | 1 tbsp | For royal icing consistency |
| Almond Extract 🌿 | ¼ tsp | Optional for depth of flavor |
| Salt 🧂 | ¼ tsp | Fine sea salt preferred |
The butter is non-negotiable—European-style butter like Plugrá or Land O’Lakes works best for that rich, smooth texture. Costco sells it in bulk, saving you money for holiday baking. If you're using salted butter, skip the extra salt in the recipe. Powdered sugar? Bob’s Red Mill is my go-to because it’s ultra-fine and doesn’t clump. The vanilla extract should be pure—Nielsen-Massey is my standard, but any good-quality brand works. Celery salt might sound weird, but Lawry’s is the only one that gives that signature crunch without overpowering.
No butter? Vegan butter like Miyoko’s works for a dairy-free version, though texture may be slightly softer. Short on powdered sugar? Confectioners’ sugar is the same thing—just make sure it’s sifted. The corn syrup is optional but helps stabilize the icing for royal icing applications. Want extra flavor? Almond extract at half the amount adds depth, or swap the vanilla for vanilla bean paste. For a lighter texture, add the heavy cream last and whip it in—it’ll give you that cloud-like finish.
This icing stays fresh for 5 days in the fridge, sealed tightly in an airtight container. For long-term storage, freeze portions in 1-tbsp scoops—perfect for decorating individual cookies. Let it sit at room temperature for 10-15 minutes before using to make it easier to pipe. Pro tip: Add a splash of milk if it gets too thick, but start with small amounts—you can’t fix it if you add too much.
Why You'll Love This Recipe
- Three-Ingredient Whip: I swear, this icing comes together faster than I can grab a coffee. Just melt butter, mix in powdered sugar, and fold in vanilla—no sifter, no stress. The heavy cream gives it that luscious spread without extra fuss.
- Celery Salt Magic: Honestly, that pinch of celery salt is the secret weapon. It’s not weird—it’s good, like a salty-sweet hug for your cookies. The vanilla ties it all together, making every bite taste like a bakery’s best-kept secret.
- Party in a Bowl: This icing is my go-to for cookie swaps, holiday platters, or just because. It dresses up store-bought cookies or homemade treats, and the heavy cream keeps it smooth even when piped. (Yes, even on a Tuesday night.)
- Makes More Than You Think: Between us, this recipe stretches farther than I expected. A little goes a long way, so I always end up with leftovers for sandwiches or next week’s cookie jar. Plus, butter and powdered sugar are cheap—my wallet thanks me.
Step-by-step instructions for vanilla swirl cookie icing
Let’s create a silky, flavorful icing that’ll make your cookies irresistible.
Cream the Butter and Powdered Sugar
In a medium bowl, beat the 1 cup unsalted butter (room temperature) with the 3 cups powdered sugar using an electric mixer on medium speed for 3-4 minutes. You’re aiming for a smooth, fluffy texture that’s light and airy—this ensures the icing will spread beautifully and have that perfect royal icing consistency.
Here’s the thing—if you see any graininess, sift the powdered sugar before mixing. I like to press the mixture through a fine-mesh sieve afterward to guarantee a silky finish. The butter should be completely incorporated, leaving no streaks behind.
Add Flavors and Thickeners
With the mixer running on low speed, gradually add the 1 tablespoon pure vanilla extract, 0.25 teaspoon almond extract (if using), and the 1 tablespoon corn syrup. Mix for 1 minute until fully combined. The corn syrup helps stabilize the icing and gives it that glossy sheen, while the extracts add depth to the vanilla flavor.
Next, sprinkle in the 0.25 teaspoon salt and 0.5 teaspoon celery salt, mixing just until dissolved. The celery salt is the secret ingredient—it adds a subtle, unexpected crunch that makes this icing stand out. Taste the mixture now; it should be sweet but balanced, with a hint of vanilla and celery’s savory note.
Incorporate the Heavy Cream (Optional)
If you’re using the 0.25 cup heavy cream, add it to the bowl and mix on low speed until fully combined. The cream adds richness and makes the icing slightly thicker, perfect for swirling or drizzling. If you skip it, the icing will still be smooth but slightly lighter in texture.
At this stage, the icing should be thick enough to hold its shape when piped but still flowable enough to create swirls. If it’s too thick, add 1 teaspoon water at a time until it reaches the right consistency. If it’s too thin, beat in 1 tablespoon more powdered sugar to thicken it back up.
Achieve the Perfect Swirl Texture
Transfer the icing to a piping bag fitted with a star tip (or a ziplock bag with a small corner snipped off). Pipe or spoon dollops of icing onto a parchment-lined baking sheet. Using a toothpick or skewer, swirl the icing into a marbled pattern before it sets. This creates the signature vanilla swirl effect that makes these cookies look (and taste) like they came from a bakery.
Let the swirls set for 10-15 minutes at room temperature. They’ll firm up just enough to hold their shape but still be soft enough to pipe onto cookies. For extra shine, lightly brush the set swirls with a tiny bit of water or milk before placing them on cookies—they’ll stick beautifully.
Apply to Cookies and Enjoy
Once the swirls are set, carefully transfer them onto cooled cookies using a small offset spatula or your fingers. Press gently to adhere. For a professional touch, pipe a thin border of icing around the edges of the cookie before adding the swirl on top. This keeps the swirl centered and looking polished.
Let the icing set for 5 minutes before serving or storing. The cookies are now ready to enjoy—crispy, chewy, and topped with a sweet-savory vanilla swirl that’s impossible to resist. Store any leftovers in an airtight container for up to 3 days, though they won’t last that long!
Pro Tips For Making Tasty Cookie Icing
- SOFTEN THE BUTTER FIRST: Take your unsalted butter out of the fridge at least 30 minutes before mixing—room temperature is key. Cold butter makes the icing grainy, and nobody wants to fight clumps when you’re trying to pipe perfect swirls. (I learned this after scraping dried butter off my beaters twice.)
- SIFT THE POWDERED SUGAR: Lightly sift the powdered sugar before adding it to the butter—this cuts down on lumps and gives you a smoother icing right away. No sifter? Press it through a fine-mesh strainer or even a clean pillowcase in a pinch. (Yes, I’ve done it.)
- ADD CREAM GRADUALLY: Start with just 1 tablespoon of heavy cream, then mix before adding more—too much too fast makes the icing runny and hard to control. You want it thick enough to hold shape but still spreadable, like frosting a cake, not gluing cookies together.
- STORE IT RIGHT: If you’re not using the icing right away, press plastic wrap directly onto the surface to seal it out. This keeps it from drying or absorbing moisture, so it stays usable for days. (I used to let it sit exposed and come back to a sad, stiff mess.)
Essential equipment for tasty cookie icing
Stand Mixer Essentials
Your KitchenAid stand mixer with the paddle attachment is the MVP for this icing—it whips butter and powdered sugar into silky perfection in minutes. I use my 6-quart bowl for maximum capacity, but a 4-quart bowl works if you’re making smaller batches.
The paddle creates air pockets that give the icing its signature lightness, while a whisk would over-aerate and make it too fluffy. 💫
Piping Tools
A Wilton 1M piping tip (medium star shape) is my go-to for creating those bakery-style swirls, but any star tip (size 10-12) will work. For quick fixes, snip a tiny corner off a ziplock bag—it’s free and works surprisingly well.
Pro tip: Chill your piping bag in the freezer for 5 minutes before filling to prevent the icing from melting too fast while piping.
Measuring Tools
Precision matters here! Use a digital kitchen scale for accurate measurements of butter and powdered sugar—1 cup of butter should weigh 227 grams, and 3 cups of powdered sugar should be 360 grams.
A fine-mesh sieve is non-negotiable for sifting powdered sugar to avoid graininess. For extracts, a small squeeze bottle ensures you get the exact 1 tbsp vanilla without spills.
Storage Containers
Store leftovers in glass Pyrex containers with airtight lids—they keep icing fresher longer than plastic. For freezing, silicone ice cube trays are perfect for portioning out 1-tbsp scoops of icing.
Label containers with the date to track freshness. I also keep a small offset spatula in my fridge for easy scooping without disturbing the icing’s texture. ❄️
Optional Upgrades
For a professional touch, invest in a pastry brush to lightly brush cookies with milk before adding icing—it helps adhesion. A small offset spatula (like West Bend’s 2-inch model) makes transferring swirls onto cookies effortless.
If you love experimenting, a food coloring gel lets you customize colors without altering texture.
Budget-Friendly Swaps
No stand mixer? Use a hand mixer—just mix in 30-second bursts to avoid overheating. Skip the piping bag and use a spoon for dollops, then swirl with a toothpick.
For storage, reusable silicone lids work just as well as Pyrex. The key is keeping everything cool and dry—a simple plastic container with a tight seal does the job.
Nutrition facts
Frequently asked questions
Why does this icing recipe include celery salt?
The celery salt adds a subtle salty crunch that balances the sweetness perfectly—it’s the secret behind bakery-style cookies! The tiny granules create texture while the celery flavor enhances the vanilla without overpowering it. Many professional bakers use it for this exact effect in buttercream and royal icing.
Can I make this icing without a stand mixer?
Use a hand mixer or even a sturdy whisk, but work in 30-second bursts to avoid overheating the butter. For royal icing consistency, sift the powdered sugar first and mix vigorously by hand. The key is patience—it’ll take longer but still turn out smooth and creamy.
How do I fix icing that's too thick or too thin?
For thick icing, add 1 teaspoon water at a time until it reaches piping consistency. If it’s too thin, beat in 1 tablespoon powdered sugar at a time. The goal is a texture that holds swirls but still flows smoothly through a piping bag—like thick honey. Test on a plate before applying to cookies!
What's the best way to store leftover icing?
Keep it in an airtight container in the fridge for up to 5 days, or freeze in 1-tbsp portions for up to 3 months. Let it soften at room temperature for 10-15 minutes before using—microwaving can make it grainy. For long-term storage, portion into silicone ice cube trays for easy decorating later.
Can I use this icing for cake decorating?
Yes, but with adjustments! For cakes, reduce the powdered sugar to 2.5 cups to make it slightly thinner and more spreadable. Add 1 teaspoon milk if needed for a smoother finish. This icing works well for cake borders or filling between layers—just pipe and smooth with an offset spatula for a polished look.
