<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Thu Mar 06 23:35:31 UTC 2025 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
  <roleRef xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd#PvpAdjustmentsOnly" roleURI="http://xbrl.sec.gov/ecd/role/PvpAdjustmentsOnly"/>
  <roleRef xlink:type="simple" xlink:href="pfis-20241231.xsd#pfis_r_AdditionalDimensions" roleURI="http://pfis.q4ir.com/role/AdditionalDimensions"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension"/>
<!-- [WMV6][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt/tC7CvZHOJjSUEJbYlSz0QmT1AzchKAjg5AqVJioVI5InN4qYJyWmcSLgmhUjWXJNyanecSLW4vgXr/8WgW6g6opr2g70Gc+0f7n+D2lOYrzvs/1+eF2vqzdfUK4aDJgyU9fz0xRhFagTvDiAUW+LtPjh60QlbGt3aHKur5yc35Ble60eMzCm0sQMiRd4maNrqwfLDmRu9ijIHWysUtPuiPMEUDqbKf+24oapQlUrf5WzpiiiyXr56xkpre0uP70b5Y2l19P99QA==] CSR-->
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all"/>
  <definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/PvpAdjustmentsOnly" xlink:type="extended">
    <loc xlink:type="locator" xlink:label="ecd_AllAdjToCompMember" xlink:href="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd#ecd_AllAdjToCompMember"/>
    <loc xlink:type="locator" xlink:label="pfis_ChangeInValueOfEquityAwardsGrantedInPriorYearsWhichVestedInYearMember" xlink:href="pfis-20241231.xsd#pfis_ChangeInValueOfEquityAwardsGrantedInPriorYearsWhichVestedInYearMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ecd_AllAdjToCompMember" xlink:to="pfis_ChangeInValueOfEquityAwardsGrantedInPriorYearsWhichVestedInYearMember" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:role="http://pfis.q4ir.com/role/AdditionalDimensions" xlink:type="extended"/>
</linkbase>
