Loneliness is related to mental and somatic health outcomes, including borderline personality disorder. Here, we analyze the sources of variation that are responsible for the relationship between borderline personality features (including four dimensions, affective instability, identity disturbance, negative relationships, self-harm and a total score) and loneliness. Using genetically informative data from two large nonclinical samples of adult twin pairs from Australia and the Netherlands (N = 11,329), we estimate the phenotypic, genetic and environmental correlations between self-reported borderline personality features and loneliness. Individual differences in borderline personality and loneliness were best explained by additive genetic factors with heritability estimates h2 = 41% for the borderline personality total score and h2 = 36% for loneliness, with the remaining variation explained by environmental influences that were not shared by twins from the same pair. Genetic and environmental factors influencing borderline personality (total score and four subscales separately) were also partial causes of loneliness. The correlation between loneliness and the borderline personality total score was rph = .51. The genetic correlation was estimated at rg = .64 and the environmental correlation at re = .40. Our study suggests common etiological factors in loneliness and borderline personality features.