<?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="pahc-20260506.xsd" xlink:type="simple"/>
    <context id="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001069899</identifier>
        </entity>
        <period>
            <startDate>2026-05-06</startDate>
            <endDate>2026-05-06</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_1QGIv8aF8Eu2I0XoGrHssw_2_1">0001069899</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_miKyPxVoSEK6f3qKfAj1pA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_iBtdjOymwE2O0Y3D3nV0sw">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_WlH413NdOEWUX1OijYrkWA">2026-05-06</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_DjCP4Who2kOA8uMK-cx74A">Phibro Animal Health Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_cEp4NYTvykeq7rebLkXJJA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_NVl7S6fZtUqf9UdkGKuzfQ_1_2">001-36410</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_ikoyCni1jkWvkcNCgh0ZLQ_1_4">13-1840497</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_nPcVeqWMWU2BeprefLY-IQ">Glenpointe Centre East, 3rd Floor</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_MkLH6du78k-V663MOsJ6MQ">300 Frank W. Burr Boulevard, Suite&#160;21</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_tNjSpmgrEEiXZiNlrIXKjg">Teaneck</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_TICGF1PhT02l63WMGpj2Pw">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_h3D6qSwvh0a9uZ8MvpNzVg">07666-6712</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_BjpbTA4Ygk-DsH_7cHLFyg">201</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_p6at3BRSL0ihS2f2nilSNg">329-7300</dei:LocalPhoneNumber>
    <dei:Security12bTitle
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_KmRyAwzJLEWJ4sP4jsNdug_1_0">Class&#160;A Common Stock, $0.0001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_xCQN7zUiJ02YNwTipj4aBQ_1_2">PAHC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Tc_cI6mJwyiO0CdSyBqAlfRig_1_4">NASDAQ</dei:SecurityExchangeName>
    <dei:WrittenCommunications
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_GE0XeNiRF0yytG_VmoZEmA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_CuoXAqHFRka0CQ_Sl-vppQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_24JnOSZL1kKmEIQNdck4uQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_krGMsQViGEGY4Rr0mcTglQ">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_6_2026_To_5_6_2026_LZYCV0Z9LEKHD8togy2szw"
      id="Narr_jGTENNpa6EydWtigSKw3Yw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
