<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pbfs-20240716.xsd" xlink:type="simple"/>
    <context id="c20240716to20240716">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001769663</identifier>
        </entity>
        <period>
            <startDate>2024-07-16</startDate>
            <endDate>2024-07-16</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20240716to20240716"
      id="Fact_3f57d4e7f9624c3ebc63494579eb4580">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName
      contextRef="c20240716to20240716"
      id="Fact_b2dfca50e9d1420e8fa87fdf2562c50e">Pioneer Bancorp, Inc./MD</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="c20240716to20240716"
      id="Fact_570ee0df350b4b5c95eaadb3e5a226b1">0001769663</dei:EntityCentralIndexKey>
    <dei:SecurityExchangeName
      contextRef="c20240716to20240716"
      id="Fact_1b00d121e1274eab98a40ab57c7be909">NASDAQ</dei:SecurityExchangeName>
    <dei:DocumentType
      contextRef="c20240716to20240716"
      id="Fact_a4dfce14797040aaa51d0d9126074a8f">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20240716to20240716"
      id="Fact_9e131390366c4b0ba63cde7dbf098d6e">2024-07-16</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20240716to20240716"
      id="Fact_ab16796ec5334355a3868ebaf62bb843">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20240716to20240716"
      id="Fact_466532a81c144cf188787c85bcaa775c">001-38991</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20240716to20240716"
      id="Fact_fd627aab56d44516b520d0c7ce1e6fc4">83-4274253</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20240716to20240716"
      id="Fact_764f546b14014fabb6ab99d15c600db1">652 Albany Shaker Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20240716to20240716"
      id="Fact_c80654bc26444b47b9229943ecd46462">Albany</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20240716to20240716"
      id="Fact_7b05ad849ea1433b840c77e9aae2cd1f">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20240716to20240716"
      id="Fact_abc973f97a70425a876b0b49642a01c3">12211</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20240716to20240716"
      id="Fact_31abd3c3cb5343a9ad3505200cba9ec4">518</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20240716to20240716"
      id="Fact_751f3298ec6041b581457136447c1848">730-3025</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20240716to20240716"
      id="Fact_459ccbcd3ea945049d22a21ad266d96e">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20240716to20240716"
      id="Fact_158371bc07ae4d4a80aead4aeb83e1ef">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20240716to20240716"
      id="Fact_4a1263939a8b429a89c8a23b8d7ec9db">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20240716to20240716"
      id="Fact_390f9f4873c14361818671ba811f2362">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20240716to20240716"
      id="Fact_b15ba70f13f340169093e22acf3cc3f0">Common Stock, par value $0.01</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20240716to20240716"
      id="Fact_628ef42667e24e779c8f3a47793b3869">PBFS</dei:TradingSymbol>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20240716to20240716"
      id="Fact_501fedc447b54485b803a5616425ae74">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="c20240716to20240716"
      id="Fact_60502bec1efb4382958c5d43b15c7398">false</dei:EntityExTransitionPeriod>
</xbrl>
