Loading

Maximum Length for Salesforce System 'Name' Fields

Publish Date: Oct 28, 2025
Description

The "Name" will appear on many objects and has many different maximum values depending on the object type.  Here are the maximum values for each.

Note: The limit for Custom Object Name fields applies if you don't use Auto Number as the Data Type.

Resolution

The maximum length for the various object name fields are as follows:

  • 'Account Name' field is 255
  • 'Contact First Name' field is 40
  • 'Contact Last Name' field is 80
  • 'Opportunity Name' field is 120
  • 'Lead First Name' field is 40
  • 'Lead Last Name' field is 80
  • 'Campaign Name' field is 80
  • 'Contract Name' field is 80
  • 'Solution Name/ Solution Title' is 255 
  • 'Price Book Name' is 120
  • 'Macro Name' field is 255
  • 'Group Name' field is 40
  • 'Segment name' field is 80
  • Custom Object Name field is 80

See also: Reduce the character limit of Standard fields.

Additional Resources

Vote and comment on the Idea to Increase Name field length from 80 to 255.

Email Address Length and Storage available here.

Knowledge Article Number

000384760

 
Loading
Salesforce Help | Article