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



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>09/30/2024</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0000006176</issuerCik>
        <issuerName>AMPCO PITTSBURGH CORP</issuerName>
        <issuerCusip>032037103</issuerCusip>
        <issuerPrincipalExecutiveOfficeAddress>
          <com:street1>726 BELL AVENUE</com:street1>
          <com:street2>SUITE 301</com:street2>
          <com:city>CARNEGIE</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>15106</com:zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
      <designateRulesPursuantThisScheduleFiled>
        <designateRulePursuantThisScheduleFiled>Rule 13d-1(b)</designateRulePursuantThisScheduleFiled>
      </designateRulesPursuantThisScheduleFiled>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>

      <reportingPersonName>RUTABAGA CAPITAL MANAGEMENT LLC/MA</reportingPersonName>
      <citizenshipOrOrganization>MA</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>1143356.00</soleVotingPower>
        <sharedVotingPower>0.00</sharedVotingPower>
        <soleDispositivePower>1143356.00</soleDispositivePower>
        <sharedDispositivePower>0.00</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>1143356.00</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <classPercent>5.7</classPercent>
      <typeOfReportingPerson>IA</typeOfReportingPerson>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>AMPCO PITTSBURGH CORP</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>726 BELL AVENUE, SUITE 301, CARNEGIE, PENNSYLVANIA, 15106.</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>Rutabaga Capital Management</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>121 High Street, Boston, MA 02110</principalBusinessOfficeOrResidenceAddress>
        <citizenship>United States</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>N</notApplicableFlag>
        <typeOfPersonFiling>IA</typeOfPersonFiling>
      </item3>
      <item4>
        <amountBeneficiallyOwned>1143356</amountBeneficiallyOwned>
        <classPercent>5.7</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>1143356</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>0</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>1143356</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>0</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <notApplicableFlag>Y</notApplicableFlag>
        <classOwnership5PercentOrLess>N</classOwnership5PercentOrLess>
      </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 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 &amp;#167; 240.14a-11.

</certifications>
      </item10>
    </items>
    <signatureInformation>
      <reportingPersonName>RUTABAGA CAPITAL MANAGEMENT LLC/MA</reportingPersonName>
      <signatureDetails>
        <signature>Peter C. Schliemann</signature>
        <title>Managing Principal</title>
        <date>02/26/2025</date>
      </signatureDetails>
    </signatureInformation>
  </formData>
</edgarSubmission>
