The key to achieving microfoam is maintaining the correct temperature (around 150°F to 155°F) and using the right frothing technique, which involves creating a vortex in the milk.