Are SFDC IDs unique across all of SFDC or can you only assume an ID is unique within a particular org? If an sObject with a particular ID is deleted, could that ID come back again in the same org or another one for a new sObject?

1 Answer 1


For your initial question:



Short Answer

Yes for Production Orgs (Sandbox's can have the same object Id as the Production Org they were cloned from)

For your second question:

I would expect this to be the case however I wouldn't rely on it as with any auto increment field in a database there could come a day when those Id's are reallocated for use.

  • 2
    I think that's correct on the second question. I would see that an ID would be recycled at some point, but the chances of seeing it again in the same org are pretty remote.
    – joshbirk
    Sep 25, 2012 at 17:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .