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



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001140859</issuerCik>
      <issuerName>AMERISOURCEBERGEN CORP</issuerName>
      <secFileNumber>001-16671</secFileNumber>
      <issuerAddress>
        <com:street1>1 WEST FIRST AVENUE</com:street1>
        <com:city>CONSHOHOCKEN</com:city>
        <com:stateOrCountry>PA</com:stateOrCountry>
        <com:zipCode>19428</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>6107277000</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>COLLIS STEVEN H</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Officer</relationshipToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>900 Salem Street</com:street1>
          <com:city>Smithfield</com:city>
          <com:stateOrCountry>RI</com:stateOrCountry>
          <com:zipCode>02917</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>10499</noOfUnitsSold>
      <aggregateMarketValue>1873441.56</aggregateMarketValue>
      <noOfUnitsOutstanding>202466004</noOfUnitsOutstanding>
      <approxSaleDate>06/13/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/13/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 11/15/2017</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>10499</amountOfSecuritiesAcquired>
      <paymentDate>06/13/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Steven Collis</name>
        <address>
          <com:street1>1 West First Avenue</com:street1>
          <com:city>Conshohocken</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>19428-1800</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>03/14/2023</saleDate>
      <amountOfSecuritiesSold>10499</amountOfSecuritiesSold>
      <grossProceeds>1574850.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Steven Collis</name>
        <address>
          <com:street1>1 West First Avenue</com:street1>
          <com:city>Conshohocken</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>19428-1800</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>04/11/2023</saleDate>
      <amountOfSecuritiesSold>10499</amountOfSecuritiesSold>
      <grossProceeds>1756902.66</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Steven Collis</name>
        <address>
          <com:street1>1 West First Avenue</com:street1>
          <com:city>Conshohocken</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>19428-1800</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>05/09/2023</saleDate>
      <amountOfSecuritiesSold>10499</amountOfSecuritiesSold>
      <grossProceeds>1779790.48</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>06/13/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>12/13/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ Jennifer Ruchti, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Steven Collis</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4788}]
144
0001191508
XXXXXXXX
LIVE
0001140859
AMERISOURCEBERGEN CORP
001-16671
1 WEST FIRST AVENUE
CONSHOHOCKEN
PA
19428
6107277000
COLLIS STEVEN H
Officer
Director
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
10499
1873441.56
202466004
06/13/2023
NYSE
Common
06/13/2023
Option Granted - 11/15/2017
Issuer
N
10499
06/13/2023
Cash
N
Steven Collis
1 West First Avenue
Conshohocken
PA
19428-1800
Common
03/14/2023
10499
1574850.00
Steven Collis
1 West First Avenue
Conshohocken
PA
19428-1800
Common
04/11/2023
10499
1756902.66
Steven Collis
1 West First Avenue
Conshohocken
PA
19428-1800
Common
05/09/2023
10499
1779790.48
06/13/2023
12/13/2022
/s/ Jennifer Ruchti, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Steven Collis