v3.26.1
N-2
6 Months Ended
Apr. 30, 2026
Cover [Abstract]  
Entity Central Index Key 0001472341
Amendment Flag false
Entity Inv Company Type N-2
Document Type N-CSRS
Entity Registrant Name Western Asset Global Corporate Opportunity Fund Inc.
Document Period End Date Apr. 30, 2026