XML 21 R1.htm IDEA: XBRL DOCUMENT v3.22.0.1
Document and Entity Information - USD ($)
12 Months Ended
Dec. 31, 2021
Feb. 02, 2022
Jun. 30, 2021
Cover [Abstract]      
Document Type 10-K    
Document Annual Report true    
Document Transition Report false    
Document Period End Date Dec. 31, 2021    
Entity File Number 001-09463    
Entity Registrant Name RLI CORP    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 37-0889946    
Entity Address, Address Line One 9025 North Lindbergh Drive    
Entity Address, City or Town Peoria    
Entity Address, State or Province IL    
Entity Address, Postal Zip Code 61615    
City Area Code 309    
Local Phone Number 692-1000    
Title of 12(b) Security Common Stock $0.01 par value    
Trading Symbol RLI    
Security Exchange Name NYSE    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
Entity Shell Company false    
Entity Public Float     $ 4,592,962,657
Entity Common Stock, Shares Outstanding   45,289,337  
Current Fiscal Year End Date --12-31    
Document Fiscal Year Focus 2021    
Document Fiscal Period Focus FY    
Entity Central Index Key 0000084246    
Amendment Flag false    
ICFR Auditor Attestation Flag true    
Auditor Name Deloitte & Touche LLP    
Auditor Location Chicago, Illinois    
Auditor Firm ID 34    
Documents Incorporated by Reference

Portions of the Registrant’s definitive Proxy Statement for the 2022 annual meeting of shareholders are incorporated herein by reference into Part III of this document.