Tripyla () is a former community in Messenia, Peloponnese, Greece. Since the 2011 local government reform it is part of the municipality Trifylia, of which it is a municipal unit. The municipal unit has an area of 69.696 km<sup>2</sup>. Population 255 (2021). The seat of the community was in Raptopoulo.