Presented with a menu of sweet treats to end a meal, I’ll always go for a piece of cake. In my heart, cake is never in competition with pie. If my only option is a slice of pie, I politely push aside its filling and dive into its unburdened crust.
A good custard tart, however, is a perfect neutral ground for me. I get creaminess reminiscent of a great buttercream paired with a robust, earthy crust. When I came across milk tarts, and, in particular, Nokx Majozi’s ingeniously simple recipe in “The South African Cookbook: Authentic Flavor-Packed Recipes from Cape Town to Durban,” I realized I’d found a crowd-pleaser, one that’s slowly becoming a staple at the meals I serve in my home.
The photograph of the milk tart — slices of yellow custard set in a substantial crust against an indigo backdrop — drew me in. And once a recipe intrigues me, I don’t just skim it. I read it closely. How does this work? What’s that dusting of spices?

Graham crackers step in for digestive biscuits in this version’s crust.Credit…Julia Gartland for The New York Times. Food Stylist: Liberty Fennell.
Known as melktert in Afrikaans, the tart has origins that can be traced to Dutch settlers’ 17th-century arrival in South Africa. It is typically made using shortcrust pastry, a milk and egg custard, and a topping of ground cinnamon.
The first thing I noticed about Ms. Majozi’s version was that it didn’t call for sugar. Could the sweetened condensed milk be doing all of the work? And equal parts cinnamon and nutmeg: Wouldn’t they cancel each other out?
With my curiosity piqued, I reached out to Ms. Majozi, who grew up in Dlangezwa, a vibrant town close to the University of Zululand, part of a family passionate about cooking and entertaining. It shows in her work: Ms. Majozi’s cookbook captures the essence of what it means to make memories around familiar dishes.

The chef Nokx MajoziCredit…Hayley Benoit for The New York Times
Speaking from her home in London, she walked me through the thinking behind her recipe and assured me that the crust — which can be made of digestive biscuits, or “tennis biscuits” or, as in this recipe, graham crackers — would carry the sweetness. Meanwhile, the custard would never be too cloyingly sweet to drown out the nutmeg and cinnamon.
And she was right. When I made my first tart, I saw the magic of her restraint. Neither spice overpowered the other. Each bite left me chasing sweetness rather than drowning in it. It was divine.

The consistency of your filling is key: It should be puddinglike. If the custard is too loose, it will not firm up.Credit…Julia Gartland for The New York Times. Food Stylist: Liberty Fennell.
Here are my strategic recommendations: Make the tart shell ahead of time and build the custard when you’re a few hours away from guests arriving. Sift the flour and cornstarch, and temper the warm milk to avoid lumps. Refrigeration allows for a firm set. I added a touch of salt to both the crust and the filling, but Ms. Majozi prefers to sprinkle wedges of the pie with flaky sea salt to “round out the sweetness.”
This splendidly simple dessert will delight anyone — those with the sweetest sweet tooth and those who lack one — who may need something subtly sweet at the end of the meal. And for those unlike me who prefer pie to cake? This is a perfect middle ground.
