A search for top quark pair resonances in final states containing at least one electron or muon has been performed with the ATLAS experiment at the CERN Large Hadron Collider. The search uses a data sample corresponding to an integrated luminosity of 2.05 fb^(−1), which was recorded in 2011 at a proton-proton centre-of-mass energy of 7 TeV. No evidence for a resonance is found and limits are set on the production cross-section times branching ratio to tt for narrow and wide resonances. For narrow Z′ bosons, the observed 95 % Bayesian credibility level limits range from 9.3 pb to 0.95 pb for masses in the range of m_(Z′)=500 GeV to m_(Z′)=1300 GeV. The corresponding excluded mass region for a leptophobic topcolour Z′ boson (Kaluza-Klein gluon excitation in the Randall-Sundrum model) is m_(Z′)<880 GeV (m_(gKK)< 1130 GeV)