<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2023"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:evtmbwof="http://www.eatonvance.com/20230630"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="evtmbwof-20230630.xsd" xlink:type="simple"/>
    <context id="Q12023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001322436</identifier>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-06-30</endDate>
        </period>
    </context>
    <context id="Q12023_CommonSharesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001322436</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">evtmbwof:CommonSharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-06-30</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="USD_shares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="Q12023"
      id="h1_06dffab5_9000_46a3_89f1_ca1a8a3f396b">0001322436</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Q12023"
      id="h3_fd14e731_5c23_4fac_9074_b3f113e60067">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Q12023"
      id="t_5_10169f9c_9e66_0b5a_e0d7_af646103d070">N-CSRS</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="Q12023"
      id="t_2_e662b37c_7538_fb72_3750_65726e93f1f2">Eaton Vance Tax&#x2011;Managed Buy&#x2011;Write Opportunities Fund</dei:EntityRegistrantName>
    <cef:OutstandingSecurityTitleTextBlock
      contextRef="Q12023_CommonSharesMember"
      id="t_3_c0e1f311_3ac9_96a2_d9f3_d9ba25276c78">Common Shares</cef:OutstandingSecurityTitleTextBlock>
    <cef:OutstandingSecurityHeldShares
      contextRef="Q12023_CommonSharesMember"
      decimals="INF"
      id="h_1_5aace215_e222_86cd_2fa1_c58352a63c92"
      unitRef="shares">116754568</cef:OutstandingSecurityHeldShares>
    <cef:InvestmentObjectivesAndPracticesTextBlock
      contextRef="Q12023"
      id="t_4_102c9dac_4bbc_85dc_09d5_a7a6abf3fa4a">The Fund&#x2019;s primary investment objective is to provide current income and gains, with a secondary objective of capital appreciation.</cef:InvestmentObjectivesAndPracticesTextBlock>
</xbrl>
