You get warts when a virus called human papillomavirus (HPV) infects the outer layer of your skin, usually through tiny cuts, scrapes, or soft, wet skin.

What warts actually are

  • Warts are small, rough, raised bumps caused by certain types of HPV infecting the skin.
  • Not all HPV types cause warts, and different strains tend to cause different kinds (hand warts, plantar foot warts, genital warts, etc.).
  • They are usually harmless, but they are contagious and can spread to you and to other parts of your body.

How you get warts (main ways)

You do not get warts from ā€œbeing dirtyā€ or from frogs; you get them from catching HPV.

  • Direct skin contact
    • Touching someone’s wart and then having that virus enter through a break in your own skin.
* Skin-to-skin or sexual contact in the case of genital warts, via specific HPV types.
  • Indirect contact (surfaces & objects)
    • Walking barefoot on contaminated wet surfaces such as pool decks, public showers, locker rooms (common route for plantar foot warts).
* Sharing towels, socks, razors, nail clippers, or other personal items that have touched someone’s wart.
  • Through tiny skin breaks
    • Cuts, scrapes, hangnails, or shaved skin give HPV an easy way in.
* Biting nails or picking at hangnails and skin around nails can lead to warts on fingers and around the nails.
  • Spreading on your own body (self-spread)
    • Scratching, picking, or shaving over a wart can drag the virus to nearby skin, causing new warts (ā€œseedingā€).

Who is more likely to get them

  • Children and teens, because they have more frequent skin contact and minor injuries, and their immune systems are still maturing.
  • People with eczema or other skin conditions that break the skin barrier.
  • People with weakened immune systems (e.g., from HIV, cancer treatment, organ transplant).

Warts are not hereditary: you don’t inherit them directly from parents, but you may share environment and exposures.

Quick ā€œdo & don’tā€ to lower your chances

These do not guarantee prevention, but they make warts less likely to appear or spread.

  • Do:
    1. Wear flip‑flops or sandals in public showers, pools, and locker rooms.
    2. Keep skin moisturized but not constantly soggy; dry feet well between toes.
    3. Cover existing warts with a bandage if you’re in shared spaces.
    4. Wash hands after touching a wart (yours or someone else’s).
  • Don’t:
    1. Don’t pick, scratch, or bite at warts, hangnails, or the skin around nails.
    2. Don’t shave directly over a wart.
    3. Don’t share razors, nail clippers, socks, towels, or shoes.
    4. Don’t walk barefoot in communal wet areas if you or others have plantar warts.

Forum-style snapshot: what people say online

ā€œI think I got plantar warts from always walking barefoot at my gym shower. Once one showed up, it spread because I kept shaving over it.ā€

ā€œNail-biting was my downfall. I ended up with little warts all around my fingernails after picking at my skin constantly.ā€

These kinds of stories match what doctors describe: HPV plus small skin damage plus moisture and shared surfaces is a common recipe for getting warts.

TL;DR: You get warts when certain HPV viruses enter through tiny breaks in your skin, often via direct skin contact or shared moist surfaces and objects; they’re contagious but usually harmless.

Information gathered from public forums or data available on the internet and portrayed here.