An optical-resolution photoacoustic microscope (OR-PAM) with capability of fast axial-scanning was developed by using a tunable acoustic gradient (TAG) lens. The TAG lens was designed to continuously changing the focal plane of OR-PAM by modulating its refractive power with fast-changing ultrasonic standing wave. The performance was shown by imaging a carbon fiber. We achieved a DoF of about 750 μm. The head of a zebrafish was also imaged to further demonstrate the feasibility of our method.