The drying time for royal icing can vary depending on humidity and thickness of the piping consistency. Generally, it takes a few hours to overnight for the icing to fully dry and set. It's recommended to let the cookies dry in a cool, dry place.