In late 2020, we detected 32 highly pathogenic avian influenza A(H5N8) viruses in migratory ducks in Shanghai, China. Phylogenetic analysis of 5 representative isolates identified 2 sublineages of clade 2.3.4.4b. Each sublineage formed separate clusters with isolates from East Asia and Europe.