Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

Find the Salesforce ID of a Record Type

Publish Date: Jul 17, 2026
Description

When working with Salesforce configurations, integrations, or support requests, you may need to locate the Record Type ID — a unique 15- or 18-character alphanumeric identifier assigned to each Record Type in your Salesforce org. Record Type IDs are used in API calls, SOQL queries, and when configuring profiles, page layouts, and automation rules.
This article explains how to find the Record Type ID for both standard and custom objects in Salesforce Classic and Lightning Experience.


Note: Salesforce uses both 15-digit (case-sensitive) and 18-digit (case-insensitive) versions of the same ID. For integrations and API usage, always use the 18-digit version. For more information, see Unique Record IDs in Salesforce.

Resolution

 

Find the Record Type ID for a Standard Object

In Salesforce Classic

  1. Click Setup.
  2. Under 'Build,' click Customize | click the object of your choice | Record Types.
  3. Click on the Record Type Label name and inspect the URL to get the ID.

 

In Lightning Experience

  1. Click the gear icon.
  2. Click Setup.
  3. Select the Object Manager.
  4. Select the object of your choosing.
  5. Select Record Types
  6. Select the Record Type Label name and inspect the URL to get the ID.

 

Find the Record Type ID for a Custom Object

In Salesforce Classic

  1. Click Setup
  2. Under 'Build,' click Create | Objects | click on the object of your choice | the name of the record type.


In Lightning Experience

  1. Click the gear icon.
  2. Click Setup.
  3. Select the Object Manager.
  4. Select the object of your choosing.
  5. Select Record Types.
  6. Select the Record Type Label name and inspect the URL to get the ID.



Note:

In Classic, the URL for this page looks like this:

https://na1.salesforce.com/setup/ui/recordtypefields.jsp?id=012300000012BYN&type=

The 15 alphanumerical characters found between "jsp?id=" and "&type=" constitute the ID of the record type (For example, 012300000012BYN).


In Lightning Experience, the URL for this page looks like this:
 

https://na1.lightning.force.com/lightning/setup/ObjectManager/Case/RecordTypes/012300000012BYNQAG/view?0.source=alohaHeader
 

The 15 alphanumerical characters can be found by removing the last 3 digits of the characters between "RecordTypes/" and "/view' (For example, 012300000012BYN by removing the QAG in 012300000012BYNQAG). 

Knowledge Article Number

000384487

 
Loading
Salesforce Help | Article