In March 1978 Lin entered the University of Science and Technology of China, where he completed his bachelor's degree in physics in 1981. Then he pursued advanced studies in the United States, first earning Master of Science degree from Iowa State University in 1983 and then doctor of physics degree from University of California, San Diego in 1987.