Preheat your oven to 350°F (175°C) and grease a loaf pan.
In a large bowl, combine flour, sugar, baking soda, cinnamon, and salt.
In another bowl, mix melted butter, eggs, and vanilla extract until well combined.
Gradually add the wet ingredients to the dry ingredients, mixing gently.
Fold in the diced apples and walnuts (if using).
Pour the batter into the prepared loaf pan, smoothing the top.
Bake for 50-60 minutes or until a toothpick inserted in the center comes out clean.
Allow the bread to cool in the pan for 10 minutes before transferring to a wire rack.
Let it cool completely before slicing to ensure clean cuts.
Enjoy your fresh apple bread with a cup of tea or coffee!