At Rochester it flows over the precipitous edges of the Niagara limestone, forming the Upper Genesee Falls; and 3 miles below it flows over the edge of the Medina sandstone, forming the Lower Genesee Falls.