The tea cake rarely gets its flowers. It’s not flashy or trendy. It doesn’t stand out against a display of glistening baked goods, doesn’t hint at its flavor (or any flavor) with its slightly browned, puffed top.

But beneath its humble exterior is a deep history: Tea cakes were born of necessity and ingenuity and have traveled miles and centuries, refined on and perfected by a long line of cooks. They are, in spite of their long journey, an invitation to rest, to stop for a mug of coffee or tea, and connect.

Pinpointing the origin of tea cakes is hard, but those most intimately familiar with its history agree that enslaved people on plantations were responsible for the American iteration, which evolved from browned, yeasted British tea cakes and are closely related to crumbly jumble cookies. This newer version, made without yeast, relies on baking soda or baking powder for lift with the addition of sweeteners like molasses or sugar, and a rich fat like lard or butter.

Once freed, formerly enslaved African Americans took the recipe — along with many others — to their new homes, and made them for their own families. The tea cakes eventually made their way to the North both as part of the Underground Railroad and later during the Great Migration.

A recipe for tea cakes shows up in “The Brooklyn Cookbook,” published in 1991, an overview of the history of the borough’s foods, linking the cakes to Weeksville, a haven for many formerly enslaved and freeborn African Americans in the 1800s. At its peak, in the 1850s, Weeksville was a thriving community of nearly 600 African Americans, with a school, newspaper and church, all run by residents.

“That safe space provided a safe place to dream,” said Raymond Codrington, the president and CEO of Weeksville Heritage Center, which seeks to preserve the neighborhood’s history. “Socially, politically and culturally, you could have radical thought.”

The grounds of the Weeksville Heritage Center now include historically recreated homes, furnished with 19th- and 20th-century wares, pantry goods and mementos, reflecting the time. Visiting them today, it’s easy to imagine tea cakes baking in the small ovens, the dough made out of pantry staples like flour, butter, eggs, sugar and “thick sour cream” as the “Brooklyn Cookbook” recipe calls for. Maybe a cook, looking out the window at the peach or cherry tree in full bloom (which is still on the property), studded the dough with fresh peaches or cherries?

For Jocelyn Delk Adams, the founder of Grandbaby Cakes, tea cakes were a warm embrace welcoming her to her grandmother’s house in Winona, Miss., after long drives from Chicago, where Delk Adams lived.

“She would make them whenever people came by,” said Delk Adams, who has developed recipes for New York Times Cooking. Depending on the time of year, her grandmother would even add food coloring or different spices to the base recipe, then use an old tin can to punch rounds from the dough. “She would make them so easily,” Delk Adams said. “It’s like the dough would be done by the time I turned around.”

Simple in taste and easy to make, tea cakes fall texturally somewhere among an unadorned cookie, cake or scone. And just as with many cookies and cakes, the recipe starts with creaming sugar and butter, adding lightly beaten eggs enhanced with vanilla and nutmeg, then sifted flour, salt and baking powder. The dough is rolled out like biscuits, and rounds are punched out with a cookie cutter or top of a Mason jar, then baked off. The aroma of the slightly sweet dough wafts from the oven, filling the room. Seeing a loved one reach for one is gratifying, a testament to the fruits of your (brief) labor.

Inspired by her grandmother’s cakes, Delk Adams’ recipe — in her book, “Everyday Grand: Soulful Recipes for Celebrating Life’s Big and Small Moments” — uses raspberry powder to give tea cakes a pink hue.

“I try to adopt that creativity in my baking,” she said.

It’s a lesson that she’s passing on to her 6-year-old daughter at their home in Texas. Making them is “our own ritual now,” she said, adding, “They’re part of who we are and a part of our heritage.”

Tea Cakes

A beloved treat in Southern baking, these simple, dense, slightly sweet cakes moved to the North during the Great Migration, becoming part of the culinary traditions of northern Black communities like Weeksville in Brooklyn. Similar in texture to a British scone, and the perfect accompaniment to tea or coffee, tea cakes were made by enslaved Africans on plantations using easily accessible ingredients like eggs, baking powder, flour and sugar. Endlessly adaptable, the dough can be modified by adding more baking spices, such as clove or allspice. You also can use your preferred sweetener, whether it’s molasses or honey, in place of white sugar; just reduce the amount to 3/4 cup. — Recipe from Weeksville Heritage Center, adapted by Korsha Wilson

Yield: 18 tea cakes. Total time: 1 hour

Ingredients

3 1/2 cups/450 grams all-purpose flour, plus more for dusting

1 teaspoon baking soda

1/2 teaspoon kosher salt (such as Diamond Crystal) or 1/4 teaspoon fine salt

1/2 cup/114 grams unsalted butter, room temperature

1 cup/200 grams granulated sugar

2 large eggs, lightly beaten

1 teaspoon vanilla extract

1/2 teaspoon freshly grated nutmeg

1/2 cup/125 grams sour cream

directions

1. Heat oven to 450 degrees with a rack set in the center. Line 2 baking sheets with parchment paper.

2. Sift or whisk together flour, baking soda and salt into a large bowl.

3. Using a stand mixer fitted with the paddle attachment (or a bowl and wooden spoon), beat butter and sugar until very light and fluffy, about 5 minutes. Add the beaten eggs, vanilla and nutmeg. Beat until the mixture is cohesive with no streaks of butter visible.

4. Add flour mixture in thirds, alternating with sour cream in two batches, beating (on low speed if using a mixer) after each addition until smooth. Once all the flour has been added, mix until a sticky dough forms.

5. Flour a work surface and turn the dough out of the bowl onto it. With floured hands, gather the dough into a ball and pat it flat. Using a floured rolling pin, roll it to a 1/2-inch thickness. Using a 2-inch cookie cutter or the open mouth of a Mason jar, punch circles out of the dough. Place them 2 inches apart on the lined baking sheets. Gather dough scraps into a ball and roll out to cut more tea cakes.

6. Bake one sheet at a time on the center rack for about 12 minutes, until lightly golden brown. Transfer them to a wire rack to cool. Serve immediately or store in an airtight container for up to 3 days.