•Increased racial residential segregation increased the risk of all-cause mortality among White participants.•Higher interaction lowered the risk of all-cause mortality among White participants.•Higher isolation lowered the risk of cancer mortality among Black participants.
© 2023 The Authors.