Melt the butter: Add the butter to a saucepan over medium-low heat and let it melt fully, swirling the pan occasionally. It should foam gently but not brown or smell nutty.
Whisk in the flour: Sprinkle the flour over the melted butter and whisk constantly for about 2 minutes. The mixture should turn pale gold and smell lightly toasted, forming a smooth paste called a roux.
Add milk gradually: Pour in a splash of milk and whisk until smooth before adding more. Repeat in small additions until all the milk is incorporated and the mixture looks lump-free.
Simmer until thick: Reduce heat to low and let the sauce simmer gently, stirring often, for 5 to 7 minutes. It's ready when it coats the back of a spoon and leaves a clean line when you run your finger through it.
Season the sauce: Stir in the salt, black pepper, garlic powder, and a pinch of nutmeg. Taste and adjust seasoning to your liking.
Add cheese if using: If making a cheese sauce, stir in the parmesan off the heat until fully melted and smooth. The sauce will thicken slightly more as it cools.
Check consistency: If the sauce seems too thick, whisk in a tablespoon of warm milk at a time until it loosens to your preference. If too thin, simmer uncovered a few more minutes.
Serve warm: Pour the sauce over pasta, vegetables, or baked chicken right away while it's smooth and warm. Store any leftovers in a sealed container in the refrigerator.