v3.8.0.1
Document And Entity Information - shares
3 Months Ended
Jan. 31, 2018
Mar. 08, 2018
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 Smaller Reporting Company  
Entity Current Reporting Status Yes  
Entity Voluntary Filers No  
Entity Well-known Seasoned Issuer No  
Entity Common Stock, Shares Outstanding (in shares)   7,654,247
Document Type 10-Q  
Document Period End Date Jan. 31, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q1  
Amendment Flag false