The first observation of the decay ηc(2S)→ppˉ is reported using proton-proton collision data corresponding to an integrated luminosity of 3.0fb−1 recorded by the LHCb experiment at centre-of-mass energies of 7 and 8 TeV. The ηc(2S) resonance is produced in the decay B+→[ccˉ]K+. The product of branching fractions normalised to that for the J/ψ intermediate state, Rηc(2S), is measured to be \begin{align*} {\cal R}_{\eta_{c}(2S)}\equiv\frac{{\mathcal B}(B^{+} \to \eta_{c}(2S) K^{+}) \times {\mathcal B}(\eta_{c}(2S) \to p \bar p)}{{\mathcal B}(B^{+} \to J/\psi K^{+}) \times {\mathcal B}(J/\psi\to p \bar p)} =~& (1.58 \pm 0.33 \pm 0.09)\times 10^{-2}, \end{align*} where the first uncertainty is statistical and the second systematic. No signals for the decays B+→X(3872)(→ppˉ)K+ and B+→ψ(3770)(→ppˉ)K+ are seen, and the 95\% confidence level upper limits on their relative branching ratios are % found to be RX(3872)<0.25×10−2 and Rψ(3770))<0.10. In addition, the mass differences between the ηc(1S) and the J/ψ states, between the ηc(2S) and the ψ(2S) states, and the natural width of the ηc(1S) are measured as \begin{align*} M_{J/\psi} - M_{\eta_{c}(1S)} =~& 110.2 \pm 0.5 \pm 0.9 \rm \, MeV, M_{\psi(2S)} -M_{\eta_{c}(2S)} =~ & 52.5 \pm 1.7 \pm 0.6 \rm \, MeV, \Gamma_{\eta_{c}(1S)} =~& 34.0 \pm 1.9 \pm 1.3 \rm \, MeV. \end{align*}