An activatable and tumor-targeting near-infrared (NIR) fluorescent probe CyAc-RGD was synthesized for the imaging of histone deacetylase 6 (HDAC6). The probe exhibited higher sensitivity and specificity for HDAC6 detection in cancer cells. Moreover, CyAc-RGD demonstrated good tumor-targeting ability and realized HDAC6 imaging in vivo .