How to remove Addresses tab from customer edit(form) page in admin panel Magento 2?

  • what did you try? – Philipp Sander Feb 22 '19 at 10:23
  • What I have tried so far is removing address fieldset in customer_form.xml and unlinking js/edit/tab/addresses.js – mighty_hk Feb 22 '19 at 10:32

Create customer_account.xml if does not exit at app/design/frontend/{ThemeVendorName}/{ThemeName}/Magento_Customer/layout/

and inside it adds below 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="customer-account-navigation-address-link" remove="true" />

  • I want to remove it in the admin panel, not in the frontend. Let me edit my question. – mighty_hk Feb 22 '19 at 10:31

You can override below file and remove whole fieldset="address" tag or you can comment it.

File path.


You can create your custom file in below directory path


remove or comment fieldset="address"

Please up vote if it is helpful for you.

  • Tried it, It only removes the form inside the tab, not the tab. – mighty_hk Feb 22 '19 at 11:24
  • You must have to remove whole fieldset tag not only single line. – Mayur Jotaniya Feb 22 '19 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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