A retrospective cohort study of gay and bisexual men attending sexual health clinics in Japan shows that taking HIV pre-exposure prophylaxis (PrEP) not only protects against HIV but also against infection with hepatitis B, reducing the risk of it nearly tenfold.