In Salesforce, Tasks and Events are both part of the Activities object. Because of this shared parent object, you cannot create custom fields directly on the Task or Event object. Instead, custom fields for Tasks and Events are created at the Activity level in Setup, and then assigned to the appropriate Task and Event page layouts.
When you navigate to Task or Event fields in Setup, you may notice there is no New button to create custom fields. This is expected — custom fields for these objects must be created from the Activity object.
Note: Custom fields are not available on Activities in Group Edition. See Create Custom Fields for more information.
Since Tasks and Events are both part of the Activities object, create custom fields at the Activity level. The steps differ slightly between Salesforce Classic and Lightning Experience.
Go to Setup.
Enter Activities in the Quick Find box.
Click Activity Custom Fields.
Click New.
Click the Gear icon on the top right.
Click Setup.
Click Object Manager.
Enter Activity in the Quick Find box and click the Activity label to open the object's setup.
On the left side, click Fields & Relationships.
Click New.
To differentiate between Task and Event custom fields, select the appropriate page layouts on step 4 of 4 during the field creation process. The field can be added to both Tasks and Events, or just one of the objects.
After the field is created, return to Activity Custom Fields in Setup if you need to make changes to custom Activity fields.
Custom Field Attributes
Custom Field Types
Maximum number of custom Activity fields per entity
Customize the Fields that Display on Tasks in the Activity Timeline
Customize Task and Event page layouts
000387017

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.