<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2025"
  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="cik0001528988-20260701.xsd" xlink:type="simple"/>
    <context id="P07_01_2026To07_01_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001528988</identifier>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <context id="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001528988</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:BusinessContactMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-01</startDate>
            <endDate>2026-07-01</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="P07_01_2026To07_01_2026" id="ixv-1368">0001528988</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1369">false</dei:AmendmentFlag>
    <dei:EntityFileNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1387">333-285516</dei:EntityFileNumber>
    <dei:InvestmentCompanyActFileNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1388">811-22606</dei:InvestmentCompanyActFileNumber>
    <dei:DocumentType contextRef="P07_01_2026To07_01_2026" id="ixv-1389">N-2</dei:DocumentType>
    <dei:DocumentRegistrationStatement contextRef="P07_01_2026To07_01_2026" id="ixv-1390">true</dei:DocumentRegistrationStatement>
    <dei:PreEffectiveAmendment contextRef="P07_01_2026To07_01_2026" id="ixv-1391">false</dei:PreEffectiveAmendment>
    <dei:PostEffectiveAmendmentNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1392">3</dei:PostEffectiveAmendmentNumber>
    <dei:PostEffectiveAmendment contextRef="P07_01_2026To07_01_2026" id="ixv-1393">true</dei:PostEffectiveAmendment>
    <dei:InvestmentCompanyActRegistration contextRef="P07_01_2026To07_01_2026" id="ixv-1394">true</dei:InvestmentCompanyActRegistration>
    <dei:InvestmentCompanyRegistrationAmendmentNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1395">17</dei:InvestmentCompanyRegistrationAmendmentNumber>
    <dei:InvestmentCompanyRegistrationAmendment contextRef="P07_01_2026To07_01_2026" id="ixv-1396">true</dei:InvestmentCompanyRegistrationAmendment>
    <dei:EntityRegistrantName contextRef="P07_01_2026To07_01_2026" id="ixv-1397">BlackRock Utilities, Infrastructure &amp; Power Opportunities Trust</dei:EntityRegistrantName>
    <dei:EntityAddressAddressLine1 contextRef="P07_01_2026To07_01_2026" id="ixv-1398">100 Bellevue Parkway</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P07_01_2026To07_01_2026" id="ixv-1399">Wilmington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P07_01_2026To07_01_2026" id="ixv-1400">DE</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P07_01_2026To07_01_2026" id="ixv-1401">19809</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P07_01_2026To07_01_2026" id="ixv-1402">800</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1403">882-0052</dei:LocalPhoneNumber>
    <dei:ContactPersonnelName
      contextRef="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1404">John M. Perlowski, President</dei:ContactPersonnelName>
    <dei:EntityAddressAddressLine1
      contextRef="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1405">50 Hudson Yards</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1406">New York</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1407">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="P07_01_2026To07_01_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1408">10001</dei:EntityAddressPostalZipCode>
    <dei:ApproximateDateOfCommencementOfProposedSaleToThePublic contextRef="P07_01_2026To07_01_2026" id="ixv-1409">From time to time after the effective date of this Registration Statement.</dei:ApproximateDateOfCommencementOfProposedSaleToThePublic>
    <dei:DividendOrInterestReinvestmentPlanOnly contextRef="P07_01_2026To07_01_2026" id="ixv-1410">false</dei:DividendOrInterestReinvestmentPlanOnly>
    <dei:DelayedOrContinuousOffering contextRef="P07_01_2026To07_01_2026" id="ixv-1411">true</dei:DelayedOrContinuousOffering>
    <cef:PrimaryShelfFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1412">true</cef:PrimaryShelfFlag>
    <dei:EffectiveUponFiling462e contextRef="P07_01_2026To07_01_2026" id="ixv-1413">false</dei:EffectiveUponFiling462e>
    <dei:AdditionalSecuritiesEffective413b contextRef="P07_01_2026To07_01_2026" id="ixv-1414">false</dei:AdditionalSecuritiesEffective413b>
    <dei:EffectiveWhenDeclaredSection8c contextRef="P07_01_2026To07_01_2026" id="ixv-1415">false</dei:EffectiveWhenDeclaredSection8c>
    <dei:NewEffectiveDateForPreviousFiling contextRef="P07_01_2026To07_01_2026" id="ixv-1416">false</dei:NewEffectiveDateForPreviousFiling>
    <dei:AdditionalSecurities462b contextRef="P07_01_2026To07_01_2026" id="ixv-1417">false</dei:AdditionalSecurities462b>
    <dei:NoSubstantiveChanges462c contextRef="P07_01_2026To07_01_2026" id="ixv-1418">false</dei:NoSubstantiveChanges462c>
    <dei:ExhibitsOnly462d contextRef="P07_01_2026To07_01_2026" id="ixv-1419">true</dei:ExhibitsOnly462d>
    <dei:ExhibitsOnly462dFileNumber contextRef="P07_01_2026To07_01_2026" id="ixv-1420">333-285516</dei:ExhibitsOnly462dFileNumber>
    <cef:RegisteredClosedEndFundFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1421">true</cef:RegisteredClosedEndFundFlag>
    <cef:BusinessDevelopmentCompanyFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1422">false</cef:BusinessDevelopmentCompanyFlag>
    <cef:IntervalFundFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1423">false</cef:IntervalFundFlag>
    <cef:PrimaryShelfQualifiedFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1424">true</cef:PrimaryShelfQualifiedFlag>
    <dei:EntityWellKnownSeasonedIssuer contextRef="P07_01_2026To07_01_2026" id="ixv-1425">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityEmergingGrowthCompany contextRef="P07_01_2026To07_01_2026" id="ixv-1426">false</dei:EntityEmergingGrowthCompany>
    <cef:NewCefOrBdcRegistrantFlag contextRef="P07_01_2026To07_01_2026" id="ixv-1427">false</cef:NewCefOrBdcRegistrantFlag>
</xbrl>
