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>0001646468</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>Smith Shana C</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Merrill Lynch</name>
          <address>
            <com:street1>3455 Peachtree Rd 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>2245</noOfUnitsSold>
        <aggregateMarketValue>107760.00</aggregateMarketValue>
        <noOfUnitsOutstanding>24709204</noOfUnitsOutstanding>
        <approxSaleDate>06/04/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>06/01/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Vesting of a Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>ScanSource, Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2245</amountOfSecuritiesAcquired>
        <paymentDate>06/01/2024</paymentDate>
        <natureOfPayment>Compensatory Payment</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>06/04/2024</noticeDate>
        <signature>Shana C Smith</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2754}]
text: 144
  0001646468
  XXXXXXXX
  LIVE
  0000918965
  SCANSOURCE, INC.
  000-26926
  6 LOGUE COURT
  GREENVILLE
  SC
  29615
  800.944.2432
  Smith Shana C
  Officer
  Common
  Merrill Lynch
  3455 Peachtree Rd NE
  STE 1000
  Atlanta
  GA
  30326
  2245
  107760.00
  24709204
  06/04/2024
  NASDAQ
  Common
  06/01/2024
  Vesting of a Stock Award
  ScanSource, Inc.
  N
  2245
  06/01/2024
  Compensatory Payment
  Y
  06/04/2024
  Shana C Smith