-----BEGIN PRIVACY-ENHANCED MESSAGE-----
Proc-Type: 2001,MIC-CLEAR
Originator-Name: webmaster@www.sec.gov
Originator-Key-Asymmetric:
 MFgwCgYEVQgBAQICAf8DSgAwRwJAW2sNKK9AVtBzYZmr6aGjlWyK3XmZv3dTINen
 TWSM7vrzLADbmYQaionwg5sDW3P6oaM5D3tdezXMm7z1T+B+twIDAQAB
MIC-Info: RSA-MD5,RSA,
 Bc24SksLDUBMzR85dZLQvNuPRIAEbohLS9vIybMw3Gkr1bdnZPyb5bVdKQwyQbPh
 4Jpr2ukeeUvI5jV/GU295Q==

<SEC-DOCUMENT>0001260760-03-000025.txt : 20031103
<SEC-HEADER>0001260760-03-000025.hdr.sgml : 20031103
<ACCEPTANCE-DATETIME>20031103122352
ACCESSION NUMBER:		0001260760-03-000025
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		1
CONFORMED PERIOD OF REPORT:	20031031
FILED AS OF DATE:		20031103

ISSUER:		

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			RLI CORP
		CENTRAL INDEX KEY:			0000084246
		STANDARD INDUSTRIAL CLASSIFICATION:	FIRE, MARINE & CASUALTY INSURANCE [6331]
		IRS NUMBER:				370889946
		STATE OF INCORPORATION:			IL
		FISCAL YEAR END:			1231

	BUSINESS ADDRESS:	
		STREET 1:		9025 N LINDBERGH DR
		CITY:			PEORIA
		STATE:			IL
		ZIP:			61615
		BUSINESS PHONE:		3096921000

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			STONE MICHAEL J
		CENTRAL INDEX KEY:			0001192707
		STANDARD INDUSTRIAL CLASSIFICATION:	FIRE, MARINE & CASUALTY INSURANCE [6331]
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			1231

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-09463
		FILM NUMBER:		03972087

	BUSINESS ADDRESS:	
		STREET 1:		C/O RLI CORP
		STREET 2:		9025 N LINDBERGH DR
		CITY:			PEORIA
		STATE:			IL
		ZIP:			61615-1431
		BUSINESS PHONE:		6106885540

	MAIL ADDRESS:	
		STREET 1:		C/O RLI CORP
		STREET 2:		9025 N. LINDBERGH DR.
		CITY:			PEORIA
		STATE:			IL
		ZIP:			61615
</SEC-HEADER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>c0001192707d20031103f4f.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<ownershipDocument><schemaVersion>X0201</schemaVersion>    <documentType>4</documentType><periodOfReport>2003-10-31</periodOfReport><notSubjectToSection16>0</notSubjectToSection16><issuer><issuerCik>0000084246</issuerCik><issuerName>RLI CORP</issuerName>        <issuerTradingSymbol>RLI</issuerTradingSymbol></issuer><reportingOwner><reportingOwnerId><rptOwnerCik>0001192707</rptOwnerCik><rptOwnerName>STONE MICHAEL J</rptOwnerName></reportingOwnerId><reportingOwnerAddress><rptOwnerStreet1>9025 N. LINDBERGH DRIVE</rptOwnerStreet1><rptOwnerStreet2></rptOwnerStreet2><rptOwnerCity>PEORIA</rptOwnerCity><rptOwnerState>IL</rptOwnerState><rptOwnerZipCode>61615</rptOwnerZipCode><rptOwnerStateDescription></rptOwnerStateDescription></reportingOwnerAddress><reportingOwnerRelationship><isDirector>0</isDirector><isOfficer>0</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>1</isOther><officerTitle></officerTitle><otherText>President RLI Insurance Compan</otherText></reportingOwnerRelationship></reportingOwner><nonD
erivativeTable><nonDerivativeHolding><securityTitle><value>Common Stock</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>7578.065</value><footnoteId id="F1"/></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></nonDerivativeHolding><nonDerivativeHolding><securityTitle><value>Common Stock</value></securityTitle><postTransactionAmounts><sharesOwnedFollowingTransaction><value>10140.757</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>By Empl. Stock Ownership Plan</value></natureOfOwnership></ownershipNature></nonDerivativeHolding><nonDerivativeTransaction><securityTitle><value>Common Stock</value></securityTitle><transactionDate><value>2003-10-31</value></transactionDate><deemedEx
ecutionDate></deemedExecutionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>J</transactionCode><equitySwapInvolved>0</equitySwapInvolved><footnoteId id="F2"/></transactionCoding><transactionTimeliness><value></value></transactionTimeliness><transactionAmounts><transactionShares><value>37</value></transactionShares><transactionPricePerShare><value>33.13</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><postTransactionAmounts><sharesOwnedFollowingTransaction><value>15019.1089</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>I</value></directOrIndirectOwnership><natureOfOwnership><value>By Trust</value></natureOfOwnership></ownershipNature></nonDerivativeTransaction></nonDerivativeTable><derivativeTable><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>9.4</va
lue></conversionOrExercisePrice><exerciseDate><value>1997-05-13</value></exerciseDate><expirationDate><value>2006-05-13</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>17500</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>17500</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>13</value></conversionOrExercisePrice><exerciseDate><value>1998-05-01</value></exerciseDate><expirationDate><value>2007-05-01</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingS
ecurityShares><value>10500</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>10500</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>15.7813</value></conversionOrExercisePrice><exerciseDate><value>2001-05-04</value></exerciseDate><expirationDate><value>2010-05-04</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>28000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>28000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndir
ectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>20.05</value></conversionOrExercisePrice><exerciseDate><value>2001-05-03</value></exerciseDate><expirationDate><value>2011-05-03</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>30000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>30000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePric
e><value>21.1</value></conversionOrExercisePrice><exerciseDate><value>1999-05-07</value></exerciseDate><expirationDate><value>2008-05-07</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>25000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>25000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>29.335</value></conversionOrExercisePrice><exerciseDate><value>2002-05-02</value></exerciseDate><expirationDate><value>2012-05-02</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecur
ityTitle><underlyingSecurityShares><value>48000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>48000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Stock Option</value></securityTitle><conversionOrExercisePrice><value>29.55</value></conversionOrExercisePrice><exerciseDate><value>2003-05-01</value></exerciseDate><expirationDate><value>2013-05-01</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>40000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>40000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNa
ture><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding><derivativeHolding><securityTitle><value>Option</value></securityTitle><conversionOrExercisePrice><value>15.9063</value></conversionOrExercisePrice><exerciseDate><value>2000-05-06</value></exerciseDate><expirationDate><value>2009-05-06</value></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Stock</value></underlyingSecurityTitle><underlyingSecurityShares><value>30000</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>30000</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value></value></natureOfOwnership></ownershipNature></derivativeHolding></derivativeTable><footnotes><footnote id="F1">Ownership reflects dividend reinvestment
.</footnote><footnote id="F2">The securities herein were allocated to my account pursuant to the RLI Corp. Executive Deferred Compensation Agreement.</footnote></footnotes><ownerSignature><signatureName>/s/ Michael J. Stone</signatureName><signatureDate>2003-11-03</signatureDate></ownerSignature></ownershipDocument>

</XML>
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
-----END PRIVACY-ENHANCED MESSAGE-----
