Ensign is a junior rank of commissioned officer in the militaries of some countries, normally in the infantry or navy. As the junior officer in an infantry regiment was traditionally the carrier of the ensign flag, the rank itself acquired the name. When navies began, the junior naval officer took the same name.