<?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>0001176402</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>BROWNING PETER C</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Wells Fargo Cleaing Services</name>
        <address>
          <com:street1>1 N. Jefferson Ave.</com:street1>
          <com:city>St. Louis</com:city>
          <com:stateOrCountry>MO</com:stateOrCountry>
          <com:zipCode>63103</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>2000</noOfUnitsSold>
      <aggregateMarketValue>77413.37</aggregateMarketValue>
      <noOfUnitsOutstanding>24966931</noOfUnitsOutstanding>
      <approxSaleDate>12/22/2023</approxSaleDate>
      <securitiesExchangeName>Nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/02/2017</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Options</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>2000</amountOfSecuritiesAcquired>
      <paymentDate>06/02/2017</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>12/22/2023</noticeDate>
      <signature>Peter Browning</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2691}]
144
0001176402
XXXXXXXX
LIVE
0000918965
SCANSOURCE, INC.
000-26926
6 LOGUE COURT
GREENVILLE
SC
29615
800.944.2432
BROWNING PETER C
Director
Common
Wells Fargo Cleaing Services
1 N. Jefferson Ave.
St. Louis
MO
63103
2000
77413.37
24966931
12/22/2023
Nasdaq
Common
06/02/2017
Stock Options
Issuer
N
2000
06/02/2017
Cash
Y
12/22/2023
Peter Browning