Felsőgagy is a village in Borsod-Abaúj-Zemplén County in northeastern Hungary. As of 2008[update], the town had a population of 161.[1]