The difference between the CP asymmetries in the decays Λc+ → pK−K+ and Λc+ → pπ−π+ is presented. Proton-proton collision data taken at centre-of-mass energies of 7 and 8 TeV collected by the LHCb detector in 2011 and 2012 are used, corresponding to an integrated luminosity of 3 fb−1. The Λc+ candidates are reconstructed as part of the Λb0 → Λc+μ−X decay chain. In order to maximize the cancellation of production and detection asymmetries in the difference, the final-state kinematic distributions of the two samples are aligned by applying phase-space-dependent weights to the Λc+ → pπ−π+ sample. This alters the definition of the integrated CP asymmetry to ACPwgt(pπ−π+). Both samples are corrected for reconstruction and selection efficiencies across the five-dimensional Λc+ decay phase space. The difference in CP asymmetries is found to beΔACPwgt=ACPpK−K+−ACPwgtpπ−π+=0.30±0.91±0.61%,\\documentclass[12pt]{minimal}\t\t\t\t\\usepackage{amsmath}\t\t\t\t\\usepackage{wasysym}\t\t\t\t\\usepackage{amsfonts}\t\t\t\t\\usepackage{amssymb}\t\t\t\t\\usepackage{amsbsy}\t\t\t\t\\usepackage{mathrsfs}\t\t\t\t\\usepackage{upgreek}\t\t\t\t\\setlength{\\oddsidemargin}{-69pt}\t\t\t\t\\begin{document}$$ \\begin{array}{c}\\hfill \\Delta {A}_{CP}^{\\mathrm{wgt}}={A}_{CP}\\left(p{K}^{-}{K}^{+}\\right) - {A}_{CP}^{\\mathrm{wgt}}\\left(p{\\pi}^{-}{\\pi}^{+}\\right)\\hfill \\\\ {}\\hfill = \\left(0.30 \\pm 0.91 \\pm 0.61\\right)\\ \\%,\\hfill \\end{array} $$\\end{document}where the first uncertainty is statistical and the second is systematic.