What To Consider When Swapping Out Butter In Your Cookie Recipes - Tasting TableWhen replacing butter in cookie recipes, coconut oil and margarine are recommended alternatives due to their behavior like butter, but they may alter the flavor slightly.