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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-10-27</periodOfReport>

    <issuer>
        <issuerCik>0001464423</issuerCik>
        <issuerName>PennyMac Mortgage Investment Trust</issuerName>
        <issuerTradingSymbol>PMT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001668396</rptOwnerCik>
            <rptOwnerName>Lynch Catherine A.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O PENNYMAC MORTGATE INVESTMENT TRUST</rptOwnerStreet1>
            <rptOwnerStreet2>3043 TOWNSGATE ROAD</rptOwnerStreet2>
            <rptOwnerCity>WESTLAKE VILLAGE</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>91361</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Shares of Beneficial Interest</value>
            </securityTitle>
            <transactionDate>
                <value>2023-10-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>533.1861</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>12.45</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>25088.9682</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares acquired under brokers' automatic dividend reinvestment plans.</footnote>
        <footnote id="F2">The purchase price reported is the weighted average price of multiple transactions ranging from $12.15 to 12.60.  The reporting person hereby undertakes to provide upon request to the SEC, the Issuer or a security holder of the Issuer the number of Common Shares of Beneficial Interest and the prices at which the transactions were effected.</footnote>
        <footnote id="F3">The reported amount consists of 8,058 restricted stock units and 17,030.9682 shares of Common Shares.  The restricted stock units are to be settled in an equal number of shares of Common Shares upon vesting.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Derek W. Stark, attorney-in-fact for Ms. Lynch</signatureName>
        <signatureDate>2023-10-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
