A study of the species composition of mayfly communities in connection with environmental parameters was made in headwater streams of the Pieniny Mts. The rhithral zone is inhabited maximally by 19 mayfly species. In most of the streams studied the mayfly communities were found to be similar, however the vertical zonation which reflected human impact was visible (NMDS analysis). The main factors responsible for mayfly communities at all the sites studied were stream regulation and organic pollution, followed by type of bottom substrate (pebble and gravel), riparian vegetation (shrubs), pH and water temperature. At undisturbed sites the most important factors were pH, substrate type, distance from the source, current velocity and riparian vegetation (CCA analysis). Analysis of mayfly communities and environmental characteristics in different seasons showed that occurrence of mayfly species varied substantially depending on the season. Only in early spring and autumn do mayfly communities occur which are dependent on many environmental factors, the most significant of which are substrate type, phosphate, distance from source and altitude (CCA analysis).