Polyomaviruses are common viruses that induce various infections in many mammalian species, including humans. The best-known viruses of this kind are BKV and JCV. The aim of the study was to analyze the incidence of infection caused by JCV in a group of patients after kidney or bone marrow transplant, and to analyze JCV genetic diversity in post-transplantation recipients. The study group included 81 patients after kidney transplantation treated in the Independent Public Teaching Hospital No 4 in Lublin and a group of 24 patients after marrow transplantation from the Children's Clinical Hospital of Lublin. The research material included 105 DNA probes from urine samples that were tested via the PCR method for the presence of JCV genetic material. Amplification products were separated in agarose gel, positive PCR products were subjected to purification and the pure product was sent to sequencing. Pearson's chi-square test was used to investigate the relationship between the prevalence of JCV viruria and study group and gender. Statistical significance was defined as p < 0.05. A JCV positive result was discovered in 27.6% of all samples. In the group of adults, 34.6% were positive, while in children, this was 3.4%. Among all patients, only 8 women were infected with the JC virus, while 21 men were. We saw that the incidence of infection caused by the JC virus increases with age. Moreover, JCV DNA is more frequently isolated from men than from women. JCV infections are also a more common cause of infections in patients after renal transplantation than in bone marrow transplant patients