---
title: "Magento 2: Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel"
url: "https://magecomp.com/blog/magento-2-hide-custom-customer-attribute-in-customer-account-information-section-from-admin-panel/"
date: "2021-08-09T16:49:36+00:00"
modified: "2025-02-19T05:06:13+00:00"
author:
  name: "Dhiren Vasoya"
  url: "https://magecomp.com/"
categories:
  - "How To"
  - "Magento 2"
word_count: 268
reading_time: "2 min read"
summary: "Hello Magento Friends,"
description: "Custom customer attribute can help to get extra information from customers. Learn Magento 2: Hide Custom Customer Attribute in Customer Account Information S..."
keywords: "How To, Magento 2"
language: "en"
schema_type: "Article"
related_posts:
  - title: "Magento 2: How to Add a Custom Button in Page Builder"
    url: "https://magecomp.com/blog/magento-2-add-custom-button-page-builder/"
  - title: "Magento 2: How to Add Sample CSV Download Option in System Configuration"
    url: "https://magecomp.com/blog/magento-2-add-sample-csv-download-option-in-system-configuration/"
  - title: "Magento 2: How to Disable Customer Redirect to Login, Register and Forgot Password using Observer"
    url: "https://magecomp.com/blog/magento-2-disable-customer-redirect-to-login-register-and-forgot-password-using-observer/"
---

# Magento 2: Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel

_Published: August 9, 2021_  
_Author: Dhiren Vasoya_  

![Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel in M2](https://magecomp.com/blog/wp-content/uploads/2021/08/Hide-Custom-Customer-Attribute-in-Customer-Account-Information-Section-from-Admin-Panel-in-M2-1024x512.webp)

**Hello Magento Friends,**

I am back with another Magento 2 Tutorial. Today we will discuss Magento 2: Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel.
[![Magento 2 Speed & Performance Optimization Services](https://magecomp.com/blog/wp-content/uploads/2025/02/Magento-2-Speed-Performance-Optimization-Services-CTA-3.webp)](https://magecomp.com/magento-performance-optimization.html)

Magento 2 default provides customer attributes to receive information from customers. When the admin needs additional information, custom attributes can be created. These attributes are visible at many places, one of them is the customer account information section in the admin panel. When there is no more requirement of any particular custom attribute, the admin can hide it from the account information tab in the Magento 2 admin panel.
If the Magento 2 admin wants to hide custom customer attributes in the customer account information section, follow the below steps.
## Steps to Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel in Magento 2:
**Step 1:** Create **customer_form.xml** in the below path
**app\code\Vendor\Extension\view\base\ui_component\**

And add the below code
```
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    	<fieldset name="customer">
	    <field name="your_attribute_name">
		   <settings>
		       <visible>false</visible>
		   </settings>
	    </field>
	</fieldset>
</form>
```

## [![hyva theme development](https://magecomp.com/blog/wp-content/uploads/2025/02/hyva-theme-development-CTA-3.webp)](https://magecomp.com/services/hyva-theme-development/)

## Conclusion:
This way admin can Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel. Simple, isn’t it? If you come across any issues, comment on your queries, and I will help you solve them. Share the article with your fellow Magento colleagues and stay tuned with us for more!
[![Hire Magento Programmer](https://magecomp.com/blog/wp-content/uploads/2025/02/Hire-Magento-Programmer-CTA-3.webp)](https://magecomp.com/services/hire-magento-programmer/)

**Happy Coding!**


---

_View the original post at: [https://magecomp.com/blog/magento-2-hide-custom-customer-attribute-in-customer-account-information-section-from-admin-panel/](https://magecomp.com/blog/magento-2-hide-custom-customer-attribute-in-customer-account-information-section-from-admin-panel/)_  
_Served as markdown by [Third Audience](https://github.com/third-audience) v3.5.3_  
_Generated: 2026-08-12 07:06:06 UTC_  
