There have been three waves of highly pathogenic avian influenza (HPAI) outbreaks in commercial, backyard poultry, and wild birds in Ukraine. The first (2005-2006) and second (2008) waves were caused by H5N1 HPAI virus, with 45 outbreaks among commercial poultry (chickens) and backyard fowl (chickens, ducks, and geese) in four regions of Ukraine (AR Crimea, Kherson, Odesa, and Sumy Oblast). H5N1 HPAI viruses were isolated from dead wild birds: cormorants (Phalacrocorax carbo) and great crested grebes (Podiceps cristatus) in 2006 and 2008. The third HPAI wave consisted of nine outbreaks of H5N8 HPAI in wild and domestic birds, beginning in November 2016 in the central and south regions (Kherson, Odesa, Chernivtsi, Ternopil, and Mykolaiv Oblast). H5N8 HPAI virus was detected in dead mute swans (Cygnus olor), peacocks (Pavo cristatus) (in zoo), ruddy shelducks (Tadorna ferruginea), white-fronted geese (Anser albifrons), and from environmental samples in 2016 and 2017. Wide wild bird surveillance for avian influenza (AI) virus was conducted from 2006 to 2016 in Ukraine regions suspected of being intercontinental (north-south and east-west) flyways. A total of 21 511 samples were collected from 105 species of wild birds representing 27 families and 11 orders. Ninety-five avian influenza (AI) viruses were isolated (including one H5N2 LPAI virus in 2010) from wild birds with a total of 26 antigenic hemagglutinin (HA) and neuraminidase (NA) combinations. Fifteen of 16 known avian HA subtypes were isolated. Two H5N8 HPAI viruses (2016-2017) and two H5N2 LPAI viruses (2016) were isolated from wild birds and environmental samples (fresh bird feces) during surveillance before the outbreak in poultry in 2016-2017. The Ukrainian H5N1, H5N8 HPAI, and H5N2 LPAI viruses belong to different H5 phylogenetic groups. Our results demonstrate the great diversity of AI viruses in wild birds in Ukraine, as well as the importance of this region for studying the ecology of avian influenza.