<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13g" xmlns:ns1="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>SCHEDULE 13G/A</submissionType>
    <previousAccessionNumber>0000884546-25-000006</previousAccessionNumber>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0000884546</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>1</amendmentNo>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>12/31/2025</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0000910329</issuerCik>
        <issuerName>MEDIFAST INC</issuerName>
        <issuerCusip>58470H101</issuerCusip>
        <issuerPrincipalExecutiveOfficeAddress>
          <ns1:street1>100 INTERNATIONAL DRIVE</ns1:street1>
          <ns1:street2>18TH FLOOR</ns1:street2>
          <ns1:city>BALTIMORE</ns1:city>
          <ns1:stateOrCountry>MD</ns1:stateOrCountry>
          <ns1:zipCode>21202</ns1:zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
      <designateRulesPursuantThisScheduleFiled>
        <designateRulePursuantThisScheduleFiled>Rule 13d-1(b)</designateRulePursuantThisScheduleFiled>
      </designateRulesPursuantThisScheduleFiled>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>


      <reportingPersonName>CHARLES SCHWAB INVESTMENT MANAGEMENT INC</reportingPersonName>
      <citizenshipOrOrganization>DE</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>776829</soleVotingPower>
        <sharedVotingPower>0</sharedVotingPower>
        <soleDispositivePower>776829</soleDispositivePower>
        <sharedDispositivePower>0</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>776829</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <aggregateAmountExcludesCertainSharesFlag>N</aggregateAmountExcludesCertainSharesFlag>
      <classPercent>7.06</classPercent>
      <typeOfReportingPerson>IA</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>MEDIFAST INC</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>100 INTERNATIONAL DRIVE, 18TH FLOOR, BALTIMORE, MARYLAND
21202</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>CHARLES SCHWAB INVESTMENT MANAGEMENT INC</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>9800 Schwab Way
Lone Tree, CO 80124
</principalBusinessOfficeOrResidenceAddress>
        <citizenship>DELAWARE</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>N</notApplicableFlag>
        <typeOfPersonFiling>IA</typeOfPersonFiling>
      </item3>
      <item4>
        <amountBeneficiallyOwned>776,829</amountBeneficiallyOwned>
        <classPercent>7.06</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>776,829</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>0</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>776,829</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>0</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <notApplicableFlag>Y</notApplicableFlag>
      </item5>
      <item6>
        <notApplicableFlag>N</notApplicableFlag>
        <ownershipMoreThan5PercentOnBehalfOfAnotherPerson>Charles Schwab Investment Management, Inc. is the investment adviser of the Schwab Fundamental U.S. Small Company ETF, a registered investment company under the Investment Company Act of 1940, as amended, which owns 5.12% of the security reported herein.</ownershipMoreThan5PercentOnBehalfOfAnotherPerson>
      </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 acquired and are held in the ordinary course of business and 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>CHARLES SCHWAB INVESTMENT MANAGEMENT INC</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Omar Aguilar</signature>
        <title>Omar Aguilar/Chief Executive Officer</title>
        <date>02/11/2026</date>
      </signatureDetails>
    </signatureInformation>
  </formData>
</edgarSubmission>
