I examine the treatment of metaphor by medieval logicians and how it stemmed from their reception of classical texts in logic, grammar, and rhetoric. I consider the relation of the word 'metaphor' to the notions of translatio and transumptio, and show that it is not always synonymous with these. I also show that in the context of commentaries on the Sophistical Refutations metaphor was subsumed under equivocation. In turn, it was linked with the notion of analogy not so much in the Greek sense of a similarity between two proportions or relations as in the new medieval sense of being said secundum prius et posterius. Whether or not analogy could be reduced to metaphor, or the reverse, depended on the controversial issue of the number of acts of imposition needed to produce an equivocal term. A spectrum of views is canvassed, including those found in the logic commentaries of John Duns Scotus.