He attended the Wheatley School in Old Westbury, New York, was awarded two National Science Foundation Scholarships, and attended the Massachusetts Institute of Technology with the intention of becoming an astronaut. Lagin received a degree in molecular biology and humanities from MIT in 1971, where he studied with John Harbison, Gregory Tucker, David Epstein, Noam Chomsky, Gian-Carlo Rota, Salvador Luria, and Jerome Lettvin. Chomsky's generative grammar concepts inspired Lagin's thinking about creating generative music forms (1968), and Lettvin connected him to the writings of Norbert Wiener and Warren McCulloch, and more generally to cybernetics.