Onychomycosis in childhood is reported to be unusual. The aim of this study was to determine the prevalence of onychomycosis in primary school children and to make comparison between different socioeconomic status in the rural and urban areas of the city. Hand and foot nails of 23235 children aged 7-14 were examined. Onychomycosis was suspected and nail scrapings for mycological examination were taken in 116 of them. Hyphae or spores were seen in 41 (0.18%) by direct microscopic examination, and mycological cultures were positive in 24 (0.1%) of them. Toenails were affected in all of the fungal culture positive cases. Trichosporon spp, Trichophyton rubrum, Candida albicans and Candida glabrata grew in 11, 6, 5 and 2 of the cultures respectively. Onychomycosis prevalence was significantly higher in the children living in the rural areas (p = 0.016) [Odds ratio = 3.43 (%95 CI 1.11<OR<11.84)], and onychomycosis was more frequent in boys than girls (p = 0.001) [(Odds ratio = 5.85 (1.66<OR<24.61)].