Gather and prepare all your ingredients. Peel, core, and chop the pears into about ½-inch cubes. If desired, slice 3 thin pieces from the center of one pear to decorate the top of the loaf. Preheat the oven to 350°F (180°C) and place the butter in a heat-safe bowl in the oven to melt as it warms.
In a large mixing bowl, whisk together the eggs and the melted, slightly cooled butter until well combined. Add the sugar and vanilla and continue mixing until smooth.
In a separate bowl, combine the coconut flour, salt, spices, and baking powder. Sift the dry ingredients into the wet mixture and gently mix until just combined, being careful not to overmix.
Gently fold in the cubed pears.
Transfer the batter to a prepared loaf pan (greased or lined with parchment paper) and smooth the top.
If using, arrange the pear slices on top of the batter for a simple, elegant finish.
Bake in the preheated oven for 50–65 minutes, or until the loaf is set in the center and a toothpick inserted comes out clean.
Remove the loaf from the oven and let it cool in the pan for at least 15 minutes. Carefully remove, let cool further, then slice and serve. Dust with powdered sugar if desired.