Prepare Your Baking Pan: Start by preheating your oven to 350°F (175°C). While the oven warms, lightly grease a 13x9-inch baking pan with non-stick cooking spray, butter, or parchment paper. This ensures the bars won’t stick and makes cleanup easier. Set the pan aside while you prepare the dough and topping.
Melt the Butter: Place 3/4 cup (1 1/2 sticks) of butter or margarine in a small saucepan or microwave-safe bowl. Gently melt it over low heat on the stovetop or in short bursts in the microwave, stirring occasionally. Let it cool slightly to avoid cooking the egg in the next step.
Mix the Dry Ingredients: In a large mixing bowl, combine 2 1/4 cups of uncooked oats, 2 cups of all-purpose flour, 1 1/2 cups of packed brown sugar, 3/4 cup of shredded coconut (if using), 1 teaspoon of baking soda, and 1 teaspoon of salt (optional). Stir well until all ingredients are evenly distributed. This mixture forms the sturdy base of your bars.
Combine Wet Ingredients: In a medium bowl, whisk together the slightly cooled melted butter, 1/3 cup of maple syrup, 1 lightly beaten egg, and 1 teaspoon of vanilla extract. Make sure the mixture is smooth and uniform. The warm, wet mixture will help bind the dry ingredients together into a cohesive dough.
Incorporate Wet and Dry Mixtures: Gradually pour the wet ingredients into the bowl of dry ingredients. Using a sturdy spoon or spatula, mix until a stiff dough forms. Ensure that every oat and flour particle is coated with the buttery syrup mixture. The dough should be sticky but firm enough to press into the pan.
Press the Dough Into Pan: Transfer the dough into your prepared 13x9-inch baking pan. Use your hands or the back of a spoon to evenly press the dough across the bottom of the pan. Aim for a uniform layer so the bars bake evenly. Don’t worry if it feels slightly sticky — that’s normal.
Prepare the Pecan Topping: In a small bowl, combine 1 1/2 cups of chopped pecans and 1/4 cup of packed brown sugar. Mix them together so the sugar lightly coats the pecans. Sprinkle this mixture evenly over the pressed dough in the pan, then gently press down so the nuts adhere slightly to the base.
Drizzle Maple Syrup: Carefully drizzle 1/3 cup of maple syrup evenly over the pecan topping. The syrup will help the topping caramelize slightly during baking, creating a glossy, flavorful finish. Use a spoon to spread it if necessary, ensuring full coverage without pooling too much.
Bake Until Golden: Place the baking pan in the preheated oven and bake for 35 to 38 minutes. Check the bars around 30 minutes to ensure the edges are golden brown and the center is set but still slightly soft. The aroma of toasted oats, maple, and pecans should fill your kitchen — a good sign the bars are perfectly baked.
Cool Completely: Once baked, remove the pan from the oven and transfer it to a wire cooling rack. Allow the bars to cool completely in the pan. This is crucial for them to set properly so they hold their shape when cut. Cooling usually takes about 1 to 2 hours, depending on room temperature.
Slice and Serve: After cooling, use a sharp knife to cut the pan into 16 evenly sized bars. For clean cuts, wipe the knife between slices. The bars are now ready to serve as a delicious snack, breakfast treat, or dessert.
Storage and Enjoyment: Store the bars in an airtight container at room temperature for up to 5 days, or refrigerate for up to a week. They can also be frozen for up to 2 months. Enjoy them on-the-go, with a cup of coffee, or as a satisfying afternoon pick-me-up!