<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="../4_X02.xsl"?><ownershipDocument>    <schemaVersion>X0303</schemaVersion>    <documentType>4</documentType>    <periodOfReport>2010-03-04</periodOfReport>    <notSubjectToSection16>0</notSubjectToSection16>    <issuer>        <issuerCik>0000842633</issuerCik>        <issuerName>TRIMAS CORP</issuerName>        <issuerTradingSymbol>TRS</issuerTradingSymbol>    </issuer>    <reportingOwner>        <reportingOwnerId>            <rptOwnerCik>0001446066</rptOwnerCik>            <rptOwnerName>Zeffiro A Mark</rptOwnerName>        </reportingOwnerId>        <reportingOwnerAddress>            <rptOwnerStreet1>39400 WOODWARD AVENUE</rptOwnerStreet1>            <rptOwnerStreet2>SUITE 130</rptOwnerStreet2>            <rptOwnerCity>BLOOMFIELD HILLS</rptOwnerCity>            <rptOwnerState>MI</rptOwnerState>            <rptOwnerZipCode>48304</rptOwnerZipCode>            <rptOwnerStateDescription></rptOwnerStateDescription>        </reportingOwnerAddress>        <reportingOwnerRelationship>            <isDirector>0</isDirector>            <isOfficer>1</isOfficer>            <isTenPercentOwner>0</isTenPercentOwner>            <isOther>0</isOther>            <officerTitle>Chief Financial Officer</officerTitle>            <otherText></otherText>        </reportingOwnerRelationship>    </reportingOwner>    <nonDerivativeTable>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2010-03-04</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>P</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>3738</value>                </transactionShares>                <transactionPricePerShare>                    <value>6.50</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>D</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>38306</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2010-03-05</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>P</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>250</value>                </transactionShares>                <transactionPricePerShare>                    <value>6.85</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>38556</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2010-03-08</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>A</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>9940</value>                    <footnoteId id="F1"/>                </transactionShares>                <transactionPricePerShare>                    <value>0</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>48496</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>        <nonDerivativeTransaction>            <securityTitle>                <value>Common Stock</value>            </securityTitle>            <transactionDate>                <value>2010-03-08</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>A</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>5960</value>                    <footnoteId id="F2"/>                </transactionShares>                <transactionPricePerShare>                    <value>0</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>54456</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </nonDerivativeTransaction>    </nonDerivativeTable>    <derivativeTable>        <derivativeTransaction>            <securityTitle>                <value>Restricted Stock Unit</value>            </securityTitle>            <conversionOrExercisePrice>                <value>0</value>                <footnoteId id="F3"/>            </conversionOrExercisePrice>            <transactionDate>                <value>2010-03-08</value>            </transactionDate>            <transactionCoding>                <transactionFormType>4</transactionFormType>                <transactionCode>A</transactionCode>                <equitySwapInvolved>0</equitySwapInvolved>            </transactionCoding>            <transactionAmounts>                <transactionShares>                    <value>32850</value>                </transactionShares>                <transactionPricePerShare>                    <value>0</value>                </transactionPricePerShare>                <transactionAcquiredDisposedCode>                    <value>A</value>                </transactionAcquiredDisposedCode>            </transactionAmounts>            <exerciseDate>                <value>2013-02-26</value>                <footnoteId id="F4"/>            </exerciseDate>            <expirationDate>                <value>2013-02-26</value>                <footnoteId id="F4"/>            </expirationDate>            <underlyingSecurity>                <underlyingSecurityTitle>                    <value>Common Stock</value>                </underlyingSecurityTitle>                <underlyingSecurityShares>                    <value>32850</value>                </underlyingSecurityShares>            </underlyingSecurity>            <postTransactionAmounts>                <sharesOwnedFollowingTransaction>                    <value>32850</value>                </sharesOwnedFollowingTransaction>            </postTransactionAmounts>            <ownershipNature>                <directOrIndirectOwnership>                    <value>D</value>                </directOrIndirectOwnership>            </ownershipNature>        </derivativeTransaction>    </derivativeTable>    <footnotes>        <footnote id="F1">Restricted shares of common stock granted under the 2006 Long Term Equity Incentive Plan, restrictions lapse on March 15, 2010.</footnote>        <footnote id="F2">Restricted shares of common stock granted under the 2006 Long Term Equity Incentive Plan, restrictions lapse on March 15, 2011.</footnote>        <footnote id="F3">Each restricted stock unit represents a contingent right to receive the value of one share of common stock, payable only in cash.</footnote>        <footnote id="F4">The restricted stock units vest and will be payable on February 26, 2013.</footnote>    </footnotes>    <ownerSignature>        <signatureName>/s/ Paula Reno attorney-in-fact</signatureName>        <signatureDate>2010-03-08</signatureDate>    </ownerSignature></ownershipDocument>