Objective The effect of polyomavirus infection in HSCT recipients is poorly understood. Methods We evaluated 38 HSCT recipients. Polyomavirus was detected by nested qualitative polymerase chain reaction (PCR) assays of urine. The risk factors for BK virus and JC virus were analysed. The kidney and liver functions of infected and uninfected patients were compared. Results BK virus, JC virus, and simian virus 40 were detected in 21%, 42%, and 0% of HSCT recipients respectively. HCMV infection was found to be an independent risk factor for JC virus infection (odds ratio (OR): 8.528), while transplants with mismatched HLA are more susceptible to BK virus infection (OR: 12.000). Liver function of JC virus-infected subjects was worse than that of uninfected subjects. Conclusion We must be vigilant for opportunistic polyomavirus infections in HSCT recipients, especially those with HCMV co-infection or a mismatched HLA transplant. When unexplained liver function deterioration is observed, JC virus infection should be considered.