<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0201</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2004-01-14</periodOfReport>

    <dateOfOriginalSubmission>2004-01-16</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0000792013</issuerCik>
        <issuerName>HARLEYSVILLE GROUP INC</issuerName>
        <issuerTradingSymbol>HGIC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001099303</rptOwnerCik>
            <rptOwnerName>PATKUS M LEE</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>355 MAPLE AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>HARLEYSVILLE</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>19438</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President &amp; COO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>51121</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Total includes 1,039.0688 shares acquired 1/14/04 in the Harleysville Group Inc. Employee Stock Purchase Plan and 464.02 shares acquired 9/30/03 and 12/30/03 in the Harleysville Group Inc. Dividend Reinvestment Plan.</footnote>
        <footnote id="F2">The reporting person is filing this amendment to correct the Column 5 - &quot;Amount of Securities Beneficially Owned&quot; to reflect an additional 2,000 shares previously reported but inadvertently omitted from the total reported on 1/16/04.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>M. Lee Patkus</signatureName>
        <signatureDate>2004-01-30</signatureDate>
    </ownerSignature>
</ownershipDocument>

