<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001807541</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001053507</issuerCik>
            <issuerName>AMERICAN TOWER CORP.</issuerName>
            <secFileNumber>001-14195</secFileNumber>
            <issuerAddress>
                <ns2:street1>116 Huntington Avenue</ns2:street1>
                <ns2:city>Boston</ns2:city>
                <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                <ns2:zipCode>02116</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(617) 375-7500</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>RODNEY SMITH</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>E*TRADE FINANCIAL CORPORATION</name>
                <address>
                    <ns2:street1>3 EDISON DRIVE</ns2:street1>
                    <ns2:city>ALPHARETTA</ns2:city>
                    <ns2:stateOrCountry>GA</ns2:stateOrCountry>
                    <ns2:zipCode>30005</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>3524</noOfUnitsSold>
            <aggregateMarketValue>665725.18</aggregateMarketValue>
            <noOfUnitsOutstanding>466155521</noOfUnitsOutstanding>
            <approxSaleDate>08/03/2023</approxSaleDate>
            <securitiesExchangeName>NYSE</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>03/11/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>827</amountOfSecuritiesAcquired>
            <paymentDate>03/11/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>03/10/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>616</amountOfSecuritiesAcquired>
            <paymentDate>03/10/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>05/01/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>447</amountOfSecuritiesAcquired>
            <paymentDate>05/01/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>03/10/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>583</amountOfSecuritiesAcquired>
            <paymentDate>03/10/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>05/01/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>457</amountOfSecuritiesAcquired>
            <paymentDate>05/01/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>03/10/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>594</amountOfSecuritiesAcquired>
            <paymentDate>03/10/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>08/03/2023</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>04/27/2023</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Rodney M Smith</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 6149}]
144
0001807541
XXXXXXXX
LIVE
0001053507
AMERICAN TOWER CORP.
001-14195
116 Huntington Avenue
Boston
MA
02116
(617) 375-7500
RODNEY SMITH
Officer
Common
E*TRADE FINANCIAL CORPORATION
3 EDISON DRIVE
ALPHARETTA
GA
30005
3524
665725.18
466155521
08/03/2023
NYSE
COMMON
03/11/2023
Restricted Stock
ISSUER
N
827
03/11/2023
Not Applicable
COMMON
03/10/2023
Restricted Stock
ISSUER
N
616
03/10/2023
Not Applicable
COMMON
05/01/2021
Restricted Stock
ISSUER
N
447
05/01/2021
Not Applicable
COMMON
03/10/2021
Restricted Stock
ISSUER
N
583
03/10/2021
Not Applicable
COMMON
05/01/2022
Restricted Stock
ISSUER
N
457
05/01/2022
Not Applicable
COMMON
03/10/2022
Restricted Stock
ISSUER
N
594
03/10/2022
Not Applicable
Y
08/03/2023
04/27/2023
/s/ Rodney M Smith