Similarity bias or affinity bias is a type of unconscious bias. It occurs when we show preference for people who are similar to us (i.e., people with whom we share a common attribute, such as physical appearance, hobbies, or educational background).