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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-05-18</periodOfReport>

    <issuer>
        <issuerCik>0001604464</issuerCik>
        <issuerName>Atara Biotherapeutics, Inc.</issuerName>
        <issuerTradingSymbol>ATRA</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002064348</rptOwnerCik>
            <rptOwnerName>Grant-Huerta Yanina</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O ATARA BIOTHERAPEUTICS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>1280 RANCHO CONEJO BOULEVARD</rptOwnerStreet2>
            <rptOwnerCity>THOUSAND OAKS</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>91320</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>Chief Accounting Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-05-18</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>2414</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>9.1286</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>49636</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares sold automatically to satisfy tax withholding obligations in connection with the vesting of previously granted restricted stock units, pursuant to a sale-to-cover provision in the award agreement.</footnote>
        <footnote id="F2">Represents the weighted average price. The shares were sold in multiple transactions at prices ranging from $9.12 to $9.40, inclusive. The Reporting Person undertakes to provide to the Issuer, any securityholder of the Issuer, or the staff of the Securities and Exchange Commission, upon request, full information regarding the number of shares sold at each separate price within the range set forth above.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ John Chao, Attorney-in-Fact for Yanina Grant-Huerta</signatureName>
        <signatureDate>2026-05-20</signatureDate>
    </ownerSignature>
</ownershipDocument>
