It is generally recommended to use fresh spinach for the best color and texture. However, you can use frozen spinach. Just make sure to thaw it completely and drain any excess moisture before using in the recipe.