Plantar warts are caused by the human papillomavirus (HPV) getting into the skin of the feet. HPV is highly contagious and can be contracted through contact with infected surfaces, like locker room floors, or infected individuals. This is why you should avoid going barefoot in public spaces and sharing personal items like shoes, socks, and towels.