Cooking a spaghetti squash in the microwave oven Prick the squash several times with a fork and place in a baking dish. In the microwave oven, cook the squash for 15 to 20 minutes depending on its size, or until tender, turning it several times during cooking. Let cool. Cut the squash in half and remove the seeds with a spoon. Shred the flesh with a fork.