Baked coconut candy with a golden, caramelized top is a traditional Mexican sweet. This family-friendly treat is a chewy, tropical confection perfect for coconut lovers.
Preheat your oven to 350°F (175°C) and line an 8-inch square baking pan with parchment paper for easy removal.
In a large bowl, combine the shredded coconut and sweetened condensed milk, mixing until the coconut is evenly coated and sticky.
Beat the eggs in a separate bowl until well blended, then add to the coconut mixture along with vanilla extract and salt; mix until fully incorporated.
Spread the mixture evenly into the prepared pan, pressing gently to create a compact, level surface that will caramelize well.
Bake for 35–40 minutes, until the top is golden brown and edges are caramelized. For a deeply golden top, switch to broil for the last 2 minutes, watching closely to avoid burning.
Remove from the oven and cool completely in the pan; lift out using the parchment and cut into bars or squares.