NO, margarine is made from vegetable oil. Butter not only has a richer flavor but it also has a high fat content which gives baked goods their texture.