The invention provides an optical resolution type photoacoustic microscope based on optical beam scanning. The photoacoustic microscope comprises a laser diode, a collimating lens, a multidimensional laser galvanometer, a focusing lens, a rectangular prism, a coupling liquid box, an ultrasonic coupling liquid, a film, a shell, a lifting platform, an ultrasonic sensor, a signal processing circuit, a data acquisition circuit, a computer, a galvanometer driving circuit, a clock circuit and a driving power circuit. According to the invention, miniature, inexpensive and easily maintained laser diode is applied to the field of optical resolution forward photoacoustic microscopy excitation, and the laser galvanometer is used to realize substitution of mechanical scanning by beam scanning to achieve fast imaging. The photoacoustic microscope has the advantages of portable volume, high resolution and fast imaging, and can be widely applied to photoacoustic microimaging in the fields of material detection, industrial inspection and medical image.