01 -
Preheat your oven to 350°F (175°C).
02 -
In a medium saucepan, combine the brown sugar, water, cinnamon stick, cloves, ground nutmeg, and ground cinnamon. Bring to a boil, then reduce the heat and simmer for 10 minutes, stirring occasionally, until it thickens into a syrup. Remove the cinnamon stick and cloves, then stir in vanilla extract.
03 -
Grease a 9x13-inch baking dish with butter. Layer half of the bread cubes in the dish. Evenly distribute half of the raisins, pecans, and coconut flakes (if using) over the bread. Drizzle some syrup over the layer, and sprinkle half of the cheese. Repeat with the remaining bread, raisins, pecans, and coconut flakes, then pour the rest of the syrup over the top. Finish with the remaining cheese.
04 -
Cover the baking dish with aluminum foil and bake for 20 minutes. Remove the foil and bake for an additional 10-15 minutes, or until the cheese is melted and the top is golden and slightly crispy.
05 -
Let the capirotada cool slightly before serving. It can be enjoyed warm or at room temperature.