<?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:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bitf-20260401.xsd" xlink:type="simple"/>
    <context id="AsOf2026-04-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001812477</identifier>
        </entity>
        <period>
            <startDate>2026-04-01</startDate>
            <endDate>2026-04-01</endDate>
        </period>
    </context>
    <context id="From2026-04-012026-04-01_dei_FormerAddressMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001812477</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:FormerAddressMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-01</startDate>
            <endDate>2026-04-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-04-01" id="Fact000003">false</dei:AmendmentFlag>
    <dei:CurrentFiscalYearEndDate contextRef="AsOf2026-04-01" id="Fact000004">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-04-01" id="Fact000005">0001812477</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-04-01" id="Fact000010">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-04-01" id="Fact000011">2026-04-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2026-04-01" id="Fact000012">Keel Infrastructure Corp.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2026-04-01" id="Fact000013">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2026-04-01" id="Fact000014">001-40370</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2026-04-01" id="Fact000015">41-4266374</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2026-04-01" id="Fact000016">120 Broadway</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="AsOf2026-04-01" id="Fact000017">Suite 1075</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="AsOf2026-04-01" id="Fact000018">New York</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2026-04-01" id="Fact000019">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2026-04-01" id="Fact000020">10004</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2026-04-01" id="Fact000021">929</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2026-04-01" id="Fact000022">264-5151</dei:LocalPhoneNumber>
    <dei:EntityInformationFormerLegalOrRegisteredName
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000023">Bitfarms Ltd.</dei:EntityInformationFormerLegalOrRegisteredName>
    <dei:EntityAddressAddressLine1
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000024">110 Yonge St</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000025">Suite 1601</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000026">Toronto</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000027">MSC 1C4</dei:EntityAddressPostalZipCode>
    <dei:WrittenCommunications contextRef="AsOf2026-04-01" id="Fact000028">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2026-04-01" id="Fact000029">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2026-04-01" id="Fact000030">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2026-04-01" id="Fact000031">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000032">Common     Stock, $0.001 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000033">KEEL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-04-012026-04-01_dei_FormerAddressMember"
      id="Fact000034">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2026-04-01" id="Fact000035">false</dei:EntityEmergingGrowthCompany>
</xbrl>
