<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pbfs-20260730.xsd" xlink:type="simple"/>
    <context id="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001769663</identifier>
        </entity>
        <period>
            <startDate>2026-07-30</startDate>
            <endDate>2026-07-30</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_ifmqt8_6TUqcMhRi2xGD9Q_1_1">0001769663</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_W_yfBsHrPk-6wTsBNCMXCw_2_1">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Hidden_RMbx9dnHDU6shj-pS_bjiA">Pioneer Bancorp, Inc./MD</dei:EntityRegistrantName>
    <dei:DocumentType
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_csNpJiY7dUmMB3-RdW_hRg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_f4k2jRJvO0uHxO9kCHrXmg">2026-07-30</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_WMZ15BG9j0S4YLIvq6NAwg_2_0">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_eZoLRNt2sUmTEs0oDeWtcA_2_2">001-38991</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_kYL9O_L0tEOa0IWzzKcPJw_2_4">83-4274253</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_z_vspdRVNk6eLhl8-awl8w">652 Albany Shaker Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_NnD91vJQlkWHtcxzdeqVSQ">Albany</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_uzoDHXulkk6nRAgYwtOmQQ">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_06yXaEsyJ0mRHc11SiFoKw_6_4">12211</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_lT9HhwXVj0SAjRbAI4P_xg">518</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_Skrjy-NF4EqAQ3nRReZTAg">730-3025</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_dz9qGAv81EKAh6YOhOgCEQ">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_6wykWyHnfk-Vb7VpMZRoBg">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_NIk1_I9F0UC8A6CZ_dAdaA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_bgVFcTIEok20RePzhEduNw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_4VyB2_aVm06S_QojZwjZeQ_3_0">Common Stock, par value $0.01</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_Hgu6znsB5kyLl8KE-hw0Aw_3_1">PBFS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Tc_FzI7xA3nKkSq6ctf1XXqKA_3_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_30_2026_To_7_30_2026_U5wbTSVbzES7_-EAQ8EfOw"
      id="Narr_aQWCUp1pMkCtV6PJtbvIZQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
