Lady and lord both began with bread. The first half of each word is the Old English hlaf, "loaf."

Lady comes from Old English hlæfdige, which meant the mistress of a household or the wife of a lord. Lord comes from hlaford, a blend of hlaf and weard, "guardian." The lord, by this reading, was the guardian of the bread.

The second half of lady is the hard part. The traditional explanation reads -dige as "kneader," so the lady was the one who kneaded the household's bread. No such word survives in Old English on its own. The Wordorigins site explains that both dige and a verb digan are reconstructed, partly because digan means "to knead" in Gothic. It also links the related Old English noun dag to modern dough.

Not everyone accepts this. Etymonline reports that the Century Dictionary calls the etymology "improbable," and that the OED finds it "not very plausible with regard to sense." Etymonline glosses -dige as "maid" and links it to dæge, "maker of dough." By about 1200 that word meant a dairymaid, and it gives us dairy. Either way, the lady was tied to the work of the household.

The word rose in rank early. Æthelflæd ruled Mercia after her husband died in 911. The Abingdon text of the Anglo-Saxon Chronicle, in its entry for 912, calls her Myrcna hlæfdige, "Lady of the Mercians." Etymonline dates the sense of a woman of high social position to around 1200. A lady as the object of a knight's devotion appears in the early 1300s.

The sound wore down over time. The middle -f- dropped out in the 14th century.

The word also hides inside some compounds. Old English already used the word for the Virgin Mary, and "Our Lady's" became a plain "lady-" prefix. That is why the spotted beetle is a ladybug and why March 25, the Feast of the Annunciation, was called Lady Day.