<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001330399-20261116.xsd" xlink:type="simple"/>
    <context id="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001330399</identifier>
        </entity>
        <period>
            <startDate>2026-11-16</startDate>
            <endDate>2026-11-16</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_40c5f5f8-065f-4118-9a83-dbc39e2cb3c1">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_201394e1-70e4-493b-bfea-c28a889351d7">0001330399</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_c0b95600-cbec-4ef6-98ac-de353d9f2a40">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_d89a94d4-2f58-47d7-b415-e2ceb643cc43">2026-11-16</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_beace83f-276c-457f-af11-b38d4a59a41c">Federal Home Loan Bank of Pittsburgh</dei:EntityRegistrantName>
    <dei:EntityFileNumber
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_c4e4e59b-9e04-4c91-8fb1-6eec6c12665e">000-51395</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_f6eedbe7-0b6f-44d6-85c6-b2ce065ce188">25-6001324</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_ba26a60e-1f51-43a2-84bf-aa9d9e988e6f">301 Grant Street, Suite 2000</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_ea3854d3-2655-41a1-a9a2-9bca4d219f37">Suite 2000</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_5a445d50-dd7e-4ba9-85b2-a2945fd4d2e2">Pittsburgh</dei:EntityAddressCityOrTown>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_70213302-0ee8-4992-90a5-b1c8c04e6ee8">PA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityAddressStateOrProvince
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_b35c1305-a183-4c61-95a2-43cae0c60f32">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_762f3da8-b7e3-4c3b-9afb-812e9a48db6b">15219</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_af7f735e-2f25-44aa-bd41-4e1e4c592dcf">412</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_15a2a465-c8ae-461b-b3b7-1add8077820d">288-3400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_90e82bbb-b274-4278-a381-1cd7e0991ed0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_784be34e-7e25-44c6-9d2e-be5afed446af">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_5b777b02-d6bf-4edc-a701-29adaa56c5c1">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_4318478d-2058-4340-863b-fb03d1a4d0e5">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_90b0eaaa-ffd3-4599-af43-f9943d3aabf9"
      id="F_bd32d363-ceb0-45bd-a1d8-614ce16d7a5e">false</dei:EntityEmergingGrowthCompany>
</xbrl>
