I'm trying change the default magento logo in email template from Admin Panel, Content > Design > Configuration but it doesn't Update on the email. How can I fix this issue?

enter image description here

Design Configuration

enter image description here

5 Answers 5


Goto Content->Configuration->Click on Edit of first Row->Goto Transactional Email->Logo

enter image description here

  • This is correct solution. Go for it. Let us know if it does not work.
    – Sharma
    Nov 1, 2017 at 6:37
  • I have already tried this didn't work out. Image doesn't show after the upload ! Nov 1, 2017 at 6:42
  • 1
    Hello @AmalMadawa Please put your image in /magentoRoot/app/design/frontend/Magento/Luma/Magento_Email/web/logo_email.png
    – Moin Malek
    Nov 1, 2017 at 6:44
  • i think cache issue so please clear cache browser and magento backend. Nov 1, 2017 at 6:44
  • Magento 2.2 below version has the bug for the email logo upload.the uploaded logo cant create direcory so that images not shown.Please refer to Change File and email upload logo working fine.github.com/magento/magento2/commit/…
    – Moin Malek
    Nov 1, 2017 at 6:47

As @Moin Malek answered the first way to go for people with less programming experience is uploading the specific email logo over the GUI backend.

For people with more programming and especially frontend developing experience, the way to go is like the following:

In app/design/frontend/<Vendor>/<theme>/Magento_Email/web please add a file called logo_email.png.

In vendor/magento/module_email/Model/AbstractTemplate.php there is a constant defined like const DEFAULT_LOGO_FILE_ID = 'Magento_Email::logo_email.png'; which represents the correct named logo file.


1-On the Admin sidebar, Content > Design > Configuration > Select your current theme > .

You can see the existing design configuration on the management table, then click on Edit under Action.

2-On the workplace, please scroll down to Other Settings, open Transactional Email setion.

3-To change your Logo Email, click on Upload to choose one of the image files you want to aplly for your logo.

4-Enter the alternate text identify the Logo Image Alt. You can give the height and width of logo. Save configuration and changes will reflect.


For me, the folder permissions were off so magento could not create the folder at /pub/media/email/logo/stores/1

I just manually created that path, and adding my image.


Reference source: https://magentip.com/change-magento-2-store-logo/

You can upload and overwrite the file in logo file path, for example


If you want to Change magento 2 logo programmatically, go to \app\design\frontend\Magento\luma\Magento_Theme\layout\default.xml Add this code

   <?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="logo">
            <action method="setLogoFile">
                <argument name="logo_file" xsi:type="string">
        <referenceBlock name="logo" remove="true" />

Replace images/yournewlogo.png with your file path

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.