🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Change Number of Lines in Street Address in Magento 2

By Shivbhadrasinh GohilUpdated on May 22, 2025 2 min read

The name and address options in Magento 2 is easy to configure with the backend options. In this post, I’ll show the method to change number of lines in street address in Magento 2.

If you are a local business having a Magento 2 store, your business requirements may include allowing customers to enter a longer address.

The address formats differ from country to country or even for different regions within the country. You may have shorter street addresses or longer.

Hence, you can edit the number of lines in the street address in Magento 2 so that customers can easily enter their accurate address while creating a new account.

Steps to Change Number of Lines in Street Address in Magento 2:

Steps to Change Number of Lines in Street Address in Magento 2
  1. Login to admin panel
  2. Navigate to Stores > Configuration
  3. Under Customers, select Customer Configuration
  4. Expand the Name and Address Options
  5. Change the numerical value in the field “Number of Lines in Street Address
  6. Save the configuration
Changed Number of Lines in Street Address in Magento 2 frontend

That’s it.

You can also refer to the video tutorial to change number of lines in street address in Magento 2 from our Magento 2 video tutorial series:

Also, do share the tutorial with the Magento community via social media.

Thank you.

Shivbhadrasinh Gohil Full Image
Article byShivbhadrasinh Gohil

Shivbhadrasinh is the Co-founder & Chief Marketing Officer at Meetanshi. He leads the marketing team and is the person behind the marketing & branding success of the company. Being a seasoned digital marketer, he has been consulting online businesses for growth since 2010 and has helped 100+ clients with digital marketing success. He loves sharing tips and insights about the latest digital marketing trends aimed at helping online business owners.