The invention relates to a line-scanning confocal ophthalmoscope system based on laser diffraction and a method. The system comprises a linear beam generation module, a beam-splitting module, a scanning module, an imaging module and an output module. The invention is characterized in that: the intensity of the linear beam generated by the line-scanning confocal ophthalmoscope system is uniformly distributed in a non-Gaussian form, a scanning galvanometer is adopted to scan the linear beam in a one-dimensional space to illuminate an ocular fundus retina, meanwhile, a linear detector is used for imaging the non-scanning linear beam reflected by the ocular fundus retina, and since the system only uses one scanning galvanometer and one linear detector, the number of the moving parts is less; meanwhile, a confocal slit is conjugated with the ocular fundus retina plane, consequently, the affection of the stay light of the non-retina plane on the imaging quality is eliminated, and thereby the high resolution of the confocal imaging principle. The system has the advantages of good linear beam quality, simple system structure, easy manufacturing, short light path, easy adjustment, small size, applicability, high stability and high imaging frame frequency.