content: <?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>0001867321</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000918965</issuerCik>
        <issuerName>SCANSOURCE, INC.</issuerName>
        <secFileNumber>000-26926</secFileNumber>
        <issuerAddress>
          <com:street1>6 LOGUE COURT</com:street1>
          <com:city>GREENVILLE</com:city>
          <com:stateOrCountry>SC</com:stateOrCountry>
          <com:zipCode>29615</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>800.944.2432</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Hayden Rachel</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Merrill Lynch</name>
          <address>
            <com:street1>3455 Peachtree Road NE</com:street1>
            <com:street2>STE 1000</com:street2>
            <com:city>Atlanta</com:city>
            <com:stateOrCountry>GA</com:stateOrCountry>
            <com:zipCode>30326</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>6343</noOfUnitsSold>
        <aggregateMarketValue>295173.90</aggregateMarketValue>
        <noOfUnitsOutstanding>24030822</noOfUnitsOutstanding>
        <approxSaleDate>09/16/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>08/27/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of Stock Awards</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>SCANSOURCE, INC.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>6343</amountOfSecuritiesAcquired>
        <paymentDate>08/27/2024</paymentDate>
        <natureOfPayment>Compensatory Payment</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Rachel Hayden</name>
          <address>
            <com:street1>6 LOGUE COURT</com:street1>
            <com:city>GREENVILLE</com:city>
            <com:stateOrCountry>SC</com:stateOrCountry>
            <com:zipCode>29615</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>ScanSource, Inc. - Common</securitiesClassTitle>
        <saleDate>06/10/2024</saleDate>
        <amountOfSecuritiesSold>3582</amountOfSecuritiesSold>
        <grossProceeds>164813.64</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>09/16/2024</noticeDate>
        <signature>Rachel Hayden</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3353}]
text: 144
  0001867321
  XXXXXXXX
  LIVE
  0000918965
  SCANSOURCE, INC.
  000-26926
  6 LOGUE COURT
  GREENVILLE
  SC
  29615
  800.944.2432
  Hayden Rachel
  Officer
  Common
  Merrill Lynch
  3455 Peachtree Road NE
  STE 1000
  Atlanta
  GA
  30326
  6343
  295173.90
  24030822
  09/16/2024
  NASDAQ
  Common
  08/27/2024
  Vesting of Stock Awards
  SCANSOURCE, INC.
  N
  6343
  08/27/2024
  Compensatory Payment
  N
  Rachel Hayden
  6 LOGUE COURT
  GREENVILLE
  SC
  29615
  ScanSource, Inc. - Common
  06/10/2024
  3582
  164813.64
  09/16/2024
  Rachel Hayden