<?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="cik0001190935-20260624.xsd" xlink:type="simple"/>
    <context id="P06_24_2026To06_24_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001190935</identifier>
        </entity>
        <period>
            <startDate>2026-06-24</startDate>
            <endDate>2026-06-24</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="P06_24_2026To06_24_2026" id="ixv-178">0001190935</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P06_24_2026To06_24_2026" id="ixv-179">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P06_24_2026To06_24_2026" id="ixv-180">424B3</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="P06_24_2026To06_24_2026" id="ixv-190">PIMCO Corporate &amp; Income Opportunity Fund</dei:EntityRegistrantName>
</xbrl>
