<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:02b09955-d9f6-4038-babc-9f320ce6cf37,g:d5a93dd4-76fd-4122-9fde-f43c3ccd2e21-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:ngm="http://www.ngmbio.com/20220930" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2020-01-21" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.ngmbio.com/20220930">
  <xs:import namespace="http://fasb.org/srt/2022" schemaLocation="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2022" schemaLocation="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/country/2022" schemaLocation="https://xbrl.sec.gov/country/2022/country-2022.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2022" schemaLocation="https://xbrl.sec.gov/dei/2022/dei-2022.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="ngm-20220930_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="ngm-20220930_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="ngm-20220930_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="ngm-20220930_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://www.ngmbio.com/role/Cover">
        <link:definition>0000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETS" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS">
        <link:definition>0000002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>0000003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS">
        <link:definition>0000004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS">
        <link:definition>0000005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
        <link:definition>0000006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.ngmbio.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>0000007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OrganizationandDescriptionofBusiness" roleURI="http://www.ngmbio.com/role/OrganizationandDescriptionofBusiness">
        <link:definition>0000008 - Disclosure - Organization and Description of Business</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPolicies">
        <link:definition>0000009 - Disclosure - Summary of Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.ngmbio.com/role/FairValueMeasurements">
        <link:definition>0000010 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponents" roleURI="http://www.ngmbio.com/role/BalanceSheetComponents">
        <link:definition>0000011 - Disclosure - Balance Sheet Components</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ResearchCollaborationandLicenseAgreements" roleURI="http://www.ngmbio.com/role/ResearchCollaborationandLicenseAgreements">
        <link:definition>0000012 - Disclosure - Research Collaboration and License Agreements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://www.ngmbio.com/role/CommitmentsandContingencies">
        <link:definition>0000013 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquity" roleURI="http://www.ngmbio.com/role/StockholdersEquity">
        <link:definition>0000014 - Disclosure - Stockholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://www.ngmbio.com/role/IncomeTaxes">
        <link:definition>0000015 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesPolicies">
        <link:definition>0000016 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesTables" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesTables">
        <link:definition>0000017 - Disclosure - Summary of Significant Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.ngmbio.com/role/FairValueMeasurementsTables">
        <link:definition>0000018 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsTables" roleURI="http://www.ngmbio.com/role/BalanceSheetComponentsTables">
        <link:definition>0000019 - Disclosure - Balance Sheet Components (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ResearchCollaborationandLicenseAgreementsTables" roleURI="http://www.ngmbio.com/role/ResearchCollaborationandLicenseAgreementsTables">
        <link:definition>0000020 - Disclosure - Research Collaboration and License Agreements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesTables" roleURI="http://www.ngmbio.com/role/CommitmentsandContingenciesTables">
        <link:definition>0000021 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquityTables" roleURI="http://www.ngmbio.com/role/StockholdersEquityTables">
        <link:definition>0000022 - Disclosure - Stockholders' Equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesNarrativeDetails" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails">
        <link:definition>0000023 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesEstimatedUsefulLifeofAssetDetails" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLifeofAssetDetails">
        <link:definition>0000024 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Life of Asset (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncementsDetails">
        <link:definition>0000025 - Disclosure - Summary of Significant Accounting Policies - Recently Adopted Accounting Pronouncements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesComputationofNetLossPerCommonShareDetails" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesComputationofNetLossPerCommonShareDetails">
        <link:definition>0000026 - Disclosure - Summary of Significant Accounting Policies - Computation of Net Loss Per Common Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesPotentiallyDilutiveSecuritiesNotIncludedintheDilutedNetLossPerShareCalculationsDetails" roleURI="http://www.ngmbio.com/role/SummaryofSignificantAccountingPoliciesPotentiallyDilutiveSecuritiesNotIncludedintheDilutedNetLossPerShareCalculationsDetails">
        <link:definition>0000027 - Disclosure - Summary of Significant Accounting Policies - Potentially Dilutive Securities Not Included in the Diluted Net Loss Per Share Calculations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsSummaryofCashandCashEquivalentsandMarketableSecuritiesClassifiedasAvailableforsaleSecuritiesDetails" roleURI="http://www.ngmbio.com/role/FairValueMeasurementsSummaryofCashandCashEquivalentsandMarketableSecuritiesClassifiedasAvailableforsaleSecuritiesDetails">
        <link:definition>0000028 - Disclosure - Fair Value Measurements - Summary of Cash and Cash Equivalents and Marketable Securities Classified as Available-for-sale Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsNarrativeDetails" roleURI="http://www.ngmbio.com/role/FairValueMeasurementsNarrativeDetails">
        <link:definition>0000029 - Disclosure - Fair Value Measurements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsSummaryofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" roleURI="http://www.ngmbio.com/role/FairValueMeasurementsSummaryofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails">
        <link:definition>0000030 - Disclosure - Fair Value Measurements - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsScheduleofReconciliationofCashCashEquivalentandRestrictedCashDetails" roleURI="http://www.ngmbio.com/role/BalanceSheetComponentsScheduleofReconciliationofCashCashEquivalentandRestrictedCashDetails">
        <link:definition>0000031 - Disclosure - Balance Sheet Components - Schedule of Reconciliation of Cash, Cash Equivalent and Restricted Cash (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsScheduleofPropertyandEquipmentDetails" roleURI="http://www.ngmbio.com/role/BalanceSheetComponentsScheduleofPropertyandEquipmentDetails">
        <link:definition>0000032 - Disclosure - Balance Sheet Components - Schedule of Property and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsNarrativeDetails" roleURI="http://www.ngmbio.com/role/BalanceSheetComponentsNarrativeDetails">
        <link:definition>0000033 - Disclosure - Balance Sheet Components - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsScheduleofAccruedLiabilitiesDetails" roleURI="http://www.ngmbio.com/role/BalanceSheetComponentsScheduleofAccruedLiabilitiesDetails">
        <link:definition>0000034 - Disclosure - Balance Sheet Components - Schedule of Accrued Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ResearchCollaborationandLicenseAgreementsNarrativeDetails" roleURI="http://www.ngmbio.com/role/ResearchCollaborationandLicenseAgreementsNarrativeDetails">
        <link:definition>0000035 - Disclosure - Research Collaboration and License Agreements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ResearchCollaborationandLicenseAgreementsScheduleofMilestonePaymentsbyIndicationsDetails" roleURI="http://www.ngmbio.com/role/ResearchCollaborationandLicenseAgreementsScheduleofMilestonePaymentsbyIndicationsDetails">
        <link:definition>0000036 - Disclosure - Research Collaboration and License Agreements - Schedule of Milestone Payments by Indications (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ResearchCollaborationandLicenseAgreementsScheduleofRecognizedRevenuefromCollaborationandLicenseAgreementsDetails" roleURI="http://www.ngmbio.com/role/ResearchCollaborationandLicenseAgreementsScheduleofRecognizedRevenuefromCollaborationandLicenseAgreementsDetails">
        <link:definition>0000037 - Disclosure - Research Collaboration and License Agreements - Schedule of Recognized Revenue from Collaboration and License Agreements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesNarrativeDetails" roleURI="http://www.ngmbio.com/role/CommitmentsandContingenciesNarrativeDetails">
        <link:definition>0000038 - Disclosure - Commitments and Contingencies - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesComponentsofLeaseCostsDetails" roleURI="http://www.ngmbio.com/role/CommitmentsandContingenciesComponentsofLeaseCostsDetails">
        <link:definition>0000039 - Disclosure - Commitments and Contingencies - Components of Lease Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesOperatingLeaseLiabilityMaturityDetails" roleURI="http://www.ngmbio.com/role/CommitmentsandContingenciesOperatingLeaseLiabilityMaturityDetails">
        <link:definition>0000040 - Disclosure - Commitments and Contingencies - Operating Lease Liability Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesOperatingLeaseLiabilityMaturityDetails_1" roleURI="http://www.ngmbio.com/role/CommitmentsandContingenciesOperatingLeaseLiabilityMaturityDetails_1">
        <link:definition>0000040 - Disclosure - Commitments and Contingencies - Operating Lease Liability Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquityNarrativeDetails" roleURI="http://www.ngmbio.com/role/StockholdersEquityNarrativeDetails">
        <link:definition>0000041 - Disclosure - Stockholders' Equity - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquityScheduleofSharesofCommonStockReservedforIssuanceDetails" roleURI="http://www.ngmbio.com/role/StockholdersEquityScheduleofSharesofCommonStockReservedforIssuanceDetails">
        <link:definition>0000042 - Disclosure - Stockholders' Equity - Schedule of Shares of Common Stock Reserved for Issuance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquitySummaryofActivityunder2008Planand2018PlanDetails" roleURI="http://www.ngmbio.com/role/StockholdersEquitySummaryofActivityunder2008Planand2018PlanDetails">
        <link:definition>0000043 - Disclosure - Stockholders' Equity - Summary of Activity under 2008 Plan and 2018 Plan (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquitySummaryofStockBasedCompensationExpenseDetails" roleURI="http://www.ngmbio.com/role/StockholdersEquitySummaryofStockBasedCompensationExpenseDetails">
        <link:definition>0000044 - Disclosure - Stockholders' Equity - Summary of Stock Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="ngm_OfferingPeriodForPurchaseUnderEmployeeStockPurchasePlan" abstract="false" name="OfferingPeriodForPurchaseUnderEmployeeStockPurchasePlan" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_SummaryOfSignificantAccountingPoliciesTable" abstract="true" name="SummaryOfSignificantAccountingPoliciesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="ngm_ProofOfConceptTrialB7H4ResearchProgramMember" abstract="true" name="ProofOfConceptTrialB7H4ResearchProgramMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_IncreaseDecreaseInDueFromRelatedPartiesContractAssetsNoncash" abstract="false" name="IncreaseDecreaseInDueFromRelatedPartiesContractAssetsNoncash" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ProceedsFromIssuanceOpenMarketAgreement" abstract="false" name="ProceedsFromIssuanceOpenMarketAgreement" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_LesseeOperatingLeaseLiabilityToBePaidIncreaseInInitialBaseRentPercent" abstract="false" name="LesseeOperatingLeaseLiabilityToBePaidIncreaseInInitialBaseRentPercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="ngm_OpenMarketSalesAgreementMember" abstract="true" name="OpenMarketSalesAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_MerckSharpAndDohmeCorporationMember" abstract="true" name="MerckSharpAndDohmeCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_NGMMerckAmendedAgreementMember" abstract="true" name="NGMMerckAmendedAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentOptionExerciseFeeReinvestmentAmount" abstract="false" name="ResearchAndDevelopmentOptionExerciseFeeReinvestmentAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_NumberOfPurchasePeriods" abstract="false" name="NumberOfPurchasePeriods" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="ngm_LesseeOperatingLeaseTenantImprovementAllowance" abstract="false" name="LesseeOperatingLeaseTenantImprovementAllowance" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_VestingOfCommonStockFromEarlyExercises" abstract="false" name="VestingOfCommonStockFromEarlyExercises" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentOptionRemainingExtensionTerm" abstract="false" name="ResearchAndDevelopmentOptionRemainingExtensionTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_AmountOfAdditionalFundReceivedForResearchActivities" abstract="false" name="AmountOfAdditionalFundReceivedForResearchActivities" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentPerformanceObligationPeriod" abstract="false" name="ResearchAndDevelopmentPerformanceObligationPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_CommonStockOptionsOutstandingMember" abstract="true" name="CommonStockOptionsOutstandingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_NGMBiopharmaceuticalsMember" abstract="true" name="NGMBiopharmaceuticalsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_MerckMember" abstract="true" name="MerckMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchCollaborationAndLicenseAgreementsRemainingExtensionFee" abstract="false" name="ResearchCollaborationAndLicenseAgreementsRemainingExtensionFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_AmountOfFundReceivedForResearchActivitiesRequiredExpendableAmount" abstract="false" name="AmountOfFundReceivedForResearchActivitiesRequiredExpendableAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_AccruedManufacturingCosts" abstract="false" name="AccruedManufacturingCosts" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_LaboratoryEquipmentAndOfficeFurnitureMember" abstract="true" name="LaboratoryEquipmentAndOfficeFurnitureMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_FourZeroOneKMatchingPlanMember" abstract="true" name="FourZeroOneKMatchingPlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_SaleOfStockAggregateOfferingPrice" abstract="false" name="SaleOfStockAggregateOfferingPrice" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_MilestonePaymentForPotentialAchievementOfCertainRegulatoryEvents" abstract="false" name="MilestonePaymentForPotentialAchievementOfCertainRegulatoryEvents" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentCollaborationAgreementExercisableAgreedUponDataPackage" abstract="false" name="ResearchAndDevelopmentCollaborationAgreementExercisableAgreedUponDataPackage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_OperatingLeaseExpenseMonthlyTermMember" abstract="true" name="OperatingLeaseExpenseMonthlyTermMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_AccruedClinicalTrialsAndResearchAndDevelopmentCostsCurrent" abstract="false" name="AccruedClinicalTrialsAndResearchAndDevelopmentCostsCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_StockIssuedDuringPeriodValueVestingOfEarlyExercisedStockOptions" abstract="false" name="StockIssuedDuringPeriodValueVestingOfEarlyExercisedStockOptions" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsEarlyExerciseRepurchasePeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsEarlyExerciseRepurchasePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_SecondIndicationMember" abstract="true" name="SecondIndicationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_SummaryOfSignificantAccountingPoliciesLineItems" abstract="true" name="SummaryOfSignificantAccountingPoliciesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="ngm_ReserveBalanceForSalesAgreementMember" abstract="true" name="ReserveBalanceForSalesAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ShareOfGlobalDevelopmentCostsPercentage" abstract="false" name="ShareOfGlobalDevelopmentCostsPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="ngm_ResearchCollaborationAndLicenseAgreementsExtensionFee" abstract="false" name="ResearchCollaborationAndLicenseAgreementsExtensionFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentServicePerformancePeriod" abstract="false" name="ResearchAndDevelopmentServicePerformancePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_ClinicalDevelopmentEventAxis" abstract="true" name="ClinicalDevelopmentEventAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="ngm_StockIssuedDuringPeriodSharesVestingOfEarlyExercisedStockOptions" abstract="false" name="StockIssuedDuringPeriodSharesVestingOfEarlyExercisedStockOptions" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="ngm_FirstIndicationMember" abstract="true" name="FirstIndicationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_DurationOfEachPurchasePeriod" abstract="false" name="DurationOfEachPurchasePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_MilestonePaymentForPotentialAchievementOfCertainClinicalDevelopmentEvents" abstract="false" name="MilestonePaymentForPotentialAchievementOfCertainClinicalDevelopmentEvents" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_MerckOriginalAgreementMember" abstract="true" name="MerckOriginalAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentOptionExerciseFee" abstract="false" name="ResearchAndDevelopmentOptionExerciseFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_OperatingLeaseExpenseContractTermMember" abstract="true" name="OperatingLeaseExpenseContractTermMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ClinicalDevelopmentEventDomain" abstract="true" name="ClinicalDevelopmentEventDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentOptionExtendTerm" abstract="false" name="ResearchAndDevelopmentOptionExtendTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="ngm_AmountOfFundReceivedForResearchActivities" abstract="false" name="AmountOfFundReceivedForResearchActivities" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_MerckAmendedAgreementMember" abstract="true" name="MerckAmendedAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ProofOfConceptTrialCVMResearchProgramMember" abstract="true" name="ProofOfConceptTrialCVMResearchProgramMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_CommonStockOptionsAvailableForGrantMember" abstract="true" name="CommonStockOptionsAvailableForGrantMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ThirdIndicationMember" abstract="true" name="ThirdIndicationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_Phase3ClinicalEventMember" abstract="true" name="Phase3ClinicalEventMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_OperatingLeaseExpenseTermDomain" abstract="true" name="OperatingLeaseExpenseTermDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_EmployeesAndDirectorsMember" abstract="true" name="EmployeesAndDirectorsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentReimbursableExpense" abstract="false" name="ResearchAndDevelopmentReimbursableExpense" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="ngm_OptionsToPurchaseCommonStockMember" abstract="true" name="OptionsToPurchaseCommonStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="ngm_ResearchAndDevelopmentCollaborationAgreementGlobalDevelopmentCostsFundedPercentage" abstract="false" name="ResearchAndDevelopmentCollaborationAgreementGlobalDevelopmentCostsFundedPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="ngm_OperatingLeaseExpenseTermAxis" abstract="true" name="OperatingLeaseExpenseTermAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
</xs:schema>
