We developed a three-photon adaptive optics add-on to a commercial two-photon laser scanning microscope. We demonstrated its capability for structural and functional imaging of neurons labeled with genetically encoded red fluorescent proteins or calcium indicators deep in the living mouse brain with cellular and subcellular resolution.