We report the temperature-pressure (T-P) phase diagram of CePt2In7 single crystals, especially the pressure evolution of the antiferromagnetic order and the emergence of superconductivity, which have been studied by electrical resistivity and ac calorimetry under nearly hydrostatic environments. Compared with its polycrystalline counterpart, bulk superconductivity coexists with antiferromagnetism in a much narrower pressure region. The possible existence of textured superconductivity and local quantum criticality also are observed in CePt2In7, exhibiting a remarkable similarity with CeRhIn5.