Abstract Creativity is heritable and exhibits familial aggregation with psychiatric disorders, but its genomic basis and genetic relationship with psychiatric disorders remain largely unknown. Here, we conducted a genome-wide association study (GWAS) using an expanded, machine learning-based definition of creativity in individuals of European ancestry from the UK Biobank ( n = 241,736) and identified 25 creativity-associated loci. Extensive genetic overlap with psychiatric disorders, including schizophrenia, major depression, bipolar I disorder, attention deficit/hyperactivity disorder, and anorexia nervosa, was demonstrated by the genetic correlation, polygenic risk score, and MiXeR analyses. The condFDR and conjFDR analyses identified additional loci for creativity and psychiatric disorders, as well as shared genetic loci between creativity and psychiatric disorders. This GWAS showed significant correlations with GWASs using traditional definitions of creativity and GWASs adjusted for educational attainment. Our findings contribute to the understanding of the genetic architecture of creativity and reveal its polygenic relationships with psychiatric disorders.