The Metaphysics of Quality (MoQ) is a theory of reality introduced in Robert Pirsig's philosophical novel, Zen and the Art of Motorcycle Maintenance (1974) and expanded in Lila: An Inquiry into Morals (1991). The MOQ incorporates facets of East Asian philosophy, pragmatism, the work of F. S. C. Northrop, and indigenous American philosophy. Pirsig argues that the MOQ is a better lens through which to view reality than the traditional Dvaita/dualistic subjective/objective mindset found in the West and originated in East. The book talks about the Indian concept of Tat Tvam Asi as opposed to Dvaita.
The Metaphysics of Quality originated with Pirsig's college studies as a biochemistry student at the University of Minnesota. He describes in Zen and the Art of Motorcycle Maintenance that as he studied, he found the number of rational hypotheses for any given phenomenon appeared to be unlimited. It seemed to him this would seriously undermine the validity of the scientific method. His studies began to suffer as he pondered the question and eventually he was expelled from the university.
After spending some time in Korea as a soldier, Pirsig concluded that Oriental philosophy was a better place to search for ultimate answers. On his return home from Korea, Pirsig read F. S. C. Northrop's book The Meeting of East and West which related Western culture to the culture of East Asia in a systematic way. In 1950, Pirsig continued his philosophical studies at Banaras Hindu University, where he came across the Sanskrit doctrine of Tat tvam asi—in his words, "Thou art that, which asserts that everything you think you are (Subjective), and everything you think you perceive (Objective), are undivided. To fully realize this lack of division is to become enlightened." The nature of mystical experience plays an underlying role throughout his work.