Same-sex sexual behavior has genetic underpinnings but no single gene is associated with it, according to a broad study of more than 470,000 people.

An international team of researchers found five genetic markers linked to whether someone has ever had sex with a person of the same sex, according to the paper published online Thursday in the journal Science.

But...