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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-03-04</periodOfReport>

    <issuer>
        <issuerCik>0001326732</issuerCik>
        <issuerName>Xencor Inc</issuerName>
        <issuerTradingSymbol>XNCR</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001787397</rptOwnerCik>
            <rptOwnerName>Eckert Celia</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O XENCOR, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>465 N HALSTEAD STREET, SUITE 200</rptOwnerStreet2>
            <rptOwnerCity>PASADENA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>91107</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>SVP, GENERAL COUNSEL</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-03-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>21949</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>69247</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>14.15</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2025-03-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>65847</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F4"/>
            </exerciseDate>
            <expirationDate>
                <value>2035-03-04</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>65847</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>65847</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Represents restricted stock units that vest as follows: 1/3 of the shares vest on the first, second and third anniversaries of the date of grant, subject to the Reporting Person's continuous service to the Issuer on and through each applicable vesting date, inclusive.</footnote>
        <footnote id="F2">Includes the following shares acquired by the Reporting Person pursuant to the Issuer's Employee Stock Purchase Plan: 822 shares acquired on June 10, 2024 and 414 shares acquired on December 10, 2024.</footnote>
        <footnote id="F3">Includes 597 shares previously inadvertently omitted due to a clerical error. On March 7, 2024, the Reporting Person filed a Form 4 which reported that, following the transactions, the Reporting Person beneficially owned a total of 46,315 shares of Common Stock (the &quot;Original Report&quot;). The Original Report and the subsequent Form 4 filed by the Reporting Person on March 12, 2024 inadvertently omitted 597 shares held by the Reporting Person due to a clerical error.</footnote>
        <footnote id="F4">25% of the shares subject to the option shall vest on the one year anniversary of March 4, 2025 (the &quot;Vesting Commencement Date&quot;) and 1/48th of the shares shall vest monthly thereafter, such that the option shall be fully vested on the four year anniversary of the Vesting Commencement Date, subject to the Reporting Person's continuous service to the Issuer on and through each applicable vesting date, inclusive.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Celia E. Eckert, Attorney-in-Fact</signatureName>
        <signatureDate>2025-03-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
