If you make royal icing with just powdered sugar and water, then it can take up to 24 hours for the icing to dry and harden. Enter in meringue powder. This is basically egg white powder. The meringue powder helps thicken and harden the icing more quickly than just time and dry air temperature. You can also use egg white powder or pasteurized egg whites, too.