bake spaghetti squash for 35 to 40 minutes at 400 degrees f, until fork-tender on the inside and the outsides give when pressed.