Top of page

Everyday Mysteries

« Back to Food and Nutrition page

Question How do fortunes get inside of fortune cookies?


The cookies are baked as flat circles. After they are removed from the oven, slips of paper are folded inside while the cookies are still warm and flexible. As the fortune cookies cool, they harden into shape.

Image of fortune cookies. External link 2011. Wikimedia Commons.

If you’ve ever been to a Chinese restaurant, you’ve most likely received a fortune cookie at the end of your meal. You’ve also probably wondered how they managed to get that tiny slip of paper into a hard, closed cookie.

Should you not have seen a fortune cookie, let me describe one for you. They are small, hard golden cookies that can fit into the palm of your hand. But there’s one thing that makes them unique: they’re folded into a butterfly shape to create a pocket holding a 1/2” x 2” paper “fortune.”

Fortune cookies often come at the end of a meal in a Chinese, and sometimes Japanese, restaurant. Traditionally, the fortunes were Confucian phrases about life (Confucius was a famous Chinese philosopher from the 6th century BC—over 2500 years ago!). Nowadays, the fortunes inside the cookies contain just about everything from quotes to advice. Some companies even let you write your own fortunes! Often, they are written in both English and Chinese, and may have lottery numbers and smiley faces on them.

Fortune Kookie Restaurant, Cincinnati, Ohio. John Margolies, photographer, 1980. Prints and Photographs Division, Library of Congress.

Before we get to how fortune cookies are made, let’s try to find out where they originated. The history of fortune cookies is a little murky. Some think that modern-day fortune cookies were inspired by 14th century Chinese rebels against Mongol invaders. Legend says that a Taoist priest and his followers sent messages hidden inside of traditional Chinese moon cakes (Chinese pastries stuffed with lotus seed paste) to inform rebels about potential uprisings against the invaders. Others believe that the fortune cookies have Japanese roots in traditional tsujiura senbei (rice cakes with paper fortunes stuffed inside), made at the Hyotanyama Inari shrine in the 19th century. Another group of fortune cookie enthusiasts thinks that the idea started around the same time, but in this instance by Chinese railroad workers in America who would hand out cakes stuffed with holiday wishes.

Japanese Tea Garden, Golden Gate Park, San Francisco. Detroit Photographic Co, 1904.  Prints and Photographs Division, Library of Congress.

The invention of fortune cookies as we know them today is just as difficult to pin down. Most people nowadays believe that fortune cookies were created by a Japanese man named Makoto Hagiwara in 1914 in San Francisco. Hagiwara owned what is now called the Golden Gate Park Japanese Tea Garden, where he served tea and fortune cookies. However, many still hold to the popular belief that fortune cookies were invented by a Chinese-American named David (Tsung) Jung, who owned the Hong Kong Noodle Company in Los Angeles. He claimed to have stuffed the cookies with passages from the Bible and handed them out to unemployed men near his bakery in 1918. In 1983, the debate between the two confectioners came to a head in the Court of Historical Review  in  San Francisco  when their dispute was decided by Judge Daniel M. Hanlon, in favor of Hagiwara.

New Years, Chinatown.  Port Arthur Chinese Restaurant, New York. Bain News Service.  Prints and Photographs Division, Library of Congress.

So, just how did these two gentlemen manage to get fortunes inside their cookies? Well, the process is actually very simple, and relies on the basic chemistry of a common ingredient—sugar. The batter for fortune cookies is usually composed of sugar, flour, water and eggs. When warm, the dough is flexible and can be molded into many shapes. When the baked dough cools though, the sugar hardens into a crispy, shiny cookie. Originally, bakers would mix the dough, pour it out into 3” circles, bake them, quickly place a fortune in the middle and use chopsticks to fold them into the familiar shape before they cooled.

The Japanese Tea Garden,  Golden Gate Park, San Francisco, California.  Carol M. Highsmith, photographer, 2012.  Prints and Photographs Division, Library of Congress.

In 1974 fortune cookie manufacturing changed forever. Edward Louie, the owner of the Lotus Fortune Cookie Company in San Francisco, invented a machine that could insert the fortune and fold the cookie. In 1980 Yong Lee created the first fully automated fortune cookie machine, called the Fortune III. Modern machines follow the same steps of handmade fortune cookies: they mix ingredients, pour batter into 3” cups which are then covered with metal plates to keep the batter flat and bake for about 3 ½ minutes. Vacuums then suck fortunes into place, use metal fingers to fold the fortune in half to trap the fortune inside, bend the cookie into shape, and cool and package the final cookie. Now fortune cookie machines like the Kitamura FCM-8006W can make up to 8,000 cookies in an hour!

Fortune cookies are a prominent part of Asian-American cuisine and have filtered into popular culture as well. People create customized fortune cookies to send funny messages to friends and family—and sometimes to even propose marriage to a loved one! They are even used in advertising campaigns for corporations. Even though popular belief says otherwise, modern fortune cookies are as American as baseball and apple pie.

Sōshu enoshima benzaiten kaichō sankei gunshū no zu. Japanese triptych print shows large groups of women pilgrims visiting Enoshima shrine to worship an image of Benzaiten, the Goddess of Good Fortune.  Hiroshige Andō, artist, between 1847 and 1850. Prints & Photographs Division, Library of Congress.

Published: 11/19/2019. Author: Science Reference Section, Library of Congress

Have a question? Ask a science librarian