<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>553</ContextCount>
  <ElementCount>641</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>111</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>13</UnitCount>
  <MyReports>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED BALANCE SHEET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDBALANCESHEET</Role>
      <ShortName>CONSOLIDATED BALANCE SHEET</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED BALANCE SHEET (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDBALANCESHEETParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEET (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENT OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENT OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINSHAREHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - CONSOLIDATED STATEMENT OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CONSOLIDATEDSTATEMENTOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOME</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - PER SHARE DATA</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PERSHAREDATA</Role>
      <ShortName>PER SHARE DATA</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - INVESTMENT SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIES</Role>
      <ShortName>INVESTMENT SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - FEDERAL HOME LOAN BANK STOCK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FEDERALHOMELOANBANKSTOCK</Role>
      <ShortName>FEDERAL HOME LOAN BANK STOCK</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSES</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - PREMISES AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PREMISESANDEQUIPMENT</Role>
      <ShortName>PREMISES AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - GOODWILL AND OTHER INTANGIBLES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/GOODWILLANDOTHERINTANGIBLES</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - DEPOSITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/DEPOSITS</Role>
      <ShortName>DEPOSITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - SHORT-TERM BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/SHORTTERMBORROWINGS</Role>
      <ShortName>SHORT-TERM BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - LONG-TERM BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LONGTERMBORROWINGS</Role>
      <ShortName>LONG-TERM BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - EMPLOYEE BENEFIT PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANS</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - STOCK OPTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONS</Role>
      <ShortName>STOCK OPTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - EMPLOYEE STOCK PURCHASE PLAN</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEESTOCKPURCHASEPLAN</Role>
      <ShortName>EMPLOYEE STOCK PURCHASE PLAN</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - OFF-BALANCE SHEET RISK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OFFBALANCESHEETRISK</Role>
      <ShortName>OFF-BALANCE SHEET RISK</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - CAPITAL REQUIREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CAPITALREQUIREMENTS</Role>
      <ShortName>CAPITAL REQUIREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - REGULATORY RESTRICTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/REGULATORYRESTRICTIONS</Role>
      <ShortName>REGULATORY RESTRICTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEOFFINANCIALINSTRUMENTS</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - REVENUE RECOGNITION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/REVENUERECOGNITION</Role>
      <ShortName>REVENUE RECOGNITION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMETables</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOME</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - PER SHARE DATA (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PERSHAREDATATables</Role>
      <ShortName>PER SHARE DATA (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/PERSHAREDATA</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - INVESTMENT SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESTables</Role>
      <ShortName>INVESTMENT SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/INVESTMENTSECURITIES</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESTables</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSES</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - PREMISES AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PREMISESANDEQUIPMENTTables</Role>
      <ShortName>PREMISES AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/PREMISESANDEQUIPMENT</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/GOODWILLANDOTHERINTANGIBLESTables</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/GOODWILLANDOTHERINTANGIBLES</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - DEPOSITS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/DEPOSITSTables</Role>
      <ShortName>DEPOSITS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/DEPOSITS</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - SHORT-TERM BORROWINGS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/SHORTTERMBORROWINGSTables</Role>
      <ShortName>SHORT-TERM BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/SHORTTERMBORROWINGS</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - LONG-TERM BORROWINGS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LONGTERMBORROWINGSTables</Role>
      <ShortName>LONG-TERM BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/LONGTERMBORROWINGS</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/INCOMETAXES</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - EMPLOYEE BENEFIT PLANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSTables</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/EMPLOYEEBENEFITPLANS</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - STOCK OPTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONSTables</Role>
      <ShortName>STOCK OPTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/STOCKOPTIONS</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/RELATEDPARTYTRANSACTIONSTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - OFF-BALANCE SHEET RISK (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OFFBALANCESHEETRISKTables</Role>
      <ShortName>OFF-BALANCE SHEET RISK (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/OFFBALANCESHEETRISK</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - CAPITAL REQUIREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CAPITALREQUIREMENTSTables</Role>
      <ShortName>CAPITAL REQUIREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/CAPITALREQUIREMENTS</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/FAIRVALUEMEASUREMENTS</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSTables</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/FAIRVALUEOFFINANCIALINSTRUMENTS</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - REVENUE RECOGNITION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/REVENUERECOGNITIONTables</Role>
      <ShortName>REVENUE RECOGNITION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/REVENUERECOGNITION</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pwod.com/role/LEASES</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Principles of Consolidation, Nature of Business, Loan Charge-off Policies, and Loans Held for Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPrinciplesofConsolidationNatureofBusinessLoanChargeoffPoliciesandLoansHeldforSaleDetails</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Principles of Consolidation, Nature of Business, Loan Charge-off Policies, and Loans Held for Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAllowanceforCreditLossesDetails</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of Impact of CECL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESSummaryofImpactofCECLDetails</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of Impact of CECL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Premises and Equipment, Goodwill, Intangible Assets, and Investments in Limited Partnerships (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPremisesandEquipmentGoodwillIntangibleAssetsandInvestmentsinLimitedPartnershipsDetails</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Premises and Equipment, Goodwill, Intangible Assets, and Investments in Limited Partnerships (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - The M Group Products and Income Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OPERATIONSANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTheMGroupProductsandIncomeRecognitionDetails</Role>
      <ShortName>OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - The M Group Products and Income Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME - Changes in Accumulated Other Comprehensive Income (Loss) by Component (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMEChangesinAccumulatedOtherComprehensiveIncomeLossbyComponentDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME - Changes in Accumulated Other Comprehensive Income (Loss) by Component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMETables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME - Reclassifications out of Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMEReclassificationsoutofAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE (LOSS) INCOME - Reclassifications out of Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/ACCUMULATEDOTHERCOMPREHENSIVELOSSINCOMETables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - PER SHARE DATA (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PERSHAREDATADetails</Role>
      <ShortName>PER SHARE DATA (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/PERSHAREDATATables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - INVESTMENT SECURITIES - Amortized Cost and Fair Values of Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESAmortizedCostandFairValuesofInvestmentSecuritiesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Amortized Cost and Fair Values of Investment Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - INVESTMENT SECURITIES - Gross Unrealized Gains (Losses) and Fair Value by Investment Category and Length of Time (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESGrossUnrealizedGainsLossesandFairValuebyInvestmentCategoryandLengthofTimeDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Gross Unrealized Gains (Losses) and Fair Value by Investment Category and Length of Time (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - INVESTMENT SECURITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESNarrativeDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - INVESTMENT SECURITIES - Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESAmortizedCostandFairValueofDebtSecuritiesbyContractualMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - INVESTMENT SECURITIES - Realized Gains and Losses on Sales of Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESRealizedGainsandLossesonSalesofSecuritiesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Realized Gains and Losses on Sales of Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - INVESTMENT SECURITIES - Unrealized and Realized Gains and Losses Recognized in Net Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INVESTMENTSECURITIESUnrealizedandRealizedGainsandLossesRecognizedinNetIncomeDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Unrealized and Realized Gains and Losses Recognized in Net Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - FEDERAL HOME LOAN BANK STOCK (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FEDERALHOMELOANBANKSTOCKDetails</Role>
      <ShortName>FEDERAL HOME LOAN BANK STOCK (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/FEDERALHOMELOANBANKSTOCK</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESNarrativeDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Aging Categories of Loans by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESAgingCategoriesofLoansbySegmentDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Aging Categories of Loans by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Components of ACL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESComponentsofACLDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Components of ACL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Nonaccrual Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofNonaccrualLoansDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Nonaccrual Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Recorded Investment, Unpaid Principal Balance, Related Allowance of Impaired Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESRecordedInvestmentUnpaidPrincipalBalanceRelatedAllowanceofImpairedLoansDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Recorded Investment, Unpaid Principal Balance, Related Allowance of Impaired Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Average Recorded Investment - Impaired Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESAverageRecordedInvestmentImpairedLoansDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Average Recorded Investment - Impaired Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of collateral dependent loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofcollateraldependentloansDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of collateral dependent loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Loan Modifications (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESLoanModificationsDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Loan Modifications (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Credit Quality Indicators (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESCreditQualityIndicatorsDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Credit Quality Indicators (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9954516 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Allowance for Credit Losses on Financing Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESAllowanceforCreditLossesonFinancingReceivablesDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Allowance for Credit Losses on Financing Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9954517 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Concentration Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESScheduleofConcentrationRiskDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Schedule of Concentration Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9954518 - Disclosure - LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Allowance for Loan Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LOANCREDITQUALITYANDRELATEDALLOWANCEFORCREDITLOSSESAllowanceforLoanLossesDetails</Role>
      <ShortName>LOAN CREDIT QUALITY AND RELATED ALLOWANCE FOR CREDIT LOSSES - Allowance for Loan Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - PREMISES AND EQUIPMENT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/PREMISESANDEQUIPMENTDetails</Role>
      <ShortName>PREMISES AND EQUIPMENT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/PREMISESANDEQUIPMENTTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/GOODWILLANDOTHERINTANGIBLESNarrativeDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9954521 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/GOODWILLANDOTHERINTANGIBLESFutureAmortizationExpenseDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9954522 - Disclosure - DEPOSITS - Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/DEPOSITSMaturitiesDetails</Role>
      <ShortName>DEPOSITS - Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9954523 - Disclosure - DEPOSITS - Summary of Deposits by Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/DEPOSITSSummaryofDepositsbyTypeDetails</Role>
      <ShortName>DEPOSITS - Summary of Deposits by Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9954524 - Disclosure - SHORT-TERM BORROWINGS - Schedule of Short-term borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/SHORTTERMBORROWINGSScheduleofShorttermborrowingsDetails</Role>
      <ShortName>SHORT-TERM BORROWINGS - Schedule of Short-term borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9954525 - Disclosure - SHORT-TERM BORROWINGS - Contractual Maturity of Repurchase Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/SHORTTERMBORROWINGSContractualMaturityofRepurchaseAgreementsDetails</Role>
      <ShortName>SHORT-TERM BORROWINGS - Contractual Maturity of Repurchase Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9954526 - Disclosure - LONG-TERM BORROWINGS - Long-term Borrowings with FHLB by Contractual Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LONGTERMBORROWINGSLongtermBorrowingswithFHLBbyContractualMaturitiesDetails</Role>
      <ShortName>LONG-TERM BORROWINGS - Long-term Borrowings with FHLB by Contractual Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9954527 - Disclosure - LONG-TERM BORROWINGS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LONGTERMBORROWINGSNarrativeDetails</Role>
      <ShortName>LONG-TERM BORROWINGS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9954528 - Disclosure - INCOME TAXES - Schedule of Deferred Tax Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXESScheduleofDeferredTaxAssetsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Deferred Tax Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9954529 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9954530 - Disclosure - INCOME TAXES - Schedule of Components of Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXESScheduleofComponentsofIncomeTaxExpenseDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Components of Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9954531 - Disclosure - INCOME TAXES - Schedule of Effective Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/INCOMETAXESScheduleofEffectiveIncomeTaxRateDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Effective Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9954532 - Disclosure - EMPLOYEE BENEFIT PLANS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSNarrativeDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9954533 - Disclosure - EMPLOYEE BENEFIT PLANS - Obligation and Funded Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSObligationandFundedStatusDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Obligation and Funded Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9954534 - Disclosure - EMPLOYEE BENEFIT PLANS - Net Periodic Costs and Other Amounts Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSNetPeriodicCostsandOtherAmountsRecognizedDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Net Periodic Costs and Other Amounts Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9954535 - Disclosure - EMPLOYEE BENEFIT PLANS - Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSAssumptionsDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9954536 - Disclosure - EMPLOYEE BENEFIT PLANS - Weighted Average Asset Allocations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSWeightedAverageAssetAllocationsDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Weighted Average Asset Allocations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9954537 - Disclosure - EMPLOYEE BENEFIT PLANS - Fair Value Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSFairValueHierarchyDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Fair Value Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9954538 - Disclosure - EMPLOYEE BENEFIT PLANS - Future Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEEBENEFITPLANSFutureBenefitPaymentsDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - Future Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9954539 - Disclosure - STOCK OPTIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONSNarrativeDetails</Role>
      <ShortName>STOCK OPTIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9954540 - Disclosure - STOCK OPTIONS - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONSStockOptionActivityDetails</Role>
      <ShortName>STOCK OPTIONS - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9954541 - Disclosure - STOCK OPTIONS - Stock Options Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONSStockOptionsGrantedDetails</Role>
      <ShortName>STOCK OPTIONS - Stock Options Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9954542 - Disclosure - STOCK OPTIONS - Stock Option Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/STOCKOPTIONSStockOptionAssumptionsDetails</Role>
      <ShortName>STOCK OPTIONS - Stock Option Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9954543 - Disclosure - EMPLOYEE STOCK PURCHASE PLAN (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/EMPLOYEESTOCKPURCHASEPLANDetails</Role>
      <ShortName>EMPLOYEE STOCK PURCHASE PLAN (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/EMPLOYEESTOCKPURCHASEPLAN</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>9954544 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/RELATEDPARTYTRANSACTIONSTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>9954545 - Disclosure - OFF-BALANCE SHEET RISK (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/OFFBALANCESHEETRISKDetails</Role>
      <ShortName>OFF-BALANCE SHEET RISK (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/OFFBALANCESHEETRISKTables</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>9954546 - Disclosure - CAPITAL REQUIREMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CAPITALREQUIREMENTSNarrativeDetails</Role>
      <ShortName>CAPITAL REQUIREMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>9954547 - Disclosure - CAPITAL REQUIREMENTS - Schedule of the Company's and the Bank's Actual Capital Ratios Showing that both met all Regulatory Capital Requirements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/CAPITALREQUIREMENTSScheduleoftheCompanysandtheBanksActualCapitalRatiosShowingthatbothmetallRegulatoryCapitalRequirementsDetails</Role>
      <ShortName>CAPITAL REQUIREMENTS - Schedule of the Company's and the Bank's Actual Capital Ratios Showing that both met all Regulatory Capital Requirements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>9954548 - Disclosure - REGULATORY RESTRICTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/REGULATORYRESTRICTIONSDetails</Role>
      <ShortName>REGULATORY RESTRICTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/REGULATORYRESTRICTIONS</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>9954549 - Disclosure - FAIR VALUE MEASUREMENTS - Fair Value on a Recurring and Non-recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEMEASUREMENTSFairValueonaRecurringandNonrecurringBasisDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Fair Value on a Recurring and Non-recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>9954550 - Disclosure - FAIR VALUE MEASUREMENTS - List of Significant Unobservable Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEMEASUREMENTSListofSignificantUnobservableInputsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - List of Significant Unobservable Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>9954551 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSDetails</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pwod.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>9954552 - Disclosure - REVENUE RECOGNTION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/REVENUERECOGNTIONDetails</Role>
      <ShortName>REVENUE RECOGNTION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>9954553 - Disclosure - LEASES - Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASESAssetsandLiabilitiesDetails</Role>
      <ShortName>LEASES - Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>9954554 - Disclosure - LEASES - Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASESLeaseCostDetails</Role>
      <ShortName>LEASES - Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>9954555 - Disclosure - LEASES - Maturity Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASESMaturityScheduleDetails</Role>
      <ShortName>LEASES - Maturity Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="pwod-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>9954556 - Disclosure - LEASES - Weighted Average Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pwod.com/role/LEASESWeightedAverageTermandDiscountRateDetails</Role>
      <ShortName>LEASES - Weighted Average Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="pwod-20231231.htm">pwod-20231231.htm</File>
    <File>pwod-20231231.xsd</File>
    <File>pwod-20231231_cal.xml</File>
    <File>pwod-20231231_def.xml</File>
    <File>pwod-20231231_lab.xml</File>
    <File>pwod-20231231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pwod-20231231_g1.jpg</File>
    <File>pwod-20231231_g2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2023</BaseTaxonomy>
    <BaseTaxonomy items="2332">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
