You can even get it delivered to your door.
cookie dough sundae
Credit: Courtesy of doNYC

One of the best parts of baking cookies is eating the dough, even though most of us know we're not supposed to eat raw eggs.

But dough is so delicious that it's become a trend: People wait in line for hours to get a scoop of cookie dough at spots like in New York City, and dough is now available at cafés, shops, and even restaurants.

To make the dough safe to eat, companies like Unbaked: A Cookie Dough Bar, Edoughble and the Cookie Dough Creamery make their dough without eggs, and use heat-treated flour. Some shops, like DŌ, use eggs that have been pasteurized to eliminate bacteria.

The trend has been years in the making. Sisters Joan Pacetti and Julia Schmid, set up Cookie Dough Café in 2011, sold their dough in supermarkets and eventually expanded online before pitching the idea on Shark Tank in 2014. The two were inspired to create their edible dough for a pretty simple reason: They both love the dough more than the cookie itself, they told Travel + Leisure.

Rana Lustyan started Edoughble with her husband John, after Nestle had to recall millions of its Tollhouse take-and-bake-cookie dough products in 2009 after people reported getting ill from eating them raw: “When Rana heard that news and realized just how many people were getting sick time and time again, she realized maybe she’s not the only one that loves the cookie dough more than the baked cookies,” John told T+L. “She realized nothing existed for us cookie dough lovers.”

Hungry yet? Here's where to get your cookie dough fix.

Unbaked: A Cookie Dough Bar — U.S.

This online dessert company, which launched in April of 2015, offers shipping to all 50 states, and includes dough selections you can customize, cookie dough sandwiches, and signature flavors like cake batter, cookies and cream, mint cookies and cream, and Nutella churro.

Edoughble — New York City, Los Angeles, U.S.

Edoughble serves up vegan and gluten-free dough like a Vegan Birthday Bash, and other flavors like Chai Love You, Candy Crush, and Mexican Hot Chocolate.

— New York City, New York

Snack on cookie dough out of the bowl, get it mixed into ice cream, thrown in the oven to be half or fully baked, or blended into a milkshake. Regular flavors include the Fluffernutter — peanut butter, dark chocolate chips, and marshmallow fluff — and the Salty and Sweet — sugar cookie, salted caramel, dark chocolate chips, and sea salt.

Little Donkey — Cambridge, Massachusetts

The restaurant's chocolate chip cookie dough dessert has raw dough served with milk foam, topped with cocoa nibs.

The Cookie Jar DC — Washington, D.C.

Flavors include oatmeal raisin, double chocolate M&Ms, and snickerdoodle. They also deliver nationwide.

Dough Dough — Minneapolis, Minnesota (Coming soon)

This food truck will open in Minneapolis on May 17, serving seven dough varieties.

Cookie Dough Creations — Naperville, Illinois

There are eight flavors to choose from, including a fudge brownie, a brown sugar, and Oreo.

Willa Jean — New Orleans, Louisiana

This restaurant's dessert menu includes the Cookies and Milk, cookie dough and vanilla milk.

Cookie Dough Creamery — Columbus, Ohio

The shop, which also delivers online, makes four flavors of dough: chocolate chip, peanut butter, sugar cookie, and Oreo.

Tart Sweets — North Carolina

This bakery offers edible cookie dough selections at a raw cookie dough bar every Friday and Saturday. They also have jars in the shop filled with three scoops that you can pick up throughout the week.

Dō-Lish — Gainesville, Florida

Bite into their double chocolate chip cookie dough, or go for their specialty: edible cookie dough stuffed with freshly baked fudge brownies or chocolate cupcake.

Doughlicious Edible Cookie Dough and Bakeshop Food Truck — Lakeland and Winter Haven, Florida

This food truck offers flavors ranging from raspberry almond and salted caramel pretzel to strawberry cheesecake. They also have cookie dough ice cream sandwiches, cookie dough candy bars, and cookie dough truffles.

Junked Food Co — Toronto, Canada

Get flavors like birthday party made with vanilla cake dough, sprinkles, and buttercream, or feature flavors like butterscotch mocha and blueberry pie.

Cookie Dough YYC — Calgary, Canada

Cookie Dough YYC stacks its edible dough into dough-wiches, and includes flavors like an oatmeal gum drop cookie dough, a peanut butter cup with chunks of Reese’s Peanut Butter Cups, and more.

Doughlicious Cookie Dough — U.K.

Order cookie dough with Lotus Biscoff cookies and Cadbury Creme Eggs from this U.K. company online.

Naked Dough — London (Coming soon)

London’s first edible cookie dough café will be a pop-up, coming this June. Flavors include Unicorn Food, Hazel’s Nuts, and the Ed Sheeran — with salted caramel and honeycomb.