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>0001438831</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>Mathis Charles Alexander</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>245 Summer Street</com:street1>
            <com:city>Boston</com:city>
            <com:stateOrCountry>MA</com:stateOrCountry>
            <com:zipCode>02110</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>1000</noOfUnitsSold>
        <aggregateMarketValue>47250.00</aggregateMarketValue>
        <noOfUnitsOutstanding>24709204</noOfUnitsOutstanding>
        <approxSaleDate>05/10/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>11/12/2021</acquiredDate>
        <natureOfAcquisitionTransaction>OPEN MARKET PURCHASE</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>PUBLIC MARKETS</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1000</amountOfSecuritiesAcquired>
        <paymentDate>11/12/2021</paymentDate>
        <natureOfPayment>Cash/Check</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>05/10/2024</noticeDate>
        <signature>/s/ Jordyn Davis as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Mathis Charles Alexander</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2839}]
text: 144
  0001438831
  XXXXXXXX
  LIVE
  0000918965
  SCANSOURCE, INC.
  000-26926
  6 LOGUE COURT
  GREENVILLE
  SC
  29615
  800.944.2432
  Mathis Charles Alexander
  Officer
  Common
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  1000
  47250.00
  24709204
  05/10/2024
  NASDAQ
  Common
  11/12/2021
  OPEN MARKET PURCHASE
  PUBLIC MARKETS
  N
  1000
  11/12/2021
  Cash/Check
  Y
  05/10/2024
  /s/ Jordyn Davis as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Mathis Charles Alexander