Grueneisen relaxation photoacoustic microscopy (GR-PAM) can achieve optically defined axial resolution, but it has been limited to ex vivo demonstrations so far. Here, we present the first in vivo image of a mouse brain acquired with GR-PAM. To induce the GR effect, an intensity-modulated continuous-wave laser was employed to heat absorbing objects. In phantom experiments, an axial resolution of was achieved, which is sixfold better than the value achieved by conventional optical-resolution PAM. This axial-resolution improvement was further demonstrated by imaging a mouse brain in vivo, where significantly narrower axial profiles of blood vessels were observed. The in vivo demonstration of GR-PAM shows the potential of this modality for label-free and high-resolution anatomical and functional imaging of biological tissues.