Spaghetti squash takes about 40-60 minutes to bake at 400°F (204°C).