During "Operation MI" the planned Japanese invasion of Midway, Ayanami was
assigned escort duties for the main body along with destroyers Uranami, Shikanami, Isonami and Yukaze during the Battle of Midway.