Both homophily and heterophily are observed in humans. Homophily reinforces homogeneous social networks, and heterophily creates new experiences and collaborations. However, at the extremes, high levels of homophily can cultivate prejudice toward out-groups, whereas high levels of heterophily can weaken in-group support. Using data from 24,726 adults ( M = 46 years; selected from 10,398 English neighborhoods) and the composition of their social networks based on age, ethnicity, income, and education, we tested the hypothesis that a middle ground between homophily and heterophily could be the most beneficial for individuals. We found that network homophily, mediated by perceived social cohesion, is associated with higher levels of subjective well-being but that there are diminishing returns, because at a certain point increasing network homophily is associated with lower social cohesion and, in turn, lower subjective well-being. Our results suggest that building diverse social networks provides benefits that cannot be attained by homogeneous networks.