You can bake it up to 24 hours in advance. Let it cool completely, then cover tightly and keep at room temperature.