In most English-speaking countries except for the United States and Canada, crunchy cookies are called biscuits. Chewier biscuits are sometimes called cookies even in the United Kingdom. Some cookies may also be named by their shape, such as date squares or bars.
In many English-speaking countries outside North America, including the United Kingdom, the most common word for a crisp cookie is biscuit. The term cookie is normally used to describe chewier ones. However, in many regions both terms are used. The container used to store cookies may be called a cookie jar.
In Scotland the term cookie is sometimes used to describe a plain bun.
Cookies that are baked as a solid layer on a sheet pan and then cut, rather than being baked as individual pieces, are called in British Englishbar cookies or traybakes.
The word dates from at least 1701 in Scottish usage where the word meant "plain bun", rather than thin baked good, and so it is not certain whether it is the same word. From 1808, the word "cookie" is attested "...in the sense of "small, flat, sweet cake" in American English. The American use is derived from Dutch koekje "little cake," which is a diminutive of "koek" ("cake"), which came from the Middle Dutch word "koke". Another claim is that the American name derives from the Dutch word koekje or more precisely its informal, dialect variant koekie which means little cake, and arrived in American English with the Dutch settlement of New Netherland, in the early 1600s.
Cookies are most commonly baked until crisp or just long enough that they remain soft, but some kinds of cookies are not baked at all. Cookies are made in a wide variety of styles, using an array of ingredients including sugars, spices, chocolate, butter, peanut butter, nuts, or dried fruits. The softness of the cookie may depend on how long it is baked.
A general theory of cookies may be formulated this way. Despite its descent from cakes and other sweetened breads, the cookie in almost all its forms has abandoned water as a medium for cohesion. Water in cakes serves to make the base (in the case of cakes called "batter") as thin as possible, which allows the bubbles - responsible for a cake's fluffiness - to better form. In the cookie, the agent of cohesion has become some form of oil. Oils, whether they be in the form of butter, vegetable oils, or lard, are much more viscous than water and evaporate freely at a much higher temperature than water. Thus a cake made with butter or eggs instead of water is far denser after removal from the oven.
Oils in baked cakes do not behave as baking soda tends to in the finished result. Rather than evaporating and thickening the mixture, they remain, saturating the bubbles of escaped gases from what little water there might have been in the eggs, if added, and the carbon dioxide released by heating the baking powder. This saturation produces the most texturally attractive feature of the cookie, and indeed all fried foods: crispness saturated with a moisture (namely oil) that does not sink into it.
Cookie-like hard wafers have existed for as long as baking is documented, in part because they deal with travel very well, but they were usually not sweet enough to be considered cookies by modern standards.
Cookies appear to have their origins in 7th century AD Persia, shortly after the use of sugar became relatively common in the region. They spread to Europe through the Muslim conquest of Spain. By the 14th century, they were common in all levels of society throughout Europe, from royal cuisine to street vendors.
With global travel becoming widespread at that time, cookies made a natural travel companion, a modernized equivalent of the travel cakes used throughout history. One of the most popular early cookies, which traveled especially well and became known on every continent by similar names, was the jumble, a relatively hard cookie made largely from nuts, sweetener, and water.
Cookies came to America through the Dutch in New Amsterdam in the late 1620s. The Dutch word "koekje" was Anglicized to "cookie" or cooky. The earliest reference to cookies in America is in 1703, when "The Dutch in New York provided...'in 1703...at a funeral 800 cookies...'"
The most common modern cookie, given its style by the creaming of butter and sugar, was not common until the 18th century.
Cookies are broadly classified according to how they are formed or made, including at least these categories:
Bar cookies consist of batter or other ingredients that are poured or pressed into a pan (sometimes in multiple layers) and cut into cookie-sized pieces after baking. In British English, bar cookies are known as "tray bakes". Examples include brownies, fruit squares, and bars such as date squares.
Filled cookies are made from a rolled cookie dough filled with a fruit, jam or confectionery filling before baking. Hamantashen are a filled cookie.
Molded cookies are also made from a stiffer dough that is molded into balls or cookie shapes by hand before baking. Snickerdoodles and peanut butter cookies are examples of molded cookies. Some cookies, such as hermits or biscotti, are molded into large flattened loaves that are later cut into smaller cookies.
No-bake cookies are made by mixing a filler, such as cereal or nuts, into a melted confectionery binder, shaping into cookies or bars, and allowing to cool or harden. Oatmeal clusters and rum balls are no-bake cookies.
Pressed cookies are made from a soft dough that is extruded from a cookie press into various decorative shapes before baking. Spritzgebäck is an example of a pressed cookie.
Refrigerator cookies (also known as icebox cookies) are made from a stiff dough that is refrigerated to make the raw dough even stiffer before cutting and baking. The dough is typically shaped into cylinders which are sliced into round cookies before baking. Pinwheel cookies and those made by Pillsbury are representative.
Other types of cookies are classified for other reasons, such as their ingredients, size, or intended time of serving:
Breakfast cookies are typically larger, lower-sugar cookies filled with "heart-healthy nuts and fiber-rich oats" that are eaten as a quick breakfast snack.
Low-fat cookies or diet cookies typically have lower fat than regular cookies.
Raw cookie dough is served in some restaurants, though the eggs may be omitted since the dough is eaten raw, which could pose a salmonella risk if eggs were used. Cookie Dough Confections in New York City is a restaurant that has a range of raw cookie dough flavors, which are scooped into cups for customers like ice cream.
Skillet cookies are big cookies that are cooked in a cast-iron skillet and served warm, while they are still soft and chewy. They are either eaten straight from the pan or cut into wedges, often with vanilla ice cream on top.
Supersized cookies are large cookies such as the Panera Kitchen Sink Cookie. These very large cookies are sold at grocery stores, restaurants and coffeeshops.
Vegan cookies can be made with flour, sugar, nondairy milk and nondairy margarine. Aquafaba icing can used to decorate the cookies.
Cookie cakes are made in a larger circular shape usually with writing made of frosting.
Leah Ettman from Nutrition Action has criticized the high calorie count and fat content of supersized cookies, which are extra large cookies; she cites the Panera Kitchen Sink Cookie, a supersized chocolate chip cookie, which measures 5 1/2 inches in diameter and has 800 calories. For busy people who eat breakfast cookies in the morning, Kate Bratskeir from the Huffington Post recommends lower-sugar cookies filled with "heart-healthy nuts and fiber-rich oats". A book on nutrition by Paul Insel et al notes that "low-fat" or "diet cookies" may have the same number of calories as regular cookies, due to added sugar.
There are a number of slang usages of the term "cookie". The slang use of "cookie" to mean a person, "especially an attractive woman" is attested to in print since 1920. The catchphrase "that's the way the cookie crumbles", which means "that's just the way things happen" is attested to in print in 1955. Other slang terms include "smart cookie" and "tough cookie." According to The Cambridge International Dictionary of Idioms, a smart cookie is "someone who is clever and good at dealing with difficult situations."  The word "cookie" has been vulgar slang for "vagina" in the US since 1970. The word "cookies" is used to refer to the contents of the stomach, often in reference to vomiting (e.g., "pop your cookies" a 1960s expression, or "toss your cookies", a 1970s expression). The expression "cookie cutter", in addition to referring literally to a culinary device to rolled cookie dough into shapes, is also used metaphorically to refer to items or things "having the same configuration or look as many others" (e.g., a "cookie cutter tract house") or to label something as "stereotyped or formulaic" (e.g., an action movie filled with "generic cookie cutter characters").
"Cookie duster" is a whimsical expression for a mustache.
^"Cookie Monster: Me wasn't ..."Sesame Street (sesamestreet) on Twitter. 10 August 2010. Archived from the original on 15 April 2016. Retrieved 2019. Me wasn't born with name "Cookie Monster." It just nickname dat stuck. Me don't remember me real name... maybe it was Sidney?