Preheat your oven to 350°F (175°C). Line a 9×5-inch loaf pan with parchment paper, leaving some overhang on the sides for easy removal. Alternatively, grease and flour the pan thoroughly.
Wash, peel, and core your apples. Using the large holes of a box grater, grate the apples directly onto a clean kitchen towel. Once grated, gently squeeze the apple shreds to remove about 2 tablespoons of juice (but not all – some moisture is essential).
In a medium bowl, whisk together the flour, baking soda, salt, cinnamon, and nutmeg until well combined.
In a large bowl, use an electric mixer to beat the softened butter and sugar together for 2-3 minutes until light and fluffy.
Beat in the eggs one at a time, incorporating each fully before adding the next. Stir in the vanilla extract.
Gradually add the flour mixture to the butter mixture, stirring just until combined. Avoid over-mixing.
Gently fold in the grated apples and nuts (if using) until evenly distributed throughout the batter.
If using the cinnamon sugar topping, combine the sugar and cinnamon in a small bowl.
Pour the batter into the prepared loaf pan and smooth the top with a spatula. Sprinkle with cinnamon sugar topping if using.
Bake in the preheated oven for 55-60 minutes, or until a toothpick inserted into the center comes out clean with a few moist crumbs. If the top begins to brown too quickly, loosely cover with aluminum foil after 35-40 minutes.
Allow the bread to cool in the pan for 10 minutes before transferring to a wire rack to cool completely for at least 20 minutes before slicing.