Tiramisu needs to set in the refrigerator for at least 2 hours, but overnight is even better. This allows the flavours to blend and the dessert to achieve its desired texture.