Move an oven rack to the middle position and preheat oven to 350 degrees. Prepare a muffin pan with cupcake liners and spray with nonstick spray. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.: The moment the oven warms you will notice a gentle warmth that hints at the aroma to come, and preheating ensures the batter meets immediate, even heat so the muffins rise properly. A cold oven can cause dense centers because the leavening does not get the thermal shock it needs, and an oven left too hot will brown the tops prematurely. One common mistake is not allowing the oven to fully preheat, which leads to uneven domes, so wait until the oven indicates it has reached the set temperature for best results.
In a large bowl, whisk together granulated sugar, yogurt, eggs, lemon zest, and vanilla. Add the dry ingredients in batches, whisking to incorporate after each addition. Fold in oil and stir carefully until uniformly combined. Fill prepared muffin cups with batter.: Lining the wells makes removal effortless and the nonstick spray prevents sticking where the liner might not sit perfectly. You will feel satisfaction pulling the first warm muffin out intact; it should release easily without tearing. If liners stick, it often means the muffins were cooled in the pan too long or the liners were low quality, so remove them after a short cool down to avoid tearing the tops.
Bake until a toothpick inserted comes out clean with a few crumbs attached, about 20-25 minutes. The muffins should be fragrant and spring back when pressed lightly. Cool muffins on a rack for several minutes before removing from pan. Cool completely.: Whisking distributes the leavening evenly and breaks up clumps, giving a smooth, uniform texture in the final batter. The flour will look light and aerated after whisking, which supports an even rise. A common error is to skip this step, which can cause pockets of baking powder or salt, so take the extra minute to combine thoroughly.
Meanwhile, in a medium bowl, stir together powdered sugar, lemon juice, lemon zest (if using) until smooth.: When you whisk these, the mixture becomes pale and slightly thick, releasing the lemon aroma from the zest as the oils are agitated. This wet mix is the flavor foundation and emulsion base, and it should smell bright and balanced. Overwhisking eggs with sugar is rarely an issue here, but underwhisking can leave pockets of sugar, so aim for smoothness without excessive foam.
Place muffins on a wire rack set over a baking sheet. Slowly brush or drizzle glaze over the top. The glaze will harden in 20 to 30 minutes.: Adding dry to wet in portions prevents overmixing and ensures a silky batter. After each addition stir until no dry streaks remain, but be mindful to stop once integrated, because overworking activates gluten and will make the muffins tough. A typical misstep is dumping all the flour at once and overmixing to compensate, so take it slow and gentle.
Fold in oil and stir carefully until uniformly combined: Folding the oil in gives the batter shine and moisture without deflating it. You will see the batter become smoother and slightly glossier as the oil blends; this signals good emulsion. Avoid vigorous stirring which can collapse the air you created, and note that small streaks of oil should disappear into a consistent batter.
Fill prepared muffin cups with batter: Use an ice cream scoop or large spoon for even portions so all muffins bake uniformly. The tops should dome slightly above the rim, creating that tempting silhouette. A common error is overfilling which causes spillover and uneven baking, so aim for about three quarters full for standard cups.
Bake until a toothpick inserted comes out clean with a few crumbs attached, about 20 to 25 minutes: During baking you will see the muffins rise and the tops take on a pale golden hue, and the kitchen will fill with a fresh citrus scent. The toothpick test reveals doneness: a few moist crumbs are fine, wet batter is not. Opening the oven too often can deflate the muffins, so resist peeking until the last few minutes unless you suspect a problem.
The muffins should be fragrant and spring back when pressed lightly: This sensory check complements the toothpick test, because a gently pressed top that springs back indicates proper set. The fragrance will shift from sharp to slightly sweeter as they cool, which is normal. If centers sink as they cool, it can mean underbaking or opening the oven too soon, so aim for a firm top before removing.
Cool muffins on a rack for several minutes before removing from pan: Cooling briefly lets the crumb firm enough to release cleanly, and transferring them to a wire rack prevents sogginess from trapped steam. You will notice the steam fade as they cool, and handling them too soon makes them fragile. A frequent mistake is leaving muffins in the pan until fully cool, which can trap moisture and soften bases.
Cool completely: Allowing full cooling sets the crumb and ensures the glaze adheres properly without sliding off. As they cool, the interior finishes its textural transformation, and slicing or glazing too early can cause the glaze to melt into the muffin. Patience here pays off; rushing this step often results in a soggy glaze and a less appealing finish.
Meanwhile, in a medium bowl, stir together powdered sugar, lemon juice, lemon zest if using until smooth: The glaze should be silky and just thick enough to cling to a spoon, yielding a glossy finish when applied. You will smell an intensified lemon brightness as the juices and sugar meld. If the glaze is too thin, add a touch more powdered sugar; if too thick, a drop more lemon juice will loosen it. Avoid overheating or whisking too aggressively which can introduce air bubbles into the glaze.
Place muffins on a wire rack set over a baking sheet: This setup catches excess glaze and allows even setting around the muffin tops, creating clean edges as the glaze hardens. You will see drips collect on the sheet beneath, which makes cleanup simple. Skipping the rack can lead to messy presentation and sticky bottoms once the glaze pools and hardens.
Slowly brush or drizzle glaze over the top: Brushing gently produces an even coat while drizzling gives a casual, homemade look. The glaze will begin to set in 20 to 30 minutes, forming a delicate shell that snaps slightly when bitten. Apply too much at once and the glaze may run off; work in thin layers if you want a thicker finish.