Tea head, a derivative product of Pu-erh tea, are tight tea lumps formed during pile-fermentation. The aim of this study was to reveal the differences of quality-related metabolites and microbial communities between ripened Pu-erh tea (PE-21) and tea heads (CT-21). Compared with PE-21, CT-21 showed a more mellow and smooth taste with slight bitterness and astringency, and can withstand multiple infusions. Metabolites analysis indicated CT-21 had more abundant water-soluble substances (47.39%) and showed significant differences with PE-21 in the main compositions of amino acids, catechins and saccharides which contributed to the viscosity of tea liquor, mellow taste and the tight tea lumps formation. Microbial communities and COG annotation analysis revealed CT-21 had lower abundance of Bacteria (84.05%), and higher abundance of Eukaryota (15.10%), carbohydrate transport and metabolism (8.28%) and glycoside hydrolases (37.36%) compared with PE-21. The different microbial communities may cause metabolites changes, forming distinct flavor of Pu-erh.