Subarachnoid hemorrhage (SAH) is a serious cerebrovascular disease. Early brain injury (EBI) and cerebral vasospasm are the main reasons for poor prognosis of SAH patients. The specific inhibitor of histone deacetylase 6 (HDAC6), tubastatin A (TubA), has been proved to have a definite neuroprotective effect on a variety of animal models of acute and chronic central nervous system diseases. However, the neuroprotective effect of TubA on SAH remains unclear. This study aims to investigate the expression and localization of HDAC6 in the early stage of SAH, and to evaluate the protective effects of TubA on EBI and cerebral vasospasm after SAH and the underlying mechanisms. Adult male SD rats were treated with modified internal carotid artery puncture to establish SAH model. In the first part of the experiment, rats were randomly divided into 6 groups: a sham group, a SAH-3 h group, a SAH-6 h group, a SAH-12 h group, a SAH-24 h group, and a SAH-48 h group. At 3, 6, 12, and 24 h after SAH modeling, the injured cerebral cortex of rats in each group was taken for Western blotting to detect the expression of HDAC6. In addition, the distribution of HDAC6 in the cerebral cortex of the injured side was measured by immunofluorescence double staining in SAH-24 h group rats. In the second part, rats were randomly divided into 4 groups: a sham group, a SAH group, a SAH+TubAL group (giving 25 mg/kg TubA), and a SAH+TubAH group (giving 40 mg/kg TubA). At 24 h after modeling, the injured cerebral cortex tissue was taken for Western blotting to detect the expression levels of HDAC6, endothelial nitric oxide synthase (eNOS), and inducible nitric oxide synthase (iNOS), terminal deoxynucleotidyl transferase-mediated dUTP-biotin nick end labeling (TUNEL) staining to detect apoptosis, and hematoxylin and eosin (HE) staining to detect the diameter of middle cerebral artery. The protein expression of HDAC6 began to increase at 6 h after SAH (P<0.05), peaked at 24 h (P<0.001), and decreased at 48 h, but there was still a difference compared with the sham group (P<0.05). HDAC6 is mainly expressed in the cytoplasm of the neurons. Compared with the sham group, the neurological score was decreased significantly and brain water content was increased significantly in the SAH group (both P<0.01). Compared with the SAH group, the neurological score was increased significantly and brain water content was decreased significantly in the SAH+TubAH group (both P<0.05), while the improvement of the above indexes was not significant in the SAH+TubAL group (both P>0.05). Compared with the sham group, the expression of eNOS was significantly decreased (P<0.01) and the expressions of iNOS and HDAC6 were significantly increased (P<0.05 and P<0.01, respectively) in the SAH group. Compared with the SAH group, the expression of eNOS was significantly increased, and iNOS and HDAC6 were significantly decreased in the SAH+TubA group (all P<0.05). Compared with the SAH group, the number of TUNEL positive cells was significantly decreased and the diameter of middle cerebral artery was significantly increased in the SAH+TubA group (both P<0.05) . HDAC6 is mainly expressed in neurons and is up-regulated in the cerebral cortex at the early stage of SAH. TubA has protective effects on EBI and cerebral vasospasm in SAH rats by reducing brain edema and cell apoptosis in the early stage of SAH. In addition, its effect of reducing cerebral vasospasm may be related to regulating the expression of eNOS and iNOS.