The Estrada index of a simple connected graph G of order n is defined as EE(G)=∑i=1neλi, where λ1,λ2,…,λn are the eigenvalues of the adjacency matrix of G. In this paper, we characterize all pentacyclic graphs of order n with maximal Estrada index.