The harmonic index of a graph GG, denoted by H(G)H(G), is defined as the sum of weights 2/[d(u)+d(v)]2/[d(u)+d(v)] over all edges uvuv of GG, where d(u)d(u) denotes the degree of a vertex uu. Hu and Zhou [WSEAS Trans. Math.12 (2013) 716–726] proved that for any unicyclic graph GG of order n≥3n≥3, H(G)≤n2H(G)≤n2 with equality if and only if G=CnG=Cn. Recently, Zhong and Cui [Filomat29 (2015) 673–686] generalized the above bound and proved that for any unicyclic graph GG of order n≥4n≥4 other than CnCn, H(G)≤n2−215H(G)≤n2−215. In this paper, we generalize the aforemention results and show that for any connected unicyclic graph GG of order n≥3n≥3 with maximum degree ΔΔ,
H(G)≤{2(2Δ−1−nΔ+1+n+1−ΔΔ+2+14+n−1−Δ3)ifΔ≥n+222(ΔΔ+2+n−2Δ+24+Δ−23)ifΔ≤n+12
and classify the extremal unicyclic graphs.