CRAFTING A PERFECT JELLY BEAN takes a week or more. That’s because—at least as far as Jelly Belly is concerned—flavor demands time. Each bite-size gem starts with a slurry of sugar, water, cornstarch, and corn syrup to which candymakers add juices, purees, and other ingredients they want the finished treats to evoke. Watermelon candies start with bright pink juice, coconut ones require fresh flakes, pureed fruit provides the sweet tang of peach, jalapeños deliver the burn of true chilis, and so on for every one of the brand’s 100-plus flavors. As the goodies wend their way through the company’s 250,000-square-foot factory an hour north of San Francisco, a team of about 200 confectioners slather on at least six more layers of flavor and shine. Around two dozen varieties meander through the wonderland at any given time, netting some 1.25 million tasty temptations every hour.
![Jelly bean centers in trays of starch moulds, Jelly Belly candy factory in Fairfield CA](https://www.popsci.com/wp-content/uploads/2022/02/22/27192.jpg?strip=all&quality=85)
A machine called a mogul presses a metal form into nonstick starch, creating molds for the pungent jelly bean cores. Each tray holds more than 1,000 dollops of molten sweetness.
![Conditioning room with wooden stacks of molds and jelly beans](https://www.popsci.com/wp-content/uploads/2022/02/22/26310.jpg?strip=all&quality=85)
Making a bean requires patience, as the candies rest three times during the production process. Their first nap occurs on racks in a room kept above 100ºF, where the morsels cure overnight.
![Jelly bean centers and sugar shower inside tumbler](https://www.popsci.com/wp-content/uploads/2022/02/22/26375.jpg?strip=all&quality=85)
Before tumbling through this sugar shower, the sweets receive a steam bath. The moisture ensures their exteriors are tacky so the granules adhere—a trick that all but guarantees none of them stick to one another.
![Coating pink jelly beans with sugar and syrup in panning department](https://www.popsci.com/wp-content/uploads/2022/02/22/26754.jpg?strip=all&quality=85)
After resting for up to two days, beans go into spinning drums to get a candy shell. Syrup and sugar provide still more flavor and color. Most match their centers, but some contrast: This red apple tidbit will be crimson with a light middle.
![Worker on a white coat coating green jelly beans with sugar and syrup in panning department](https://www.popsci.com/wp-content/uploads/2022/02/22/26663.jpg?strip=all&quality=85)
Confectioners dust the beans with sugar between sprinklings of syrup. The last of the three passes is powdered, which creates a smooth, nonstick exterior. All this layering increases the size of each candy by 40 percent.
![Worker in a white coat and green hat holding a bottle of green syrup and handful of green jelly beans](https://www.popsci.com/wp-content/uploads/2022/02/22/27422.jpg?strip=all&quality=85)
One more snooze, and then alternating helpings of confectioner’s glaze and carnauba wax stack up the sheen. Team members judge their doneness by hand. They may even enjoy one to ensure the treats, like this berry blue, are just right.
![Logo printer running through yellow jelly beans](https://www.popsci.com/wp-content/uploads/2022/02/22/27474.jpg?strip=all&quality=85)
A tube feeds finished beans, like these buttered popcorn gems, into tidy rows on a conveyor belt. They pass through this stamping machine, which emblazons their tummies with Jelly Belly’s logo in white food coloring.
![Four view of the Jelly Belly factory tumblers with yellow, orange, green, and red beans clockwise from top left](https://www.popsci.com/wp-content/uploads/2022/02/22/tumblers.jpg?strip=all&quality=85)
Assortments mix together in a tumbler, which also filters out misshapen treats, known as Belly Flops. Too-small morsels drop through holes in the first roller; perfect ones land on a conveyor below the second; and big’ns get stuck in the third.
![Conveyor before quality control holding multicolored piles of beans](https://www.popsci.com/wp-content/uploads/2022/02/22/26965.jpg?strip=all&quality=85)
Nearly 1,700 individual jelly beans reach the end of the line every second. Single flavors await their fate in bulk in a sweet rainbow row, and factory workers load the glistening bites into boxes for fans of specific varieties.
![Finished jelly beans being delivered to bagging area](https://www.popsci.com/wp-content/uploads/2022/02/22/26989.jpg?strip=all&quality=85)
This story originally ran in the Winter 2021 Taste issue of PopSci. Read more PopSci+ stories.