Answer Wiki. Wikipedia has a good breakdown of this. Fleming's third Bond novel, Moonraker, establishes M's initials as M**** M*******[7] and his first name is subsequently revealed to be Miles. It seems that M is mostly based on Rear Admiral John Godfrey, who was Fleming's superior when they both worked at Naval Intelligence.