Requests

Laboratory tests

HPV test: how it is done

The HPV test is a laboratory test that looks for genetic material from high-risk types of human papillomavirus in a sample of cells from the cervix or vagina. These are the types associated with cervical cancer.

Clínica Alegre practitioner pipetting a sample into a test tube beside sample collection tubes

Reviewed by Dr Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

It is not a blood test or cervical screening cytology: it is a molecular test that detects the virus and, in many cases, identifies whether it is type 16 or 18, the most important types. It is now the main cervical cancer screening test in Portugal.

Many people put off the test because they are worried about discomfort, feel embarrassed or do not know what to expect. This article gives a general overview of how the sample is taken, how to prepare, what the result may mean and the test's limitations. Follow the specific preparation instructions from the laboratory or service taking the sample. The doctor who requested the test will interpret the result in light of your medical history.

What the test looks for

The HPV test uses molecular biology techniques to find fragments of DNA or RNA from high-risk types. Most screening tests look for a group of around 14 high-risk types together and report types 16 and 18 separately. This distinction is useful because these two types are more likely to cause serious cell changes.

The test does not look for cell changes: that is the role of cytology, which examines cells under a microscope. Both tests can be performed on the same sample, often avoiding the need to take another sample when the HPV test is positive. Nor does the test detect the low-risk types that cause warts, as these are not relevant to cancer prevention.

The HPV testDetectsDoes not detect
High-risk types (around 14)Yes, as a group
Types 16 and 18Yes, separately in most tests
Low-risk types (6, 11)No, they are not tested for in screening
Cell changesNo, this is the role of cytology
Other sexually transmitted infectionsNo, they require separate tests

Who should take the test

In Portugal, Directorate-General of Health Guideline no. 09/2024 states that population-based cervical cancer screening is for people with a cervix aged 30 to 69, with an HPV test every five years. This includes women, trans men and non-binary people who have a cervix. Screening does not include people who have previously had cervical cancer, those who have had a total hysterectomy (removal of the womb and cervix) for a benign condition, or those with gynaecological symptoms. Symptoms should be assessed at an appointment, not through screening.

For people with certain high-risk conditions, such as some forms of immunosuppression, the DGS has published a specific guideline with different rules. In these cases, the doctor determines the starting age and interval. The HPV test is not used for screening before the age of 30 because temporary infections are very common at this age and a positive result would lead to many unnecessary tests.

SituationHPV test for screening?
Person with a cervix, aged 30 to 69, without symptomsYes, every five years
Under 30, without specific risk factorsGenerally, no
High-risk conditions (for example, immunosuppression)Yes, under specific arrangements determined by the doctor
Total hysterectomy for a benign conditionUsually, no
Gynaecological symptomsNot as screening: an appointment is needed
MenThere is no recommended HPV screening

Before the sample is taken: general preparation

Preparation is simple, but a few precautions help ensure that the sample is suitable. In general, you should avoid having the sample taken during your period, not use vaginal creams, pessaries or douches in the preceding days and, often, avoid sex for 24 to 48 hours beforehand. You do not need to fast.

These instructions vary between laboratories and types of test, so the most important thing is to follow the guidance given when you book. If you are pregnant, have recently given birth or are using any vaginal treatment, tell the healthcare professional before the sample is taken.

CareWhy
Avoid your periodBlood can interfere with the test
Do not use vaginal creams, pessaries or douches in the preceding daysThey can interfere with the sample
Avoid sex the day before, if advisedReduces interference
FastingNot required
Mention pregnancy or treatmentsThis may change when or how the sample is taken

How a healthcare professional takes the sample

You lie on your back on an examination couch, with your legs supported. The healthcare professional gently inserts a speculum into the vagina. This instrument holds the vaginal walls apart so the cervix can be seen. They use a small brush or spatula to collect cells from the surface of the cervix, rotating the instrument for a few seconds. The brush is then placed in a container of preservative liquid and sent to the laboratory.

The whole procedure takes only a few minutes. Most people feel only pressure or slight discomfort; there may be a little harmless bleeding afterwards. Breathing slowly and relaxing your muscles helps. If you find the procedure difficult because of pain, anxiety or a history of trauma, it is absolutely fine to say so. You can ask the professional to stop, request a smaller speculum or ask to have someone with you.

Self-sampling: when it is an option

For self-sampling, you insert a small brush or swab into your vagina as directed in the kit instructions, then place it in a tube. You do not need to reach the cervix: a vaginal sample contains enough cells to test for HPV. The 2024 DGS guideline says that a healthcare professional should preferably take the sample. However, self-sampling can be used if the person expressly prefers it or has not responded to two invitations from the programme.

Self-sampling is a good alternative for anyone who avoids gynaecological examinations, but it has a practical limitation: as a rule, the sample can be used for the HPV test but not for cytology. If the result is positive, a healthcare professional will therefore usually need to take another sample.

AppearanceSample taken by a professionalSelf-sampling
Where it is doneAt an appointment, using a speculumTaken by the person themselves, using a dedicated kit
DiscomfortSlight, for most peopleMinimum
Allows cytology on the same sampleYesUsually, no
When it is used in the programmePreferred optionBy express preference or after two unanswered invitations

The result: what may appear on the report

The HPV test result is generally qualitative: it states whether high-risk types were detected. Many reports also say whether type 16, type 18 or other high-risk types were found. When the test is positive for high-risk types other than 16 or 18, the same sample is usually analysed by cytology to decide the next step.

A negative result is very reassuring: the risk of developing serious cell changes over the following years is very low, which is why the interval can be five years. A positive result means there is an infection, not cancer. The doctor decides what happens next based on the combination of results and your previous history. This subject is covered in more detail in the article “Positive HPV result: what now?”.

Limitations of the test

No test is perfect. The HPV test is very sensitive, but it can rarely miss an infection or cell changes, for example if the sample is inadequate. It also detects many infections that would clear up on their own, which can cause anxiety and lead to additional tests. This is why positive results are triaged before examinations such as colposcopy are arranged.

The test is not a substitute for assessing symptoms. Anyone with bleeding between periods, bleeding after sex or persistent pelvic pain should be examined, even if their last HPV test was negative.

Confidentiality and follow-up

An HPV test result is health information protected by confidentiality. It is given to the person tested and the healthcare professionals involved in their care. It is not shared with partners, relatives or employers. Whether to discuss the result with a partner is a personal decision.

If you receive the result before an appointment and have questions, do not draw conclusions from the report alone. The doctor who requested the test is best placed to explain what the result means in your case and what happens next.

At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.

Frequently asked questions

Does the HPV test hurt?

For most people, it causes only pressure or slight discomfort for a few minutes. If you feel pain, say so: the healthcare professional can adjust their technique.

Do I need to fast?

No. Fasting has no effect on this test.

Can I have the test during my period?

It is generally best to avoid this. Follow the laboratory's instructions and rearrange if necessary.

Is the HPV test the same as a smear test?

No. A smear test (cytology) examines cells under a microscope; the HPV test looks for the virus. Both can be done using the same sample.

Can I take the test at home?

Self-sampling is an option provided by the programme in certain circumstances. Ask your health centre or doctor whether it is suitable for you.

If I have had the vaccine, do I still need the test?

Yes. The vaccine does not protect against every high-risk type, so screening is still recommended.

How long does the result take?

It depends on the laboratory. When the sample is taken, ask when and how you will receive the result.

Did you enjoy this article?

Scientific references3
  1. Directorate-General of Health. Standard No. 09/2024: Population-based cervical cancer screening programme. Lisbon: Directorate-General of Health; 2024.
  2. Ronco G, Dillner J, Elfström KM, et al. Efficacy of HPV-based screening for prevention of invasive cervical cancer: follow-up of four European randomised controlled trials. Lancet. 2014;383(9916):524-32.
  3. Perkins RB, Guido RS, Castle PE, et al. 2019 ASCCP risk-based management consensus guidelines for abnormal cervical cancer screening tests and cancer precursors. J Low Genit Tract Dis. 2020;24(2):102–31.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.