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

    <schemaVersion>X0201</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2004-02-04</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001024478</issuerCik>
        <issuerName>ROCKWELL  AUTOMATION INC</issuerName>
        <issuerTradingSymbol>ROK</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001278043</rptOwnerCik>
            <rptOwnerName>EISENBROWN STEVEN A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>777 EAST WISCONSIN AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 1400</rptOwnerStreet2>
            <rptOwnerCity>MILWAUKEE</rptOwnerCity>
            <rptOwnerState>WI</rptOwnerState>
            <rptOwnerZipCode>53202</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Senior Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>685</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4289.264</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Savings Plan</value>
                    <footnoteId id="F1"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>10.5866</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>1999-10-05</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2008-10-05</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>9298</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.1029</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2000-01-08</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2009-01-08</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>19350</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>20.349</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2000-10-04</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2009-10-04</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>65791</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>11.6038</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2001-10-02</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2010-10-02</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>25715</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>13.4</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2002-10-01</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2011-10-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>47000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>15.5</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2003-10-07</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2012-10-07</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>52000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Employee stock option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>27.75</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2004-10-06</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-10-06</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>65000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Common Stock Share Equivalents</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F4"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1369.1659</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Nonqual. Savings Plan</value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Shares represented by Company stock fund units under the Company's Savings Plan which were acquired on a periodic basis pursuant to the Plan, based on information furnished by the Plan Administrator as of 01/15/2004.</footnote>
        <footnote id="F2">The option becomes exercisable in three equal annual installments beginning on the date exercisable.</footnote>
        <footnote id="F3">Share equivalents represented by Company stock fund units credited under the Company's nonqualified savings plan  based on information furnished by the Plan Administrator as of 01/15/2004.  The number of share equivalents represented by the balance of a participant's Company stock fund account may not exactly equal the number of share equivalents represented by a prior balance plus additions due to variances in the proportion of uninvested cash held in the reference fund used to determine unit values of the Company stock fund under the plan.</footnote>
        <footnote id="F4">The share equivalents are payable in cash upon retirement or after termination of employment.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Steven A. Eisenbrown</signatureName>
        <signatureDate>2004-02-04</signatureDate>
    </ownerSignature>
</ownershipDocument>

