Salesforce Dictionary — Free Salesforce GlossarySalesforce Dictionary

Lookup Relationship vs Master-Detail Relationship

Loosely coupled vs tightly coupled relationships

All comparisons

Lookup Relationship

VS

Master-Detail Relationship

Lookup Relationship

A Lookup Relationship in Salesforce creates a loose association between two objects, similar to a foreign key in a relational database. Unlike Master-Detail, a Lookup Relationship does not enforce cascading delete, does not support Roll-Up Summary Fields natively, and allows the lookup field to be optional (blank).

Master-Detail Relationship

A Master-Detail Relationship in Salesforce creates a tightly coupled parent-child link between two objects. The detail (child) record inherits the sharing and security settings of the master (parent), the lookup field is always required, and deleting the master record cascades to delete all related detail records. This relationship type enables Roll-Up Summary Fields on the master object.

Key Differences

DimensionLookup RelationshipMaster-Detail Relationship
CouplingLoose — child can exist independentlyTight — child cannot exist without parent
DeletionDeleting parent does not delete childrenDeleting parent cascades to children
RequiredLookup field can be optionalParent field is always required
Roll-Up SummariesNot supported nativelySupported (COUNT, SUM, MIN, MAX)
OwnershipChild has its own ownerChild inherits parent's owner

When to use Lookup Relationship

When child records should exist independently or parent is optional.

When to use Master-Detail Relationship

When child records must always belong to a parent and you need roll-up summaries.