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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-08-16</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001809916</rptOwnerCik>
            <rptOwnerName>Murugan Amar</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O ATARA BIOTHERAPEUTICS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>2380 CONEJO SPECTRUM ST, SUITE 200</rptOwnerStreet2>
            <rptOwnerCity>THOUSAND OAKS</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>91320</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>EVP, Chief Legal Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-08-16</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5050</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.652</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>269013</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-08-16</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3622</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.653</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>265391</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">The sale price of the reporting person's shares represents the weighted average price of all shares sold by a broker on August 16, 2023 and August 17, 2023 on behalf of a group of employees of the Issuer to satisfy the payment of withholding tax liability of such employee.</footnote>
        <footnote id="F3">Includes 3,118 shares purchased under the Issuer's Employee Stock Purchase Plan on May 31, 2023.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Jeff Kiekhofer, Attorney-in-Fact for Amar Murugan</signatureName>
        <signatureDate>2023-08-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
