Yes, you can leave the peppermint extract out if you prefer. However, the peppermint flavor will not be as strong in the candycane pie. If you prefer, you can use vanilla extract.