Right now, the word quagmire means "a boggy area". However, it's developing a definition of "complex or messy situation" that will probably overtake the former in definition pretty soon. The exodus has already begun. Despite all that etymology in action, at its most literal, quagmire is a tautology, literally meaning "marsh marsh" in Old English. How? Well, quag is an obsolete word that meant "bog", from Middle English quabbe, "marsh", ultimately from Old English cwabba, which meant "to tremble", like mushy ground does underfoot. Further origins are unknown. Meanwhile, mire is a slightly less obsolete word meaning "muddy area", From Middle English mire, meaning "swamp", from Old Norse myrr, also describing something like a "swamp" and deriving from Proto-Germanic miuzijo, which can eventually be reconstructed as a derivative of Proto-Indo-European meus, which meant "damp", an obvious connection. So, if we neglect the redundancy of this pointlessly stacked word, we can fully trace quagmire as meaning "damp tremble".
Adam Aleksic, a leading contender for valedictorian of his high school, is a 210-month-old boy with disturbing interests in etymology, vexillology, geography, and law. Adam would like to one day visit Tajikistan and probably isn't spying for the Kyrgyz government.
The Etymology Nerd