Highly pathogenic avian influenza viruses from H5 clade 2.3.4.4b are circulating at unprecedently high levels in wild and domestic birds and have the potential to adapt to humans. We generated an mRNA lipid nanoparticle (LNP) vaccine encoding the hemagglutinin (HA) glycoprotein from a clade 2.3.4.4b H5 isolate. We show that the vaccine is immunogenic in mice and ferrets and prevents morbidity and mortality of ferrets following 2.3.4.4b H5N1 challenge.