HPV vaccination is recommended at age 11 or 12 years (or can start at age 9 years) and for everyone through age 26 years, if not vaccinated already.
Vaccination is not recommended for people older than age 26 years. However, some adults aged 27 through 45 years who are not already vaccinated may decide to get the HPV vaccine after speaking with their healthcare provider about their risk for new HPV infections and the possible benefits of vaccination. HPV vaccination in this age range provides less benefit. Most sexually active adults have already been exposed to HPV, although not necessarily all of the HPV types targeted by vaccination.
At any age, having a new sex partner is a risk factor for getting a new HPV infection. People who are already in a long-term, mutually monogamous relationship are not likely to get a new HPV infection.