You cook frozen spanakopita for 10 minutes in an air fryer at 350°F, or in a conventional oven for approximately 20 minutes at 400°F. Other preparation methods are not recommended, as they will either take long or produce a poorly textured result.