Abu Qir ( , Abu Qīr, or , Apakyri), formerly also spelled Abukir or Aboukir, is a town on the Mediterranean coast of Egypt, near the ruins of ancient Canopus and 23 kilometers northeast of Alexandria by rail.