v3.19.2
Document And Entity Information - shares
6 Months Ended
Apr. 30, 2019
Jun. 06, 2019
Document Information [Line Items]    
Entity Registrant Name OPTICAL CABLE CORP  
Entity Central Index Key 0001000230  
Trading Symbol OCC  
Current Fiscal Year End Date --10-31  
Entity Filer Category Non-accelerated Filer  
Entity Current Reporting Status Yes  
Entity Emerging Growth Company false  
Entity Small Business true  
Entity Common Stock, Shares Outstanding (in shares)   7,460,535
Document Type 10-Q  
Document Period End Date Apr. 30, 2019  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Amendment Flag false  
Entity Address, Address Line One 5290 Concourse Drive  
EntityIncorporationStateCountryCode VA  
EntityAddressCityOrTown Roanoke  
EntityAddressStateOrProvince VA  
EntityAddressPostalZipCode 24019  
CityAreaCode 540  
LocalPhoneNumber 265-0690  
EntityTaxIdentificationNumber 54-1237042  
EntityFileNumber 0-27022  
Entity Shell Company false  
Entity Interactive Data Current Yes  
Document Quarterly Report true  
Document Transition Report false  
Security Exchange Name NASDAQ  
Title of 12(b) Security Common Stock