<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13g" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <schemaVersion>X0202</schemaVersion>
<headerData>
    <submissionType>SCHEDULE 13G/A</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001224962</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>1</amendmentNo>
      <securitiesClassTitle>Common Stock, par value $0.001 per share</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>03/31/2026</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0001501697</issuerCik>
        <issuerName>X4 PHARMACEUTICALS, INC.</issuerName>
        <issuerCusips>
          <issuerCusipNumber>98420X202</issuerCusipNumber>
        </issuerCusips>
        <issuerPrincipalExecutiveOfficeAddress>
          <street1 xmlns="http://www.sec.gov/edgar/common">61 North Beacon Street, 4th Floor</street1>
          <city xmlns="http://www.sec.gov/edgar/common">Boston</city>
          <stateOrCountry xmlns="http://www.sec.gov/edgar/common">MA</stateOrCountry>
          <zipCode xmlns="http://www.sec.gov/edgar/common">02134</zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
      <designateRulesPursuantThisScheduleFiled>
        <designateRulePursuantThisScheduleFiled>Rule 13d-1(c)</designateRulePursuantThisScheduleFiled>
      </designateRulesPursuantThisScheduleFiled>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>


      <reportingPersonName>Perceptive Advisors LLC</reportingPersonName>
      <memberGroup>b</memberGroup>
      <citizenshipOrOrganization>DE</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>0</soleVotingPower>
        <sharedVotingPower>6889163</sharedVotingPower>
        <soleDispositivePower>0</soleDispositivePower>
        <sharedDispositivePower>6889163</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>6889163</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <aggregateAmountExcludesCertainSharesFlag>N</aggregateAmountExcludesCertainSharesFlag>
      <classPercent>7.3</classPercent>
      <typeOfReportingPerson>IA</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <coverPageHeaderReportingPersonDetails>


      <reportingPersonName>Joseph Edelman</reportingPersonName>
      <memberGroup>b</memberGroup>
      <citizenshipOrOrganization>X1</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>0</soleVotingPower>
        <sharedVotingPower>6889163</sharedVotingPower>
        <soleDispositivePower>0</soleDispositivePower>
        <sharedDispositivePower>6889163</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>6889163</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <aggregateAmountExcludesCertainSharesFlag>N</aggregateAmountExcludesCertainSharesFlag>
      <classPercent>7.3</classPercent>
      <typeOfReportingPerson>IN</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <coverPageHeaderReportingPersonDetails>


      <reportingPersonName>Perceptive Life Sciences Master Fund, Ltd.</reportingPersonName>
      <memberGroup>b</memberGroup>
      <citizenshipOrOrganization>E9</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>0</soleVotingPower>
        <sharedVotingPower>6889163</sharedVotingPower>
        <soleDispositivePower>0</soleDispositivePower>
        <sharedDispositivePower>6889163</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>6889163</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <aggregateAmountExcludesCertainSharesFlag>N</aggregateAmountExcludesCertainSharesFlag>
      <classPercent>7.3</classPercent>
      <typeOfReportingPerson>CO</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>X4 PHARMACEUTICALS, INC.</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>61 North Beacon Street, 4th Floor, Boston, Massachusetts</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>The names of the persons filing this report (collectively, the "Reporting Persons") with respect to shares of Common Stock, par value $0.001 per share (the "Common Stock") of X4 PHARMACEUTICALS, INC. (the "Issuer") are:

Perceptive Advisors LLC ("Perceptive Advisors")
Joseph Edelman ("Mr. Edelman")
Perceptive Life Sciences Master Fund, Ltd. (the "Master Fund")</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>The address of the principal business office of each of the Reporting Persons is:

51 Astor Place, 10th Floor
New York, NY 10003</principalBusinessOfficeOrResidenceAddress>
        <citizenship>Perceptive Advisors is a Delaware limited liability company
Mr. Edelman is a United States citizen
The Master Fund is a Cayman Islands corporation</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>Y</notApplicableFlag>
      </item3>
      <item4>
        <amountBeneficiallyOwned>The information required by this item with respect to each Reporting Person is set forth in Rows 5 through 9 and 11 of the cover pages to this Schedule 13G. The ownership percentages reported are based on 94,319,696 outstanding shares of Common Stock as of May 1, 2026, as reported in the Issuer's Quarterly Report on Form 10-Q filed with the Securities and Exchange Commission on May 6, 2026.

Neither Perceptive Advisors nor Mr. Edelman directly hold any shares of Common Stock or any Warrants. The Master Fund directly holds 6,737,648 shares of Common Stock and 151,515 Warrants immediately exercisable for shares of Common Stock, subject to the Beneficial Ownership Limitation (as defined below). The terms of the Warrants provide that the Warrants may not be exercised if, after such exercise, the Reporting Persons would beneficially own, as determined in accordance with Section 13(d) if the Securities Exchange Act of 1934, as amended, more than 9.99% of the shares of Common Stock then issued and outstanding (the "Beneficial Ownership Limitation"). As of the date hereof, the Beneficial Ownership Limitation permits the Reporting Persons to exercise Warrants for an aggregate of 151,515 shares of Common Stock. Perceptive Advisors serves as the investment manager to the Master Fund. Mr. Edelman is the managing member of Perceptive Advisors.</amountBeneficiallyOwned>
        <classPercent>Perceptive Advisors: 7.3%
Mr. Edelman: 7.3%
Master Fund: 7.3%</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>Perceptive Advisors: 0
Mr. Edelman: 0
Master Fund: 0</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>Perceptive Advisors:  6,889,163
Mr. Edelman:  6,889,163
Master Fund:  6,889,163</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>Perceptive Advisors: 0
Mr. Edelman: 0
Master Fund: 0</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>Perceptive Advisors:  6,889,163
Mr. Edelman:  6,889,163
Master Fund:  6,889,163</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <notApplicableFlag>Y</notApplicableFlag>
      </item5>
      <item6>
        <notApplicableFlag>Y</notApplicableFlag>
      </item6>
      <item7>
        <notApplicableFlag>Y</notApplicableFlag>
      </item7>
      <item8>
        <notApplicableFlag>Y</notApplicableFlag>
      </item8>
      <item9>
        <notApplicableFlag>Y</notApplicableFlag>
      </item9>
      <item10>
        <notApplicableFlag>N</notApplicableFlag>
        <certifications>By signing below I certify that, to the best of my knowledge and belief, the securities referred to above were not acquired and are not held for the purpose of or with the effect of changing or influencing the control of the issuer of the securities and were not acquired and are not held in connection with or as a participant in any transaction having that purpose or effect, other than activities solely in connection with a nomination under ?? 240.14a-11.</certifications>
      </item10>
    </items>
    <signatureInformation>
      <reportingPersonName>Perceptive Advisors LLC</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Joseph Edelman</signature>
        <title>Joseph Edelman, Managing Member</title>
        <date>05/15/2026</date>
      </signatureDetails>
    </signatureInformation>
    <signatureInformation>
      <reportingPersonName>Joseph Edelman</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Joseph Edelman</signature>
        <title>Joseph Edelman</title>
        <date>05/15/2026</date>
      </signatureDetails>
    </signatureInformation>
    <signatureInformation>
      <reportingPersonName>Perceptive Life Sciences Master Fund, Ltd.</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Joseph Edelman</signature>
        <title>Joseph Edelman, Managing Member</title>
        <date>05/15/2026</date>
      </signatureDetails>
    </signatureInformation>
  </formData>
</edgarSubmission>
