<?xml version="1.0" encoding="utf-8"?>
<!--Generated by DFIN XBRL Instance Document - http://www.dfinsolutions.com/ - Version R3.0 - on 14-April-2026 [08:06:47] {PM}-->
<schema targetNamespace="http://www.xpenginc.com/20251231" elementFormDefault="qualified" xmlns:xpev="http://www.xpenginc.com/20251231" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:us-gaap="http://fasb.org/us-gaap/2025" xmlns:country="http://xbrl.sec.gov/country/2025" xmlns:currency="http://xbrl.sec.gov/currency/2025" xmlns:dei="http://xbrl.sec.gov/dei/2025" xmlns:exch="http://xbrl.sec.gov/exch/2025" xmlns:naics="http://xbrl.sec.gov/naics/2025" xmlns:sic="http://xbrl.sec.gov/sic/2025" xmlns:us-types="http://fasb.org/us-types/2025" xmlns:stpr="http://xbrl.sec.gov/stpr/2025" xmlns:deprecated="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" xmlns:srt="http://fasb.org/srt/2025" xmlns:srt-types="http://fasb.org/srt-types/2025" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:cyd="http://xbrl.sec.gov/cyd/2025">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://www.xpenginc.com/role/CoverPage" id="CoverPage">
        <link:definition>1001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedBalanceSheets" id="ConsolidatedBalanceSheets">
        <link:definition>1002 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedBalanceSheetsParenthetical" id="ConsolidatedBalanceSheetsParenthetical">
        <link:definition>1003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss" id="ConsolidatedStatementsOfComprehensiveLoss">
        <link:definition>1004 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLossParenthetical" id="ConsolidatedStatementsOfComprehensiveLossParenthetical">
        <link:definition>1005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" id="ConsolidatedStatementsOfChangesInShareholdersEquity">
        <link:definition>1006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfCashFlows" id="ConsolidatedStatementsOfCashFlows">
        <link:definition>1007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperations" id="OrganizationAndNatureOfOperations">
        <link:definition>999001 - Disclosure - Organization and Nature of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPolicies" id="SummaryOfSignificantAccountingPolicies">
        <link:definition>999002 - Disclosure - Summary of Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RecentAccountingPronouncements" id="RecentAccountingPronouncements">
        <link:definition>999003 - Disclosure - Recent Accounting Pronouncements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ConcentrationAndRisks" id="ConcentrationAndRisks">
        <link:definition>999004 - Disclosure - Concentration and Risks</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombination" id="BusinessCombination">
        <link:definition>999005 - Disclosure - Business Combination</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstruments" id="FairValueOfFinancialInstruments">
        <link:definition>999006 - Disclosure - Fair Value of Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/Inventory" id="Inventory">
        <link:definition>999007 - Disclosure - Inventory</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNet" id="PrepaymentsAndOtherCurrentAssetsNet">
        <link:definition>999008 - Disclosure - Prepayments and Other Current Assets, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNet" id="PropertyPlantAndEquipmentNet">
        <link:definition>999009 - Disclosure - Property, Plant and Equipment, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNet" id="IntangibleAssetsNet">
        <link:definition>999010 - Disclosure - Intangible Assets, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LandUseRightsNet" id="LandUseRightsNet">
        <link:definition>999011 - Disclosure - Land Use Rights, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNet" id="InstallmentPaymentReceivablesNet">
        <link:definition>999012 - Disclosure - Installment Payment Receivables, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LongTermInvestments" id="LongTermInvestments">
        <link:definition>999013 - Disclosure - Long-Term Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssets" id="OtherNonCurrentAssets">
        <link:definition>999014 - Disclosure - Other Non-current Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilities" id="AccrualsAndOtherLiabilities">
        <link:definition>999015 - Disclosure - Accruals and Other Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/Borrowings" id="Borrowings">
        <link:definition>999016 - Disclosure - Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilities" id="OtherNonCurrentLiabilities">
        <link:definition>999017 - Disclosure - Other Non-Current Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/Leases" id="Leases">
        <link:definition>999018 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/Revenues" id="Revenues">
        <link:definition>999019 - Disclosure - Revenues</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/DeferredRevenue" id="DeferredRevenue">
        <link:definition>999020 - Disclosure - Deferred Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAuto" id="ManufacturingInCollaborationWithHaimaAuto">
        <link:definition>999021 - Disclosure - Manufacturing in Collaboration with Haima Auto</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrdinaryShares" id="OrdinaryShares">
        <link:definition>999022 - Disclosure - Ordinary Shares</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ShareBasedCompensation" id="ShareBasedCompensation">
        <link:definition>999023 - Disclosure - Share-based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/Taxation" id="Taxation">
        <link:definition>999024 - Disclosure - Taxation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LossPerShare" id="LossPerShare">
        <link:definition>999025 - Disclosure - Loss Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RelatedParties" id="RelatedParties">
        <link:definition>999026 - Disclosure - Related Parties</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CommitmentsAndContingencies" id="CommitmentsAndContingencies">
        <link:definition>999027 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RestrictedNetAssets" id="RestrictedNetAssets">
        <link:definition>999028 - Disclosure - Restricted Net Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnly" id="CompanyFinancialStatementsParentCompanyOnly">
        <link:definition>999029 - Disclosure - Company Financial Statements (Parent Company Only)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SubsequentEvents" id="SubsequentEvents">
        <link:definition>999030 - Disclosure - Subsequent events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesPolicies" id="SummaryOfSignificantAccountingPoliciesPolicies">
        <link:definition>999031 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsTables" id="OrganizationAndNatureOfOperationsTables">
        <link:definition>999032 - Disclosure - Organization and Nature of Operations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesTables" id="SummaryOfSignificantAccountingPoliciesTables">
        <link:definition>999033 - Disclosure - Summary of Significant Accounting Policies  (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationTables" id="BusinessCombinationTables">
        <link:definition>999034 - Disclosure - Business Combination (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsTables" id="FairValueOfFinancialInstrumentsTables">
        <link:definition>999035 - Disclosure - Fair Value of Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InventoryTables" id="InventoryTables">
        <link:definition>999036 - Disclosure - Inventory (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetTables" id="PrepaymentsAndOtherCurrentAssetsNetTables">
        <link:definition>999037 - Disclosure - Prepayments and Other Current Assets, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetTables" id="PropertyPlantAndEquipmentNetTables">
        <link:definition>999038 - Disclosure - Property, Plant and Equipment, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetTables" id="IntangibleAssetsNetTables">
        <link:definition>999039 - Disclosure - Intangible Assets, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LandUseRightsNetTables" id="LandUseRightsNetTables">
        <link:definition>999040 - Disclosure - Land Use Rights, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetTables" id="InstallmentPaymentReceivablesNetTables">
        <link:definition>999041 - Disclosure - Installment Payment Receivables, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LongTermInvestmentsTables" id="LongTermInvestmentsTables">
        <link:definition>999042 - Disclosure - Long-Term Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssetsTables" id="OtherNonCurrentAssetsTables">
        <link:definition>999043 - Disclosure - Other Non-current Assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesTables" id="AccrualsAndOtherLiabilitiesTables">
        <link:definition>999044 - Disclosure - Accruals and Other Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BorrowingsTables" id="BorrowingsTables">
        <link:definition>999045 - Disclosure - Borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesTables" id="OtherNonCurrentLiabilitiesTables">
        <link:definition>999046 - Disclosure - Other Non-Current Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesTables" id="LeasesTables">
        <link:definition>999047 - Disclosure - Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RevenuesTables" id="RevenuesTables">
        <link:definition>999048 - Disclosure - Revenues (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/DeferredRevenueTables" id="DeferredRevenueTables">
        <link:definition>999049 - Disclosure - Deferred Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ShareBasedCompensationTables" id="ShareBasedCompensationTables">
        <link:definition>999050 - Disclosure - Share-based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationTables" id="TaxationTables">
        <link:definition>999051 - Disclosure - Taxation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LossPerShareTables" id="LossPerShareTables">
        <link:definition>999052 - Disclosure - Loss Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RelatedPartiesTables" id="RelatedPartiesTables">
        <link:definition>999053 - Disclosure - Related Parties (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesTables" id="CommitmentsAndContingenciesTables">
        <link:definition>999054 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyTables" id="CompanyFinancialStatementsParentCompanyOnlyTables">
        <link:definition>999055 - Disclosure - Company Financial Statements (Parent Company Only) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsAdditionalInformationDetail" id="OrganizationAndNatureOfOperationsAdditionalInformationDetail">
        <link:definition>999056 - Disclosure - Organization and Nature of Operations - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail" id="OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail">
        <link:definition>999057 - Disclosure - Organization and Nature of Operations - Summary of Company's Principal Subsidiaries and VIEs (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" id="SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail">
        <link:definition>999058 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail" id="SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail">
        <link:definition>999059 - Disclosure - Summary of Significant Accounting  Policies - Summary of Cash and Cash Equivalents (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail" id="SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail">
        <link:definition>999060 - Disclosure - Summary of Significant Accounting Policies - Summary of Account Receivable and Allowance for Credit Loss (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail" id="SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail">
        <link:definition>999061 - Disclosure - Summary of Significant Accounting Policies -Summary of Useful Lives of Property Plant and Equipment (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail" id="SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail">
        <link:definition>999062 - Disclosure - Summary of Significant Accounting Policies -Summary of Finite Lived Intangible Assets Useful Lives (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail" id="BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail">
        <link:definition>999063 - Disclosure - Business Combination - Summary of Business Acquistion Equity Intererests Issued or Issuable (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail" id="BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail">
        <link:definition>999064 - Disclosure - Business Combination - Summary of Business Acquistion Equity Intererests Issued or Issuable (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationAdditionalInformationDetail" id="BusinessCombinationAdditionalInformationDetail">
        <link:definition>999065 - Disclosure - Business Combination - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail" id="BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail">
        <link:definition>999066 - Disclosure - Business Combination - Summary of the Assets Acquired and Liabilities Assumed (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfProFormaFinancialInformationDetail" id="BusinessCombinationSummaryOfProFormaFinancialInformationDetail">
        <link:definition>999067 - Disclosure - Business Combination - Summary of Pro forma financial information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail" id="FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail">
        <link:definition>999068 - Disclosure - Fair Value of Financial Instruments - Summary of Fair Value of the Financial Instruments that are Measured at Fair Value on a Recurring Basis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InventorySummaryOfInventoryDetail" id="InventorySummaryOfInventoryDetail">
        <link:definition>999069 - Disclosure - Inventory - Summary of Inventory (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InventoryAdditionalInformationDetail" id="InventoryAdditionalInformationDetail">
        <link:definition>999070 - Disclosure - Inventory - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail" id="PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail">
        <link:definition>999071 - Disclosure - Prepayments and Other Current Assets, Net - Summary of Prepayments and Other Current Assets, Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail" id="PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail">
        <link:definition>999072 - Disclosure - Property, Plant and Equipment, Net - Summary of Property, Plant and Equipment, Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetAdditionalInformationDetail" id="PropertyPlantAndEquipmentNetAdditionalInformationDetail">
        <link:definition>999073 - Disclosure - Property, Plant and Equipment, Net - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail" id="IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail">
        <link:definition>999074 - Disclosure - Intangible Assets, Net - Schedule of Intangible Assets, Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetParentheticalDetail" id="IntangibleAssetsNetScheduleOfIntangibleAssetsNetParentheticalDetail">
        <link:definition>999075 - Disclosure - Intangible Assets, Net - Schedule of Intangible Assets, Net (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail" id="IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail">
        <link:definition>999076 - Disclosure - Intangible Assets, Net - Schedule of Finite-Lived Intangible Assets, Future Amortization Expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetAdditionalInformationDetail" id="IntangibleAssetsNetAdditionalInformationDetail">
        <link:definition>999077 - Disclosure - Intangible Assets, Net -  Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail" id="LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail">
        <link:definition>999078 - Disclosure - Land Use Rights, Net - Summary of Land Use Rights and Related Accumulated Amortization (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LandUseRightsNetAdditionalInformationDetail" id="LandUseRightsNetAdditionalInformationDetail">
        <link:definition>999079 - Disclosure - Land Use Rights, Net - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail" id="InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail">
        <link:definition>999080 - Disclosure - Installment Payment Receivables, Net - Summary of sales type lease net investment in lease before allowance or credit loss (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail" id="InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail">
        <link:definition>999081 - Disclosure - Installment Payment Receivables, Net - Schedule Of Installment Receivables With Significant Financing Component, Allowance For Credit Loss, Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetAdditionalInformationDetail" id="InstallmentPaymentReceivablesNetAdditionalInformationDetail">
        <link:definition>999082 - Disclosure - Installment Payment Receivables, Net - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail" id="InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail">
        <link:definition>999083 - Disclosure - Installment Payment Receivables, Net - Summary of Payment Maturity Analysis of Installment Payment Receivables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LongTermInvestmentsScheduleOfLongTermInvestmentsDetail" id="LongTermInvestmentsScheduleOfLongTermInvestmentsDetail">
        <link:definition>999084 - Disclosure - Long-Term Investments - Schedule of Long-term investments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LongTermInvestmentsAdditionalInformationDetail" id="LongTermInvestmentsAdditionalInformationDetail">
        <link:definition>999085 - Disclosure - Long-Term Investments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail" id="OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail">
        <link:definition>999086 - Disclosure - Other Non-current Assets - Summary of Other Non-current Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail" id="AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail">
        <link:definition>999087 - Disclosure - Accruals and Other Liabilities - Summary of Accruals and Other Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail" id="AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail">
        <link:definition>999088 - Disclosure - Accruals and Other Liabilities - Summary of Accruals and Other Current Liabilities (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfBorrowingsDetail" id="BorrowingsSummaryOfBorrowingsDetail">
        <link:definition>999089 - Disclosure - Borrowings - Summary of Borrowings (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BorrowingsAdditionalInformationDetail" id="BorrowingsAdditionalInformationDetail">
        <link:definition>999090 - Disclosure - Borrowings - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetail" id="BorrowingsSummaryOfLongTermBankLoansDetail">
        <link:definition>999091 - Disclosure - Borrowings - Summary of Long Term Bank Loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail" id="OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail">
        <link:definition>999092 - Disclosure - Other Non-Current Liabilities - Summary of Other Non-Current Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail" id="OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail">
        <link:definition>999093 - Disclosure - Other Non-Current Liabilities - Summary of Other Non-Current Liabilities (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfMovementsOfAccruedWarrantyDetail" id="OtherNonCurrentLiabilitiesSummaryOfMovementsOfAccruedWarrantyDetail">
        <link:definition>999094 - Disclosure - Other Non-Current Liabilities - Summary of Movements of Accrued Warranty (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" id="LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail">
        <link:definition>999095 - Disclosure - Leases - Schedule of Balance Sheet Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail" id="LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail">
        <link:definition>999096 - Disclosure - Leases - Summary of Components of Operating Lease Expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesScheduleOfOtherInformationRelatedToOperatingLeasesDetail" id="LeasesScheduleOfOtherInformationRelatedToOperatingLeasesDetail">
        <link:definition>999097 - Disclosure - Leases - Schedule of Other Information Related to Operating Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesSummaryOfCashFlowInformationRelatedToLeasesDetail" id="LeasesSummaryOfCashFlowInformationRelatedToLeasesDetail">
        <link:definition>999098 - Disclosure - Leases - Summary of Cash Flow Information Related to Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesSummaryOfMaturitiesOfTheGroupSOperatingLeaseLiabilitiesDetail" id="LeasesSummaryOfMaturitiesOfTheGroupSOperatingLeaseLiabilitiesDetail">
        <link:definition>999099 - Disclosure - Leases - Summary of  Maturities of The Group's Operating Lease Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail" id="LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail">
        <link:definition>999100 - Disclosure - Leases - Schedule Of Balance Sheet Information Of Lessor Related To Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail" id="LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail">
        <link:definition>999101 - Disclosure - Leases - Schedule Of Net Investment In sale Type Lease Receivable (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail" id="LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail">
        <link:definition>999102 - Disclosure - Leases - Sales Type And Direct Financing Leases Lease Receivable Maturity  (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LeasesAdditionalInformationDetail" id="LeasesAdditionalInformationDetail">
        <link:definition>999103 - Disclosure - Leases - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RevenuesSummaryOfRevenuesDetail" id="RevenuesSummaryOfRevenuesDetail">
        <link:definition>999104 - Disclosure - Revenues - Summary of Revenues (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/DeferredRevenueAdditionalInformationDetail" id="DeferredRevenueAdditionalInformationDetail">
        <link:definition>999105 - Disclosure - Deferred Revenue - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/DeferredRevenueDeferredRevenueDisclosureDetail" id="DeferredRevenueDeferredRevenueDisclosureDetail">
        <link:definition>999106 - Disclosure - Deferred Revenue - Deferred Revenue Disclosure (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail" id="ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail">
        <link:definition>999107 - Disclosure - Manufacturing in Collaboration with Haima Auto  - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/OrdinarySharesAdditionalInformationDetail" id="OrdinarySharesAdditionalInformationDetail">
        <link:definition>999108 - Disclosure - Ordinary Shares - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ShareBasedCompensationAdditionalInformationDetail" id="ShareBasedCompensationAdditionalInformationDetail">
        <link:definition>999109 - Disclosure - Share-based Compensation - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail" id="ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail">
        <link:definition>999110 - Disclosure - Share-based compensation - Summary of Restricted Stock and Restricted Stock Unit, Activity (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail" id="TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail">
        <link:definition>999111 - Disclosure - Taxation - Schedule of Loss Before Income Tax Expense (Benefits) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail" id="TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail">
        <link:definition>999112 - Disclosure - Taxation - Schedule of Components of Income Tax Expense (Benefit) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" id="TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail">
        <link:definition>999113 - Disclosure - Taxation - Summary of Reconciliations of the Income Tax Expenses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail" id="TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail">
        <link:definition>999114 - Disclosure - Taxation - Schedule of Cash Paid for Income Taxes Net of Refund (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail" id="TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail">
        <link:definition>999115 - Disclosure - Taxation - Summary of Components of Deferred Tax Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationSummaryOfMovementOfValuationAllowanceDetail" id="TaxationSummaryOfMovementOfValuationAllowanceDetail">
        <link:definition>999116 - Disclosure - Taxation - Summary of Movement of Valuation Allowance (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationSummaryOfTaxLossCarryforwardsDetail" id="TaxationSummaryOfTaxLossCarryforwardsDetail">
        <link:definition>999117 - Disclosure - Taxation - Summary of Tax Loss Carryforwards (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/TaxationAdditionalInformationDetail" id="TaxationAdditionalInformationDetail">
        <link:definition>999118 - Disclosure - Taxation - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail" id="LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail">
        <link:definition>999119 - Disclosure - Loss Per Share - Summary of Earnings Per Share, Basic and Diluted (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/LossPerShareAdditionalInformationDetail" id="LossPerShareAdditionalInformationDetail">
        <link:definition>999120 - Disclosure - Loss Per Share - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail" id="RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail">
        <link:definition>999121 - Disclosure - Related Parties - Summary of Related Parties and Nature of Relationship (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RelatedPartiesAdditionalInformationDetail" id="RelatedPartiesAdditionalInformationDetail">
        <link:definition>999122 - Disclosure - Related Parties - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail" id="CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail">
        <link:definition>999123 - Disclosure - Commitments and Contingencies - Summary of Capital Expenditures (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfPurchaseExpendituresDetail" id="CommitmentsAndContingenciesSummaryOfPurchaseExpendituresDetail">
        <link:definition>999124 - Disclosure - Commitments and Contingencies - Summary of Purchase Expenditures (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/RestrictedNetAssetsAdditionalInformationDetail" id="RestrictedNetAssetsAdditionalInformationDetail">
        <link:definition>999125 - Disclosure - Restricted Net Assets - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" id="CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail">
        <link:definition>999126 - Disclosure - Company Financial Statements (Parent Company Only) - Condensed Balance Sheets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail" id="CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail">
        <link:definition>999127 - Disclosure - Company Financial Statements (Parent Company Only) - Condensed Statements of Comprehensive Loss (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail" id="CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail">
        <link:definition>999128 - Disclosure - Company Financial Statements (Parent Company Only) - Consolidated Statement of Cash Flows (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/SubsequentEventsAdditionalInformationDetail" id="SubsequentEventsAdditionalInformationDetail">
        <link:definition>999129 - Disclosure - Subsequent Events - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CybersecurityRiskManagementAndStrategyDisclosure" id="CybersecurityRiskManagementAndStrategyDisclosure">
        <link:definition>999130 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetailAlternate1" id="CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetailAlternate1">
        <link:definition>1008 - Statement - Company Financial Statements (Parent Company Only) - Condensed Balance Sheets (Detail) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetailAlternate1" id="BorrowingsSummaryOfLongTermBankLoansDetailAlternate1">
        <link:definition>1009 - Statement - Borrowings - Summary of Long Term Bank Loans (Detail) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:linkbase id="lnk" >
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CoverPage" roleURI="http://www.xpenginc.com/role/CoverPage"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedBalanceSheets" roleURI="http://www.xpenginc.com/role/ConsolidatedBalanceSheets"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedBalanceSheetsParenthetical" roleURI="http://www.xpenginc.com/role/ConsolidatedBalanceSheetsParenthetical"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedStatementsOfComprehensiveLoss" roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedStatementsOfComprehensiveLossParenthetical" roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLossParenthetical"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedStatementsOfChangesInShareholdersEquity" roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConsolidatedStatementsOfCashFlows" roleURI="http://www.xpenginc.com/role/ConsolidatedStatementsOfCashFlows"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrganizationAndNatureOfOperations" roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperations"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPolicies" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RecentAccountingPronouncements" roleURI="http://www.xpenginc.com/role/RecentAccountingPronouncements"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ConcentrationAndRisks" roleURI="http://www.xpenginc.com/role/ConcentrationAndRisks"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombination" roleURI="http://www.xpenginc.com/role/BusinessCombination"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#FairValueOfFinancialInstruments" roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstruments"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#Inventory" roleURI="http://www.xpenginc.com/role/Inventory"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PrepaymentsAndOtherCurrentAssetsNet" roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNet"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PropertyPlantAndEquipmentNet" roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNet"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNet" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNet"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LandUseRightsNet" roleURI="http://www.xpenginc.com/role/LandUseRightsNet"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNet" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNet"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LongTermInvestments" roleURI="http://www.xpenginc.com/role/LongTermInvestments"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentAssets" roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssets"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#AccrualsAndOtherLiabilities" roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilities"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#Borrowings" roleURI="http://www.xpenginc.com/role/Borrowings"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentLiabilities" roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilities"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#Leases" roleURI="http://www.xpenginc.com/role/Leases"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#Revenues" roleURI="http://www.xpenginc.com/role/Revenues"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#DeferredRevenue" roleURI="http://www.xpenginc.com/role/DeferredRevenue"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ManufacturingInCollaborationWithHaimaAuto" roleURI="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAuto"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrdinaryShares" roleURI="http://www.xpenginc.com/role/OrdinaryShares"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ShareBasedCompensation" roleURI="http://www.xpenginc.com/role/ShareBasedCompensation"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#Taxation" roleURI="http://www.xpenginc.com/role/Taxation"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LossPerShare" roleURI="http://www.xpenginc.com/role/LossPerShare"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RelatedParties" roleURI="http://www.xpenginc.com/role/RelatedParties"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CommitmentsAndContingencies" roleURI="http://www.xpenginc.com/role/CommitmentsAndContingencies"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RestrictedNetAssets" roleURI="http://www.xpenginc.com/role/RestrictedNetAssets"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnly" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnly"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SubsequentEvents" roleURI="http://www.xpenginc.com/role/SubsequentEvents"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesPolicies"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrganizationAndNatureOfOperationsTables" roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesTables" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationTables" roleURI="http://www.xpenginc.com/role/BusinessCombinationTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#FairValueOfFinancialInstrumentsTables" roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InventoryTables" roleURI="http://www.xpenginc.com/role/InventoryTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PrepaymentsAndOtherCurrentAssetsNetTables" roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PropertyPlantAndEquipmentNetTables" roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNetTables" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LandUseRightsNetTables" roleURI="http://www.xpenginc.com/role/LandUseRightsNetTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNetTables" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LongTermInvestmentsTables" roleURI="http://www.xpenginc.com/role/LongTermInvestmentsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentAssetsTables" roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssetsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#AccrualsAndOtherLiabilitiesTables" roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BorrowingsTables" roleURI="http://www.xpenginc.com/role/BorrowingsTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentLiabilitiesTables" roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesTables" roleURI="http://www.xpenginc.com/role/LeasesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RevenuesTables" roleURI="http://www.xpenginc.com/role/RevenuesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#DeferredRevenueTables" roleURI="http://www.xpenginc.com/role/DeferredRevenueTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ShareBasedCompensationTables" roleURI="http://www.xpenginc.com/role/ShareBasedCompensationTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationTables" roleURI="http://www.xpenginc.com/role/TaxationTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LossPerShareTables" roleURI="http://www.xpenginc.com/role/LossPerShareTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RelatedPartiesTables" roleURI="http://www.xpenginc.com/role/RelatedPartiesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CommitmentsAndContingenciesTables" roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnlyTables" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyTables"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrganizationAndNatureOfOperationsAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail" roleURI="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail" roleURI="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail" roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail" roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/BusinessCombinationAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail" roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BusinessCombinationSummaryOfProFormaFinancialInformationDetail" roleURI="http://www.xpenginc.com/role/BusinessCombinationSummaryOfProFormaFinancialInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail" roleURI="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InventorySummaryOfInventoryDetail" roleURI="http://www.xpenginc.com/role/InventorySummaryOfInventoryDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InventoryAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/InventoryAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail" roleURI="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail" roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#PropertyPlantAndEquipmentNetAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNetScheduleOfIntangibleAssetsNetParentheticalDetail" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetParentheticalDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#IntangibleAssetsNetAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/IntangibleAssetsNetAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail" roleURI="http://www.xpenginc.com/role/LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LandUseRightsNetAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/LandUseRightsNetAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNetAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail" roleURI="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LongTermInvestmentsScheduleOfLongTermInvestmentsDetail" roleURI="http://www.xpenginc.com/role/LongTermInvestmentsScheduleOfLongTermInvestmentsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LongTermInvestmentsAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/LongTermInvestmentsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail" roleURI="http://www.xpenginc.com/role/OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail" roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail" roleURI="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BorrowingsSummaryOfBorrowingsDetail" roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfBorrowingsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BorrowingsAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/BorrowingsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BorrowingsSummaryOfLongTermBankLoansDetail" roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail" roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail" roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OtherNonCurrentLiabilitiesSummaryOfMovementsOfAccruedWarrantyDetail" roleURI="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfMovementsOfAccruedWarrantyDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" roleURI="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail" roleURI="http://www.xpenginc.com/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesScheduleOfOtherInformationRelatedToOperatingLeasesDetail" roleURI="http://www.xpenginc.com/role/LeasesScheduleOfOtherInformationRelatedToOperatingLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesSummaryOfCashFlowInformationRelatedToLeasesDetail" roleURI="http://www.xpenginc.com/role/LeasesSummaryOfCashFlowInformationRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesSummaryOfMaturitiesOfTheGroupSOperatingLeaseLiabilitiesDetail" roleURI="http://www.xpenginc.com/role/LeasesSummaryOfMaturitiesOfTheGroupSOperatingLeaseLiabilitiesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail" roleURI="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail" roleURI="http://www.xpenginc.com/role/LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail" roleURI="http://www.xpenginc.com/role/LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LeasesAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/LeasesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RevenuesSummaryOfRevenuesDetail" roleURI="http://www.xpenginc.com/role/RevenuesSummaryOfRevenuesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#DeferredRevenueAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/DeferredRevenueAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#DeferredRevenueDeferredRevenueDisclosureDetail" roleURI="http://www.xpenginc.com/role/DeferredRevenueDeferredRevenueDisclosureDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#OrdinarySharesAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/OrdinarySharesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ShareBasedCompensationAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/ShareBasedCompensationAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail" roleURI="http://www.xpenginc.com/role/ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail" roleURI="http://www.xpenginc.com/role/TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail" roleURI="http://www.xpenginc.com/role/TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" roleURI="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail" roleURI="http://www.xpenginc.com/role/TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail" roleURI="http://www.xpenginc.com/role/TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationSummaryOfMovementOfValuationAllowanceDetail" roleURI="http://www.xpenginc.com/role/TaxationSummaryOfMovementOfValuationAllowanceDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationSummaryOfTaxLossCarryforwardsDetail" roleURI="http://www.xpenginc.com/role/TaxationSummaryOfTaxLossCarryforwardsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#TaxationAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/TaxationAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail" roleURI="http://www.xpenginc.com/role/LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#LossPerShareAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/LossPerShareAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail" roleURI="http://www.xpenginc.com/role/RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RelatedPartiesAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/RelatedPartiesAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail" roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CommitmentsAndContingenciesSummaryOfPurchaseExpendituresDetail" roleURI="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfPurchaseExpendituresDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#RestrictedNetAssetsAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/RestrictedNetAssetsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#SubsequentEventsAdditionalInformationDetail" roleURI="http://www.xpenginc.com/role/SubsequentEventsAdditionalInformationDetail"  />
        <link:roleRef xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd#eedm" roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetailAlternate1" roleURI="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetailAlternate1"  />
        <link:roleRef xlink:type="simple" xlink:href="xpev-20251231.xsd#BorrowingsSummaryOfLongTermBankLoansDetailAlternate1" roleURI="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetailAlternate1"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel" roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel" roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel" roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedNetLabel" roleURI="http://www.xbrl.org/2009/role/negatedNetLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel"  />
        <link:roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel" roleURI="http://www.xbrl.org/2009/role/netLabel"  />
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CoverPage" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract" xlink:label="loc_dei_CoverAbstract_787729" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_787736" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_787729" xlink:to="loc_dei_DocumentInformationTable_787736" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_787737" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationTable_787736" xlink:to="loc_us-gaap_StatementClassOfStockAxis_787737" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_787738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_787737" xlink:to="loc_us-gaap_ClassOfStockDomain_787738" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_787740" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_us-gaap_CommonClassAMember_787740" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_787741" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_us-gaap_CommonClassBMember_787741" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AdrMember" xlink:label="loc_dei_AdrMember_788337" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_dei_AdrMember_788337" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesAddressTypeAxis" xlink:label="loc_dei_EntityAddressesAddressTypeAxis_787776" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationTable_787736" xlink:to="loc_dei_EntityAddressesAddressTypeAxis_787776" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="loc_dei_AddressTypeDomain_787777" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityAddressesAddressTypeAxis_787776" xlink:to="loc_dei_AddressTypeDomain_787777" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_BusinessContactMember" xlink:label="loc_dei_BusinessContactMember_787778" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_AddressTypeDomain_787777" xlink:to="loc_dei_BusinessContactMember_787778" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_787739" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationTable_787736" xlink:to="loc_dei_DocumentInformationLineItems_787739" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_787742" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentType_787742" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_787746" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AmendmentFlag_787746" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_787747" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentPeriodEndDate_787747" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_787748" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFiscalYearFocus_787748" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_787749" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFiscalPeriodFocus_787749" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_787750" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityRegistrantName_787750" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_787751" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCentralIndexKey_787751" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_787755" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CurrentFiscalYearEndDate_787755" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_787756" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_787756" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_787760" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityFilerCategory_787760" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany_787762" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityEmergingGrowthCompany_787762" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany_787759" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityShellCompany_787759" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport_787744" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentTransitionReport_787744" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport" xlink:label="loc_dei_DocumentAnnualReport_787743" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentAnnualReport_787743" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_787758" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCurrentReportingStatus_787758" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_787757" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityVoluntaryFilers_787757" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent_787745" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityInteractiveDataCurrent_787745" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber_787752" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityFileNumber_787752" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode_787753" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityIncorporationStateCountryCode_787753" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1_787764" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressAddressLine1_787764" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine2" xlink:label="loc_dei_EntityAddressAddressLine2_787811" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressAddressLine2_787811" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown_787765" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressCityOrTown_787765" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode_787768" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressPostalZipCode_787768" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCountry" xlink:label="loc_dei_EntityAddressCountry_787767" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressCountry_787767" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber_787770" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_LocalPhoneNumber_787770" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CountryRegion" xlink:label="loc_dei_CountryRegion_886347" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CountryRegion_886347" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode_787769" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CityAreaCode_787769" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelName" xlink:label="loc_dei_ContactPersonnelName_787782" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_ContactPersonnelName_787782" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelEmailAddress" xlink:label="loc_dei_ContactPersonnelEmailAddress_787784" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_ContactPersonnelEmailAddress_787784" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle_787771" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_Security12bTitle_787771" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_NoTradingSymbolFlag" xlink:label="loc_dei_NoTradingSymbolFlag_787772" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_NoTradingSymbolFlag_787772" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_787773" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_TradingSymbol_787773" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName_787774" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_SecurityExchangeName_787774" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_787775" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_787775" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentRegistrationStatement" xlink:label="loc_dei_DocumentRegistrationStatement_787780" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentRegistrationStatement_787780" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAccountingStandard" xlink:label="loc_dei_DocumentAccountingStandard_787781" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentAccountingStandard_787781" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag" xlink:label="loc_dei_IcfrAuditorAttestationFlag_867515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_IcfrAuditorAttestationFlag_867515" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorName" xlink:label="loc_dei_AuditorName_1368549" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorName_1368549" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorFirmId" xlink:label="loc_dei_AuditorFirmId_1368550" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorFirmId_1368550" use="optional" order="49" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorLocation" xlink:label="loc_dei_AuditorLocation_1368551" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorLocation_1368551" use="optional" order="50" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentShellCompanyReport" xlink:label="loc_dei_DocumentShellCompanyReport_1382560" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentShellCompanyReport_1382560" use="optional" order="51" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_1405339" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_1405339" use="optional" order="52" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_786002" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786008" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_786002" xlink:to="loc_us-gaap_StatementTable_786008" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786012" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786008" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786012" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786014" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786012" xlink:to="loc_us-gaap_ClassOfStockDomain_786014" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786031" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786014" xlink:to="loc_us-gaap_CommonClassAMember_786031" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786032" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786014" xlink:to="loc_us-gaap_CommonClassBMember_786032" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786035" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786008" xlink:to="loc_us-gaap_StatementLineItems_786035" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_786038" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786035" xlink:to="loc_us-gaap_AssetsAbstract_786038" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_786039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_AssetsCurrentAbstract_786039" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786040" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786040" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_786042" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_RestrictedCash_786042" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_863501" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_ShortTermDeposits_863501" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedDepositCurrent" xlink:label="loc_xpev_RestrictedDepositCurrent_1405823" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_RestrictedDepositCurrent_1405823" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_786043" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_ShortTermInvestments_786043" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405056" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_LongtermDepositsCurrent_1405056" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedLongTermDepositCurrent" xlink:label="loc_xpev_RestrictedLongTermDepositCurrent_1406002" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_RestrictedLongTermDepositCurrent_1406002" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_786045" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_786045" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xlink:label="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet_1368626" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet_1368626" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_786048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_InventoryNet_786048" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmountsDueFromRelatedParties" xlink:label="loc_xpev_AmountsDueFromRelatedParties_786050" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_AmountsDueFromRelatedParties_786050" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration_1405647" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration_1405647" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786051" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786051" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_786052" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_AssetsCurrent_786052" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_786053" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_786053" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsNonCurrent" xlink:label="loc_xpev_LongTermDepositsNonCurrent_1405320" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_LongTermDepositsNonCurrent_1405320" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndInvestmentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent_1405340" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent_1405340" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_786054" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_786054" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_786055" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_786055" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_786057" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_786057" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightAsset" xlink:label="loc_xpev_LandUseRightAsset_786059" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_LandUseRightAsset_786059" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesNet" xlink:label="loc_xpev_InstallmentPaymentReceivablesNet_1368635" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_InstallmentPaymentReceivablesNet_1368635" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_863503" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_LongTermInvestments_863503" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_786062" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_786062" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent_786063" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_AssetsNoncurrent_786063" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_786064" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_Assets_786064" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_786068" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786035" xlink:to="loc_us-gaap_LiabilitiesAbstract_786068" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_786070" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_786070" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_786072" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_ShortTermBorrowings_786072" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_786073" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccountsPayableCurrent_786073" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_xpev_NotesPayableCurrentLiabilities_1406003" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_xpev_NotesPayableCurrentLiabilities_1406003" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_786074" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_786074" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_863504" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_863504" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_1406004" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_1406004" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration_1405650" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration_1405650" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_786075" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_786075" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405154" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_786077" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_DeferredRevenueCurrent_786077" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_786078" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_LongTermDebtCurrent_786078" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_786080" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_786080" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_786081" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_LiabilitiesCurrent_786081" use="optional" order="49" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" use="optional" order="50" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_786086" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_786086" use="optional" order="51" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_786087" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_786087" use="optional" order="52" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405155" use="optional" order="53" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_786088" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_786088" use="optional" order="54" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786089" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786089" use="optional" order="55" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1405341" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1405341" use="optional" order="56" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_786090" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_786090" use="optional" order="57" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_786091" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_786091" use="optional" order="58" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_786092" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_Liabilities_786092" use="optional" order="59" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_1405682" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_CommitmentsAndContingencies_1405682" use="optional" order="60" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_786097" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_StockholdersEquityAbstract_786097" use="optional" order="61" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_786098" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_CommonStockValue_786098" use="optional" order="62" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_786099" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_AdditionalPaidInCapital_786099" use="optional" order="63" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReserve" xlink:label="loc_xpev_StatutoryReserve_1368652" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_xpev_StatutoryReserve_1368652" use="optional" order="64" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786111" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786111" use="optional" order="65" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786100" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786100" use="optional" order="66" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786101" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_StockholdersEquity_786101" use="optional" order="67" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_786107" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_786107" use="optional" order="68" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheetsParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_786204" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786208" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_786204" xlink:to="loc_us-gaap_StatementTable_786208" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786212" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786208" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786212" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786213" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786212" xlink:to="loc_us-gaap_ClassOfStockDomain_786213" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786224" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786213" xlink:to="loc_us-gaap_CommonClassAMember_786224" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786225" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786213" xlink:to="loc_us-gaap_CommonClassBMember_786225" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786208" xlink:to="loc_us-gaap_StatementLineItems_786227" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_786245" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_786245" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_786246" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_786246" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_786247" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesIssued_786247" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_786248" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_786248" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_785989" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_785991" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_785989" xlink:to="loc_us-gaap_StatementTable_785991" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_785995" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_785991" xlink:to="loc_srt_ProductOrServiceAxis_785995" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_785996" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_785995" xlink:to="loc_srt_ProductsAndServicesDomain_785996" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehicleMember" xlink:label="loc_xpev_VehicleMember_785998" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_785996" xlink:to="loc_xpev_VehicleMember_785998" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember_785999" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_785996" xlink:to="loc_us-gaap_ServiceOtherMember_785999" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_785994" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_785991" xlink:to="loc_us-gaap_StatementLineItems_785994" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_786000" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_RevenuesAbstract_786000" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_786001" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenuesAbstract_786000" xlink:to="loc_us-gaap_Revenues_786001" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="loc_us-gaap_CostOfRevenueAbstract_786004" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_CostOfRevenueAbstract_786004" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_786005" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CostOfRevenueAbstract_786004" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_786005" use="optional" order="10" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_786006" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_GrossProfit_786006" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_786007" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OperatingExpensesAbstract_786007" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_786009" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_786009" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786011" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786011" use="optional" order="14" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingOtherIncome" xlink:label="loc_xpev_OperatingOtherIncome_786015" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_xpev_OperatingOtherIncome_786015" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xlink:label="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration_1405344" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration_1405344" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_786013" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_OperatingExpenses_786013" use="optional" order="17" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_786016" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OperatingIncomeLoss_786016" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_786018" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_InvestmentIncomeInterest_786018" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_786020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_InterestExpense_786020" use="optional" order="20" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786021" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1368696" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1368696" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405162" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_786023" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_786023" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786024" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786024" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_786026" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_786026" use="optional" order="26" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405164" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786028" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_NetIncomeLoss_786028" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786046" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786046" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786058" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786058" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_786061" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_786061" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786065" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786065" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405170" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405171" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1405168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_EarningsPerShareBasic_1405168" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1405169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1405169" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLossParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_786117" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786119" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract_786117" xlink:to="loc_us-gaap_StatementTable_786119" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_786123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786119" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_786123" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786123" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786124" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_1405167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_CostOfSalesMember_1405167" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_786127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_786127" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_786125" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_786125" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786119" xlink:to="loc_us-gaap_StatementLineItems_786122" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_786128" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786122" xlink:to="loc_us-gaap_ShareBasedCompensation_786128" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract_786157" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract_786157" xlink:to="loc_us-gaap_StatementTable_786160" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_786165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_786165" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_786166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_786165" xlink:to="loc_us-gaap_EquityComponentDomain_786166" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_786167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_CommonStockMember_786167" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_786168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_TreasuryStockCommonMember_786168" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_786169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_786169" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesMember" xlink:label="loc_xpev_StatutoryReservesMember_1368747" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_xpev_StatutoryReservesMember_1368747" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_786170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_786170" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_786171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_RetainedEarningsMember_786171" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405350" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_dei_LegalEntityAxis_1405350" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405351" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_1405350" xlink:to="loc_dei_EntityDomain_1405351" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidisSmartAutoBusinessMember" xlink:label="loc_xpev_DidisSmartAutoBusinessMember_1405352" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405351" xlink:to="loc_xpev_DidisSmartAutoBusinessMember_1405352" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_us-gaap_StatementLineItems_786163" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockholdersEquity_786172" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_786174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_SharesOutstanding_786174" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1405926" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1405926" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_786228" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_786228" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_786177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_786177" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786178" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock_1368750" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock_1368750" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodValueTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock_1368751" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock_1368751" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus_1405182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus_1405182" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus_1405183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus_1405183" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits_863537" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits_863537" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405346" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405346" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_1405345" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_1405345" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xlink:label="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition_1405349" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition_1405349" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786183" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_NetIncomeLoss_786185" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationToStatutoryReserves" xlink:label="loc_xpev_AppropriationToStatutoryReserves_1368766" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_AppropriationToStatutoryReserves_1368766" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockholdersEquity_786173" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_786175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_SharesOutstanding_786175" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1405927" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1405927" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract_786251" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786253" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_786251" xlink:to="loc_us-gaap_StatementTable_786253" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786256" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementTable_786253" xlink:to="loc_us-gaap_StatementLineItems_786256" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786259" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_NetIncomeLoss_786259" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_786268" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_Depreciation_786268" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_786270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_786270" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_786272" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_786272" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRight" xlink:label="loc_xpev_AmortizationOfLandUseRight_786273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_AmortizationOfLandUseRight_786273" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_786274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_786274" use="optional" order="10" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_1405354" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_1405354" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TangibleAssetImpairmentCharges" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges_786276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges_786276" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_1405185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_1405185" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xlink:label="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable_1368837" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable_1368837" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables_1368838" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables_1368838" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets_1368839" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets_1368839" use="optional" order="16" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_786279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_InventoryWriteDown_786279" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_786345" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_786345" use="optional" order="18" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeInterest" xlink:label="loc_xpev_IncomeInterest_786280" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_IncomeInterest_786280" use="optional" order="19" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_786275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ShareBasedCompensation_786275" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786281" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786281" use="optional" order="21" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1368840" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1368840" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405355" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405355" use="optional" order="23" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405186" use="optional" order="24" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_786283" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_786283" use="optional" order="26" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_786284" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_786284" use="optional" order="27" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_786285" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_786285" use="optional" order="28" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_786286" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_786286" use="optional" order="29" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_786287" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_786287" use="optional" order="30" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_786288" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_786288" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInNotesPayableCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent_1406079" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent_1406079" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_1405357" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_1405357" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_786289" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_786289" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_1405187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_1405187" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_786291" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_786291" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_786292" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_786292" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xlink:label="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables_1368845" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables_1368845" use="optional" order="38" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_786294" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_786294" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_863838" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_863838" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786295" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786295" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1368847" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1368847" use="optional" order="43" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromShortTermInvestments" xlink:label="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments_786299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments_786299" use="optional" order="44" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsMaturitiesOfLongtermDeposits" xlink:label="loc_xpev_PlacementsMaturitiesOfLongtermDeposits_1405865" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsMaturitiesOfLongtermDeposits_1405865" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedShorttermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedShorttermDeposits_1405866" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsOfRestrictedShorttermDeposits_1405866" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405867" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405867" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedLongtermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedLongtermDeposits_1405868" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsOfRestrictedLongtermDeposits_1405868" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_786300" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_786300" use="optional" order="49" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xlink:label="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets_786301" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets_786301" use="optional" order="50" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_1405870" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_1405870" use="optional" order="51" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1405869" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1405869" use="optional" order="52" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireLandHeld" xlink:label="loc_xpev_PaymentsToAcquireLandHeld_786303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsToAcquireLandHeld_786303" use="optional" order="53" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_863839" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_863839" use="optional" order="54" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments_863841" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireLongtermInvestments_863841" use="optional" order="55" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_1405358" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_1405358" use="optional" order="56" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_1405359" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_1405359" use="optional" order="57" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes_1406005" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes_1406005" use="optional" order="58" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes_1406006" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes_1406006" use="optional" order="59" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786306" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786306" use="optional" order="60" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" use="optional" order="61" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xlink:label="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup_1405360" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup_1405360" use="optional" order="62" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_786310" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_786310" use="optional" order="63" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_786315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_RepaymentsOfDebt_786315" use="optional" order="64" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfRelatedPartyDebt" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt_786319" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_RepaymentsOfRelatedPartyDebt_786319" use="optional" order="65" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentOfDebtFromThirdPartyInvestors" xlink:label="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors_1405189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors_1405189" use="optional" order="66" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentsOfFinanceLeaseLiabilities" xlink:label="loc_xpev_RepaymentsOfFinanceLeaseLiabilities_1405190" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_RepaymentsOfFinanceLeaseLiabilities_1405190" use="optional" order="67" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786323" use="optional" order="68" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_786325" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_786325" use="optional" order="69" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786328" use="optional" order="70" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786332" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786332" use="optional" order="71" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786334" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786334" use="optional" order="72" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" use="optional" order="73" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_786337" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_InterestPaidNet_786337" use="optional" order="74" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_1405762" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_1405762" use="optional" order="75" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_786338" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_786338" use="optional" order="76" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInBusinessCombination" xlink:label="loc_xpev_CashAcquiredInBusinessCombination_1405365" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_xpev_CashAcquiredInBusinessCombination_1405365" use="optional" order="77" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferred" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred_1405363" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferred_1405363" use="optional" order="78" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInAssetAcquisition" xlink:label="loc_xpev_CashAcquiredInAssetAcquisition_1405366" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_xpev_CashAcquiredInAssetAcquisition_1405366" use="optional" order="79" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" use="optional" order="80" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405361" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405361" use="optional" order="81" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInAcquisition" xlink:label="loc_xpev_FairValueOfContingentConsiderationInAcquisition_1405763" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" xlink:to="loc_xpev_FairValueOfContingentConsiderationInAcquisition_1405763" use="optional" order="82" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperations" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786586" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NatureOfOperations" xlink:label="loc_us-gaap_NatureOfOperations_786587" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786586" xlink:to="loc_us-gaap_NatureOfOperations_786587" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786367" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SignificantAccountingPoliciesTextBlock" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock_786368" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786367" xlink:to="loc_us-gaap_SignificantAccountingPoliciesTextBlock_786368" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RecentAccountingPronouncements" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786361" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_786362" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786361" xlink:to="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock_786362" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConcentrationAndRisks" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConcentrationRiskAbstract" xlink:label="loc_xpev_ConcentrationRiskAbstract_786354" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:label="loc_us-gaap_ConcentrationRiskDisclosureTextBlock_786355" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ConcentrationRiskAbstract_786354" xlink:to="loc_us-gaap_ConcentrationRiskDisclosureTextBlock_786355" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombination" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405390" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationDisclosureTextBlock" xlink:label="loc_us-gaap_BusinessCombinationDisclosureTextBlock_1405391" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405390" xlink:to="loc_us-gaap_BusinessCombinationDisclosureTextBlock_1405391" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/FairValueOfFinancialInstruments" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_786358" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock_786359" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_786358" xlink:to="loc_us-gaap_FairValueDisclosuresTextBlock_786359" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/Inventory" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="loc_us-gaap_InventoryDisclosureAbstract_786340" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureTextBlock" xlink:label="loc_us-gaap_InventoryDisclosureTextBlock_786341" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786340" xlink:to="loc_us-gaap_InventoryDisclosureTextBlock_786341" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNet" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786312" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xlink:label="loc_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock_786313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786312" xlink:to="loc_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock_786313" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNet" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786468" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_786470" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786468" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_786470" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNet" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787417" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_IntangibleAssetsDisclosureTextBlock_787418" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787417" xlink:to="loc_us-gaap_IntangibleAssetsDisclosureTextBlock_787418" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNet" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandAndLandImprovementsAbstract" xlink:label="loc_us-gaap_LandAndLandImprovementsAbstract_787308" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsTextBlock" xlink:label="loc_xpev_LandUseRightsTextBlock_787309" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LandAndLandImprovementsAbstract_787308" xlink:to="loc_xpev_LandUseRightsTextBlock_787309" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNet" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369170" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock_1369171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369170" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock_1369171" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestments" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestmentsAbstract" xlink:label="loc_us-gaap_LongTermInvestmentsAbstract_1373159" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTextBlock" xlink:label="loc_us-gaap_InvestmentTextBlock_1373161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermInvestmentsAbstract_1373159" xlink:to="loc_us-gaap_InvestmentTextBlock_1373161" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentAssets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrentAbstract" xlink:label="loc_us-gaap_OtherAssetsNoncurrentAbstract_787419" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_OtherAssetsDisclosureTextBlock_787421" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787419" xlink:to="loc_us-gaap_OtherAssetsDisclosureTextBlock_787421" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilities" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787476" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:label="loc_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_787478" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787476" xlink:to="loc_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_787478" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/Borrowings" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_787559" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="loc_us-gaap_DebtDisclosureTextBlock_787561" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787559" xlink:to="loc_us-gaap_DebtDisclosureTextBlock_787561" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilities" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787094" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xlink:label="loc_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock_787096" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787094" xlink:to="loc_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock_787096" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/Leases" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesDisclosureAbstract" xlink:label="loc_xpev_LeasesDisclosureAbstract_787245" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesDisclosureTextBlock" xlink:label="loc_xpev_LeasesDisclosureTextBlock_787954" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_LeasesDisclosureAbstract_787245" xlink:to="loc_xpev_LeasesDisclosureTextBlock_787954" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/Revenues" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerAbstract" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerAbstract_787230" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerTextBlock_787231" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerAbstract_787230" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerTextBlock_787231" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/DeferredRevenue" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueDisclosureAbstract" xlink:label="loc_us-gaap_DeferredRevenueDisclosureAbstract_787153" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredRevenueTextBlock" xlink:label="loc_xpev_DeferredRevenueTextBlock_787154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787153" xlink:to="loc_xpev_DeferredRevenueTextBlock_787154" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAuto" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_787089" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementDisclosureTextBlock" xlink:label="loc_us-gaap_CollaborativeArrangementDisclosureTextBlock_787090" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_787089" xlink:to="loc_us-gaap_CollaborativeArrangementDisclosureTextBlock_787090" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrdinaryShares" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="loc_us-gaap_StockholdersEquityNoteAbstract_786583" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:label="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_786584" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityNoteAbstract_786583" xlink:to="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_786584" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensation" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_786913" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_786914" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_786913" xlink:to="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_786914" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/Taxation" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_787070" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock_787071" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787070" xlink:to="loc_us-gaap_IncomeTaxDisclosureTextBlock_787071" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShare" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_787030" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_787031" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787030" xlink:to="loc_us-gaap_EarningsPerShareTextBlock_787031" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedParties" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_786960" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:label="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_786962" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_786960" xlink:to="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_786962" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CommitmentsAndContingencies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_786894" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_786895" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_786894" xlink:to="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_786895" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RestrictedNetAssets" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsAbstract" xlink:label="loc_xpev_RestrictedNetAssetsAbstract_885799" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_RestrictedAssetsDisclosureTextBlock_885800" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsAbstract_885799" xlink:to="loc_us-gaap_RestrictedAssetsDisclosureTextBlock_885800" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnly" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786765" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsTextBlock" xlink:label="loc_srt_CondensedFinancialStatementsTextBlock_786766" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786765" xlink:to="loc_srt_CondensedFinancialStatementsTextBlock_786766" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SubsequentEvents" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="loc_us-gaap_SubsequentEventsAbstract_786831" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="loc_us-gaap_SubsequentEventsTextBlock_786833" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventsAbstract_786831" xlink:to="loc_us-gaap_SubsequentEventsTextBlock_786833" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesPolicies" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786370" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_786371" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_786371" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsolidationPolicyTextBlock" xlink:label="loc_us-gaap_ConsolidationPolicyTextBlock_786372" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ConsolidationPolicyTextBlock_786372" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseOfEstimates" xlink:label="loc_us-gaap_UseOfEstimates_786373" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_UseOfEstimates_786373" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" xlink:label="loc_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock_786374" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock_786374" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xlink:label="loc_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock_1405502" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock_1405502" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:label="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_786375" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_786375" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:label="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock_786376" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock_786376" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xlink:label="loc_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy_786377" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy_786377" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xlink:label="loc_xpev_ShortTermAndLongTermDepositsPolicyTextBlock_1375434" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_ShortTermAndLongTermDepositsPolicyTextBlock_1375434" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" xlink:label="loc_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock_1405925" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock_1405925" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentPolicyTextBlock" xlink:label="loc_us-gaap_InvestmentPolicyTextBlock_786379" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_InvestmentPolicyTextBlock_786379" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryPolicyTextBlock" xlink:label="loc_us-gaap_InventoryPolicyTextBlock_786380" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_InventoryPolicyTextBlock_786380" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_786382" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_786382" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_786383" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_786383" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsPolicyTextBlock" xlink:label="loc_xpev_LandUseRightsPolicyTextBlock_786384" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_LandUseRightsPolicyTextBlock_786384" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsPolicyTextBlock" xlink:label="loc_xpev_LongTermInvestmentsPolicyTextBlock_1375455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_LongTermInvestmentsPolicyTextBlock_1375455" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" xlink:label="loc_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock_786385" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock_786385" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WarrantiesPolicyTextBlock" xlink:label="loc_xpev_WarrantiesPolicyTextBlock_786386" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_WarrantiesPolicyTextBlock_786386" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRecognitionPolicyTextBlock" xlink:label="loc_us-gaap_RevenueRecognitionPolicyTextBlock_786388" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_RevenueRecognitionPolicyTextBlock_786388" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesPolicyTextBlock" xlink:label="loc_us-gaap_CostOfSalesPolicyTextBlock_786389" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_CostOfSalesPolicyTextBlock_786389" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpensePolicy" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpensePolicy_786390" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpensePolicy_786390" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_786391" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_786391" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementPlansPolicy" xlink:label="loc_us-gaap_PensionAndOtherPostretirementPlansPolicy_786392" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_PensionAndOtherPostretirementPlansPolicy_786392" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xlink:label="loc_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock_786393" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock_786393" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherIncomeNetPolicyTextBlock" xlink:label="loc_xpev_OtherIncomeNetPolicyTextBlock_1375498" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_OtherIncomeNetPolicyTextBlock_1375498" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPolicyTextBlock" xlink:label="loc_us-gaap_IncomeTaxPolicyTextBlock_786394" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_IncomeTaxPolicyTextBlock_786394" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:label="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_786395" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_786395" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesPolicyTextBlock" xlink:label="loc_xpev_StatutoryReservesPolicyTextBlock_786396" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_StatutoryReservesPolicyTextBlock_786396" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:label="loc_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_786397" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_786397" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesLessorAndLesseePolicyTextBlock" xlink:label="loc_xpev_LeasesLessorAndLesseePolicyTextBlock_786398" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_LeasesLessorAndLesseePolicyTextBlock_786398" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountspayablePolicyTextBlock" xlink:label="loc_xpev_AccountspayablePolicyTextBlock_1405991" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_AccountspayablePolicyTextBlock_1405991" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotespayablePolicyTextBlock" xlink:label="loc_xpev_NotespayablePolicyTextBlock_1405993" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_NotespayablePolicyTextBlock_1405993" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DividendDeclaredAndPaidPolicyTextBlock" xlink:label="loc_xpev_DividendDeclaredAndPaidPolicyTextBlock_786402" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_xpev_DividendDeclaredAndPaidPolicyTextBlock_786402" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerSharePolicyTextBlock" xlink:label="loc_us-gaap_EarningsPerSharePolicyTextBlock_786399" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_EarningsPerSharePolicyTextBlock_786399" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock_786400" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786370" xlink:to="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock_786400" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786589" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xlink:label="loc_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock_786590" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786589" xlink:to="loc_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock_786590" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786407" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock_786411" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786407" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock_786411" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" xlink:label="loc_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock_786413" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786407" xlink:to="loc_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock_786413" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xlink:label="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock_786439" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786407" xlink:to="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock_786439" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock_786418" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786407" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock_786418" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405393" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock_1405396" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405393" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock_1405396" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_1405394" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405393" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_1405394" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_1405488" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405393" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock_1405488" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsTables" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract_786364" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock_786365" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract_786364" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock_786365" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InventoryTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="loc_us-gaap_InventoryDisclosureAbstract_786343" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_786344" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786343" xlink:to="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_786344" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786318" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xlink:label="loc_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock_786320" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786318" xlink:to="loc_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock_786320" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786473" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_786476" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786473" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_786476" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787420" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_787422" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787420" xlink:to="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_787422" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:label="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock_787423" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787420" xlink:to="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock_787423" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandAndLandImprovementsAbstract" xlink:label="loc_us-gaap_LandAndLandImprovementsAbstract_787313" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock_787315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LandAndLandImprovementsAbstract_787313" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock_787315" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetTables" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369173" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xlink:label="loc_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock_1406192" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369173" xlink:to="loc_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock_1406192" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet_1406125" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369173" xlink:to="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet_1406125" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity_1406126" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369173" xlink:to="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity_1406126" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestmentsTables" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsAbstract" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsAbstract_1373177" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTableTextBlock" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTableTextBlock_1373180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsAbstract_1373177" xlink:to="loc_xpev_ScheduleOfLongterminvestmentsTableTextBlock_1373180" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentAssetsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrentAbstract" xlink:label="loc_us-gaap_OtherAssetsNoncurrentAbstract_787440" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xlink:label="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_787931" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787440" xlink:to="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_787931" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787497" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock_787499" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787497" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock_787499" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_787576" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDebtTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDebtTableTextBlock_787577" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787576" xlink:to="loc_us-gaap_ScheduleOfDebtTableTextBlock_787577" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xlink:label="loc_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock_1405845" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787576" xlink:to="loc_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock_1405845" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787104" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_787105" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787104" xlink:to="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_787105" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_787106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787104" xlink:to="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_787106" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_787377" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock_1405234" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock_1405234" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCostTableTextBlock" xlink:label="loc_us-gaap_LeaseCostTableTextBlock_787956" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_us-gaap_LeaseCostTableTextBlock_787956" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock_787957" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock_787957" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock_787958" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock_787958" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_787959" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock_787959" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock_1405590" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock_1405590" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xlink:label="loc_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock_1405591" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock_1405591" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock_1405592" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787377" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock_1405592" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RevenuesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueAbstract" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_787233" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTableTextBlock" xlink:label="loc_us-gaap_DisaggregationOfRevenueTableTextBlock_787234" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_787233" xlink:to="loc_us-gaap_DisaggregationOfRevenueTableTextBlock_787234" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/DeferredRevenueTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueDisclosureAbstract" xlink:label="loc_us-gaap_DeferredRevenueDisclosureAbstract_787156" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" xlink:label="loc_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock_787157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787156" xlink:to="loc_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock_787157" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract_786916" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationTable" xlink:label="loc_xpev_SharebasedCompensationTable_863865" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786916" xlink:to="loc_xpev_SharebasedCompensationTable_863865" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_863866" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SharebasedCompensationTable_863865" xlink:to="loc_us-gaap_AwardTypeAxis_863866" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_863866" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareBasedCompensationLineItems" xlink:label="loc_xpev_ShareBasedCompensationLineItems_863870" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SharebasedCompensationTable_863865" xlink:to="loc_xpev_ShareBasedCompensationLineItems_863870" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_863861" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ShareBasedCompensationLineItems_863870" xlink:to="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_863861" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock_1406028" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock_1406028" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_1406029" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_1406029" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_787075" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_787075" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock_1406093" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock_1406093" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_787076" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_787076" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SummaryOfValuationAllowanceTextBlock" xlink:label="loc_us-gaap_SummaryOfValuationAllowanceTextBlock_787077" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_SummaryOfValuationAllowanceTextBlock_787077" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" xlink:label="loc_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock_787078" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787073" xlink:to="loc_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock_787078" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShareTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_787033" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_787034" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787033" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_787034" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_786964" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_786964" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_1405832" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_1405832" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_1405833" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1405832" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_1405833" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonTradeInNatureMember" xlink:label="loc_xpev_NonTradeInNatureMember_1405834" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_NonTradeInNatureMember_1405834" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TradeInNatureMember" xlink:label="loc_xpev_TradeInNatureMember_1405838" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_TradeInNatureMember_1405838" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ReceivablesInNatureMember" xlink:label="loc_xpev_ReceivablesInNatureMember_1405839" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_ReceivablesInNatureMember_1405839" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayablesInNatureMember" xlink:label="loc_xpev_PayablesInNatureMember_1405840" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_PayablesInNatureMember_1405840" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentCommitmentInNatureMember" xlink:label="loc_xpev_InvestmentCommitmentInNatureMember_1405841" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_InvestmentCommitmentInNatureMember_1405841" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" xlink:to="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xlink:label="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock_786965" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" xlink:to="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock_786965" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_786967" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_786967" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CommitmentsAndContingenciesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract_786897" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTextBlock" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTextBlock_786898" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786897" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTextBlock_786898" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock_786899" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786897" xlink:to="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock_786899" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract_786768" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedBalanceSheetTableTextBlock" xlink:label="loc_srt_ScheduleOfCondensedBalanceSheetTableTextBlock_786769" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786768" xlink:to="loc_srt_ScheduleOfCondensedBalanceSheetTableTextBlock_786769" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" xlink:label="loc_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock_786770" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786768" xlink:to="loc_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock_786770" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" xlink:label="loc_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock_786771" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TextBlockAbstract_786768" xlink:to="loc_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock_786771" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786676" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786676" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786680" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786680" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786681" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786680" xlink:to="loc_us-gaap_ClassOfStockDomain_786681" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786690" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" xlink:to="loc_us-gaap_RelatedPartyDomain_786690" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786692" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_dei_LegalEntityAxis_786692" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786693" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_786692" xlink:to="loc_dei_EntityDomain_786693" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_786698" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_786698" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_786699" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_786698" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_786699" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebtMember" xlink:label="loc_us-gaap_UnsecuredDebtMember_786700" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_786699" xlink:to="loc_us-gaap_UnsecuredDebtMember_786700" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_786701" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_786701" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_786702" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_786701" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_786702" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IPOMember" xlink:label="loc_us-gaap_IPOMember_885827" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" xlink:to="loc_us-gaap_IPOMember_885827" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PublicOfferingMember" xlink:label="loc_xpev_PublicOfferingMember_890865" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" xlink:to="loc_xpev_PublicOfferingMember_890865" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1375146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1375146" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1375146" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XintuTechnologyMember" xlink:label="loc_xpev_XintuTechnologyMember_1375148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XintuTechnologyMember_1375148" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KuntuTechnologyMember" xlink:label="loc_xpev_KuntuTechnologyMember_1375149" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_KuntuTechnologyMember_1375149" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengTechnologyMember" xlink:label="loc_xpev_XiaopengTechnologyMember_1375150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XiaopengTechnologyMember_1375150" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengSmartMobilityMember" xlink:label="loc_xpev_XiaopengSmartMobilityMember_1375153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XiaopengSmartMobilityMember_1375153" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GlobalOfferingOnHkexMember" xlink:label="loc_xpev_GlobalOfferingOnHkexMember_1375155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_GlobalOfferingOnHkexMember_1375155" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405207" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405207" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405305" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405305" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786709" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_NetIncomeLoss_786709" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786710" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786710" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786711" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786711" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786713" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786713" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_885831" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_885831" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromFONetOfIssuanceCost" xlink:label="loc_xpev_ProceedsFromFONetOfIssuanceCost_891070" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_xpev_ProceedsFromFONetOfIssuanceCost_891070" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1375145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1375145" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xlink:label="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions_1375192" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions_1375192" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1405084" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1405084" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_1405377" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_1405377" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786592" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786592" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786594" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_dei_LegalEntityAxis_786594" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786595" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_786594" xlink:to="loc_dei_EntityDomain_786595" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xlink:label="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember_1405372" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember_1405372" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember_786599" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember_786599" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember_786600" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember_786600" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember_885863" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember_885863" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember_1405068" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember_1405068" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember_1405374" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember_1405374" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xlink:label="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember_1406013" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember_1406013" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember_862590" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember_862590" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember_786601" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember_786601" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xlink:label="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember_1405335" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember_1405335" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xlink:label="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember_1405071" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember_1405071" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xlink:label="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember_1405375" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember_1405375" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xlink:label="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member_1375305" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member_1375305" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xlink:label="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember_1405801" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember_1405801" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengHuitianHoldingLimitedMember" xlink:label="loc_xpev_XpengHuitianHoldingLimitedMember_1405074" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpengHuitianHoldingLimitedMember_1405074" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixIncMember" xlink:label="loc_xpev_DogotixIncMember_1405376" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_DogotixIncMember_1405376" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpenghongKongLimitedMember" xlink:label="loc_xpev_XpenghongKongLimitedMember_885872" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpenghongKongLimitedMember_885872" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xlink:label="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember_786624" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember_786624" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xlink:label="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember_786625" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember_786625" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xlink:label="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember_1375283" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember_1375283" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xlink:label="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember_1405077" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember_1405077" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xlink:label="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember_1405078" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember_1405078" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" xlink:label="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember_1405989" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember_1405989" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengEuropeanHoldingBvMember" xlink:label="loc_xpev_XpengEuropeanHoldingBvMember_1406014" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpengEuropeanHoldingBvMember_1406014" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_786613" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_srt_StatementGeographicalAxis_786613" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786614" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_786613" xlink:to="loc_srt_SegmentGeographicalDomain_786614" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_786616" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_CN_786616" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_VG" xlink:label="loc_country_VG_1405076" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_VG_1405076" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK" xlink:label="loc_country_HK_885866" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_HK_885866" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NL" xlink:label="loc_country_NL_1406015" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_NL_1406015" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405302" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405302" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VariableInterestEntityVieActivitiesMember" xlink:label="loc_xpev_VariableInterestEntityVieActivitiesMember_1405303" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405302" xlink:to="loc_xpev_VariableInterestEntityVieActivitiesMember_1405303" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationDateOfIncorporation" xlink:label="loc_dei_EntityIncorporationDateOfIncorporation_1405057" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_dei_EntityIncorporationDateOfIncorporation_1405057" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_786619" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_786619" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xlink:label="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities_786620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities_786620" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xlink:label="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1_786621" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1_786621" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xlink:label="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE_786623" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE_786623" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786488" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesTable" xlink:label="loc_xpev_AccountingPoliciesTable_786489" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786488" xlink:to="loc_xpev_AccountingPoliciesTable_786489" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_786491" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_786491" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786492" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786491" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786492" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_786493" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786492" xlink:to="loc_us-gaap_CostOfSalesMember_786493" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenseMember" xlink:label="loc_us-gaap_OperatingExpenseMember_786494" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786492" xlink:to="loc_us-gaap_OperatingExpenseMember_786494" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_786495" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_ProductOrServiceAxis_786495" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_786496" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_786495" xlink:to="loc_srt_ProductsAndServicesDomain_786496" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786497" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_786496" xlink:to="loc_us-gaap_VehiclesMember_786497" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeAxis" xlink:label="loc_xpev_SchemeAxis_786498" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_SchemeAxis_786498" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeDomain" xlink:label="loc_xpev_SchemeDomain_786499" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SchemeAxis_786498" xlink:to="loc_xpev_SchemeDomain_786499" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeAxis" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeDomain" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" xlink:to="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_786542" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_StatementGeographicalAxis_786542" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786543" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_786542" xlink:to="loc_srt_SegmentGeographicalDomain_786543" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_786544" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_786543" xlink:to="loc_country_CN_786544" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_786545" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_TitleOfIndividualAxis_786545" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_TitleOfIndividualAxis_786545" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_786550" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_AwardTypeAxis_786550" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_786550" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786556" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_dei_LegalEntityAxis_786556" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786558" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_786556" xlink:to="loc_dei_EntityDomain_786558" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786560" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786560" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786561" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786560" xlink:to="loc_us-gaap_ClassOfStockDomain_786561" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_786564" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_PlanNameAxis_786564" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_786565" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_786564" xlink:to="loc_us-gaap_PlanNameDomain_786565" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786608" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_RangeAxis_786608" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786609" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_786608" xlink:to="loc_srt_RangeMember_786609" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786610" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786609" xlink:to="loc_srt_MinimumMember_786610" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_788098" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786609" xlink:to="loc_srt_MaximumMember_788098" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAxis" xlink:label="loc_xpev_StatutoryReservesAxis_786603" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_StatutoryReservesAxis_786603" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesDomain" xlink:label="loc_xpev_StatutoryReservesDomain_786605" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StatutoryReservesAxis_786603" xlink:to="loc_xpev_StatutoryReservesDomain_786605" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GeneralReserveFundMember" xlink:label="loc_xpev_GeneralReserveFundMember_786606" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StatutoryReservesDomain_786605" xlink:to="loc_xpev_GeneralReserveFundMember_786606" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xlink:label="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember_822812" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" xlink:to="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember_822812" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xlink:label="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember_822815" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" xlink:to="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember_822815" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1375559" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1375559" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_1375561" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_1375561" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405563" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405563" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405564" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_VPTMember_1405564" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405810" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_VMTMember_1405810" use="optional" order="45" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405645" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405645" use="optional" order="46" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" use="optional" order="47" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560" use="optional" order="48" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesLineItems" xlink:label="loc_xpev_AccountingPoliciesLineItems_786490" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_AccountingPoliciesLineItems_786490" use="optional" order="49" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_822816" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_RestrictedCash_822816" use="optional" order="50" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_786507" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_786507" use="optional" order="51" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_786508" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_786508" use="optional" order="52" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent_786509" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent_786509" use="optional" order="53" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_786510" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ShortTermInvestments_786510" use="optional" order="54" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_786511" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_InventoryWriteDown_786511" use="optional" order="55" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_786512" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_786512" use="optional" order="56" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAmortizationPeriod" xlink:label="loc_xpev_LandUseRightsAmortizationPeriod_786513" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LandUseRightsAmortizationPeriod_786513" use="optional" order="57" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductWarrantyTerm" xlink:label="loc_xpev_ProductWarrantyTerm_786515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_ProductWarrantyTerm_786515" use="optional" order="58" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_786532" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_786532" use="optional" order="59" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_786533" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AdvertisingExpense_786533" use="optional" order="60" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_786534" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_SellingAndMarketingExpense_786534" use="optional" order="61" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_786535" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_786535" use="optional" order="62" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xlink:label="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund_786538" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund_786538" use="optional" order="63" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xlink:label="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany_786539" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany_786539" use="optional" order="64" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_786541" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_786541" use="optional" order="65" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_786661" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_786661" use="optional" order="66" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405783" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405783" use="optional" order="67" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_863822" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_ShortTermDeposits_863822" use="optional" order="68" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsCurrentAndNoncurrent" xlink:label="loc_xpev_LongTermDepositsCurrentAndNoncurrent_1375547" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LongTermDepositsCurrentAndNoncurrent_1375547" use="optional" order="69" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405092" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LongtermDepositsCurrent_1405092" use="optional" order="70" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_1375566" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_1375566" use="optional" order="71" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherIncomeOtherSubsidies" xlink:label="loc_xpev_OtherIncomeOtherSubsidies_1377630" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_OtherIncomeOtherSubsidies_1377630" use="optional" order="72" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xlink:label="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund_1377670" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund_1377670" use="optional" order="73" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:label="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405551" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405551" use="optional" order="74" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseLeaseReceivable" xlink:label="loc_us-gaap_SalesTypeLeaseLeaseReceivable_1405552" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_SalesTypeLeaseLeaseReceivable_1405552" use="optional" order="75" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativeTerm1" xlink:label="loc_us-gaap_CreditDerivativeTerm1_1405759" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_CreditDerivativeTerm1_1405759" use="optional" order="76" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_1405760" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_1405760" use="optional" order="77" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_xpev_NotesPayableCurrentLiabilities_1405761" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_NotesPayableCurrentLiabilities_1405761" use="optional" order="78" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_1405824" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_1405824" use="optional" order="79" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405825" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405825" use="optional" order="80" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedLongTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedLongTermDeposits_1405826" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_MaturitiesOfRestrictedLongTermDeposits_1405826" use="optional" order="81" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786422" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786422" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CurrencyAxis" xlink:label="loc_srt_CurrencyAxis_786425" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" xlink:to="loc_srt_CurrencyAxis_786425" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain_786426" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CurrencyAxis_786425" xlink:to="loc_currency_AllCurrenciesDomain_786426" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_CNY" xlink:label="loc_currency_CNY_786427" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_CNY_786427" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_USD" xlink:label="loc_currency_USD_786428" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_USD_786428" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_EUR" xlink:label="loc_currency_EUR_1405998" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_EUR_1405998" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OtherCurrencyMember" xlink:label="loc_srt_OtherCurrencyMember_1368975" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_srt_OtherCurrencyMember_1368975" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" xlink:to="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786432" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786432" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786440" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786440" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_867159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" xlink:to="loc_us-gaap_TypeOfAdoptionMember_867159" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786441" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786441" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_786445" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_786445" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease_1406007" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease_1406007" use="optional" order="7" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_786446" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_786446" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786443" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786443" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786451" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786451" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786454" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xlink:to="loc_srt_RangeAxis_786454" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_786454" xlink:to="loc_srt_RangeMember_786455" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_786456" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786455" xlink:to="loc_srt_MaximumMember_786456" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786457" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786455" xlink:to="loc_srt_MinimumMember_786457" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_862645" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_BuildingMember_862645" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_786460" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_786460" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChargingInfrastructureMember" xlink:label="loc_xpev_ChargingInfrastructureMember_786461" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_xpev_ChargingInfrastructureMember_786461" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786462" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_VehiclesMember_786462" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_786463" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_ComputerEquipmentMember_786463" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_1405937" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_1405937" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="loc_us-gaap_OtherMachineryAndEquipmentMember_786464" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_OtherMachineryAndEquipmentMember_786464" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405683" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405683" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xlink:label="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm_1405936" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" xlink:to="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm_1405936" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_786474" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_786474" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786478" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xlink:to="loc_srt_RangeAxis_786478" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786479" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_786478" xlink:to="loc_srt_RangeMember_786479" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_786480" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786479" xlink:to="loc_srt_MaximumMember_786480" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786481" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_786479" xlink:to="loc_srt_MinimumMember_786481" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_786484" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_786484" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_786485" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_786485" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405539" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_VPTMember_1405539" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405809" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_VMTMember_1405809" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405542" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405542" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405544" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405544" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405687" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405687" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405454" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405454" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405655" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405655" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405655" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405657" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" xlink:to="loc_xpev_XiaojuGroupMember_1405657" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationByTypeAxis" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SopMilestoneMember" xlink:label="loc_xpev_SopMilestoneMember_1405459" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" xlink:to="loc_xpev_SopMilestoneMember_1405459" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EarnOutPeriodMilestoneMember" xlink:label="loc_xpev_EarnOutPeriodMilestoneMember_1405460" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" xlink:to="loc_xpev_EarnOutPeriodMilestoneMember_1405460" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405463" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xlink:to="loc_us-gaap_BusinessAcquisitionLineItems_1405463" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1405455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1405455" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity_1405799" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity_1405799" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability_1405462" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability_1405462" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405461" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405461" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/disclosureGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405404" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405404" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405410" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405410" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405410" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405415" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" xlink:to="loc_xpev_XiaojuGroupMember_1405415" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405418" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405418" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405419" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405418" xlink:to="loc_us-gaap_ClassOfStockDomain_1405419" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_1405421" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_1405419" xlink:to="loc_us-gaap_CommonClassAMember_1405421" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationByTypeAxis" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StartOfProductionMilestoneMember" xlink:label="loc_xpev_StartOfProductionMilestoneMember_1405429" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_StartOfProductionMilestoneMember_1405429" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EarnOutPeriodMilestoneMember" xlink:label="loc_xpev_EarnOutPeriodMilestoneMember_1405432" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_EarnOutPeriodMilestoneMember_1405432" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MilestoneProductionMetMember" xlink:label="loc_xpev_MilestoneProductionMetMember_1405811" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_MilestoneProductionMetMember_1405811" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405641" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_srt_RangeAxis_1405641" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405642" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_1405641" xlink:to="loc_srt_RangeMember_1405642" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1405643" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1405642" xlink:to="loc_srt_MaximumMember_1405643" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1405644" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1405642" xlink:to="loc_srt_MinimumMember_1405644" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405406" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_BusinessAcquisitionLineItems_1405406" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_1405408" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_1405408" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xlink:label="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices_1405409" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices_1405409" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xlink:label="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently_1405435" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently_1405435" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum_1405436" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum_1405436" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum_1405449" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum_1405449" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_1405437" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_1405437" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_1405450" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_1405450" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_1405438" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_1405438" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1405680" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1405680" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow_1405439" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow_1405439" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh_1405679" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh_1405679" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_1405525" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_SharePrice_1405525" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405957" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405957" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405506" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405506" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405508" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405508" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405508" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405514" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" xlink:to="loc_xpev_XiaojuGroupMember_1405514" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405511" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" xlink:to="loc_us-gaap_BusinessAcquisitionLineItems_1405511" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405520" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405520" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405628" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405628" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_1405515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_1405515" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_1405516" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_1405516" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405473" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405473" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405477" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_xpev_VPTMember_1405477" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTUDMember" xlink:label="loc_xpev_VMTUDMember_1405478" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_xpev_VMTUDMember_1405478" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_1405479" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_1405479" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405652" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405652" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405652" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405654" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" xlink:to="loc_xpev_XiaojuGroupMember_1405654" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405481" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xlink:to="loc_us-gaap_BusinessAcquisitionLineItems_1405481" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1405482" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1405482" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_1405658" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_1405658" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_1405659" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_1405659" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1405660" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1405660" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_1405661" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_1405661" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1405662" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1405662" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_1405663" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_1405663" use="optional" order="17" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xlink:label="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities_1405483" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities_1405483" use="optional" order="18" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_1405484" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_1405484" use="optional" order="19" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_1405485" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_Goodwill_1405485" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1405487" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1405487" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfProFormaFinancialInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract_1405493" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_1405494" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405493" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_1405494" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_1405496" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessCombinationsAbstract_1405493" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_1405496" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract_786387" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract_786387" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_786408" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_786408" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_786409" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_786409" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_786410" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_786410" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" xlink:to="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermInvestmentsFairValueDisclosure" xlink:label="loc_xpev_ShortTermInvestmentsFairValueDisclosure_786414" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_xpev_ShortTermInvestmentsFairValueDisclosure_786414" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue_1369009" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_DebtInstrumentFairValue_1369009" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1405114" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1405114" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_1369037" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_LongTermDebtFairValue_1369037" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xlink:label="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination_786416" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" xlink:to="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination_786416" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InventorySummaryOfInventoryDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="loc_us-gaap_InventoryDisclosureAbstract_786347" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods" xlink:label="loc_us-gaap_InventoryFinishedGoods_786350" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786347" xlink:to="loc_us-gaap_InventoryFinishedGoods_786350" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaap_InventoryRawMaterials_786348" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786347" xlink:to="loc_us-gaap_InventoryRawMaterials_786348" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess" xlink:label="loc_us-gaap_InventoryWorkInProcess_786349" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786347" xlink:to="loc_us-gaap_InventoryWorkInProcess_786349" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_786351" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_786347" xlink:to="loc_us-gaap_InventoryNet_786351" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InventoryAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="loc_us-gaap_InventoryDisclosureAbstract_886024" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable_1405378" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryDisclosureAbstract_886024" xlink:to="loc_us-gaap_InventoryCurrentTable_1405378" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryCurrentTable_1405378" xlink:to="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xlink:label="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_1405382" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" xlink:to="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_1405382" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems_1405379" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryCurrentTable_1405378" xlink:to="loc_us-gaap_InventoryLineItems_1405379" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_886025" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InventoryLineItems_1405379" xlink:to="loc_us-gaap_InventoryWriteDown_886025" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValueAddedTaxReceivableCurrent" xlink:label="loc_us-gaap_ValueAddedTaxReceivableCurrent_786329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_us-gaap_ValueAddedTaxReceivableCurrent_786329" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Prepayments" xlink:label="loc_xpev_Prepayments_786331" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_xpev_Prepayments_786331" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidDeposits" xlink:label="loc_xpev_PrepaidDeposits_787915" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_xpev_PrepaidDeposits_787915" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesLongTermContractsOrPrograms" xlink:label="loc_us-gaap_ReceivablesLongTermContractsOrPrograms_1369147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_us-gaap_ReceivablesLongTermContractsOrPrograms_1369147" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405383" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405383" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_786333" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_us-gaap_OtherAssetsCurrent_786333" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786335" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract_786326" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786335" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786516" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786516" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_786524" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_786524" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_862735" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_BuildingMember_862735" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ToolsDiesAndMoldsMember" xlink:label="loc_us-gaap_ToolsDiesAndMoldsMember_786522" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ToolsDiesAndMoldsMember_786522" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_786525" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_786525" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786523" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_VehiclesMember_786523" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_786521" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ConstructionInProgressMember_786521" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_786527" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ComputerEquipmentMember_786527" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChargingInfrastructureMember" xlink:label="loc_xpev_ChargingInfrastructureMember_786529" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_xpev_ChargingInfrastructureMember_786529" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="loc_us-gaap_OtherMachineryAndEquipmentMember_786530" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_OtherMachineryAndEquipmentMember_786530" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GrossPropertyPlantAndEquipment" xlink:label="loc_xpev_GrossPropertyPlantAndEquipment_786549" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_xpev_GrossPropertyPlantAndEquipment_786549" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_786552" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_786552" use="optional" order="15" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccumulatedImpairment" xlink:label="loc_xpev_AccumulatedImpairment_1405331" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_xpev_AccumulatedImpairment_1405331" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_786557" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_786557" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786569" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_786569" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_786574" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" xlink:to="loc_us-gaap_ConstructionInProgressMember_786574" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_1405116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_1405116" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_786578" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_Depreciation_786578" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedCapitalizedInterestCosts" xlink:label="loc_us-gaap_AccumulatedCapitalizedInterestCosts_786579" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_AccumulatedCapitalizedInterestCosts_786579" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_1405115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_FinanceLeaseLiability_1405115" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xlink:label="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment_1405384" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment_1405384" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787425" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787425" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405385" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_VPTMember_1405385" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405386" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405386" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405844" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_VMTMember_1405844" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_787430" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_787430" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_787431" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_787431" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405388" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405388" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ManufacturingLicenseMember" xlink:label="loc_xpev_ManufacturingLicenseMember_787435" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" xlink:to="loc_xpev_ManufacturingLicenseMember_787435" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xlink:label="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_1405334" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" xlink:to="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_1405334" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_787437" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_787437" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_787438" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_787438" use="optional" order="16" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FiniteLivedIntangibleAssetsImpairment" xlink:label="loc_xpev_FiniteLivedIntangibleAssetsImpairment_1405232" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_FiniteLivedIntangibleAssetsImpairment_1405232" use="optional" order="17" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1382543" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1382543" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_787443" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_787443" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_787446" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_787446" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xlink:label="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment_787447" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment_787447" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ImpairmentOfIntangibleAssetFinitelived" xlink:label="loc_xpev_ImpairmentOfIntangibleAssetFinitelived_1405124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_ImpairmentOfIntangibleAssetFinitelived_1405124" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_787448" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_787448" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787457" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_787458" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787457" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_787458" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_787461" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_787461" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_787462" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_787462" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_787463" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_787463" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_787465" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_787465" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_787466" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_787466" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_787467" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_787467" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_787468" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787460" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_787468" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787472" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_787472" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementAxis" xlink:label="loc_xpev_AgreementAxis_787475" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_AgreementAxis_787475" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_787477" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AgreementAxis_787475" xlink:to="loc_xpev_AgreementDomain_787477" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" xlink:to="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalAxis" xlink:label="loc_xpev_BusinessAcquistionDisposalAxis_787493" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_BusinessAcquistionDisposalAxis_787493" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalDomain" xlink:label="loc_xpev_BusinessAcquistionDisposalDomain_787494" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_BusinessAcquistionDisposalAxis_787493" xlink:to="loc_xpev_BusinessAcquistionDisposalDomain_787494" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1369158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1369158" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1369158" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixMember" xlink:label="loc_xpev_DogotixMember_1405440" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" xlink:to="loc_xpev_DogotixMember_1405440" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405308" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405308" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405400" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_xpev_VPTMember_1405400" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405827" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_xpev_VMTMember_1405827" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1405955" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1405955" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_787513" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_787513" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405397" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405397" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1405401" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1405401" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_1405715" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_1405715" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405441" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405441" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1405443" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1405443" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_1405444" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_1405444" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_1405445" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_1405445" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_1405448" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_1405448" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandAndLandImprovementsAbstract" xlink:label="loc_us-gaap_LandAndLandImprovementsAbstract_787320" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LandAndLandImprovementsAbstract_787320" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_787327" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" xlink:to="loc_us-gaap_LandMember_787327" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsGross" xlink:label="loc_xpev_LandUseRightsGross_787329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsGross_787329" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAccumulatedAmortization" xlink:label="loc_xpev_LandUseRightsAccumulatedAmortization_787332" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsAccumulatedAmortization_787332" use="optional" order="7" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsNet" xlink:label="loc_xpev_LandUseRightsNet_787338" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsNet_787338" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandAndLandImprovementsAbstract" xlink:label="loc_us-gaap_LandAndLandImprovementsAbstract_787349" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LandAndLandImprovementsAbstract_787349" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_863765" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" xlink:to="loc_us-gaap_LandMember_863765" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xlink:label="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember_1405137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" xlink:to="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember_1405137" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1405138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xlink:to="loc_srt_StatementGeographicalAxis_1405138" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1405139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_1405138" xlink:to="loc_srt_SegmentGeographicalDomain_1405139" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_1405141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1405139" xlink:to="loc_country_CN_1405141" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRights" xlink:label="loc_xpev_AmortizationOfLandUseRights_822819" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" xlink:to="loc_xpev_AmortizationOfLandUseRights_822819" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaymentForAcquisitionOfLandUseRights" xlink:label="loc_xpev_PrepaymentForAcquisitionOfLandUseRights_1405136" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" xlink:to="loc_xpev_PrepaymentForAcquisitionOfLandUseRights_1405136" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_1405969" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405970" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_1405969" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405970" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405971" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405970" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405971" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405972" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405971" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405972" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehiclesAndBatteriesMember" xlink:label="loc_xpev_VehiclesAndBatteriesMember_1405973" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405972" xlink:to="loc_xpev_VehiclesAndBatteriesMember_1405973" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405970" xlink:to="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406167" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406168" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406169" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405490" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405692" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405490" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405692" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405694" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405692" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405694" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405695" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405694" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405695" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember_1405696" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405695" xlink:to="loc_us-gaap_InterestIncomeMember_1405696" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405692" xlink:to="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406170" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406170" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406171" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss_1406173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss_1406173" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406172" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406172" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369205" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_2365" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract_1369205" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_2365" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2366" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2366" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2367" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2366" xlink:to="loc_us-gaap_ClassOfStockDomain_2367" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1405328" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1405328" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1405329" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1405328" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1405329" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember_1405330" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1405329" xlink:to="loc_us-gaap_InterestIncomeMember_1405330" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeInterestEarningAsset" xlink:label="loc_us-gaap_InterestIncomeInterestEarningAsset_1369206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" xlink:to="loc_us-gaap_InterestIncomeInterestEarningAsset_1369206" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_1369188" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405981" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_1369188" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405981" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405986" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405981" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405986" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405987" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405986" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405987" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehiclesAndBatteriesMember" xlink:label="loc_xpev_VehiclesAndBatteriesMember_1405988" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405987" xlink:to="loc_xpev_VehiclesAndBatteriesMember_1405988" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405981" xlink:to="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_UnrealizedFinanceIncome" xlink:label="loc_xpev_UnrealizedFinanceIncome_1369198" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_UnrealizedFinanceIncome_1369198" use="optional" order="6" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths_1406174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths_1406174" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears_1406175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears_1406175" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears_1406176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears_1406176" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears_1406177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears_1406177" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears_1406178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears_1406178" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter_1406179" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter_1406179" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivables" xlink:label="loc_xpev_InstallmentPaymentReceivables_1406180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivables_1406180" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesGross" xlink:label="loc_xpev_InstallmentPaymentReceivablesGross_1406181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesGross_1406181" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss_1406182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss_1406182" use="optional" order="15" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss_1406183" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss_1406183" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestmentsScheduleOfLongTermInvestmentsDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsAbstract" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsAbstract_1373185" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTable" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsAbstract_1373185" xlink:to="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_1373190" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" xlink:to="loc_us-gaap_InvestmentTypeAxis_1373190" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeAxis_1373190" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_1373193" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_EquitySecuritiesMember_1373193" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xlink:label="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember_1405152" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember_1405152" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_1373192" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_DebtSecuritiesMember_1373192" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_1405153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_1405153" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" xlink:to="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1373197" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_LongTermInvestments_1373197" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsadditions" xlink:label="loc_xpev_LongTermInvestmentsadditions_1373204" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsadditions_1373204" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:label="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405503" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405503" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405513" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405513" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1405150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1405150" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405148" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xlink:label="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion_1405505" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion_1405505" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsforeignCurrencyTranslation" xlink:label="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation_1373209" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation_1373209" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1373210" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_LongTermInvestments_1373210" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xlink:label="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities_1406009" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities_1406009" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestmentsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestmentsAbstract" xlink:label="loc_us-gaap_LongTermInvestmentsAbstract_1373332" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTable" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermInvestmentsAbstract_1373332" xlink:to="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1373336" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" xlink:to="loc_us-gaap_RelatedPartyDomain_1373336" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixMember" xlink:label="loc_xpev_DogotixMember_1373338" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_1373336" xlink:to="loc_xpev_DogotixMember_1373338" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HuitianMember" xlink:label="loc_xpev_HuitianMember_1373339" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_1373336" xlink:to="loc_xpev_HuitianMember_1373339" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1373341" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1373341" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373342" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373341" xlink:to="loc_us-gaap_EquityComponentDomain_1373342" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_1373344" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1373342" xlink:to="loc_us-gaap_PreferredStockMember_1373344" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1373346" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_DebtInstrumentAxis_1373346" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1373347" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_1373346" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1373347" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConvertibleBondMember" xlink:label="loc_xpev_ConvertibleBondMember_1373350" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1373347" xlink:to="loc_xpev_ConvertibleBondMember_1373350" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405158" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405158" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405158" xlink:to="loc_us-gaap_ClassOfStockDomain_1405160" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_1405161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_1405160" xlink:to="loc_us-gaap_CommonStockMember_1405161" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SemiconductorsMember" xlink:label="loc_xpev_SemiconductorsMember_1405176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" xlink:to="loc_xpev_SemiconductorsMember_1405176" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BatteriesMember" xlink:label="loc_xpev_BatteriesMember_1405177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" xlink:to="loc_xpev_BatteriesMember_1405177" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_1405517" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_FinancialInstrumentAxis_1405517" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405517" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferredEquityMember" xlink:label="loc_xpev_PreferredEquityMember_1405519" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" xlink:to="loc_xpev_PreferredEquityMember_1405519" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1406062" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1406062" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405707" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405707" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405707" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_1373361" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquityMethodInvestments_1373361" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_1373362" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_OtherInvestments_1373362" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1373364" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1373364" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireMinorityEquityInterest" xlink:label="loc_xpev_PaymentToAcquireMinorityEquityInterest_1405157" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PaymentToAcquireMinorityEquityInterest_1405157" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubscriptionOfEquityInvestment" xlink:label="loc_xpev_SubscriptionOfEquityInvestment_1405178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_SubscriptionOfEquityInvestment_1405178" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner_1405180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner_1405180" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterests" xlink:label="loc_xpev_PercentageOfFinancialInterests_1405181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterests_1405181" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors_1405184" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors_1405184" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xlink:label="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue_1405526" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue_1405526" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:label="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405527" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405527" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount_1405528" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount_1405528" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount_1405529" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount_1405529" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount_1405530" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount_1405530" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount_1405531" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount_1405531" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIssuedPrincipal" xlink:label="loc_us-gaap_DebtInstrumentIssuedPrincipal_1405863" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentIssuedPrincipal_1405863" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIncreaseAccruedInterest" xlink:label="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest_1405864" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest_1405864" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_1406010" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_1406010" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_1406011" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_1406011" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1406061" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1406061" use="optional" order="44" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrentAbstract" xlink:label="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405537" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405537" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsAssetsNoncurrent" xlink:label="loc_us-gaap_DepositsAssetsNoncurrent_787452" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_us-gaap_DepositsAssetsNoncurrent_787452" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_1405535" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_us-gaap_Goodwill_1405535" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xlink:label="loc_xpev_AdvancesOnFixedAssetPurchasesNonCurrent_787453" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_xpev_AdvancesOnFixedAssetPurchasesNonCurrent_787453" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xlink:label="loc_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent_1405764" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent_1405764" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_787454" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_787454" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_787455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract_787450" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_787455" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xlink:label="loc_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent_787515" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent_787515" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedExpensesOnCurrent" xlink:label="loc_xpev_AccruedExpensesOnCurrent_787519" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_AccruedExpensesOnCurrent_787519" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_787518" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_787518" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ResearchAndDevelopmentExpensesPayableCurrent" xlink:label="loc_xpev_ResearchAndDevelopmentExpensesPayableCurrent_787517" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_ResearchAndDevelopmentExpensesPayableCurrent_787517" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtFromAThirdPartyInvestorCurrent" xlink:label="loc_xpev_DebtFromAThirdPartyInvestorCurrent_1405570" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_DebtFromAThirdPartyInvestorCurrent_1405570" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_787521" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_787521" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedLossOfPurchaseCommitments" xlink:label="loc_xpev_AccruedLossOfPurchaseCommitments_1405538" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_AccruedLossOfPurchaseCommitments_1405538" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerDeposits" xlink:label="loc_xpev_CustomerDeposits_787522" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_CustomerDeposits_787522" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_787525" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_787525" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesAndExciseTaxPayableCurrent" xlink:label="loc_us-gaap_SalesAndExciseTaxPayableCurrent_1405117" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_SalesAndExciseTaxPayableCurrent_1405117" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerAdvances" xlink:label="loc_xpev_CustomerAdvances_787523" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_xpev_CustomerAdvances_787523" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent_863738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_CustomerDepositsCurrent_863738" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent_787524" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_InterestPayableCurrent_787524" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_787526" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_787526" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_787527" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787512" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_787527" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787531" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract_787531" xlink:to="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipAxis" xlink:label="loc_xpev_LimitedLiabilityParntershipAxis_787533" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_LimitedLiabilityParntershipAxis_787533" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipDomain" xlink:label="loc_xpev_LimitedLiabilityParntershipDomain_787535" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_LimitedLiabilityParntershipAxis_787533" xlink:to="loc_xpev_LimitedLiabilityParntershipDomain_787535" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis" xlink:label="loc_srt_OwnershipAxis_787537" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_srt_OwnershipAxis_787537" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_787538" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_OwnershipAxis_787537" xlink:to="loc_srt_OwnershipDomain_787538" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestAxis" xlink:label="loc_xpev_NonControllingInterestAxis_822847" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_NonControllingInterestAxis_822847" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestDomain" xlink:label="loc_xpev_NonControllingInterestDomain_822849" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_NonControllingInterestAxis_822847" xlink:to="loc_xpev_NonControllingInterestDomain_822849" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsAxis" xlink:label="loc_xpev_PurchaseProvisionTermsAxis_1405540" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_PurchaseProvisionTermsAxis_1405540" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsDomain" xlink:label="loc_xpev_PurchaseProvisionTermsDomain_1405541" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_PurchaseProvisionTermsAxis_1405540" xlink:to="loc_xpev_PurchaseProvisionTermsDomain_1405541" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1406017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1406017" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1406018" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1406017" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1406018" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFirmPurchaseCommitmentLoss" xlink:label="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss_1405716" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" xlink:to="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss_1405716" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfBorrowingsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_787587" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrentAbstract" xlink:label="loc_us-gaap_DebtCurrentAbstract_787590" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787587" xlink:to="loc_us-gaap_DebtCurrentAbstract_787590" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787592" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtCurrentAbstract_787590" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787592" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrentAbstract" xlink:label="loc_us-gaap_LongTermDebtCurrentAbstract_1405121" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtCurrentAbstract_787590" xlink:to="loc_us-gaap_LongTermDebtCurrentAbstract_1405121" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent_1405122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtCurrentAbstract_1405121" xlink:to="loc_us-gaap_LoansPayableToBankCurrent_1405122" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesCurrent_1405123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtCurrentAbstract_1405121" xlink:to="loc_xpev_AssetbackedSecuritiesCurrent_1405123" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesCurrent" xlink:label="loc_xpev_AssetBackedNotesCurrent_1405546" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtCurrentAbstract_1405121" xlink:to="loc_xpev_AssetBackedNotesCurrent_1405546" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaap_DebtCurrent_787602" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtCurrentAbstract_787590" xlink:to="loc_us-gaap_DebtCurrent_787602" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrentAbstract" xlink:label="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787587" xlink:to="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank_787606" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" xlink:to="loc_us-gaap_LongTermLoansFromBank_787606" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesNonCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesNonCurrent_1405126" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" xlink:to="loc_xpev_AssetbackedSecuritiesNonCurrent_1405126" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_787608" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_787608" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_787614" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermDebtNoncurrentAbstract_787604" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_787614" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_787648" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureTable" xlink:label="loc_xpev_DebtDisclosureTable_787651" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_787648" xlink:to="loc_xpev_DebtDisclosureTable_787651" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_787655" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_787655" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_787657" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_787655" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_787657" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherShortTermLoansPayableToBanksMember" xlink:label="loc_xpev_OtherShortTermLoansPayableToBanksMember_787658" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_787657" xlink:to="loc_xpev_OtherShortTermLoansPayableToBanksMember_787658" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_787659" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_787659" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_787660" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_787659" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_787660" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_787662" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_srt_RangeAxis_787662" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_787663" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_787662" xlink:to="loc_srt_RangeMember_787663" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_787666" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_dei_LegalEntityAxis_787666" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_787667" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_787666" xlink:to="loc_dei_EntityDomain_787667" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_787671" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_CreditFacilityAxis_787671" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_787672" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityAxis_787671" xlink:to="loc_us-gaap_CreditFacilityDomain_787672" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_787673" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityDomain_787672" xlink:to="loc_us-gaap_LineOfCreditMember_787673" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityAxis" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_787675" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_787675" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_787675" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1405943" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_DebtInstrumentAxis_1405943" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405944" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405943" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405944" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_1405945" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1405944" xlink:to="loc_us-gaap_LongTermDebtMember_1405945" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureLineItems" xlink:label="loc_xpev_DebtDisclosureLineItems_787682" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_xpev_DebtDisclosureLineItems_787682" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787686" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787686" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_787687" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_787687" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermBankLoansCollateralized" xlink:label="loc_xpev_LongtermBankLoansCollateralized_1405145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_LongtermBankLoansCollateralized_1405145" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesCurrent_1405146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetbackedSecuritiesCurrent_1405146" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesNonCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesNonCurrent_1405147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetbackedSecuritiesNonCurrent_1405147" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesHeldAsCollateralAtFairValue" xlink:label="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue_1405548" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue_1405548" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesCurrent" xlink:label="loc_xpev_AssetBackedNotesCurrent_1405565" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetBackedNotesCurrent_1405565" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesNoncurrent" xlink:label="loc_xpev_AssetBackedNotesNoncurrent_1405566" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetBackedNotesNoncurrent_1405566" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405940" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405940" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositCurrentPortionCollateralized" xlink:label="loc_xpev_LongTermDepositCurrentPortionCollateralized_1406065" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_LongTermDepositCurrentPortionCollateralized_1406065" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_1405877" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_1405878" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtDisclosureAbstract_1405877" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_1405878" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1405884" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_us-gaap_DebtInstrumentAxis_1405884" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405885" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405884" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405885" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_1405886" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1405885" xlink:to="loc_us-gaap_LongTermDebtMember_1405886" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405887" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_dei_LegalEntityAxis_1405887" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405888" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_1405887" xlink:to="loc_dei_EntityDomain_1405888" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMember_1406087" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_ZhaoqingXiaopengMember_1406087" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyMember_1405891" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_ZhaoqingXiaopengNewEnergyMember_1405891" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember_1405995" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember_1405995" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xlink:label="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember_1405996" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember_1405996" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengMember" xlink:label="loc_xpev_WuhanXiaopengMember_1405958" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_WuhanXiaopengMember_1405958" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xlink:label="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember_1405895" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember_1405895" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember_1405997" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember_1405997" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_1405897" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_us-gaap_CreditFacilityAxis_1405897" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_1405898" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityAxis_1405897" xlink:to="loc_us-gaap_CreditFacilityDomain_1405898" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_1405899" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CreditFacilityDomain_1405898" xlink:to="loc_us-gaap_LineOfCreditMember_1405899" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405880" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405880" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent_1405881" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LoansPayableToBankCurrent_1405881" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank_1405882" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LongTermLoansFromBank_1405882" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_1405883" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_1405883" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_787133" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_787133" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GovernmentGrantPayablesNoncurrent" xlink:label="loc_xpev_GovernmentGrantPayablesNoncurrent_787132" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" xlink:to="loc_xpev_GovernmentGrantPayablesNoncurrent_787132" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtPayableToThirdPartyInvestors" xlink:label="loc_xpev_DebtPayableToThirdPartyInvestors_1405191" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" xlink:to="loc_xpev_DebtPayableToThirdPartyInvestors_1405191" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsFromAThirdParty" xlink:label="loc_xpev_DepositsFromAThirdParty_1405588" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" xlink:to="loc_xpev_DepositsFromAThirdParty_1405588" use="optional" order="4" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_787134" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_787130" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_787134" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_1374691" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentTable" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract_1374691" xlink:to="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipAxis" xlink:label="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipDomain" xlink:label="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" xlink:to="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KunpengChuangyeLlpMember" xlink:label="loc_xpev_KunpengChuangyeLlpMember_1374764" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" xlink:to="loc_xpev_KunpengChuangyeLlpMember_1374764" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis" xlink:label="loc_srt_OwnershipAxis_1374766" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_srt_OwnershipAxis_1374766" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_1374768" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_OwnershipAxis_1374766" xlink:to="loc_srt_OwnershipDomain_1374768" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1374772" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_ChengxingMember_1374772" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember_1374776" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember_1374776" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetInvestmentMember" xlink:label="loc_xpev_GuangzhouGetInvestmentMember_1374779" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_GuangzhouGetInvestmentMember_1374779" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeAxis" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_1374789" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" xlink:to="loc_us-gaap_CallOptionMember_1374789" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1374792" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_srt_RangeAxis_1374792" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1374809" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_1374792" xlink:to="loc_srt_RangeMember_1374809" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1374813" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1374809" xlink:to="loc_srt_MaximumMember_1374813" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1374816" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1374809" xlink:to="loc_srt_MinimumMember_1374816" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorAxis" xlink:label="loc_xpev_InvestorAxis_1374822" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_xpev_InvestorAxis_1374822" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorDomain" xlink:label="loc_xpev_InvestorDomain_1374823" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InvestorAxis_1374822" xlink:to="loc_xpev_InvestorDomain_1374823" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongUTrustMember" xlink:label="loc_xpev_GuangdongUTrustMember_1374824" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InvestorDomain_1374823" xlink:to="loc_xpev_GuangdongUTrustMember_1374824" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetInvestmentMember" xlink:label="loc_xpev_GuangzhouGetInvestmentMember_1374826" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_InvestorDomain_1374823" xlink:to="loc_xpev_GuangzhouGetInvestmentMember_1374826" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1374828" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" xlink:to="loc_us-gaap_RelatedPartyDomain_1374828" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1374830" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_1374828" xlink:to="loc_xpev_ChengxingMember_1374830" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentLineItems" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xlink:label="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership_1374705" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership_1374705" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:label="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_1374709" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_1374709" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_1374712" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_1374712" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableToNoncontrollingInterestNonCurrent" xlink:label="loc_xpev_PayableToNoncontrollingInterestNonCurrent_1374719" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_PayableToNoncontrollingInterestNonCurrent_1374719" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xlink:label="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment_1374732" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment_1374732" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_1374735" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_1374735" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_1374738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_1374738" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1_1374745" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1_1374745" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xlink:label="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage_1374751" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage_1374751" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MembersEquityAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest_1405589" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest_1405589" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1405717" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1405717" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfMovementsOfAccruedWarrantyDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyDisclosureAbstract" xlink:label="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_787137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrual_787137" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPayments_787138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPayments_787138" use="optional" order="2" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_787139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_787139" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_1405960" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_1405960" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_787140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrual_787140" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualCurrent_787141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualCurrent_787141" use="optional" order="6" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_787142" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_787136" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_787142" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_787549" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_2296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787549" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_2296" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2297" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2297" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2297" xlink:to="loc_us-gaap_ClassOfStockDomain_2298" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_1405273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" xlink:to="loc_us-gaap_LandMember_1405273" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseRightsMember" xlink:label="loc_us-gaap_UseRightsMember_1405271" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" xlink:to="loc_us-gaap_UseRightsMember_1405271" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAbstract" xlink:label="loc_xpev_OperatingLeaseAbstract_1405268" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" xlink:to="loc_xpev_OperatingLeaseAbstract_1405268" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAssets" xlink:label="loc_xpev_OperatingLeaseAssets_787550" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_xpev_OperatingLeaseAssets_787550" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_787551" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_787551" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787552" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787552" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/measurementGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_787553" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiability_787553" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseAbstract" xlink:label="loc_xpev_FinanceLeaseAbstract_1405275" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" xlink:to="loc_xpev_FinanceLeaseAbstract_1405275" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1405248" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1405248" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1405249" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1405249" use="optional" order="18" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_1405250" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_1405250" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405251" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405251" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405253" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405253" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_1405254" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiability_1405254" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCostAbstract" xlink:label="loc_us-gaap_LeaseCostAbstract_787555" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseExpenseAbstract" xlink:label="loc_xpev_OperatingLeaseExpenseAbstract_1405255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeaseCostAbstract_787555" xlink:to="loc_xpev_OperatingLeaseExpenseAbstract_1405255" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost_787557" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseExpenseAbstract_1405255" xlink:to="loc_us-gaap_OperatingLeaseCost_787557" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost_787558" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseExpenseAbstract_1405255" xlink:to="loc_us-gaap_ShortTermLeaseCost_787558" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseExpenses" xlink:label="loc_xpev_OperatingLeaseExpenses_1405277" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_OperatingLeaseExpenseAbstract_1405255" xlink:to="loc_xpev_OperatingLeaseExpenses_1405277" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseExpenseAbstract" xlink:label="loc_xpev_FinanceLeaseExpenseAbstract_1405256" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeaseCostAbstract_787555" xlink:to="loc_xpev_FinanceLeaseExpenseAbstract_1405256" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_1405257" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseExpenseAbstract_1405256" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_1405257" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseInterestExpense" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_1405258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseExpenseAbstract_1405256" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_1405258" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseCost" xlink:label="loc_xpev_FinanceLeaseCost_1405259" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_FinanceLeaseExpenseAbstract_1405256" xlink:to="loc_xpev_FinanceLeaseCost_1405259" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost_787560" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeaseCostAbstract_787555" xlink:to="loc_us-gaap_LeaseCost_787560" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfOtherInformationRelatedToOperatingLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_787571" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WeightedAverageRemainingLeaseTermAbstract" xlink:label="loc_xpev_WeightedAverageRemainingLeaseTermAbstract_1405278" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787571" xlink:to="loc_xpev_WeightedAverageRemainingLeaseTermAbstract_1405278" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_787573" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageRemainingLeaseTermAbstract_1405278" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_787573" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_1405261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageRemainingLeaseTermAbstract_1405278" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1_1405261" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xlink:label="loc_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne_1405262" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageRemainingLeaseTermAbstract_1405278" xlink:to="loc_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne_1405262" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WeightedAverageDiscountRateAbstract" xlink:label="loc_xpev_WeightedAverageDiscountRateAbstract_1405279" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787571" xlink:to="loc_xpev_WeightedAverageDiscountRateAbstract_1405279" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_787574" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageDiscountRateAbstract_1405279" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_787574" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_1405263" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageDiscountRateAbstract_1405279" xlink:to="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent_1405263" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xlink:label="loc_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent_1405264" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_WeightedAverageDiscountRateAbstract_1405279" xlink:to="loc_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent_1405264" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSummaryOfCashFlowInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_787579" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:label="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787579" xlink:to="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments_787583" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" xlink:to="loc_us-gaap_OperatingLeasePayments_787583" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseExpense" xlink:label="loc_us-gaap_OperatingLeaseExpense_1405265" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" xlink:to="loc_us-gaap_OperatingLeaseExpense_1405265" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChangesInFinanceLeasePrincipalPayments" xlink:label="loc_xpev_ChangesInFinanceLeasePrincipalPayments_1405266" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" xlink:to="loc_xpev_ChangesInFinanceLeasePrincipalPayments_1405266" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xlink:label="loc_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations_787584" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract_787582" xlink:to="loc_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations_787584" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSummaryOfMaturitiesOfTheGroupSOperatingLeaseLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_1405292" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xlink:label="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_1405292" xlink:to="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_787597" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_787597" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_787598" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_787598" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_787599" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_787599" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_787600" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_787600" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_787601" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_787601" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_787603" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_787603" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_787605" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_787605" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_787624" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_787624" use="optional" order="9" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_787625" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_OperatingLeaseLiability_787625" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_787627" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_787627" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787629" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract_787595" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787629" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" xlink:label="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_1405292" xlink:to="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_1405280" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_1405280" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_1405281" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_1405281" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_1405282" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_1405282" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_1405283" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_1405283" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_1405284" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_1405284" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_1405285" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_1405285" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1405286" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1405286" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_1405287" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_1405287" use="optional" order="21" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_1405288" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiability_1405288" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405289" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405289" use="optional" order="23" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405290" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract_1405291" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405290" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_1405594" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405722" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_1405594" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405722" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405722" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405726" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" xlink:to="loc_xpev_FactoryMember_1405726" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405722" xlink:to="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405595" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405595" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405596" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405596" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/presentationGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405597" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405597" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_1405603" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405727" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_1405603" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405727" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405727" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405731" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" xlink:to="loc_xpev_FactoryMember_1405731" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405727" xlink:to="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405604" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405604" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405719" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405719" use="optional" order="7" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:label="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405720" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405720" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405608" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405608" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405609" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405609" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405610" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405610" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract_1405612" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405732" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LeasesAbstract_1405612" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405732" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405732" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405736" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" xlink:to="loc_xpev_FactoryMember_1405736" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405732" xlink:to="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_1405749" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_1405749" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_1405750" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_1405750" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_1405751" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_1405751" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_1405752" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_1405752" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_1405753" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_1405753" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xlink:label="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear_1405754" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear_1405754" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405619" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405619" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405721" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405721" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:label="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405738" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405738" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405622" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405622" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract_787709" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeDisclosureAbstract_787709" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405242" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_dei_LegalEntityAxis_1405242" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405243" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_1405242" xlink:to="loc_dei_EntityDomain_1405243" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetNewEnergyMember" xlink:label="loc_xpev_GuangzhouGetNewEnergyMember_1405244" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405243" xlink:to="loc_xpev_GuangzhouGetNewEnergyMember_1405244" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityAxis" xlink:label="loc_xpev_MaturityAxis_1405297" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_xpev_MaturityAxis_1405297" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityDomain" xlink:label="loc_xpev_MaturityDomain_1405298" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_MaturityAxis_1405297" xlink:to="loc_xpev_MaturityDomain_1405298" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubsequentPaidMember" xlink:label="loc_xpev_SubsequentPaidMember_1405299" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_MaturityDomain_1405298" xlink:to="loc_xpev_SubsequentPaidMember_1405299" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_1405245" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1405245" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405246" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405245" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405246" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405741" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" xlink:to="loc_xpev_FactoryMember_1405741" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments_1405235" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_OperatingLeasePayments_1405235" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_1405237" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_1405237" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandRightOfUseAsset" xlink:label="loc_xpev_LandRightOfUseAsset_1405239" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_xpev_LandRightOfUseAsset_1405239" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:label="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405666" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405666" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xlink:label="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount_1405669" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount_1405669" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405670" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405670" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseSellingProfitLoss" xlink:label="loc_us-gaap_SalesTypeLeaseSellingProfitLoss_1405718" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_SalesTypeLeaseSellingProfitLoss_1405718" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RevenuesSummaryOfRevenuesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueAbstract" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract_787236" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_787237" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract_787236" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_787237" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_787239" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_srt_ProductOrServiceAxis_787239" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787240" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_787239" xlink:to="loc_srt_ProductsAndServicesDomain_787240" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ServicesAndOthersMember" xlink:label="loc_xpev_ServicesAndOthersMember_787242" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_787240" xlink:to="loc_xpev_ServicesAndOthersMember_787242" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueAxis" xlink:label="loc_xpev_ProductRevenueAxis_1405789" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_xpev_ProductRevenueAxis_1405789" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueDomain" xlink:label="loc_xpev_ProductRevenueDomain_1405790" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ProductRevenueAxis_1405789" xlink:to="loc_xpev_ProductRevenueDomain_1405790" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehicleMember" xlink:label="loc_xpev_VehicleMember_1405791" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ProductRevenueDomain_1405790" xlink:to="loc_xpev_VehicleMember_1405791" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_787243" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" xlink:to="loc_us-gaap_Revenues_787243" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/DeferredRevenueAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueDisclosureAbstract" xlink:label="loc_us-gaap_DeferredRevenueDisclosureAbstract_787184" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostTable" xlink:label="loc_us-gaap_CapitalizedContractCostTable_787186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787184" xlink:to="loc_us-gaap_CapitalizedContractCostTable_787186" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_787190" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostTable_787186" xlink:to="loc_srt_ProductOrServiceAxis_787190" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787191" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_787190" xlink:to="loc_srt_ProductsAndServicesDomain_787191" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405951" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostTable_787186" xlink:to="loc_srt_RangeAxis_1405951" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405952" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_1405951" xlink:to="loc_srt_RangeMember_1405952" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostLineItems" xlink:label="loc_us-gaap_CapitalizedContractCostLineItems_787194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostTable_787186" xlink:to="loc_us-gaap_CapitalizedContractCostLineItems_787194" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage_787199" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage_787199" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation_787201" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation_787201" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_787203" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_787203" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation_787204" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation_787204" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/DeferredRevenueDeferredRevenueDisclosureDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueDisclosureAbstract" xlink:label="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_787225" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenue_787225" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueAdditions" xlink:label="loc_us-gaap_DeferredRevenueAdditions_787226" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenueAdditions_787226" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueRevenueRecognized1" xlink:label="loc_us-gaap_DeferredRevenueRevenueRecognized1_787227" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenueRevenueRecognized1_787227" use="optional" order="3" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_787228" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenue_787228" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_1405112" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenueCurrent_1405112" use="optional" order="5" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_1405113" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract_787224" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_1405113" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_787092" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_787092" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaap_TypeOfArrangementAxis_787116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xlink:to="loc_us-gaap_TypeOfArrangementAxis_787116" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TypeOfArrangementAxis_787116" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementMember" xlink:label="loc_us-gaap_CollaborativeArrangementMember_787118" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" xlink:to="loc_us-gaap_CollaborativeArrangementMember_787118" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis_787119" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xlink:to="loc_srt_CounterpartyNameAxis_787119" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CounterpartyNameAxis_787119" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HaimaAutoMember" xlink:label="loc_xpev_HaimaAutoMember_787124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" xlink:to="loc_xpev_HaimaAutoMember_787124" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsLineItems" xlink:label="loc_us-gaap_OffsettingAssetsLineItems_787125" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xlink:to="loc_us-gaap_OffsettingAssetsLineItems_787125" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContract" xlink:label="loc_xpev_CollaborativeArrangementDateOfContract_787126" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_CollaborativeArrangementDateOfContract_787126" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContractExpiration" xlink:label="loc_xpev_CollaborativeArrangementDateOfContractExpiration_787127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_CollaborativeArrangementDateOfContractExpiration_787127" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AnnualProductionCapacity" xlink:label="loc_xpev_AnnualProductionCapacity_787128" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_AnnualProductionCapacity_787128" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_1370452" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_1370452" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RelocationAndDisposalCosts" xlink:label="loc_xpev_RelocationAndDisposalCosts_1370455" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_RelocationAndDisposalCosts_1370455" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentOfTerminationFee" xlink:label="loc_xpev_PaymentOfTerminationFee_1370463" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_PaymentOfTerminationFee_1370463" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrdinarySharesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="loc_us-gaap_StockholdersEquityNoteAbstract_786633" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteTable" xlink:label="loc_xpev_StockholdersEquityNoteTable_786635" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityNoteAbstract_786633" xlink:to="loc_xpev_StockholdersEquityNoteTable_786635" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786636" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786636" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786637" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786636" xlink:to="loc_us-gaap_ClassOfStockDomain_786637" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786639" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786637" xlink:to="loc_us-gaap_CommonClassAMember_786639" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786640" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786637" xlink:to="loc_us-gaap_CommonClassBMember_786640" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786643" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_dei_LegalEntityAxis_786643" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786644" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_786643" xlink:to="loc_dei_EntityDomain_786644" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengFortuneHoldingLimitedMember" xlink:label="loc_xpev_XpengFortuneHoldingLimitedMember_786648" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786644" xlink:to="loc_xpev_XpengFortuneHoldingLimitedMember_786648" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidiMember" xlink:label="loc_xpev_DidiMember_1405623" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_786644" xlink:to="loc_xpev_DidiMember_1405623" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1373712" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1373712" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373713" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373712" xlink:to="loc_us-gaap_EquityComponentDomain_1373713" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_1373714" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityComponentDomain_1373713" xlink:to="loc_us-gaap_TreasuryStockCommonMember_1373714" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodAxis" xlink:label="loc_xpev_ShareIssuedPeriodAxis_1382691" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_xpev_ShareIssuedPeriodAxis_1382691" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodDomain" xlink:label="loc_xpev_ShareIssuedPeriodDomain_1382693" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ShareIssuedPeriodAxis_1382691" xlink:to="loc_xpev_ShareIssuedPeriodDomain_1382693" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuePeriodOneMember" xlink:label="loc_xpev_ShareIssuePeriodOneMember_1382694" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ShareIssuedPeriodDomain_1382693" xlink:to="loc_xpev_ShareIssuePeriodOneMember_1382694" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_1405208" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_srt_TitleOfIndividualAxis_1405208" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_TitleOfIndividualAxis_1405208" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteLineItems" xlink:label="loc_xpev_StockholdersEquityNoteLineItems_786652" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_xpev_StockholdersEquityNoteLineItems_786652" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_786655" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_CommonStockSharesIssued_786655" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_786656" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_786656" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786662" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786662" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1373709" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1373709" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_1373730" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_1373730" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_786997" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_786997" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_786999" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_AwardTypeAxis_786999" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_786999" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_787020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_787020" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_787021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_RestrictedStockMember_787021" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_1406027" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_PerformanceSharesMember_1406027" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_787014" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_VestingAxis_787014" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_787015" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VestingAxis_787014" xlink:to="loc_us-gaap_VestingDomain_787015" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_787016" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_787016" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_787017" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_787017" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_787018" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_787018" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405193" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405193" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405193" xlink:to="loc_us-gaap_ClassOfStockDomain_1405194" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_1405195" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_1405194" xlink:to="loc_us-gaap_CommonClassAMember_1405195" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405197" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_dei_LegalEntityAxis_1405197" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405198" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_LegalEntityAxis_1405197" xlink:to="loc_dei_EntityDomain_1405198" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1405199" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_EntityDomain_1405198" xlink:to="loc_xpev_ChengxingMember_1405199" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1405200" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_PlanNameAxis_1405200" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1405201" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_1405200" xlink:to="loc_us-gaap_PlanNameDomain_1405201" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandAndNineteenEquityIncentivePlanMember" xlink:label="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember_1405202" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember_1405202" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandTwentyFivePlanMember" xlink:label="loc_xpev_TwoThousandTwentyFivePlanMember_1406020" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandTwentyFivePlanMember_1406020" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandNineteenPlanMember" xlink:label="loc_xpev_TwoThousandNineteenPlanMember_1406088" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandNineteenPlanMember_1406088" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_787025" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_787025" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareOptionVestingRightsPercentage" xlink:label="loc_xpev_ShareOptionVestingRightsPercentage_787027" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_xpev_ShareOptionVestingRightsPercentage_787027" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1405192" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1405192" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1406193" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1406193" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1405203" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1405203" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_787048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_787048" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_787050" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_787050" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_787063" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_787063" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_863931" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_863931" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xlink:label="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant_1406021" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant_1406021" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1406023" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1406023" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1406024" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1406024" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" xlink:label="loc_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract_863876" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract_863876" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_863879" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xlink:to="loc_us-gaap_AwardTypeAxis_863879" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AwardTypeAxis_863879" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_863881" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_863881" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1406036" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xlink:to="loc_us-gaap_PlanNameAxis_1406036" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1406037" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameAxis_1406036" xlink:to="loc_us-gaap_PlanNameDomain_1406037" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandTwentyFivePlanMember" xlink:label="loc_xpev_TwoThousandTwentyFivePlanMember_1406039" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_PlanNameDomain_1406037" xlink:to="loc_xpev_TwoThousandTwentyFivePlanMember_1406039" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863893" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863893" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_863896" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_863896" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_863897" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_863897" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_863898" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_863898" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863900" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863900" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xlink:label="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber_863901" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber_863901" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863884" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863884" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_863887" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_863887" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_863888" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_863888" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_863889" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_863889" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863891" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863891" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract_1406032" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_1406033" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract_1406032" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_1406033" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1406034" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract_1406032" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1406034" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1406035" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract_1406032" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1406035" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1406049" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406041" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1406049" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406041" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_1406042" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406041" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_1406042" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_1406043" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406041" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_1406043" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1406044" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406041" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1406044" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406045" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1406049" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406045" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_1406046" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406045" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_1406046" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_1406047" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406045" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_1406047" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_1406048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract_1406045" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_1406048" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1406050" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1406049" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1406050" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_787087" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_787087" xlink:to="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1406129" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" xlink:to="loc_srt_StatementGeographicalAxis_1406129" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406130" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_1406129" xlink:to="loc_srt_SegmentGeographicalDomain_1406130" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_KY" xlink:label="loc_country_KY_1406131" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_KY_1406131" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_VG" xlink:label="loc_country_VG_1406132" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_VG_1406132" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK" xlink:label="loc_country_HK_1406133" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_HK_1406133" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NL" xlink:label="loc_country_NL_1406134" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_NL_1406134" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" xlink:to="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xlink:label="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees_787143" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees_787143" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_787107" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_787107" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1406136" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1406136" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1406185" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1406185" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_1406186" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_1406186" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xlink:label="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate_1405035" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate_1405035" use="optional" order="14" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_1405036" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_1405036" use="optional" order="15" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_787111" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_787111" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_787112" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_787112" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_787114" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_787114" use="optional" order="18" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_787120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_787120" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_787121" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_787121" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_1406146" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_1406146" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1405770" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1405770" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1406147" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1406147" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_1406145" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_1406145" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_1406148" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_1406148" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss_1406138" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss_1406138" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1406139" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1406139" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_1406150" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_1406150" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment_1406151" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment_1406151" use="optional" order="30" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates_1406188" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates_1406188" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss_1406141" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss_1406141" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_1406142" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_1406142" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_1406153" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_1406153" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment_1406154" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment_1406154" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates_1406189" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates_1406189" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes_1406156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" xlink:to="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes_1406156" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes_1406162" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes_1406162" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_787123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_787123" use="optional" order="42" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1406166" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1406166" use="optional" order="43" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_1406109" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_1406109" xlink:to="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1406116" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" xlink:to="loc_srt_StatementGeographicalAxis_1406116" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406117" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_StatementGeographicalAxis_1406116" xlink:to="loc_srt_SegmentGeographicalDomain_1406117" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_DK" xlink:label="loc_country_DK_1406118" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_country_DK_1406118" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember_1406119" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_srt_AmericasMember_1406119" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NO" xlink:label="loc_country_NO_1406120" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_country_NO_1406120" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" xlink:to="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_1406122" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_1406122" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_1406123" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_1406123" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid_1406124" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxesPaid_1406124" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_1405681" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:label="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_1405681" xlink:to="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_787160" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_787160" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsGovernmentGrants" xlink:label="loc_xpev_DeferredTaxAssetsGovernmentGrants_787164" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_xpev_DeferredTaxAssetsGovernmentGrants_787164" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xlink:label="loc_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets_787163" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets_787163" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInventory" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_787165" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_787165" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_787167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_787167" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsLeases" xlink:label="loc_xpev_DeferredTaxAssetsLeases_1405586" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_xpev_DeferredTaxAssetsLeases_1405586" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787168" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_787169" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract_787159" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_787169" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xlink:label="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_1405681" xlink:to="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1405600" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1405600" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_1405599" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_1405599" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_1405872" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_1405872" use="optional" order="13" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_1405961" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_1405961" use="optional" order="14" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsNetOfValuationAllowance" xlink:label="loc_xpev_DeferredTaxAssetsNetOfValuationAllowance_1405962" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_xpev_DeferredTaxAssetsNetOfValuationAllowance_1405962" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_1405771" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_1405598" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_1405771" use="optional" order="16" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfMovementOfValuationAllowanceDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceAbstract" xlink:label="loc_us-gaap_ValuationAllowanceAbstract_787172" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceTable" xlink:label="loc_us-gaap_ValuationAllowanceTable_787173" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceAbstract_787172" xlink:to="loc_us-gaap_ValuationAllowanceTable_787173" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceTable_787173" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_787175" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_787175" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember_787176" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember_787176" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AcquisitionOfSubsidiariesMember" xlink:label="loc_xpev_AcquisitionOfSubsidiariesMember_1405605" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_AcquisitionOfSubsidiariesMember_1405605" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember_787177" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember_787177" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember_787178" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember_787178" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceLineItems" xlink:label="loc_us-gaap_ValuationAllowanceLineItems_787179" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceTable_787173" xlink:to="loc_us-gaap_ValuationAllowanceLineItems_787179" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787180" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787180" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_787181" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_787181" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787182" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787182" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfTaxLossCarryforwardsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_787200" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_787205" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787200" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_787205" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InlandRevenueHongKongMember" xlink:label="loc_us-gaap_InlandRevenueHongKongMember_787208" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" xlink:to="loc_us-gaap_InlandRevenueHongKongMember_787208" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherMember" xlink:label="loc_xpev_OtherMember_1406195" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" xlink:to="loc_xpev_OtherMember_1406195" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_787210" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xlink:to="loc_us-gaap_TaxPeriodAxis_787210" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_787211" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodAxis_787210" xlink:to="loc_us-gaap_TaxPeriodDomain_787211" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2026TaxYearMember" xlink:label="loc_xpev_Expiring2026TaxYearMember_787216" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2026TaxYearMember_787216" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2027TaxYearMember" xlink:label="loc_xpev_Expiring2027TaxYearMember_787217" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2027TaxYearMember_787217" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2028TaxYearMember" xlink:label="loc_xpev_Expiring2028TaxYearMember_787218" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2028TaxYearMember_787218" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2029TaxYearMember" xlink:label="loc_xpev_Expiring2029TaxYearMember_787219" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2029TaxYearMember_787219" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2030Member" xlink:label="loc_xpev_LossExpiringIn2030Member_862846" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_LossExpiringIn2030Member_862846" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2031Member" xlink:label="loc_xpev_LossExpiringIn2031Member_1405276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_LossExpiringIn2031Member_1405276" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2032TaxYearMember" xlink:label="loc_xpev_Expiring2032TaxYearMember_1405093" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2032TaxYearMember_1405093" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2033TaxYearMember" xlink:label="loc_xpev_Expiring2033TaxYearMember_1405402" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2033TaxYearMember_1405402" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2034TaxYearMember" xlink:label="loc_xpev_Expiring2034TaxYearMember_1405956" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2034TaxYearMember_1405956" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2035TaxYearMember" xlink:label="loc_xpev_Expiring2035TaxYearMember_1406000" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2035TaxYearMember_1406000" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xlink:to="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_787221" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_787221" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_787222" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_787222" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_787253" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_787254" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_787253" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_787254" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InlandRevenueHongKongMember" xlink:label="loc_us-gaap_InlandRevenueHongKongMember_787257" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_InlandRevenueHongKongMember_787257" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_787258" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_787258" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAdministrationOfTaxationChinaMember" xlink:label="loc_us-gaap_StateAdministrationOfTaxationChinaMember_787259" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_StateAdministrationOfTaxationChinaMember_787259" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongKongAndOthersMember" xlink:label="loc_xpev_HongKongAndOthersMember_1382320" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_xpev_HongKongAndOthersMember_1382320" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_787261" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" xlink:to="loc_us-gaap_RelatedPartyDomain_787261" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BeneficialOwnerMember" xlink:label="loc_us-gaap_BeneficialOwnerMember_787262" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_787261" xlink:to="loc_us-gaap_BeneficialOwnerMember_787262" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyAxis" xlink:label="loc_xpev_TaxPolicyAxis_787263" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_xpev_TaxPolicyAxis_787263" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyDomain" xlink:label="loc_xpev_TaxPolicyDomain_787264" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_TaxPolicyAxis_787263" xlink:to="loc_xpev_TaxPolicyDomain_787264" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeAxis" xlink:label="loc_xpev_EnterpriseTypeAxis_787266" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_xpev_EnterpriseTypeAxis_787266" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeDomain" xlink:label="loc_xpev_EnterpriseTypeDomain_787267" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_EnterpriseTypeAxis_787266" xlink:to="loc_xpev_EnterpriseTypeDomain_787267" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HnteMember" xlink:label="loc_xpev_HnteMember_787268" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_EnterpriseTypeDomain_787267" xlink:to="loc_xpev_HnteMember_787268" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_1405767" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_srt_ConsolidatedEntitiesAxis_1405767" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1405768" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_1405767" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1405768" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember" xlink:label="loc_srt_SubsidiariesMember_1405769" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1405768" xlink:to="loc_srt_SubsidiariesMember_1405769" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_787270" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_787270" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferentialIncomeTaxRate" xlink:label="loc_xpev_PreferentialIncomeTaxRate_787273" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_xpev_PreferentialIncomeTaxRate_787273" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WithholdingTaxRate" xlink:label="loc_xpev_WithholdingTaxRate_787274" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_xpev_WithholdingTaxRate_787274" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_787276" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_787276" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_788047" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_788047" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_788048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_788048" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_1405779" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_1405779" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_787036" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_787037" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_NetIncomeLoss_787037" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_787044" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_787044" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405293" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405293" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405294" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405294" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1405295" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_EarningsPerShareBasic_1405295" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1405296" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787036" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1405296" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShareAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_787053" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EarningsPerShareAbstract_787053" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_866156" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_866156" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ContigentShareMember" xlink:label="loc_xpev_ContigentShareMember_1405578" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" xlink:to="loc_xpev_ContigentShareMember_1405578" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405579" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xlink:to="loc_srt_RangeAxis_1405579" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405580" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_1405579" xlink:to="loc_srt_RangeMember_1405580" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1405581" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1405580" xlink:to="loc_srt_MaximumMember_1405581" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1405582" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_1405580" xlink:to="loc_srt_MinimumMember_1405582" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" xlink:label="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xlink:to="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_787067" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_787067" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_786977" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_786977" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786980" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" xlink:to="loc_us-gaap_RelatedPartyDomain_786980" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengHeMember" xlink:label="loc_xpev_XiaopengHeMember_786981" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_XiaopengHeMember_786981" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongdiBrianGuMember" xlink:label="loc_xpev_HongdiBrianGuMember_1405062" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HongdiBrianGuMember_1405062" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaoHeMember" xlink:label="loc_xpev_TaoHeMember_1405063" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_TaoHeMember_1405063" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarIncMember" xlink:label="loc_xpev_HtFlyingCarIncMember_1405065" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HtFlyingCarIncMember_1405065" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarHongKongLimitedMember" xlink:label="loc_xpev_HtFlyingCarHongKongLimitedMember_1405067" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HtFlyingCarHongKongLimitedMember_1405067" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xlink:label="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember_1382253" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember_1382253" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xlink:label="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember_1382255" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember_1382255" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember_1405994" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember_1405994" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember_1405992" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember_1405992" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FoshanHuitianAviationTechnologyCoLtdMember" xlink:label="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember_1405990" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember_1405990" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RocketsCapitalL.pMember" xlink:label="loc_xpev_RocketsCapitalL.pMember_1405069" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_RocketsCapitalL.pMember_1405069" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405073" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405073" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_786983" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" xlink:to="loc_us-gaap_RelatedPartyTransactionLineItems_786983" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xlink:label="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships_786984" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_786983" xlink:to="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships_786984" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_863613" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_863613" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_863617" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" xlink:to="loc_us-gaap_RelatedPartyDomain_863617" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengHeMember" xlink:label="loc_xpev_XiaopengHeMember_863620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_XiaopengHeMember_863620" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaoHeMember" xlink:label="loc_xpev_TaoHeMember_1405094" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_TaoHeMember_1405094" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyMember" xlink:label="loc_us-gaap_RelatedPartyMember_1405648" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_us-gaap_RelatedPartyMember_1405648" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrincipalOwnerMember" xlink:label="loc_us-gaap_PrincipalOwnerMember_1405755" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_us-gaap_PrincipalOwnerMember_1405755" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EmployeeGroupMember" xlink:label="loc_xpev_EmployeeGroupMember_1405820" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_EmployeeGroupMember_1405820" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_863622" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_863622" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_863623" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_863622" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_863623" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperationSupportServiceMember" xlink:label="loc_xpev_OperationSupportServiceMember_1373087" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_OperationSupportServiceMember_1373087" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasingServicesMember" xlink:label="loc_xpev_LeasingServicesMember_1405821" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_LeasingServicesMember_1405821" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseOfServicesMember" xlink:label="loc_xpev_PurchaseOfServicesMember_1406194" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_PurchaseOfServicesMember_1406194" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_1405097" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_InvestmentTypeAxis_1405097" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1405098" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_InvestmentTypeAxis_1405097" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1405098" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_1405101" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_TitleOfIndividualAxis_1405101" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_TitleOfIndividualAxis_1405101" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405105" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405105" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405106" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405105" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405106" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperationSupportServiceMember" xlink:label="loc_xpev_OperationSupportServiceMember_1405842" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405106" xlink:to="loc_xpev_OperationSupportServiceMember_1405842" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_1405107" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405106" xlink:to="loc_us-gaap_CostOfSalesMember_1405107" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_1405108" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1405108" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405109" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405108" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405109" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405314" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405314" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VariableInterestEntityVieActivitiesMember" xlink:label="loc_xpev_VariableInterestEntityVieActivitiesMember_1405315" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405314" xlink:to="loc_xpev_VariableInterestEntityVieActivitiesMember_1405315" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405928" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405314" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405928" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_1406054" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_1406054" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_1406054" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_1406056" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_1406056" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_1406057" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_ProductOrServiceAxis_1406057" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_1406058" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductOrServiceAxis_1406057" xlink:to="loc_srt_ProductsAndServicesDomain_1406058" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GoodsMember" xlink:label="loc_xpev_GoodsMember_1406059" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ProductsAndServicesDomain_1406058" xlink:to="loc_xpev_GoodsMember_1406059" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_863632" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_RelatedPartyTransactionLineItems_863632" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_863636" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_InterestExpense_863636" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_863639" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_863639" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_866171" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_866171" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_885916" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_885916" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1373086" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1373086" use="optional" order="39" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1405095" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1405095" use="optional" order="40" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_1405111" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_1405111" use="optional" order="41" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xlink:label="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_786901" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract_786901" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentsAdditionsMember" xlink:label="loc_xpev_InvestmentsAdditionsMember_786906" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" xlink:to="loc_xpev_InvestmentsAdditionsMember_786906" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalAdditionsMember" xlink:label="loc_us-gaap_CapitalAdditionsMember_786905" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" xlink:to="loc_us-gaap_CapitalAdditionsMember_786905" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentAmount" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount_786908" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentAmount_786908" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfPurchaseExpendituresDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_786910" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation_786911" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_786910" xlink:to="loc_us-gaap_PurchaseObligation_786911" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RestrictedNetAssetsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract_885803" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsTable" xlink:label="loc_xpev_RestrictedNetAssetsTable_885805" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ReceivablesAbstract_885803" xlink:to="loc_xpev_RestrictedNetAssetsTable_885805" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_885809" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsTable_885805" xlink:to="loc_srt_RangeAxis_885809" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_885810" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeAxis_885809" xlink:to="loc_srt_RangeMember_885810" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_885811" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_885810" xlink:to="loc_srt_MaximumMember_885811" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_885812" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RangeMember_885810" xlink:to="loc_srt_MinimumMember_885812" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsLineItems" xlink:label="loc_xpev_RestrictedNetAssetsLineItems_885808" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsTable_885805" xlink:to="loc_xpev_RestrictedNetAssetsLineItems_885808" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xlink:label="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund_885814" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund_885814" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax_885817" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax_885817" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital_890763" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital_890763" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital_890762" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital_890762" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssets" xlink:label="loc_xpev_RestrictedNetAssets_890769" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_RestrictedNetAssets_890769" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xlink:label="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment_890765" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment_890765" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786774" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786774" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786777" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786777" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786778" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786777" xlink:to="loc_us-gaap_ClassOfStockDomain_786778" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786792" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786778" xlink:to="loc_us-gaap_CommonClassAMember_786792" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786793" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_ClassOfStockDomain_786778" xlink:to="loc_us-gaap_CommonClassBMember_786793" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786780" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786780" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786781" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786780" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786781" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786782" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786781" xlink:to="loc_us-gaap_ParentMember_786782" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xlink:to="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_786794" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_AssetsAbstract_786794" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_786795" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_AssetsCurrentAbstract_786795" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786796" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786796" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_862749" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_xpev_ShortTermDeposits_862749" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405773" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_xpev_LongtermDepositsCurrent_1405773" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/definitionGuidance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_862751" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_862751" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_786797" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_AssetsCurrent_786797" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_786798" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_786798" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_786799" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_EquityMethodInvestments_786799" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1405079" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_LongTermInvestments_1405079" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent_786800" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_AssetsNoncurrent_786800" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_786801" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_Assets_786801" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_786802" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_LiabilitiesAbstract_786802" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_862761" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_862761" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_862762" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_862762" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_1405574" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_1405574" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_862763" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_LiabilitiesCurrent_862763" use="optional" order="26" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" use="optional" order="27" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786806" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786806" use="optional" order="28" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_786814" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_786814" use="optional" order="29" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_786815" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_Liabilities_786815" use="optional" order="30" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_786821" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_StockholdersEquityAbstract_786821" use="optional" order="31" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_786822" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_CommonStockValue_786822" use="optional" order="32" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_862777" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_AdditionalPaidInCapital_862777" use="optional" order="33" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryAndOtherReserves" xlink:label="loc_xpev_StatutoryAndOtherReserves_1405342" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_xpev_StatutoryAndOtherReserves_1405342" use="optional" order="34" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786823" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786823" use="optional" order="35" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786824" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786824" use="optional" order="36" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786825" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_StockholdersEquity_786825" use="optional" order="37" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_786826" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_786826" use="optional" order="38" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786840" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786840" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786846" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786846" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786848" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786846" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786848" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786869" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786848" xlink:to="loc_us-gaap_ParentMember_786869" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" xlink:to="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_786850" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" xlink:to="loc_us-gaap_OperatingExpensesAbstract_786850" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786851" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786851" use="optional" order="7" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_786852" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OperatingExpenses_786852" use="optional" order="8" preferredLabel="http://www.xbrl.org/2009/role/negatedTotalLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xlink:label="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration_1405774" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration_1405774" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_786853" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OperatingIncomeLoss_786853" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_786854" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_InvestmentIncomeInterest_786854" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_786855" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_GainLossOnInvestments_786855" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_862789" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_862789" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405083" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405083" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentLossOnLongTermInvestments_1405088" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_xpev_InvestmentLossOnLongTermInvestments_1405088" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786856" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786856" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786857" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786857" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_786858" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_786858" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405089" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405089" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786859" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_NetIncomeLoss_786859" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786865" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786865" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" use="optional" order="22" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786867" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786867" use="optional" order="23" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_786868" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_786868" use="optional" order="24" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786870" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786870" use="optional" order="25" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786872" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_786872" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786878" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786878" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786879" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786878" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786879" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786880" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786879" xlink:to="loc_us-gaap_ParentMember_786880" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_1382167" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xlink:to="loc_srt_RestatementAxis_1382167" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_1382168" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_RestatementAxis_1382167" xlink:to="loc_srt_RestatementDomain_1382168" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xlink:to="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786881" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786881" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1405091" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1405091" use="optional" order="10" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_786884" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_786884" use="optional" order="11" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments_1405090" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_PaymentsToAcquireLongtermInvestments_1405090" use="optional" order="12" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1406051" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1406051" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786885" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786885" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xlink:label="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen_1405778" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" xlink:to="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen_1405778" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786889" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786889" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/totalLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_1375048" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_1375048" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/terseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786890" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786890" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786891" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786891" use="optional" order="20" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786892" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786892" use="optional" order="21" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel" />
        </link:presentationLink>
        <link:presentationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SubsequentEventsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="loc_us-gaap_SubsequentEventsAbstract_885846" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_885847" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventsAbstract_885846" xlink:to="loc_us-gaap_SubsequentEventTable_885847" use="optional" order="1" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_885848" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_885848" use="optional" order="2" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_885849" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_885848" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_885849" use="optional" order="3" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_885851" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_885849" xlink:to="loc_us-gaap_SubsequentEventMember_885851" use="optional" order="4" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" use="optional" order="5" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_886621" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" xlink:to="loc_us-gaap_RelatedPartyDomain_886621" use="optional" order="6" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1373071" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1373071" use="optional" order="7" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1373071" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073" use="optional" order="8" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_897395" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_897395" use="optional" order="9" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_897396" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_897395" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_897396" use="optional" order="10" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementAxis" xlink:label="loc_xpev_AgreementAxis_1378068" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_xpev_AgreementAxis_1378068" use="optional" order="11" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_1378069" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_xpev_AgreementAxis_1378068" xlink:to="loc_xpev_AgreementDomain_1378069" use="optional" order="12" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" use="optional" order="13" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053" use="optional" order="14" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_1405803" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_FinancialInstrumentAxis_1405803" use="optional" order="15" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405803" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" use="optional" order="16" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1405806" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1405806" use="optional" order="17" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_885852" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_SubsequentEventLineItems_885852" use="optional" order="18" preferredLabel="http://www.xbrl.org/2003/role/label" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1405802" />
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_us-gaap_SubsequentEventLineItems_885852" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1405802" use="optional" order="19" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel" />
        </link:presentationLink>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"  />
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll"  />
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CoverPage" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_787739" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_787736" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentInformationTable_787736" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_787737" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_787736" xlink:to="loc_us-gaap_StatementClassOfStockAxis_787737" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_787738" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_787737" xlink:to="loc_us-gaap_ClassOfStockDomain_787738" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_787738_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_787737" xlink:to="loc_us-gaap_ClassOfStockDomain_787738_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_787740" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_us-gaap_CommonClassAMember_787740" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_787741" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_us-gaap_CommonClassBMember_787741" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AdrMember" xlink:label="loc_dei_AdrMember_788337" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_787738" xlink:to="loc_dei_AdrMember_788337" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesAddressTypeAxis" xlink:label="loc_dei_EntityAddressesAddressTypeAxis_787776" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_787736" xlink:to="loc_dei_EntityAddressesAddressTypeAxis_787776" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="loc_dei_AddressTypeDomain_787777" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_EntityAddressesAddressTypeAxis_787776" xlink:to="loc_dei_AddressTypeDomain_787777" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="loc_dei_AddressTypeDomain_787777_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_EntityAddressesAddressTypeAxis_787776" xlink:to="loc_dei_AddressTypeDomain_787777_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_BusinessContactMember" xlink:label="loc_dei_BusinessContactMember_787778" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_AddressTypeDomain_787777" xlink:to="loc_dei_BusinessContactMember_787778" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_787742" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentType_787742" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_787746" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AmendmentFlag_787746" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_787747" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentPeriodEndDate_787747" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_787748" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFiscalYearFocus_787748" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_787749" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFiscalPeriodFocus_787749" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_787750" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityRegistrantName_787750" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_787751" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCentralIndexKey_787751" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_787755" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CurrentFiscalYearEndDate_787755" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_787756" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_787756" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_787760" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityFilerCategory_787760" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany_787762" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityEmergingGrowthCompany_787762" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany_787759" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityShellCompany_787759" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport_787744" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentTransitionReport_787744" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport" xlink:label="loc_dei_DocumentAnnualReport_787743" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentAnnualReport_787743" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_787758" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCurrentReportingStatus_787758" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_787757" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityVoluntaryFilers_787757" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent_787745" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityInteractiveDataCurrent_787745" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber_787752" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityFileNumber_787752" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode_787753" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityIncorporationStateCountryCode_787753" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1_787764" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressAddressLine1_787764" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine2" xlink:label="loc_dei_EntityAddressAddressLine2_787811" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressAddressLine2_787811" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown_787765" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressCityOrTown_787765" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode_787768" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressPostalZipCode_787768" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCountry" xlink:label="loc_dei_EntityAddressCountry_787767" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityAddressCountry_787767" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber_787770" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_LocalPhoneNumber_787770" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CountryRegion" xlink:label="loc_dei_CountryRegion_886347" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CountryRegion_886347" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode_787769" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_CityAreaCode_787769" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelName" xlink:label="loc_dei_ContactPersonnelName_787782" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_ContactPersonnelName_787782" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelEmailAddress" xlink:label="loc_dei_ContactPersonnelEmailAddress_787784" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_ContactPersonnelEmailAddress_787784" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle_787771" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_Security12bTitle_787771" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_NoTradingSymbolFlag" xlink:label="loc_dei_NoTradingSymbolFlag_787772" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_NoTradingSymbolFlag_787772" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_787773" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_TradingSymbol_787773" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName_787774" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_SecurityExchangeName_787774" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_787775" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_787775" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentRegistrationStatement" xlink:label="loc_dei_DocumentRegistrationStatement_787780" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentRegistrationStatement_787780" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAccountingStandard" xlink:label="loc_dei_DocumentAccountingStandard_787781" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentAccountingStandard_787781" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag" xlink:label="loc_dei_IcfrAuditorAttestationFlag_867515" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_IcfrAuditorAttestationFlag_867515" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorName" xlink:label="loc_dei_AuditorName_1368549" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorName_1368549" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorFirmId" xlink:label="loc_dei_AuditorFirmId_1368550" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorFirmId_1368550" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorLocation" xlink:label="loc_dei_AuditorLocation_1368551" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_AuditorLocation_1368551" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentShellCompanyReport" xlink:label="loc_dei_DocumentShellCompanyReport_1382560" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentShellCompanyReport_1382560" use="optional" order="52" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_1405339" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_787739" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_1405339" use="optional" order="53" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786035" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786008" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_786035" xlink:to="loc_us-gaap_StatementTable_786008" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786012" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786008" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786012" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786014" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786012" xlink:to="loc_us-gaap_ClassOfStockDomain_786014" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786014_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786012" xlink:to="loc_us-gaap_ClassOfStockDomain_786014_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786031" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786014" xlink:to="loc_us-gaap_CommonClassAMember_786031" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786032" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786014" xlink:to="loc_us-gaap_CommonClassBMember_786032" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_786038" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786035" xlink:to="loc_us-gaap_AssetsAbstract_786038" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_786039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_AssetsCurrentAbstract_786039" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786040" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786040" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_786042" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_RestrictedCash_786042" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_863501" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_ShortTermDeposits_863501" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedDepositCurrent" xlink:label="loc_xpev_RestrictedDepositCurrent_1405823" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_RestrictedDepositCurrent_1405823" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_786043" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_ShortTermInvestments_786043" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405056" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_LongtermDepositsCurrent_1405056" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedLongTermDepositCurrent" xlink:label="loc_xpev_RestrictedLongTermDepositCurrent_1406002" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_RestrictedLongTermDepositCurrent_1406002" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_786045" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_786045" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xlink:label="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet_1368626" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet_1368626" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_786048" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_InventoryNet_786048" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmountsDueFromRelatedParties" xlink:label="loc_xpev_AmountsDueFromRelatedParties_786050" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_xpev_AmountsDueFromRelatedParties_786050" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration_1405647" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration_1405647" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786051" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_786051" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_786052" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786039" xlink:to="loc_us-gaap_AssetsCurrent_786052" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_786053" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_786053" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsNonCurrent" xlink:label="loc_xpev_LongTermDepositsNonCurrent_1405320" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_LongTermDepositsNonCurrent_1405320" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndInvestmentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent_1405340" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent_1405340" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_786054" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_786054" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_786055" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_786055" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_786057" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_786057" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightAsset" xlink:label="loc_xpev_LandUseRightAsset_786059" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_LandUseRightAsset_786059" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesNet" xlink:label="loc_xpev_InstallmentPaymentReceivablesNet_1368635" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_xpev_InstallmentPaymentReceivablesNet_1368635" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_863503" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_LongTermInvestments_863503" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_786062" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_786062" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent_786063" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786053" xlink:to="loc_us-gaap_AssetsNoncurrent_786063" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_786064" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786038" xlink:to="loc_us-gaap_Assets_786064" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_786068" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786035" xlink:to="loc_us-gaap_LiabilitiesAbstract_786068" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_786070" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_786070" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_786072" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_ShortTermBorrowings_786072" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_786073" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccountsPayableCurrent_786073" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_xpev_NotesPayableCurrentLiabilities_1406003" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_xpev_NotesPayableCurrentLiabilities_1406003" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_786074" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_786074" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_863504" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_863504" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_1406004" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_1406004" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration_1405650" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration_1405650" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_786075" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_786075" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405154" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405154" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_786077" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_DeferredRevenueCurrent_786077" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_786078" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_LongTermDebtCurrent_786078" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_786080" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_786080" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_786081" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_786070" xlink:to="loc_us-gaap_LiabilitiesCurrent_786081" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_786086" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_786086" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_786087" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_786087" use="optional" order="52" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405155" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405155" use="optional" order="53" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_786088" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_786088" use="optional" order="54" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786089" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786089" use="optional" order="55" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1405341" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_1405341" use="optional" order="56" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_786090" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_786090" use="optional" order="57" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_786091" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_786091" use="optional" order="58" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_786092" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786085" xlink:to="loc_us-gaap_Liabilities_786092" use="optional" order="59" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_1405682" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_CommitmentsAndContingencies_1405682" use="optional" order="60" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_786097" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_StockholdersEquityAbstract_786097" use="optional" order="61" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_786098" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_CommonStockValue_786098" use="optional" order="62" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_786099" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_AdditionalPaidInCapital_786099" use="optional" order="63" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReserve" xlink:label="loc_xpev_StatutoryReserve_1368652" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_xpev_StatutoryReserve_1368652" use="optional" order="64" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786111" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786111" use="optional" order="65" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786100" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786100" use="optional" order="66" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786101" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786097" xlink:to="loc_us-gaap_StockholdersEquity_786101" use="optional" order="67" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_786107" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786068" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_786107" use="optional" order="68" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheetsParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786227" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786208" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_StatementTable_786208" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786212" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786208" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786212" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786213" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786212" xlink:to="loc_us-gaap_ClassOfStockDomain_786213" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786213_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786212" xlink:to="loc_us-gaap_ClassOfStockDomain_786213_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786224" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786213" xlink:to="loc_us-gaap_CommonClassAMember_786224" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786225" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786213" xlink:to="loc_us-gaap_CommonClassBMember_786225" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_786245" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_786245" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_786246" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_786246" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_786247" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesIssued_786247" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_786248" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786227" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_786248" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_785994" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_785991" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_StatementTable_785991" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_785995" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_785991" xlink:to="loc_srt_ProductOrServiceAxis_785995" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_785996" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_785995" xlink:to="loc_srt_ProductsAndServicesDomain_785996" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_785996_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_785995" xlink:to="loc_srt_ProductsAndServicesDomain_785996_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehicleMember" xlink:label="loc_xpev_VehicleMember_785998" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_785996" xlink:to="loc_xpev_VehicleMember_785998" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember_785999" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_785996" xlink:to="loc_us-gaap_ServiceOtherMember_785999" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_786000" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_RevenuesAbstract_786000" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_786001" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_786000" xlink:to="loc_us-gaap_Revenues_786001" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="loc_us-gaap_CostOfRevenueAbstract_786004" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_CostOfRevenueAbstract_786004" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_786005" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_786004" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_786005" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_786006" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_GrossProfit_786006" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_786007" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OperatingExpensesAbstract_786007" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_786009" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_786009" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786011" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786011" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingOtherIncome" xlink:label="loc_xpev_OperatingOtherIncome_786015" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_xpev_OperatingOtherIncome_786015" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xlink:label="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration_1405344" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration_1405344" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_786013" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786007" xlink:to="loc_us-gaap_OperatingExpenses_786013" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_786016" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OperatingIncomeLoss_786016" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_786018" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_InvestmentIncomeInterest_786018" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_786020" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_InterestExpense_786020" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786021" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786021" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1368696" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1368696" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405162" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_786023" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_786023" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786024" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786024" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_786026" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_786026" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405164" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405164" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786028" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_NetIncomeLoss_786028" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786046" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786046" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786058" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786056" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786058" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_786061" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_786061" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786065" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786065" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1405170" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1405171" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1405168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_EarningsPerShareBasic_1405168" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_1405169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_785994" xlink:to="loc_us-gaap_EarningsPerShareDiluted_1405169" use="optional" order="37" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLossParenthetical" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786122" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786119" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_786122" xlink:to="loc_us-gaap_StatementTable_786119" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_786123" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786119" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_786123" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786124" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786123" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786124" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786124_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786123" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786124_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_1405167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_CostOfSalesMember_1405167" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_786127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_786127" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_786125" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786124" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_786125" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_786128" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786122" xlink:to="loc_us-gaap_ShareBasedCompensation_786128" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfChangesInShareholdersEquity" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786163" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786160" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StatementTable_786160" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_786165" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_786165" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_786166" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_786165" xlink:to="loc_us-gaap_EquityComponentDomain_786166" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_786166_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_786165" xlink:to="loc_us-gaap_EquityComponentDomain_786166_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_786167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_CommonStockMember_786167" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_786168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_TreasuryStockCommonMember_786168" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_786169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_786169" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesMember" xlink:label="loc_xpev_StatutoryReservesMember_1368747" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_xpev_StatutoryReservesMember_1368747" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_786170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_786170" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_786171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_786166" xlink:to="loc_us-gaap_RetainedEarningsMember_786171" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_863524" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_863525_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_863529" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_863530_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405350" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_786160" xlink:to="loc_dei_LegalEntityAxis_1405350" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405351" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1405350" xlink:to="loc_dei_EntityDomain_1405351" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405351_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1405350" xlink:to="loc_dei_EntityDomain_1405351_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidisSmartAutoBusinessMember" xlink:label="loc_xpev_DidisSmartAutoBusinessMember_1405352" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405351" xlink:to="loc_xpev_DidisSmartAutoBusinessMember_1405352" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786172" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockholdersEquity_786172" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_786174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_SharesOutstanding_786174" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1405926" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1405926" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_786228" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_786228" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_786177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_786177" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786178" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock_1368750" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock_1368750" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodValueTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock_1368751" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock_1368751" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus_1405182" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus_1405182" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus_1405183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus_1405183" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits_863537" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits_863537" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405346" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405346" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_1405345" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_1405345" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xlink:label="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition_1405349" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition_1405349" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786183" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_us-gaap_NetIncomeLoss_786185" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationToStatutoryReserves" xlink:label="loc_xpev_AppropriationToStatutoryReserves_1368766" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786163" xlink:to="loc_xpev_AppropriationToStatutoryReserves_1368766" use="optional" order="37" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_786256" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_786253" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_StatementTable_786253" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786259" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_NetIncomeLoss_786259" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_786268" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_Depreciation_786268" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_786270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_786270" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_786272" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_786272" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRight" xlink:label="loc_xpev_AmortizationOfLandUseRight_786273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_AmortizationOfLandUseRight_786273" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_786274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_786274" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_1405354" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_1405354" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TangibleAssetImpairmentCharges" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges_786276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges_786276" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_1405185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_1405185" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xlink:label="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable_1368837" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable_1368837" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables_1368838" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables_1368838" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets_1368839" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets_1368839" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_786279" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_InventoryWriteDown_786279" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_786345" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_786345" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeInterest" xlink:label="loc_xpev_IncomeInterest_786280" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_IncomeInterest_786280" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_786275" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_ShareBasedCompensation_786275" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786281" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786281" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1368840" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1368840" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405355" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405355" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_786266" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405186" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_786283" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_786283" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_786284" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_786284" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_786285" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent_786285" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_786286" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_786286" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_786287" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_786287" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_786288" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_786288" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInNotesPayableCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent_1406079" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent_1406079" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_1405357" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_1405357" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_786289" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_786289" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_1405187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_1405187" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_786291" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_786291" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_786292" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_786292" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xlink:label="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables_1368845" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables_1368845" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_786294" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_786294" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_863838" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_786282" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_863838" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786295" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_786258" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786295" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1368847" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1368847" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromShortTermInvestments" xlink:label="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments_786299" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments_786299" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsMaturitiesOfLongtermDeposits" xlink:label="loc_xpev_PlacementsMaturitiesOfLongtermDeposits_1405865" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsMaturitiesOfLongtermDeposits_1405865" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedShorttermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedShorttermDeposits_1405866" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsOfRestrictedShorttermDeposits_1405866" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405867" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405867" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedLongtermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedLongtermDeposits_1405868" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PlacementsOfRestrictedLongtermDeposits_1405868" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_786300" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_786300" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xlink:label="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets_786301" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets_786301" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_1405870" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_1405870" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1405869" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_1405869" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireLandHeld" xlink:label="loc_xpev_PaymentsToAcquireLandHeld_786303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsToAcquireLandHeld_786303" use="optional" order="52" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_863839" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_863839" use="optional" order="53" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments_863841" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireLongtermInvestments_863841" use="optional" order="54" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_1405358" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_1405358" use="optional" order="55" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_1405359" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_1405359" use="optional" order="56" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes_1406005" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes_1406005" use="optional" order="57" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes_1406006" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes_1406006" use="optional" order="58" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786306" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786296" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786306" use="optional" order="59" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" use="optional" order="60" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xlink:label="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup_1405360" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup_1405360" use="optional" order="61" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_786310" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_786310" use="optional" order="62" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_786315" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_RepaymentsOfDebt_786315" use="optional" order="63" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfRelatedPartyDebt" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt_786319" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_RepaymentsOfRelatedPartyDebt_786319" use="optional" order="64" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentOfDebtFromThirdPartyInvestors" xlink:label="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors_1405189" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors_1405189" use="optional" order="65" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentsOfFinanceLeaseLiabilities" xlink:label="loc_xpev_RepaymentsOfFinanceLeaseLiabilities_1405190" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_xpev_RepaymentsOfFinanceLeaseLiabilities_1405190" use="optional" order="66" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786307" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786323" use="optional" order="67" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_786325" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_786325" use="optional" order="68" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786328" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786328" use="optional" order="69" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786332" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786332" use="optional" order="70" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" use="optional" order="71" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_786337" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_InterestPaidNet_786337" use="optional" order="72" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_1405762" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_1405762" use="optional" order="73" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_786338" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_786338" use="optional" order="74" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInBusinessCombination" xlink:label="loc_xpev_CashAcquiredInBusinessCombination_1405365" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_xpev_CashAcquiredInBusinessCombination_1405365" use="optional" order="75" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferred" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred_1405363" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferred_1405363" use="optional" order="76" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInAssetAcquisition" xlink:label="loc_xpev_CashAcquiredInAssetAcquisition_1405366" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_786336" xlink:to="loc_xpev_CashAcquiredInAssetAcquisition_1405366" use="optional" order="77" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_786256" xlink:to="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" use="optional" order="78" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405361" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_1405361" use="optional" order="79" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInAcquisition" xlink:label="loc_xpev_FairValueOfContingentConsiderationInAcquisition_1405763" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract_1405587" xlink:to="loc_xpev_FairValueOfContingentConsiderationInAcquisition_1405763" use="optional" order="80" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationTables" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareBasedCompensationLineItems" xlink:label="loc_xpev_ShareBasedCompensationLineItems_863870" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationTable" xlink:label="loc_xpev_SharebasedCompensationTable_863865" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ShareBasedCompensationLineItems_863870" xlink:to="loc_xpev_SharebasedCompensationTable_863865" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_863866" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_SharebasedCompensationTable_863865" xlink:to="loc_us-gaap_AwardTypeAxis_863866" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_863866" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_863866" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863867_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_863861" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ShareBasedCompensationLineItems_863870" xlink:to="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock_863861" use="optional" order="5" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesTables" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_1405832" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1405828" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_1405832" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_1405833" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1405832" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_1405833" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_1405833_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_1405832" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_1405833_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonTradeInNatureMember" xlink:label="loc_xpev_NonTradeInNatureMember_1405834" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_NonTradeInNatureMember_1405834" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TradeInNatureMember" xlink:label="loc_xpev_TradeInNatureMember_1405838" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_TradeInNatureMember_1405838" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ReceivablesInNatureMember" xlink:label="loc_xpev_ReceivablesInNatureMember_1405839" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_ReceivablesInNatureMember_1405839" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayablesInNatureMember" xlink:label="loc_xpev_PayablesInNatureMember_1405840" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_PayablesInNatureMember_1405840" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentCommitmentInNatureMember" xlink:label="loc_xpev_InvestmentCommitmentInNatureMember_1405841" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_1405833" xlink:to="loc_xpev_InvestmentCommitmentInNatureMember_1405841" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xlink:label="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock_786965" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" xlink:to="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock_786965" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_786967" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_1405871" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_786967" use="optional" order="11" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786680" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786680" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786681" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786680" xlink:to="loc_us-gaap_ClassOfStockDomain_786681" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786681_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786680" xlink:to="loc_us-gaap_ClassOfStockDomain_786681_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786690" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" xlink:to="loc_us-gaap_RelatedPartyDomain_786690" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786690_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786689" xlink:to="loc_us-gaap_RelatedPartyDomain_786690_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786692" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_dei_LegalEntityAxis_786692" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786693" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_786692" xlink:to="loc_dei_EntityDomain_786693" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786693_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_786692" xlink:to="loc_dei_EntityDomain_786693_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_786698" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_786698" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_786699" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_786698" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_786699" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_786699_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_786698" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_786699_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebtMember" xlink:label="loc_us-gaap_UnsecuredDebtMember_786700" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_786699" xlink:to="loc_us-gaap_UnsecuredDebtMember_786700" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_786701" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_786701" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_786702" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_786701" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_786702" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_786702_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_786701" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_786702_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_885825" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IPOMember" xlink:label="loc_us-gaap_IPOMember_885827" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" xlink:to="loc_us-gaap_IPOMember_885827" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PublicOfferingMember" xlink:label="loc_xpev_PublicOfferingMember_890865" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_885826" xlink:to="loc_xpev_PublicOfferingMember_890865" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1375146" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1375146" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1375146" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1375146" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XintuTechnologyMember" xlink:label="loc_xpev_XintuTechnologyMember_1375148" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XintuTechnologyMember_1375148" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KuntuTechnologyMember" xlink:label="loc_xpev_KuntuTechnologyMember_1375149" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_KuntuTechnologyMember_1375149" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengTechnologyMember" xlink:label="loc_xpev_XiaopengTechnologyMember_1375150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XiaopengTechnologyMember_1375150" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengSmartMobilityMember" xlink:label="loc_xpev_XiaopengSmartMobilityMember_1375153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_XiaopengSmartMobilityMember_1375153" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GlobalOfferingOnHkexMember" xlink:label="loc_xpev_GlobalOfferingOnHkexMember_1375155" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_GlobalOfferingOnHkexMember_1375155" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405207" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1375147" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405207" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786677" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405305" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405305" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405305_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405304" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405305_default" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786709" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_NetIncomeLoss_786709" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786710" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786710" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786711" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786711" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786713" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786713" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_885831" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_885831" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromFONetOfIssuanceCost" xlink:label="loc_xpev_ProceedsFromFONetOfIssuanceCost_891070" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_xpev_ProceedsFromFONetOfIssuanceCost_891070" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1375145" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1375145" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xlink:label="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions_1375192" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions_1375192" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1405084" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1405084" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_1405377" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786678" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_1405377" use="optional" order="44" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrganizationAndNatureOfOperationsSummaryOfCompanySPrincipalSubsidiariesAndViesDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786594" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_dei_LegalEntityAxis_786594" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786595" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_786594" xlink:to="loc_dei_EntityDomain_786595" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786595_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_786594" xlink:to="loc_dei_EntityDomain_786595_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xlink:label="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember_1405372" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember_1405372" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember_786599" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember_786599" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember_786600" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember_786600" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember_885863" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember_885863" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember_1405068" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember_1405068" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember_1405374" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember_1405374" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xlink:label="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember_1406013" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember_1406013" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember_862590" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember_862590" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember_786601" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember_786601" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xlink:label="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember_1405335" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember_1405335" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xlink:label="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember_1405071" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember_1405071" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xlink:label="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember_1405375" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember_1405375" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xlink:label="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member_1375305" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member_1375305" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xlink:label="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember_1405801" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember_1405801" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengHuitianHoldingLimitedMember" xlink:label="loc_xpev_XpengHuitianHoldingLimitedMember_1405074" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpengHuitianHoldingLimitedMember_1405074" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixIncMember" xlink:label="loc_xpev_DogotixIncMember_1405376" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_DogotixIncMember_1405376" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpenghongKongLimitedMember" xlink:label="loc_xpev_XpenghongKongLimitedMember_885872" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpenghongKongLimitedMember_885872" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xlink:label="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember_786624" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember_786624" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xlink:label="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember_786625" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember_786625" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xlink:label="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember_1375283" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember_1375283" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xlink:label="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember_1405077" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember_1405077" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xlink:label="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember_1405078" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember_1405078" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" xlink:label="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember_1405989" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember_1405989" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengEuropeanHoldingBvMember" xlink:label="loc_xpev_XpengEuropeanHoldingBvMember_1406014" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786595" xlink:to="loc_xpev_XpengEuropeanHoldingBvMember_1406014" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_786613" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_srt_StatementGeographicalAxis_786613" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786614" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_786613" xlink:to="loc_srt_SegmentGeographicalDomain_786614" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786614_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_786613" xlink:to="loc_srt_SegmentGeographicalDomain_786614_default" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_786616" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_CN_786616" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_VG" xlink:label="loc_country_VG_1405076" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_VG_1405076" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK" xlink:label="loc_country_HK_885866" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_HK_885866" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NL" xlink:label="loc_country_NL_1406015" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_786614" xlink:to="loc_country_NL_1406015" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable_786593" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405302" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405302" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405302_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405301" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405302_default" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VariableInterestEntityVieActivitiesMember" xlink:label="loc_xpev_VariableInterestEntityVieActivitiesMember_1405303" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405302" xlink:to="loc_xpev_VariableInterestEntityVieActivitiesMember_1405303" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationDateOfIncorporation" xlink:label="loc_dei_EntityIncorporationDateOfIncorporation_1405057" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_dei_EntityIncorporationDateOfIncorporation_1405057" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_786619" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_786619" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xlink:label="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities_786620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities_786620" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xlink:label="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1_786621" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1_786621" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xlink:label="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE_786623" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems_786617" xlink:to="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE_786623" use="optional" order="44" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesLineItems" xlink:label="loc_xpev_AccountingPoliciesLineItems_786490" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesTable" xlink:label="loc_xpev_AccountingPoliciesTable_786489" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_AccountingPoliciesTable_786489" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_786491" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_786491" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786492" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786491" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786492" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_786492_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_786491" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_786492_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_786493" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786492" xlink:to="loc_us-gaap_CostOfSalesMember_786493" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenseMember" xlink:label="loc_us-gaap_OperatingExpenseMember_786494" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_786492" xlink:to="loc_us-gaap_OperatingExpenseMember_786494" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_786495" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_ProductOrServiceAxis_786495" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_786496" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_786495" xlink:to="loc_srt_ProductsAndServicesDomain_786496" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_786496_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_786495" xlink:to="loc_srt_ProductsAndServicesDomain_786496_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786497" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_786496" xlink:to="loc_us-gaap_VehiclesMember_786497" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeAxis" xlink:label="loc_xpev_SchemeAxis_786498" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_SchemeAxis_786498" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeDomain" xlink:label="loc_xpev_SchemeDomain_786499" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_SchemeAxis_786498" xlink:to="loc_xpev_SchemeDomain_786499" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeDomain" xlink:label="loc_xpev_SchemeDomain_786499_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_SchemeAxis_786498" xlink:to="loc_xpev_SchemeDomain_786499_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeAxis" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeDomain" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" xlink:to="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeDomain" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis_786501" xlink:to="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain_786502_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_786542" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_StatementGeographicalAxis_786542" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786543" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_786542" xlink:to="loc_srt_SegmentGeographicalDomain_786543" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_786543_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_786542" xlink:to="loc_srt_SegmentGeographicalDomain_786543_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_786544" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_786543" xlink:to="loc_country_CN_786544" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_786545" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_TitleOfIndividualAxis_786545" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_786545" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_786545" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_786547_default" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_786550" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_AwardTypeAxis_786550" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_786550" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_786550" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_786551_default" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786556" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_dei_LegalEntityAxis_786556" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786558" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_786556" xlink:to="loc_dei_EntityDomain_786558" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786558_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_786556" xlink:to="loc_dei_EntityDomain_786558_default" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786560" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786560" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786561" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786560" xlink:to="loc_us-gaap_ClassOfStockDomain_786561" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786561_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786560" xlink:to="loc_us-gaap_ClassOfStockDomain_786561_default" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_786564" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_PlanNameAxis_786564" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_786565" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_786564" xlink:to="loc_us-gaap_PlanNameDomain_786565" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_786565_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_786564" xlink:to="loc_us-gaap_PlanNameDomain_786565_default" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786608" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_srt_RangeAxis_786608" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786609" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_786608" xlink:to="loc_srt_RangeMember_786609" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786609_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_786608" xlink:to="loc_srt_RangeMember_786609_default" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786610" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786609" xlink:to="loc_srt_MinimumMember_786610" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_788098" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786609" xlink:to="loc_srt_MaximumMember_788098" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAxis" xlink:label="loc_xpev_StatutoryReservesAxis_786603" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_xpev_StatutoryReservesAxis_786603" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesDomain" xlink:label="loc_xpev_StatutoryReservesDomain_786605" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_StatutoryReservesAxis_786603" xlink:to="loc_xpev_StatutoryReservesDomain_786605" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesDomain" xlink:label="loc_xpev_StatutoryReservesDomain_786605_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_StatutoryReservesAxis_786603" xlink:to="loc_xpev_StatutoryReservesDomain_786605_default" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GeneralReserveFundMember" xlink:label="loc_xpev_GeneralReserveFundMember_786606" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StatutoryReservesDomain_786605" xlink:to="loc_xpev_GeneralReserveFundMember_786606" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_788095" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_788096_default" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_822809" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810_default" use="optional" order="50" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xlink:label="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember_822812" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" xlink:to="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember_822812" use="optional" order="51" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xlink:label="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember_822815" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_822810" xlink:to="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember_822815" use="optional" order="52" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" use="optional" order="53" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" use="optional" order="54" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1375557" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558_default" use="optional" order="55" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1375559" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1375559" use="optional" order="56" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_1375561" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_1375561" use="optional" order="57" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405563" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405563" use="optional" order="58" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405564" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_VPTMember_1405564" use="optional" order="59" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405810" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_xpev_VMTMember_1405810" use="optional" order="60" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405645" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1375558" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405645" use="optional" order="61" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountingPoliciesTable_786489" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" use="optional" order="62" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560" use="optional" order="63" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1405559" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1405560_default" use="optional" order="64" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_822816" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_RestrictedCash_822816" use="optional" order="65" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_786507" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_786507" use="optional" order="66" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_786508" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_786508" use="optional" order="67" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent_786509" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent_786509" use="optional" order="68" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_786510" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ShortTermInvestments_786510" use="optional" order="69" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_786511" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_InventoryWriteDown_786511" use="optional" order="70" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_786512" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_786512" use="optional" order="71" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAmortizationPeriod" xlink:label="loc_xpev_LandUseRightsAmortizationPeriod_786513" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LandUseRightsAmortizationPeriod_786513" use="optional" order="72" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductWarrantyTerm" xlink:label="loc_xpev_ProductWarrantyTerm_786515" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_ProductWarrantyTerm_786515" use="optional" order="73" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_786532" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_786532" use="optional" order="74" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_786533" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AdvertisingExpense_786533" use="optional" order="75" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_786534" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_SellingAndMarketingExpense_786534" use="optional" order="76" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_786535" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_786535" use="optional" order="77" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xlink:label="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund_786538" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund_786538" use="optional" order="78" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xlink:label="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany_786539" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany_786539" use="optional" order="79" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_786541" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_786541" use="optional" order="80" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_786661" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_786661" use="optional" order="81" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405783" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405783" use="optional" order="82" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_863822" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_ShortTermDeposits_863822" use="optional" order="83" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsCurrentAndNoncurrent" xlink:label="loc_xpev_LongTermDepositsCurrentAndNoncurrent_1375547" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LongTermDepositsCurrentAndNoncurrent_1375547" use="optional" order="84" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405092" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_LongtermDepositsCurrent_1405092" use="optional" order="85" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_1375566" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_1375566" use="optional" order="86" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherIncomeOtherSubsidies" xlink:label="loc_xpev_OtherIncomeOtherSubsidies_1377630" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_OtherIncomeOtherSubsidies_1377630" use="optional" order="87" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xlink:label="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund_1377670" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund_1377670" use="optional" order="88" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:label="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405551" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405551" use="optional" order="89" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseLeaseReceivable" xlink:label="loc_us-gaap_SalesTypeLeaseLeaseReceivable_1405552" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_SalesTypeLeaseLeaseReceivable_1405552" use="optional" order="90" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativeTerm1" xlink:label="loc_us-gaap_CreditDerivativeTerm1_1405759" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_CreditDerivativeTerm1_1405759" use="optional" order="91" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_1405760" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_1405760" use="optional" order="92" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_xpev_NotesPayableCurrentLiabilities_1405761" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_NotesPayableCurrentLiabilities_1405761" use="optional" order="93" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_1405824" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_1405824" use="optional" order="94" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405825" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_MaturitiesOfRestrictedShortTermDeposits_1405825" use="optional" order="95" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedLongTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedLongTermDeposits_1405826" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountingPoliciesLineItems_786490" xlink:to="loc_xpev_MaturitiesOfRestrictedLongTermDeposits_1405826" use="optional" order="96" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfCashAndCashEquivalentsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CurrencyAxis" xlink:label="loc_srt_CurrencyAxis_786425" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_786423" xlink:to="loc_srt_CurrencyAxis_786425" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain_786426" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CurrencyAxis_786425" xlink:to="loc_currency_AllCurrenciesDomain_786426" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain_786426_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CurrencyAxis_786425" xlink:to="loc_currency_AllCurrenciesDomain_786426_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_CNY" xlink:label="loc_currency_CNY_786427" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_CNY_786427" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_USD" xlink:label="loc_currency_USD_786428" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_USD_786428" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_EUR" xlink:label="loc_currency_EUR_1405998" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_currency_EUR_1405998" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OtherCurrencyMember" xlink:label="loc_srt_OtherCurrencyMember_1368975" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_786426" xlink:to="loc_srt_OtherCurrencyMember_1368975" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786432" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_786424" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_786432" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfAccountReceivableAndAllowanceForCreditLossDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786441" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_786441" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_786445" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_786445" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease_1406007" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease_1406007" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_786446" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs_786446" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_867161" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_867157" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_867159" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" xlink:to="loc_us-gaap_TypeOfAdoptionMember_867159" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_867159_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_867158" xlink:to="loc_us-gaap_TypeOfAdoptionMember_867159_default" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfUsefulLivesOfPropertyPlantAndEquipmentDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786454" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xlink:to="loc_srt_RangeAxis_786454" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786455" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_786454" xlink:to="loc_srt_RangeMember_786455" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786455_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_786454" xlink:to="loc_srt_RangeMember_786455_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_786456" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786455" xlink:to="loc_srt_MaximumMember_786456" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786457" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786455" xlink:to="loc_srt_MinimumMember_786457" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786452" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786458" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_862645" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_BuildingMember_862645" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_786460" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_786460" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChargingInfrastructureMember" xlink:label="loc_xpev_ChargingInfrastructureMember_786461" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_xpev_ChargingInfrastructureMember_786461" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786462" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_VehiclesMember_786462" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_786463" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_ComputerEquipmentMember_786463" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_1405937" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_1405937" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="loc_us-gaap_OtherMachineryAndEquipmentMember_786464" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786459" xlink:to="loc_us-gaap_OtherMachineryAndEquipmentMember_786464" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405683" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_1405683" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xlink:label="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm_1405936" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786453" xlink:to="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm_1405936" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfFiniteLivedIntangibleAssetsUsefulLivesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_786478" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xlink:to="loc_srt_RangeAxis_786478" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786479" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_786478" xlink:to="loc_srt_RangeMember_786479" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_786479_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_786478" xlink:to="loc_srt_RangeMember_786479_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_786480" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786479" xlink:to="loc_srt_MaximumMember_786480" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_786481" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_786479" xlink:to="loc_srt_MinimumMember_786481" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_786475" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_786482" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_786484" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_786484" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_786485" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_786485" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405539" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_VPTMember_1405539" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405809" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_VMTMember_1405809" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405542" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405542" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405544" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_786483" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405544" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405687" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_786477" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405687" use="optional" order="16" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405463" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405655" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405655" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405655" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405655" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405657" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405656" xlink:to="loc_xpev_XiaojuGroupMember_1405657" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationByTypeAxis" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405456" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405458_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405457" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405458_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SopMilestoneMember" xlink:label="loc_xpev_SopMilestoneMember_1405459" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" xlink:to="loc_xpev_SopMilestoneMember_1405459" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EarnOutPeriodMilestoneMember" xlink:label="loc_xpev_EarnOutPeriodMilestoneMember_1405460" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405458" xlink:to="loc_xpev_EarnOutPeriodMilestoneMember_1405460" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1405455" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_1405455" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity_1405799" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity_1405799" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability_1405462" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability_1405462" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405461" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405463" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405461" use="optional" order="14" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfBusinessAcquistionEquityIntererestsIssuedOrIssuableParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405406" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405410" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405410" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405410" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405410" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405415" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405411" xlink:to="loc_xpev_XiaojuGroupMember_1405415" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405418" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405418" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405419" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405418" xlink:to="loc_us-gaap_ClassOfStockDomain_1405419" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405419_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405418" xlink:to="loc_us-gaap_ClassOfStockDomain_1405419_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_1405421" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1405419" xlink:to="loc_us-gaap_CommonClassAMember_1405421" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationByTypeAxis" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_1405425_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_1405423" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_1405425_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StartOfProductionMilestoneMember" xlink:label="loc_xpev_StartOfProductionMilestoneMember_1405429" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_StartOfProductionMilestoneMember_1405429" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EarnOutPeriodMilestoneMember" xlink:label="loc_xpev_EarnOutPeriodMilestoneMember_1405432" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_EarnOutPeriodMilestoneMember_1405432" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MilestoneProductionMetMember" xlink:label="loc_xpev_MilestoneProductionMetMember_1405811" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_1405425" xlink:to="loc_xpev_MilestoneProductionMetMember_1405811" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405641" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405405" xlink:to="loc_srt_RangeAxis_1405641" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405642" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1405641" xlink:to="loc_srt_RangeMember_1405642" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405642_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1405641" xlink:to="loc_srt_RangeMember_1405642_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1405643" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1405642" xlink:to="loc_srt_MaximumMember_1405643" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1405644" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1405642" xlink:to="loc_srt_MinimumMember_1405644" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_1405408" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_1405408" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xlink:label="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices_1405409" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices_1405409" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xlink:label="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently_1405435" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently_1405435" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum_1405436" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum_1405436" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum_1405449" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum_1405449" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_1405437" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow_1405437" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_1405450" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_1405450" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_1405438" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_1405438" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1405680" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_1405680" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow_1405439" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow_1405439" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh_1405679" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh_1405679" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_1405525" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_SharePrice_1405525" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405957" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405406" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405957" use="optional" order="33" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405511" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405508" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405507" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405508" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405508" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405508" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405514" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405509" xlink:to="loc_xpev_XiaojuGroupMember_1405514" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405520" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405520" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405628" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_1405628" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_1405515" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_1405515" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_1405516" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405511" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_1405516" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1405481" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405475" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405477" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_xpev_VPTMember_1405477" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTUDMember" xlink:label="loc_xpev_VMTUDMember_1405478" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_xpev_VMTUDMember_1405478" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_1405479" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405476" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_1405479" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405652" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_1405474" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405652" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405652" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405652" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember_1405654" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405653" xlink:to="loc_xpev_XiaojuGroupMember_1405654" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1405482" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_1405482" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_1405658" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_1405658" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_1405659" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_1405659" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1405660" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_1405660" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_1405661" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_1405661" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1405662" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_1405662" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_1405663" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_1405663" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xlink:label="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities_1405483" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities_1405483" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_1405484" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_1405484" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_1405485" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_Goodwill_1405485" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1405487" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1405481" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1405487" use="optional" order="22" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/FairValueOfFinancialInstrumentsSummaryOfFairValueOfTheFinancialInstrumentsThatAreMeasuredAtFairValueOnARecurringBasisDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_786403" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_786405" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_786408" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_786408" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_786409" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_786409" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_786410" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_786406" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_786410" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermInvestmentsFairValueDisclosure" xlink:label="loc_xpev_ShortTermInvestmentsFairValueDisclosure_786414" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_xpev_ShortTermInvestmentsFairValueDisclosure_786414" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue_1369009" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_DebtInstrumentFairValue_1369009" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1405114" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1405114" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_1369037" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_1369005" xlink:to="loc_us-gaap_LongTermDebtFairValue_1369037" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_786412" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xlink:label="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination_786416" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_1369014" xlink:to="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination_786416" use="optional" order="14" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InventoryAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems_1405379" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable_1405378" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InventoryLineItems_1405379" xlink:to="loc_us-gaap_InventoryCurrentTable_1405378" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InventoryCurrentTable_1405378" xlink:to="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_1405380" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xlink:label="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_1405382" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_1405381" xlink:to="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_1405382" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_886025" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_1405379" xlink:to="loc_us-gaap_InventoryWriteDown_886025" use="optional" order="6" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetSummaryOfPropertyPlantAndEquipmentNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786517" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786518" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_786524" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_786524" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_862735" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_BuildingMember_862735" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ToolsDiesAndMoldsMember" xlink:label="loc_us-gaap_ToolsDiesAndMoldsMember_786522" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ToolsDiesAndMoldsMember_786522" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_786525" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_786525" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember_786523" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_VehiclesMember_786523" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_786521" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ConstructionInProgressMember_786521" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_786527" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_ComputerEquipmentMember_786527" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChargingInfrastructureMember" xlink:label="loc_xpev_ChargingInfrastructureMember_786529" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_xpev_ChargingInfrastructureMember_786529" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="loc_us-gaap_OtherMachineryAndEquipmentMember_786530" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786520" xlink:to="loc_us-gaap_OtherMachineryAndEquipmentMember_786530" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GrossPropertyPlantAndEquipment" xlink:label="loc_xpev_GrossPropertyPlantAndEquipment_786549" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_xpev_GrossPropertyPlantAndEquipment_786549" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_786552" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_786552" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccumulatedImpairment" xlink:label="loc_xpev_AccumulatedImpairment_1405331" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_xpev_AccumulatedImpairment_1405331" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_786557" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786546" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_786557" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PropertyPlantAndEquipmentNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_786571" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_786572" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_786574" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" xlink:to="loc_us-gaap_ConstructionInProgressMember_786574" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_1405116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_786573" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_1405116" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_786578" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_Depreciation_786578" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedCapitalizedInterestCosts" xlink:label="loc_us-gaap_AccumulatedCapitalizedInterestCosts_786579" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_AccumulatedCapitalizedInterestCosts_786579" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_1405115" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_us-gaap_FinanceLeaseLiability_1405115" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xlink:label="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment_1405384" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_786577" xlink:to="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment_1405384" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_787428" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405385" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_VPTMember_1405385" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember_1405386" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_RoboticsPlatformTechnologyMember_1405386" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405844" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_VMTMember_1405844" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_787430" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_787430" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_787431" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember_787431" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_1405388" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_787429" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_1405388" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787426" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_787432" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ManufacturingLicenseMember" xlink:label="loc_xpev_ManufacturingLicenseMember_787435" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" xlink:to="loc_xpev_ManufacturingLicenseMember_787435" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xlink:label="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_1405334" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_787433" xlink:to="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember_1405334" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_787437" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_787437" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_787438" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_787438" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FiniteLivedIntangibleAssetsImpairment" xlink:label="loc_xpev_FiniteLivedIntangibleAssetsImpairment_1405232" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_FiniteLivedIntangibleAssetsImpairment_1405232" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1382543" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1382543" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_787443" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_787443" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_787446" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_787446" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xlink:label="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment_787447" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment_787447" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ImpairmentOfIntangibleAssetFinitelived" xlink:label="loc_xpev_ImpairmentOfIntangibleAssetFinitelived_1405124" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_xpev_ImpairmentOfIntangibleAssetFinitelived_1405124" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_787448" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787427" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_787448" use="optional" order="24" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementAxis" xlink:label="loc_xpev_AgreementAxis_787475" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_AgreementAxis_787475" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_787477" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_AgreementAxis_787475" xlink:to="loc_xpev_AgreementDomain_787477" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_787477_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_AgreementAxis_787475" xlink:to="loc_xpev_AgreementDomain_787477_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" xlink:to="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis_787481" xlink:to="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain_787483_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalAxis" xlink:label="loc_xpev_BusinessAcquistionDisposalAxis_787493" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_xpev_BusinessAcquistionDisposalAxis_787493" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalDomain" xlink:label="loc_xpev_BusinessAcquistionDisposalDomain_787494" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_BusinessAcquistionDisposalAxis_787493" xlink:to="loc_xpev_BusinessAcquistionDisposalDomain_787494" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalDomain" xlink:label="loc_xpev_BusinessAcquistionDisposalDomain_787494_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_BusinessAcquistionDisposalAxis_787493" xlink:to="loc_xpev_BusinessAcquistionDisposalDomain_787494_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1369158" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1369158" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1369158" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1369158" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixMember" xlink:label="loc_xpev_DogotixMember_1405440" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1369159" xlink:to="loc_xpev_DogotixMember_1405440" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1369162" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1369163_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405308" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405308" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405308_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405307" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405308_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable_787473" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405398" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399_default" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember_1405400" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_xpev_VPTMember_1405400" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember_1405827" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_xpev_VMTMember_1405827" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1405955" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405399" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_1405955" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_787513" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_787513" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405397" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_1405397" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1405401" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_1405401" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_1405715" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_1405715" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405441" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_1405441" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1405443" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage_1405443" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_1405444" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_1405444" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_1405445" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_1405445" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_1405448" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems_787501" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_1405448" use="optional" order="35" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787321" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787322" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_787327" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787323" xlink:to="loc_us-gaap_LandMember_787327" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsGross" xlink:label="loc_xpev_LandUseRightsGross_787329" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsGross_787329" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAccumulatedAmortization" xlink:label="loc_xpev_LandUseRightsAccumulatedAmortization_787332" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsAccumulatedAmortization_787332" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsNet" xlink:label="loc_xpev_LandUseRightsNet_787338" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787328" xlink:to="loc_xpev_LandUseRightsNet_787338" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" xlink:to="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_787352" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_863765" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" xlink:to="loc_us-gaap_LandMember_863765" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xlink:label="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember_1405137" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_787355" xlink:to="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember_1405137" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1405138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable_787351" xlink:to="loc_srt_StatementGeographicalAxis_1405138" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1405139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_1405138" xlink:to="loc_srt_SegmentGeographicalDomain_1405139" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1405139_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_1405138" xlink:to="loc_srt_SegmentGeographicalDomain_1405139_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN_1405141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1405139" xlink:to="loc_country_CN_1405141" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRights" xlink:label="loc_xpev_AmortizationOfLandUseRights_822819" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" xlink:to="loc_xpev_AmortizationOfLandUseRights_822819" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaymentForAcquisitionOfLandUseRights" xlink:label="loc_xpev_PrepaymentForAcquisitionOfLandUseRights_1405136" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems_787370" xlink:to="loc_xpev_PrepaymentForAcquisitionOfLandUseRights_1405136" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfSalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceOrCreditLossDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405970" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405970" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405971" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405970" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405971" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405972" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405971" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405972" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405972_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405971" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405972_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehiclesAndBatteriesMember" xlink:label="loc_xpev_VehiclesAndBatteriesMember_1405973" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405972" xlink:to="loc_xpev_VehiclesAndBatteriesMember_1405973" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405975" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406167" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406168" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406169" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract_1405979" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406169" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNetDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405692" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405692" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405694" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405692" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405694" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405695" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405694" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405695" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405695_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405694" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405695_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember_1405696" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405695" xlink:to="loc_us-gaap_InterestIncomeMember_1405696" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406170" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent_1406170" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent_1406171" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss_1406173" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss_1406173" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406172" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405693" xlink:to="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss_1406172" use="optional" order="9" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_2365" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_2365" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2366" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2366" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2367" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2366" xlink:to="loc_us-gaap_ClassOfStockDomain_2367" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2367_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2366" xlink:to="loc_us-gaap_ClassOfStockDomain_2367_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1405325" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1405326_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1405328" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_2365" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1405328" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1405329" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1405328" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1405329" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1405329_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1405328" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1405329_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember_1405330" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_1405329" xlink:to="loc_us-gaap_InterestIncomeMember_1405330" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeInterestEarningAsset" xlink:label="loc_us-gaap_InterestIncomeInterestEarningAsset_1369206" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_2368" xlink:to="loc_us-gaap_InterestIncomeInterestEarningAsset_1369206" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable_1405981" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesTable_1405981" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405986" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable_1405981" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405986" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405987" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405986" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405987" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405987_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405986" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405987_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehiclesAndBatteriesMember" xlink:label="loc_xpev_VehiclesAndBatteriesMember_1405988" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405987" xlink:to="loc_xpev_VehiclesAndBatteriesMember_1405988" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_UnrealizedFinanceIncome" xlink:label="loc_xpev_UnrealizedFinanceIncome_1369198" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_UnrealizedFinanceIncome_1369198" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths_1406174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths_1406174" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears_1406175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears_1406175" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears_1406176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears_1406176" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears_1406177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears_1406177" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears_1406178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears_1406178" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter_1406179" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter_1406179" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivables" xlink:label="loc_xpev_InstallmentPaymentReceivables_1406180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivables_1406180" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesGross" xlink:label="loc_xpev_InstallmentPaymentReceivablesGross_1406181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesGross_1406181" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss_1406182" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss_1406182" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss_1406183" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems_1405985" xlink:to="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss_1406183" use="optional" order="16" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestmentsScheduleOfLongTermInvestmentsDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTable" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_1373190" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373187" xlink:to="loc_us-gaap_InvestmentTypeAxis_1373190" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_1373190" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1373191_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_1373190" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1373191_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_1373193" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_EquitySecuritiesMember_1373193" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xlink:label="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember_1405152" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember_1405152" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_1373192" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_DebtSecuritiesMember_1373192" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember_1405153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1373191" xlink:to="loc_us-gaap_EquityMethodInvestmentsMember_1405153" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1373197" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_LongTermInvestments_1373197" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsadditions" xlink:label="loc_xpev_LongTermInvestmentsadditions_1373204" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsadditions_1373204" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:label="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405503" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405503" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405513" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_InvestmentGainLossOnLongTermInvestments_1405513" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1405150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1405150" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405148" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405148" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xlink:label="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion_1405505" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion_1405505" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsforeignCurrencyTranslation" xlink:label="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation_1373209" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation_1373209" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xlink:label="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities_1406009" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373194" xlink:to="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities_1406009" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LongTermInvestmentsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTable" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1373336" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" xlink:to="loc_us-gaap_RelatedPartyDomain_1373336" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1373336_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1373335" xlink:to="loc_us-gaap_RelatedPartyDomain_1373336_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixMember" xlink:label="loc_xpev_DogotixMember_1373338" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_1373336" xlink:to="loc_xpev_DogotixMember_1373338" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HuitianMember" xlink:label="loc_xpev_HuitianMember_1373339" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_1373336" xlink:to="loc_xpev_HuitianMember_1373339" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1373341" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1373341" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373342" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373341" xlink:to="loc_us-gaap_EquityComponentDomain_1373342" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373342_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373341" xlink:to="loc_us-gaap_EquityComponentDomain_1373342_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_1373344" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1373342" xlink:to="loc_us-gaap_PreferredStockMember_1373344" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1373346" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_DebtInstrumentAxis_1373346" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1373347" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1373346" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1373347" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1373347_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1373346" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1373347_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConvertibleBondMember" xlink:label="loc_xpev_ConvertibleBondMember_1373350" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1373347" xlink:to="loc_xpev_ConvertibleBondMember_1373350" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405158" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405158" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405160" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405158" xlink:to="loc_us-gaap_ClassOfStockDomain_1405160" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405160_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405158" xlink:to="loc_us-gaap_ClassOfStockDomain_1405160_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_1405161" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1405160" xlink:to="loc_us-gaap_CommonStockMember_1405161" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405173" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174_default" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SemiconductorsMember" xlink:label="loc_xpev_SemiconductorsMember_1405176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" xlink:to="loc_xpev_SemiconductorsMember_1405176" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BatteriesMember" xlink:label="loc_xpev_BatteriesMember_1405177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405174" xlink:to="loc_xpev_BatteriesMember_1405177" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_1405517" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_FinancialInstrumentAxis_1405517" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405517" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405517" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518_default" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferredEquityMember" xlink:label="loc_xpev_PreferredEquityMember_1405519" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" xlink:to="loc_xpev_PreferredEquityMember_1405519" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1406062" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405518" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1406062" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1405707" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable_1373333" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1405707" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405707" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1405707" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1405708_default" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_1373361" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquityMethodInvestments_1373361" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments_1373362" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_OtherInvestments_1373362" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1373364" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure_1373364" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireMinorityEquityInterest" xlink:label="loc_xpev_PaymentToAcquireMinorityEquityInterest_1405157" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PaymentToAcquireMinorityEquityInterest_1405157" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubscriptionOfEquityInvestment" xlink:label="loc_xpev_SubscriptionOfEquityInvestment_1405178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_SubscriptionOfEquityInvestment_1405178" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner_1405180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner_1405180" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterests" xlink:label="loc_xpev_PercentageOfFinancialInterests_1405181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterests_1405181" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors_1405184" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors_1405184" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xlink:label="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue_1405526" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue_1405526" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:label="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405527" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue_1405527" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount_1405528" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount_1405528" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount_1405529" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount_1405529" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount_1405530" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount_1405530" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount_1405531" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount_1405531" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIssuedPrincipal" xlink:label="loc_us-gaap_DebtInstrumentIssuedPrincipal_1405863" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentIssuedPrincipal_1405863" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIncreaseAccruedInterest" xlink:label="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest_1405864" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest_1405864" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_1406010" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_1406010" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_1406011" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss_1406011" use="optional" order="49" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1406061" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems_1373354" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1406061" use="optional" order="50" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherCurrentLiabilitiesParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" xlink:to="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipAxis" xlink:label="loc_xpev_LimitedLiabilityParntershipAxis_787533" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_LimitedLiabilityParntershipAxis_787533" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipDomain" xlink:label="loc_xpev_LimitedLiabilityParntershipDomain_787535" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_LimitedLiabilityParntershipAxis_787533" xlink:to="loc_xpev_LimitedLiabilityParntershipDomain_787535" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipDomain" xlink:label="loc_xpev_LimitedLiabilityParntershipDomain_787535_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_LimitedLiabilityParntershipAxis_787533" xlink:to="loc_xpev_LimitedLiabilityParntershipDomain_787535_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis" xlink:label="loc_srt_OwnershipAxis_787537" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_srt_OwnershipAxis_787537" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_787538" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_787537" xlink:to="loc_srt_OwnershipDomain_787538" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_787538_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_787537" xlink:to="loc_srt_OwnershipDomain_787538_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestAxis" xlink:label="loc_xpev_NonControllingInterestAxis_822847" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_NonControllingInterestAxis_822847" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestDomain" xlink:label="loc_xpev_NonControllingInterestDomain_822849" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_NonControllingInterestAxis_822847" xlink:to="loc_xpev_NonControllingInterestDomain_822849" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestDomain" xlink:label="loc_xpev_NonControllingInterestDomain_822849_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_NonControllingInterestAxis_822847" xlink:to="loc_xpev_NonControllingInterestDomain_822849_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsAxis" xlink:label="loc_xpev_PurchaseProvisionTermsAxis_1405540" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_xpev_PurchaseProvisionTermsAxis_1405540" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsDomain" xlink:label="loc_xpev_PurchaseProvisionTermsDomain_1405541" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_PurchaseProvisionTermsAxis_1405540" xlink:to="loc_xpev_PurchaseProvisionTermsDomain_1405541" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsDomain" xlink:label="loc_xpev_PurchaseProvisionTermsDomain_1405541_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_PurchaseProvisionTermsAxis_1405540" xlink:to="loc_xpev_PurchaseProvisionTermsDomain_1405541_default" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1406017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable_787532" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1406017" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1406018" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1406017" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1406018" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1406018_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1406017" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1406018_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFirmPurchaseCommitmentLoss" xlink:label="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss_1405716" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems_787542" xlink:to="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss_1405716" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureLineItems" xlink:label="loc_xpev_DebtDisclosureLineItems_787682" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureTable" xlink:label="loc_xpev_DebtDisclosureTable_787651" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_DebtDisclosureTable_787651" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_787655" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_787655" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_787657" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_787655" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_787657" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_787657_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_787655" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_787657_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherShortTermLoansPayableToBanksMember" xlink:label="loc_xpev_OtherShortTermLoansPayableToBanksMember_787658" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_787657" xlink:to="loc_xpev_OtherShortTermLoansPayableToBanksMember_787658" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_787659" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_787659" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_787660" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_787659" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_787660" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_787660_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_787659" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_787660_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_787662" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_srt_RangeAxis_787662" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_787663" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_787662" xlink:to="loc_srt_RangeMember_787663" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_787663_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_787662" xlink:to="loc_srt_RangeMember_787663_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_787666" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_dei_LegalEntityAxis_787666" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_787667" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_787666" xlink:to="loc_dei_EntityDomain_787667" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_787667_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_787666" xlink:to="loc_dei_EntityDomain_787667_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_787671" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_CreditFacilityAxis_787671" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_787672" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_787671" xlink:to="loc_us-gaap_CreditFacilityDomain_787672" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_787672_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_787671" xlink:to="loc_us-gaap_CreditFacilityDomain_787672_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_787673" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_787672" xlink:to="loc_us-gaap_LineOfCreditMember_787673" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityAxis" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_787675" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_787675" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_787675" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_787675" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_787676_default" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1405943" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_DebtDisclosureTable_787651" xlink:to="loc_us-gaap_DebtInstrumentAxis_1405943" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405944" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405943" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405944" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405944_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405943" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405944_default" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_1405945" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1405944" xlink:to="loc_us-gaap_LongTermDebtMember_1405945" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787686" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable_787686" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_787687" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_787687" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermBankLoansCollateralized" xlink:label="loc_xpev_LongtermBankLoansCollateralized_1405145" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_LongtermBankLoansCollateralized_1405145" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesCurrent_1405146" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetbackedSecuritiesCurrent_1405146" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesNonCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesNonCurrent_1405147" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetbackedSecuritiesNonCurrent_1405147" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesHeldAsCollateralAtFairValue" xlink:label="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue_1405548" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue_1405548" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesCurrent" xlink:label="loc_xpev_AssetBackedNotesCurrent_1405565" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetBackedNotesCurrent_1405565" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesNoncurrent" xlink:label="loc_xpev_AssetBackedNotesNoncurrent_1405566" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_AssetBackedNotesNoncurrent_1405566" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405940" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405940" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositCurrentPortionCollateralized" xlink:label="loc_xpev_LongTermDepositCurrentPortionCollateralized_1406065" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_DebtDisclosureLineItems_787682" xlink:to="loc_xpev_LongTermDepositCurrentPortionCollateralized_1406065" use="optional" order="35" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_1405878" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_1405878" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1405884" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_us-gaap_DebtInstrumentAxis_1405884" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405885" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405884" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405885" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1405885_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1405884" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1405885_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_1405886" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1405885" xlink:to="loc_us-gaap_LongTermDebtMember_1405886" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405887" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_dei_LegalEntityAxis_1405887" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405888" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1405887" xlink:to="loc_dei_EntityDomain_1405888" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405888_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1405887" xlink:to="loc_dei_EntityDomain_1405888_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMember_1406087" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_ZhaoqingXiaopengMember_1406087" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyMember_1405891" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_ZhaoqingXiaopengNewEnergyMember_1405891" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember_1405995" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember_1405995" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xlink:label="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember_1405996" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember_1405996" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengMember" xlink:label="loc_xpev_WuhanXiaopengMember_1405958" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_WuhanXiaopengMember_1405958" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xlink:label="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember_1405895" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember_1405895" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember_1405997" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405888" xlink:to="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember_1405997" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_1405897" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1405878" xlink:to="loc_us-gaap_CreditFacilityAxis_1405897" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_1405898" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_1405897" xlink:to="loc_us-gaap_CreditFacilityDomain_1405898" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_1405898_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_1405897" xlink:to="loc_us-gaap_CreditFacilityDomain_1405898_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_1405899" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_1405898" xlink:to="loc_us-gaap_LineOfCreditMember_1405899" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405880" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_1405880" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent_1405881" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LoansPayableToBankCurrent_1405881" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank_1405882" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_LongTermLoansFromBank_1405882" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_1405883" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1405879" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_1405883" use="optional" order="23" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesParentheticalDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentLineItems" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentTable" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipAxis" xlink:label="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipDomain" xlink:label="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" xlink:to="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipDomain" xlink:label="loc_xpev_LimitedLiabilityPartnershipDomain_1374760_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_LimitedLiabilityPartnershipAxis_1374757" xlink:to="loc_xpev_LimitedLiabilityPartnershipDomain_1374760_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KunpengChuangyeLlpMember" xlink:label="loc_xpev_KunpengChuangyeLlpMember_1374764" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_LimitedLiabilityPartnershipDomain_1374760" xlink:to="loc_xpev_KunpengChuangyeLlpMember_1374764" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis" xlink:label="loc_srt_OwnershipAxis_1374766" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_srt_OwnershipAxis_1374766" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_1374768" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_1374766" xlink:to="loc_srt_OwnershipDomain_1374768" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain_1374768_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_1374766" xlink:to="loc_srt_OwnershipDomain_1374768_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1374772" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_ChengxingMember_1374772" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1374830" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_1374828" xlink:to="loc_xpev_ChengxingMember_1374830" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember_1374776" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember_1374776" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetInvestmentMember" xlink:label="loc_xpev_GuangzhouGetInvestmentMember_1374779" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_1374768" xlink:to="loc_xpev_GuangzhouGetInvestmentMember_1374779" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetInvestmentMember" xlink:label="loc_xpev_GuangzhouGetInvestmentMember_1374826" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InvestorDomain_1374823" xlink:to="loc_xpev_GuangzhouGetInvestmentMember_1374826" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeAxis" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis_1374783" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_1374789" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_1374785" xlink:to="loc_us-gaap_CallOptionMember_1374789" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1374792" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_srt_RangeAxis_1374792" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1374809" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1374792" xlink:to="loc_srt_RangeMember_1374809" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1374809_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1374792" xlink:to="loc_srt_RangeMember_1374809_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1374813" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1374809" xlink:to="loc_srt_MaximumMember_1374813" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1374816" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1374809" xlink:to="loc_srt_MinimumMember_1374816" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorAxis" xlink:label="loc_xpev_InvestorAxis_1374822" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_xpev_InvestorAxis_1374822" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorDomain" xlink:label="loc_xpev_InvestorDomain_1374823" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_InvestorAxis_1374822" xlink:to="loc_xpev_InvestorDomain_1374823" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorDomain" xlink:label="loc_xpev_InvestorDomain_1374823_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_InvestorAxis_1374822" xlink:to="loc_xpev_InvestorDomain_1374823_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongUTrustMember" xlink:label="loc_xpev_GuangdongUTrustMember_1374824" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_InvestorDomain_1374823" xlink:to="loc_xpev_GuangdongUTrustMember_1374824" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable_1374698" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1374828" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" xlink:to="loc_us-gaap_RelatedPartyDomain_1374828" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_1374828_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1374827" xlink:to="loc_us-gaap_RelatedPartyDomain_1374828_default" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xlink:label="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership_1374705" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership_1374705" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:label="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_1374709" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests_1374709" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_1374712" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_1374712" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableToNoncontrollingInterestNonCurrent" xlink:label="loc_xpev_PayableToNoncontrollingInterestNonCurrent_1374719" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_PayableToNoncontrollingInterestNonCurrent_1374719" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xlink:label="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment_1374732" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment_1374732" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_1374735" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_1374735" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_1374738" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_1374738" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1_1374745" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1_1374745" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xlink:label="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage_1374751" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage_1374751" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MembersEquityAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest_1405589" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest_1405589" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1405717" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems_1374701" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_1405717" use="optional" order="40" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_2296" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2297" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2297" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2298" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2297" xlink:to="loc_us-gaap_ClassOfStockDomain_2298" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2298_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2297" xlink:to="loc_us-gaap_ClassOfStockDomain_2298_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1406076" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_1405273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1406077" xlink:to="loc_us-gaap_LandMember_1405273" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_2296" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1405269" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseRightsMember" xlink:label="loc_us-gaap_UseRightsMember_1405271" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1405270" xlink:to="loc_us-gaap_UseRightsMember_1405271" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAbstract" xlink:label="loc_xpev_OperatingLeaseAbstract_1405268" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" xlink:to="loc_xpev_OperatingLeaseAbstract_1405268" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAssets" xlink:label="loc_xpev_OperatingLeaseAssets_787550" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_xpev_OperatingLeaseAssets_787550" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_787551" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_787551" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787552" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_787552" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_787553" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_OperatingLeaseAbstract_1405268" xlink:to="loc_us-gaap_OperatingLeaseLiability_787553" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseAbstract" xlink:label="loc_xpev_FinanceLeaseAbstract_1405275" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_2299" xlink:to="loc_xpev_FinanceLeaseAbstract_1405275" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1405248" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_1405248" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1405249" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_1405249" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_1405250" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_1405250" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405251" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_1405251" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405253" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1405253" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_1405254" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_FinanceLeaseAbstract_1405275" xlink:to="loc_us-gaap_FinanceLeaseLiability_1405254" use="optional" order="24" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405722" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405722" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405722" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405724" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405726" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405725" xlink:to="loc_xpev_FactoryMember_1405726" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405595" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405595" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405596" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405596" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405597" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405723" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405597" use="optional" order="8" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfNetInvestmentInSaleTypeLeaseReceivableDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405727" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405727" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405727" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405729" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405731" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405730" xlink:to="loc_xpev_FactoryMember_1405731" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405604" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405604" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405719" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405719" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:label="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405720" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405720" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405608" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405608" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405609" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent_1405609" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405610" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405728" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent_1405610" use="optional" order="11" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_1405732" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_1405732" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_1405732" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405734" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405736" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405735" xlink:to="loc_xpev_FactoryMember_1405736" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_1405749" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths_1405749" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_1405750" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears_1405750" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_1405751" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears_1405751" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_1405752" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears_1405752" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_1405753" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears_1405753" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xlink:label="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear_1405754" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear_1405754" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405619" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived_1405619" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405721" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount_1405721" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:label="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405738" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset_1405738" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405622" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1405733" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405622" use="optional" order="15" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405242" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_dei_LegalEntityAxis_1405242" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405243" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1405242" xlink:to="loc_dei_EntityDomain_1405243" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405243_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1405242" xlink:to="loc_dei_EntityDomain_1405243_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetNewEnergyMember" xlink:label="loc_xpev_GuangzhouGetNewEnergyMember_1405244" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405243" xlink:to="loc_xpev_GuangzhouGetNewEnergyMember_1405244" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityAxis" xlink:label="loc_xpev_MaturityAxis_1405297" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_xpev_MaturityAxis_1405297" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityDomain" xlink:label="loc_xpev_MaturityDomain_1405298" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_MaturityAxis_1405297" xlink:to="loc_xpev_MaturityDomain_1405298" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityDomain" xlink:label="loc_xpev_MaturityDomain_1405298_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_MaturityAxis_1405297" xlink:to="loc_xpev_MaturityDomain_1405298_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubsequentPaidMember" xlink:label="loc_xpev_SubsequentPaidMember_1405299" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_MaturityDomain_1405298" xlink:to="loc_xpev_SubsequentPaidMember_1405299" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_1405245" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1405245" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405246" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405245" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405246" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405246_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405245" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405246_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_1405240" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1405739" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember_1405741" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1405740" xlink:to="loc_xpev_FactoryMember_1405741" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments_1405235" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_OperatingLeasePayments_1405235" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_1405237" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_1405237" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandRightOfUseAsset" xlink:label="loc_xpev_LandRightOfUseAsset_1405239" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_xpev_LandRightOfUseAsset_1405239" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:label="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405666" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1_1405666" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xlink:label="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount_1405669" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount_1405669" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405670" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss_1405670" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseSellingProfitLoss" xlink:label="loc_us-gaap_SalesTypeLeaseSellingProfitLoss_1405718" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_1405241" xlink:to="loc_us-gaap_SalesTypeLeaseSellingProfitLoss_1405718" use="optional" order="23" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RevenuesSummaryOfRevenuesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_787237" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_787237" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_787239" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_srt_ProductOrServiceAxis_787239" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787240" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_787239" xlink:to="loc_srt_ProductsAndServicesDomain_787240" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787240_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_787239" xlink:to="loc_srt_ProductsAndServicesDomain_787240_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ServicesAndOthersMember" xlink:label="loc_xpev_ServicesAndOthersMember_787242" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_787240" xlink:to="loc_xpev_ServicesAndOthersMember_787242" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueAxis" xlink:label="loc_xpev_ProductRevenueAxis_1405789" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_xpev_ProductRevenueAxis_1405789" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueDomain" xlink:label="loc_xpev_ProductRevenueDomain_1405790" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_ProductRevenueAxis_1405789" xlink:to="loc_xpev_ProductRevenueDomain_1405790" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueDomain" xlink:label="loc_xpev_ProductRevenueDomain_1405790_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_ProductRevenueAxis_1405789" xlink:to="loc_xpev_ProductRevenueDomain_1405790_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehicleMember" xlink:label="loc_xpev_VehicleMember_1405791" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ProductRevenueDomain_1405790" xlink:to="loc_xpev_VehicleMember_1405791" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_787237" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_1370065" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_1370066_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_787243" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_787238" xlink:to="loc_us-gaap_Revenues_787243" use="optional" order="13" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/DeferredRevenueAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostLineItems" xlink:label="loc_us-gaap_CapitalizedContractCostLineItems_787194" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostTable" xlink:label="loc_us-gaap_CapitalizedContractCostTable_787186" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_us-gaap_CapitalizedContractCostTable_787186" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_787190" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CapitalizedContractCostTable_787186" xlink:to="loc_srt_ProductOrServiceAxis_787190" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787191" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_787190" xlink:to="loc_srt_ProductsAndServicesDomain_787191" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_787191_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_787190" xlink:to="loc_srt_ProductsAndServicesDomain_787191_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405951" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CapitalizedContractCostTable_787186" xlink:to="loc_srt_RangeAxis_1405951" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405952" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1405951" xlink:to="loc_srt_RangeMember_1405952" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405952_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1405951" xlink:to="loc_srt_RangeMember_1405952_default" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage_787199" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage_787199" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation_787201" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation_787201" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_787203" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_787203" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation_787204" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems_787194" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation_787204" use="optional" order="11" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ManufacturingInCollaborationWithHaimaAutoAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsLineItems" xlink:label="loc_us-gaap_OffsettingAssetsLineItems_787125" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaap_TypeOfArrangementAxis_787116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xlink:to="loc_us-gaap_TypeOfArrangementAxis_787116" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_787116" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_787116" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementMember" xlink:label="loc_us-gaap_CollaborativeArrangementMember_787118" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_787117" xlink:to="loc_us-gaap_CollaborativeArrangementMember_787118" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis_787119" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_787115" xlink:to="loc_srt_CounterpartyNameAxis_787119" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_787119" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_787119" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HaimaAutoMember" xlink:label="loc_xpev_HaimaAutoMember_787124" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_787122" xlink:to="loc_xpev_HaimaAutoMember_787124" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContract" xlink:label="loc_xpev_CollaborativeArrangementDateOfContract_787126" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_CollaborativeArrangementDateOfContract_787126" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContractExpiration" xlink:label="loc_xpev_CollaborativeArrangementDateOfContractExpiration_787127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_CollaborativeArrangementDateOfContractExpiration_787127" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AnnualProductionCapacity" xlink:label="loc_xpev_AnnualProductionCapacity_787128" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_AnnualProductionCapacity_787128" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_1370452" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_1370452" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RelocationAndDisposalCosts" xlink:label="loc_xpev_RelocationAndDisposalCosts_1370455" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_RelocationAndDisposalCosts_1370455" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentOfTerminationFee" xlink:label="loc_xpev_PaymentOfTerminationFee_1370463" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OffsettingAssetsLineItems_787125" xlink:to="loc_xpev_PaymentOfTerminationFee_1370463" use="optional" order="15" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OrdinarySharesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteLineItems" xlink:label="loc_xpev_StockholdersEquityNoteLineItems_786652" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteTable" xlink:label="loc_xpev_StockholdersEquityNoteTable_786635" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_xpev_StockholdersEquityNoteTable_786635" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786636" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786636" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786637" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786636" xlink:to="loc_us-gaap_ClassOfStockDomain_786637" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786637_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786636" xlink:to="loc_us-gaap_ClassOfStockDomain_786637_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786639" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786637" xlink:to="loc_us-gaap_CommonClassAMember_786639" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786640" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786637" xlink:to="loc_us-gaap_CommonClassBMember_786640" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_786643" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_dei_LegalEntityAxis_786643" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786644" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_786643" xlink:to="loc_dei_EntityDomain_786644" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_786644_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_786643" xlink:to="loc_dei_EntityDomain_786644_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengFortuneHoldingLimitedMember" xlink:label="loc_xpev_XpengFortuneHoldingLimitedMember_786648" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786644" xlink:to="loc_xpev_XpengFortuneHoldingLimitedMember_786648" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidiMember" xlink:label="loc_xpev_DidiMember_1405623" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_786644" xlink:to="loc_xpev_DidiMember_1405623" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1373712" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1373712" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373713" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373712" xlink:to="loc_us-gaap_EquityComponentDomain_1373713" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1373713_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1373712" xlink:to="loc_us-gaap_EquityComponentDomain_1373713_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember_1373714" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1373713" xlink:to="loc_us-gaap_TreasuryStockCommonMember_1373714" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_786649" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_786650_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodAxis" xlink:label="loc_xpev_ShareIssuedPeriodAxis_1382691" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_xpev_ShareIssuedPeriodAxis_1382691" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodDomain" xlink:label="loc_xpev_ShareIssuedPeriodDomain_1382693" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_ShareIssuedPeriodAxis_1382691" xlink:to="loc_xpev_ShareIssuedPeriodDomain_1382693" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodDomain" xlink:label="loc_xpev_ShareIssuedPeriodDomain_1382693_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_ShareIssuedPeriodAxis_1382691" xlink:to="loc_xpev_ShareIssuedPeriodDomain_1382693_default" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuePeriodOneMember" xlink:label="loc_xpev_ShareIssuePeriodOneMember_1382694" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ShareIssuedPeriodDomain_1382693" xlink:to="loc_xpev_ShareIssuePeriodOneMember_1382694" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_1405208" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_StockholdersEquityNoteTable_786635" xlink:to="loc_srt_TitleOfIndividualAxis_1405208" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_1405208" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_1405208" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405209_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_786655" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_CommonStockSharesIssued_786655" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_786656" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_786656" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786662" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_786662" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1373709" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1373709" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_1373730" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_StockholdersEquityNoteLineItems_786652" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_1373730" use="optional" order="30" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_786999" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_AwardTypeAxis_786999" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_786999" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_786999" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_787020" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_787020" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_787021" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_RestrictedStockMember_787021" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_1406027" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_787000" xlink:to="loc_us-gaap_PerformanceSharesMember_1406027" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_787014" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_VestingAxis_787014" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_787015" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_787014" xlink:to="loc_us-gaap_VestingDomain_787015" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_787015_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_787014" xlink:to="loc_us-gaap_VestingDomain_787015_default" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_787016" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_787016" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_787017" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_787017" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_787018" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_787015" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_787018" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1405193" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1405193" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405194" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405193" xlink:to="loc_us-gaap_ClassOfStockDomain_1405194" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1405194_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1405193" xlink:to="loc_us-gaap_ClassOfStockDomain_1405194_default" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_1405195" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1405194" xlink:to="loc_us-gaap_CommonClassAMember_1405195" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_1405197" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_dei_LegalEntityAxis_1405197" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405198" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1405197" xlink:to="loc_dei_EntityDomain_1405198" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_1405198_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1405197" xlink:to="loc_dei_EntityDomain_1405198_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember_1405199" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1405198" xlink:to="loc_xpev_ChengxingMember_1405199" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1405200" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_786998" xlink:to="loc_us-gaap_PlanNameAxis_1405200" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1405201" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_1405200" xlink:to="loc_us-gaap_PlanNameDomain_1405201" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1405201_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_1405200" xlink:to="loc_us-gaap_PlanNameDomain_1405201_default" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandAndNineteenEquityIncentivePlanMember" xlink:label="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember_1405202" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember_1405202" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandTwentyFivePlanMember" xlink:label="loc_xpev_TwoThousandTwentyFivePlanMember_1406020" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandTwentyFivePlanMember_1406020" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandNineteenPlanMember" xlink:label="loc_xpev_TwoThousandNineteenPlanMember_1406088" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_1405201" xlink:to="loc_xpev_TwoThousandNineteenPlanMember_1406088" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_787025" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_787025" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareOptionVestingRightsPercentage" xlink:label="loc_xpev_ShareOptionVestingRightsPercentage_787027" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_xpev_ShareOptionVestingRightsPercentage_787027" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1405192" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_1405192" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1406193" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_1406193" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1405203" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_1405203" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_787048" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_787048" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_787050" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_787050" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_787063" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_787063" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_863931" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_863931" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xlink:label="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant_1406021" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant_1406021" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1406023" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_1406023" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1406024" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787023" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_1406024" use="optional" order="39" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ShareBasedCompensationSummaryOfRestrictedStockAndRestrictedStockUnitActivityDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_863879" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xlink:to="loc_us-gaap_AwardTypeAxis_863879" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_863879" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_863879" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_863881" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_863880" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_863881" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_1406036" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_863878" xlink:to="loc_us-gaap_PlanNameAxis_1406036" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1406037" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_1406036" xlink:to="loc_us-gaap_PlanNameDomain_1406037" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_1406037_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_1406036" xlink:to="loc_us-gaap_PlanNameDomain_1406037_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandTwentyFivePlanMember" xlink:label="loc_xpev_TwoThousandTwentyFivePlanMember_1406039" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_1406037" xlink:to="loc_xpev_TwoThousandTwentyFivePlanMember_1406039" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863893" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_863893" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_863896" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_863896" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_863897" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_863897" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_863898" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_863898" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xlink:label="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber_863901" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber_863901" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863884" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_863884" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_863887" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_863887" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_863888" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_863888" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_863889" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_863883" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_863889" use="optional" order="18" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xlink:label="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees_787143" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees_787143" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_787107" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_787107" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1406136" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_1406136" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1406185" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_1406185" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_787112" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_787112" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xlink:label="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate_1405035" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate_1405035" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_1405036" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_1405036" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_787111" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_787111" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_787114" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_787114" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_787120" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_787120" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1406129" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable_1406127" xlink:to="loc_srt_StatementGeographicalAxis_1406129" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406130" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_1406129" xlink:to="loc_srt_SegmentGeographicalDomain_1406130" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406130_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_1406129" xlink:to="loc_srt_SegmentGeographicalDomain_1406130_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_KY" xlink:label="loc_country_KY_1406131" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_KY_1406131" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_VG" xlink:label="loc_country_VG_1406132" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_VG_1406132" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK" xlink:label="loc_country_HK_1406133" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_HK_1406133" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NL" xlink:label="loc_country_NL_1406134" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406130" xlink:to="loc_country_NL_1406134" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_787121" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_787121" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_1406146" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_1406146" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1405770" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1405770" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1406147" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_1406147" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_1406145" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_1406145" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_1406148" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_1406148" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss_1406138" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss_1406138" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1406139" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_1406139" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_1406150" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_1406150" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment_1406151" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment_1406151" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates_1406188" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract_1406137" xlink:to="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates_1406188" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss_1406141" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss_1406141" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_1406142" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_1406142" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_1406153" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_1406153" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment_1406154" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment_1406154" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates_1406189" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract_1406140" xlink:to="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates_1406189" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes_1406156" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_1406155" xlink:to="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes_1406156" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes_1406162" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_1406161" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes_1406162" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_787123" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_787123" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1406166" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems_1406128" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_1406166" use="optional" order="42" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfCashPaidForIncomeTaxesNetOfRefundDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1406116" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable_1406114" xlink:to="loc_srt_StatementGeographicalAxis_1406116" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406117" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_1406116" xlink:to="loc_srt_SegmentGeographicalDomain_1406117" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_1406117_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_1406116" xlink:to="loc_srt_SegmentGeographicalDomain_1406117_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_DK" xlink:label="loc_country_DK_1406118" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_country_DK_1406118" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember_1406119" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_srt_AmericasMember_1406119" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NO" xlink:label="loc_country_NO_1406120" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_1406117" xlink:to="loc_country_NO_1406120" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_1406122" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_1406122" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_1406123" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_1406123" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid_1406124" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems_1406115" xlink:to="loc_us-gaap_IncomeTaxesPaid_1406124" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfMovementOfValuationAllowanceDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceLineItems" xlink:label="loc_us-gaap_ValuationAllowanceLineItems_787179" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceTable" xlink:label="loc_us-gaap_ValuationAllowanceTable_787173" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_ValuationAllowanceTable_787173" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAllowanceTable_787173" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_787175" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_787175" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_787175_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_787174" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_787175_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember_787176" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember_787176" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AcquisitionOfSubsidiariesMember" xlink:label="loc_xpev_AcquisitionOfSubsidiariesMember_1405605" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_AcquisitionOfSubsidiariesMember_1405605" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember_787177" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember_787177" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember_787178" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_787175" xlink:to="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember_787178" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787180" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_787180" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_787181" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_787179" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_787181" use="optional" order="10" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfTaxLossCarryforwardsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_787205" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787206" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InlandRevenueHongKongMember" xlink:label="loc_us-gaap_InlandRevenueHongKongMember_787208" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" xlink:to="loc_us-gaap_InlandRevenueHongKongMember_787208" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherMember" xlink:label="loc_xpev_OtherMember_1406195" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787207" xlink:to="loc_xpev_OtherMember_1406195" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis_787210" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787205" xlink:to="loc_us-gaap_TaxPeriodAxis_787210" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_787211" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxPeriodAxis_787210" xlink:to="loc_us-gaap_TaxPeriodDomain_787211" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain_787211_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxPeriodAxis_787210" xlink:to="loc_us-gaap_TaxPeriodDomain_787211_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2026TaxYearMember" xlink:label="loc_xpev_Expiring2026TaxYearMember_787216" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2026TaxYearMember_787216" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2027TaxYearMember" xlink:label="loc_xpev_Expiring2027TaxYearMember_787217" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2027TaxYearMember_787217" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2028TaxYearMember" xlink:label="loc_xpev_Expiring2028TaxYearMember_787218" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2028TaxYearMember_787218" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2029TaxYearMember" xlink:label="loc_xpev_Expiring2029TaxYearMember_787219" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2029TaxYearMember_787219" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2030Member" xlink:label="loc_xpev_LossExpiringIn2030Member_862846" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_LossExpiringIn2030Member_862846" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2031Member" xlink:label="loc_xpev_LossExpiringIn2031Member_1405276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_LossExpiringIn2031Member_1405276" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2032TaxYearMember" xlink:label="loc_xpev_Expiring2032TaxYearMember_1405093" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2032TaxYearMember_1405093" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2033TaxYearMember" xlink:label="loc_xpev_Expiring2033TaxYearMember_1405402" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2033TaxYearMember_1405402" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2034TaxYearMember" xlink:label="loc_xpev_Expiring2034TaxYearMember_1405956" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2034TaxYearMember_1405956" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2035TaxYearMember" xlink:label="loc_xpev_Expiring2035TaxYearMember_1406000" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxPeriodDomain_787211" xlink:to="loc_xpev_Expiring2035TaxYearMember_1406000" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_787221" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_787221" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_787222" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787220" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_787222" use="optional" order="21" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_787254" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis_787255" xlink:to="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InlandRevenueHongKongMember" xlink:label="loc_us-gaap_InlandRevenueHongKongMember_787257" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_InlandRevenueHongKongMember_787257" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_787258" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_787258" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAdministrationOfTaxationChinaMember" xlink:label="loc_us-gaap_StateAdministrationOfTaxationChinaMember_787259" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_us-gaap_StateAdministrationOfTaxationChinaMember_787259" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongKongAndOthersMember" xlink:label="loc_xpev_HongKongAndOthersMember_1382320" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain_787256" xlink:to="loc_xpev_HongKongAndOthersMember_1382320" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_787261" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" xlink:to="loc_us-gaap_RelatedPartyDomain_787261" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_787261_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_787260" xlink:to="loc_us-gaap_RelatedPartyDomain_787261_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BeneficialOwnerMember" xlink:label="loc_us-gaap_BeneficialOwnerMember_787262" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_787261" xlink:to="loc_us-gaap_BeneficialOwnerMember_787262" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyAxis" xlink:label="loc_xpev_TaxPolicyAxis_787263" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_xpev_TaxPolicyAxis_787263" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyDomain" xlink:label="loc_xpev_TaxPolicyDomain_787264" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_TaxPolicyAxis_787263" xlink:to="loc_xpev_TaxPolicyDomain_787264" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyDomain" xlink:label="loc_xpev_TaxPolicyDomain_787264_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_TaxPolicyAxis_787263" xlink:to="loc_xpev_TaxPolicyDomain_787264_default" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeAxis" xlink:label="loc_xpev_EnterpriseTypeAxis_787266" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_xpev_EnterpriseTypeAxis_787266" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeDomain" xlink:label="loc_xpev_EnterpriseTypeDomain_787267" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_EnterpriseTypeAxis_787266" xlink:to="loc_xpev_EnterpriseTypeDomain_787267" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeDomain" xlink:label="loc_xpev_EnterpriseTypeDomain_787267_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_EnterpriseTypeAxis_787266" xlink:to="loc_xpev_EnterpriseTypeDomain_787267_default" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HnteMember" xlink:label="loc_xpev_HnteMember_787268" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_EnterpriseTypeDomain_787267" xlink:to="loc_xpev_HnteMember_787268" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_1405767" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_787254" xlink:to="loc_srt_ConsolidatedEntitiesAxis_1405767" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1405768" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_1405767" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1405768" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1405768_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_1405767" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1405768_default" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember" xlink:label="loc_srt_SubsidiariesMember_1405769" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1405768" xlink:to="loc_srt_SubsidiariesMember_1405769" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_787270" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_787270" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferentialIncomeTaxRate" xlink:label="loc_xpev_PreferentialIncomeTaxRate_787273" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_xpev_PreferentialIncomeTaxRate_787273" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WithholdingTaxRate" xlink:label="loc_xpev_WithholdingTaxRate_787274" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_xpev_WithholdingTaxRate_787274" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_787276" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_787276" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_788047" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration_788047" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_788048" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_788048" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_1405779" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_787269" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther_1405779" use="optional" order="30" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShareAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" xlink:label="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_787055" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_866156" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_866156" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ContigentShareMember" xlink:label="loc_xpev_ContigentShareMember_1405578" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_787056" xlink:to="loc_xpev_ContigentShareMember_1405578" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1405579" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_787054" xlink:to="loc_srt_RangeAxis_1405579" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405580" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1405579" xlink:to="loc_srt_RangeMember_1405580" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_1405580_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1405579" xlink:to="loc_srt_RangeMember_1405580_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_1405581" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1405580" xlink:to="loc_srt_MaximumMember_1405581" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1405582" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1405580" xlink:to="loc_srt_MinimumMember_1405582" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_787067" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems_787066" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_787067" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesSummaryOfRelatedPartiesAndNatureOfRelationshipDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_786983" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_786983" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_786978" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786980" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" xlink:to="loc_us-gaap_RelatedPartyDomain_786980" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_786980_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_786979" xlink:to="loc_us-gaap_RelatedPartyDomain_786980_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengHeMember" xlink:label="loc_xpev_XiaopengHeMember_786981" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_XiaopengHeMember_786981" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongdiBrianGuMember" xlink:label="loc_xpev_HongdiBrianGuMember_1405062" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HongdiBrianGuMember_1405062" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaoHeMember" xlink:label="loc_xpev_TaoHeMember_1405063" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_TaoHeMember_1405063" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarIncMember" xlink:label="loc_xpev_HtFlyingCarIncMember_1405065" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HtFlyingCarIncMember_1405065" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarHongKongLimitedMember" xlink:label="loc_xpev_HtFlyingCarHongKongLimitedMember_1405067" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_HtFlyingCarHongKongLimitedMember_1405067" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xlink:label="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember_1382253" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember_1382253" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xlink:label="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember_1382255" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember_1382255" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember_1405994" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember_1405994" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember_1405992" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember_1405992" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FoshanHuitianAviationTechnologyCoLtdMember" xlink:label="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember_1405990" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember_1405990" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RocketsCapitalL.pMember" xlink:label="loc_xpev_RocketsCapitalL.pMember_1405069" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_RocketsCapitalL.pMember_1405069" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405073" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_786980" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405073" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xlink:label="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships_786984" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_786983" xlink:to="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships_786984" use="optional" order="17" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RelatedPartiesAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_863632" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_863617" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" xlink:to="loc_us-gaap_RelatedPartyDomain_863617" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_863617_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_863616" xlink:to="loc_us-gaap_RelatedPartyDomain_863617_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengHeMember" xlink:label="loc_xpev_XiaopengHeMember_863620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_XiaopengHeMember_863620" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaoHeMember" xlink:label="loc_xpev_TaoHeMember_1405094" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_TaoHeMember_1405094" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyMember" xlink:label="loc_us-gaap_RelatedPartyMember_1405648" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_us-gaap_RelatedPartyMember_1405648" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrincipalOwnerMember" xlink:label="loc_us-gaap_PrincipalOwnerMember_1405755" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_us-gaap_PrincipalOwnerMember_1405755" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EmployeeGroupMember" xlink:label="loc_xpev_EmployeeGroupMember_1405820" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_863617" xlink:to="loc_xpev_EmployeeGroupMember_1405820" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_863622" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_863622" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_863623" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_863622" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_863623" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_863623_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_863622" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_863623_default" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperationSupportServiceMember" xlink:label="loc_xpev_OperationSupportServiceMember_1373087" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_OperationSupportServiceMember_1373087" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperationSupportServiceMember" xlink:label="loc_xpev_OperationSupportServiceMember_1405842" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405106" xlink:to="loc_xpev_OperationSupportServiceMember_1405842" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasingServicesMember" xlink:label="loc_xpev_LeasingServicesMember_1405821" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_LeasingServicesMember_1405821" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseOfServicesMember" xlink:label="loc_xpev_PurchaseOfServicesMember_1406194" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_863623" xlink:to="loc_xpev_PurchaseOfServicesMember_1406194" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_1405097" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_InvestmentTypeAxis_1405097" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1405098" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_1405097" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1405098" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1405098_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_1405097" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1405098_default" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_1405101" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_TitleOfIndividualAxis_1405101" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_1405101" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_1405101" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_1405102_default" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1405105" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1405105" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405106" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405105" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405106" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1405106_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1405105" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1405106_default" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_1405107" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1405106" xlink:to="loc_us-gaap_CostOfSalesMember_1405107" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_1405108" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_1405108" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405109" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405108" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405109" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_1405109_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_1405108" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_1405109_default" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405314" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405314" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1405314_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1405313" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1405314_default" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VariableInterestEntityVieActivitiesMember" xlink:label="loc_xpev_VariableInterestEntityVieActivitiesMember_1405315" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405314" xlink:to="loc_xpev_VariableInterestEntityVieActivitiesMember_1405315" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember_1405928" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1405314" xlink:to="loc_xpev_GuangzhouXuetaoMember_1405928" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_1406054" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_1406054" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_1406054" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_1406054" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055_default" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember_1406056" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_1406055" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentMember_1406056" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_1406057" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_863614" xlink:to="loc_srt_ProductOrServiceAxis_1406057" use="optional" order="39" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_1406058" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_1406057" xlink:to="loc_srt_ProductsAndServicesDomain_1406058" use="optional" order="40" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_1406058_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_1406057" xlink:to="loc_srt_ProductsAndServicesDomain_1406058_default" use="optional" order="41" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GoodsMember" xlink:label="loc_xpev_GoodsMember_1406059" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_1406058" xlink:to="loc_xpev_GoodsMember_1406059" use="optional" order="42" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_863636" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_InterestExpense_863636" use="optional" order="43" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_863639" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_863639" use="optional" order="44" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_866171" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_866171" use="optional" order="45" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_885916" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_885916" use="optional" order="46" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1373086" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1373086" use="optional" order="47" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1405095" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_1405095" use="optional" order="48" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_1405111" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_863632" xlink:to="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_1405111" use="optional" order="49" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CommitmentsAndContingenciesSummaryOfCapitalExpendituresDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_786902" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_786903" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentsAdditionsMember" xlink:label="loc_xpev_InvestmentsAdditionsMember_786906" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" xlink:to="loc_xpev_InvestmentsAdditionsMember_786906" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalAdditionsMember" xlink:label="loc_us-gaap_CapitalAdditionsMember_786905" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_786904" xlink:to="loc_us-gaap_CapitalAdditionsMember_786905" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentAmount" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount_786908" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_786907" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentAmount_786908" use="optional" order="7" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/RestrictedNetAssetsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsLineItems" xlink:label="loc_xpev_RestrictedNetAssetsLineItems_885808" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsTable" xlink:label="loc_xpev_RestrictedNetAssetsTable_885805" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_RestrictedNetAssetsTable_885805" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_885809" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_xpev_RestrictedNetAssetsTable_885805" xlink:to="loc_srt_RangeAxis_885809" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_885810" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_885809" xlink:to="loc_srt_RangeMember_885810" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_885810_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_885809" xlink:to="loc_srt_RangeMember_885810_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_885811" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_885810" xlink:to="loc_srt_MaximumMember_885811" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_885812" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_885810" xlink:to="loc_srt_MinimumMember_885812" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xlink:label="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund_885814" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund_885814" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax_885817" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax_885817" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital_890763" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital_890763" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital_890762" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital_890762" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssets" xlink:label="loc_xpev_RestrictedNetAssets_890769" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_RestrictedNetAssets_890769" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xlink:label="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment_890765" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_xpev_RestrictedNetAssetsLineItems_885808" xlink:to="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment_890765" use="optional" order="12" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_786777" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xlink:to="loc_us-gaap_StatementClassOfStockAxis_786777" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786778" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786777" xlink:to="loc_us-gaap_ClassOfStockDomain_786778" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_786778_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_786777" xlink:to="loc_us-gaap_ClassOfStockDomain_786778_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_786792" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786778" xlink:to="loc_us-gaap_CommonClassAMember_786792" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_786793" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_786778" xlink:to="loc_us-gaap_CommonClassBMember_786793" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786780" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786776" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786780" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786781" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786780" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786781" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786781_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786780" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786781_default" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786782" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786781" xlink:to="loc_us-gaap_ParentMember_786782" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_786794" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_AssetsAbstract_786794" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_786795" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_AssetsCurrentAbstract_786795" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786796" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_786796" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits_862749" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_xpev_ShortTermDeposits_862749" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent_1405773" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_xpev_LongtermDepositsCurrent_1405773" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_862751" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_862751" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_786797" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_786795" xlink:to="loc_us-gaap_AssetsCurrent_786797" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_786798" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_786798" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments_786799" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_EquityMethodInvestments_786799" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1405079" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_LongTermInvestments_1405079" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent_786800" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_786798" xlink:to="loc_us-gaap_AssetsNoncurrent_786800" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_786801" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_786794" xlink:to="loc_us-gaap_Assets_786801" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_786802" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_LiabilitiesAbstract_786802" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_862761" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_862761" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_862762" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_862762" use="optional" order="25" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_1405574" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_1405574" use="optional" order="26" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_862763" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_862761" xlink:to="loc_us-gaap_LiabilitiesCurrent_862763" use="optional" order="27" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" use="optional" order="28" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786806" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_786806" use="optional" order="29" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_786814" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_786803" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_786814" use="optional" order="30" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_786815" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_786802" xlink:to="loc_us-gaap_Liabilities_786815" use="optional" order="31" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_786821" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_StockholdersEquityAbstract_786821" use="optional" order="32" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_786822" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_CommonStockValue_786822" use="optional" order="33" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_862777" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_AdditionalPaidInCapital_862777" use="optional" order="34" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryAndOtherReserves" xlink:label="loc_xpev_StatutoryAndOtherReserves_1405342" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_xpev_StatutoryAndOtherReserves_1405342" use="optional" order="35" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786823" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_786823" use="optional" order="36" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786824" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_786824" use="optional" order="37" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_786825" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_786821" xlink:to="loc_us-gaap_StockholdersEquity_786825" use="optional" order="38" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_786826" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786779" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_786826" use="optional" order="39" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedStatementsOfComprehensiveLossDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786846" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786842" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786846" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786848" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786846" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786848" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786848_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786846" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786848_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786869" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786848" xlink:to="loc_us-gaap_ParentMember_786869" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_786850" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" xlink:to="loc_us-gaap_OperatingExpensesAbstract_786850" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786851" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_786851" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_786852" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OperatingExpenses_786852" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xlink:label="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration_1405774" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration_1405774" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_786853" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OperatingIncomeLoss_786853" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_786854" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_InvestmentIncomeInterest_786854" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_786855" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_GainLossOnInvestments_786855" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_862789" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_862789" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405083" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_1405083" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentLossOnLongTermInvestments_1405088" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_xpev_InvestmentLossOnLongTermInvestments_1405088" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786856" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_786856" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786857" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_786857" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_786858" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_786858" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405089" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_1405089" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_786859" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_NetIncomeLoss_786859" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786865" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_786850" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_786865" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786845" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786867" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_786867" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_786868" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_786868" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786870" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_786866" xlink:to="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic_786870" use="optional" order="25" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyConsolidatedStatementOfCashFlowsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis_786878" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xlink:to="loc_srt_ConsolidatedEntitiesAxis_786878" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786879" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786878" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786879" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain_786879_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_786878" xlink:to="loc_srt_ConsolidatedEntitiesDomain_786879_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_786880" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_786879" xlink:to="loc_us-gaap_ParentMember_786880" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis_1382167" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable_786874" xlink:to="loc_srt_RestatementAxis_1382167" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_1382168" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_1382167" xlink:to="loc_srt_RestatementDomain_1382168" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain_1382168_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_1382167" xlink:to="loc_srt_RestatementDomain_1382168_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786881" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_786881" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1405091" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_xpev_PaymentsForProceedsFromShortTermDeposit_1405091" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_786884" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_786884" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments_1405090" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_PaymentsToAcquireLongtermInvestments_1405090" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1406051" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments_1406051" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786885" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_786882" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_786885" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xlink:label="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen_1405778" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" xlink:to="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen_1405778" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786889" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_786886" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_786889" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_1375048" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_1375048" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786890" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_786890" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786891" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems_786877" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_786891" use="optional" order="21" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/SubsequentEventsAdditionalInformationDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_885852" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_885847" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_885852" xlink:to="loc_us-gaap_SubsequentEventTable_885847" xbrldt:contextElement="segment" xbrldt:closed="true" use="optional" order="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_885848" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_885848" use="optional" order="2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_885849" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_885848" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_885849" use="optional" order="3" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_885849_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_885848" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_885849_default" use="optional" order="4" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_885851" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_885849" xlink:to="loc_us-gaap_SubsequentEventMember_885851" use="optional" order="5" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" use="optional" order="6" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_886621" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" xlink:to="loc_us-gaap_RelatedPartyDomain_886621" use="optional" order="7" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_886621_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_886620" xlink:to="loc_us-gaap_RelatedPartyDomain_886621_default" use="optional" order="8" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_1373071" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_1373071" use="optional" order="9" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1373071" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073" use="optional" order="10" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_1373071" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_1373073_default" use="optional" order="11" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_897395" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_897395" use="optional" order="12" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_897396" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_897395" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_897396" use="optional" order="13" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_897396_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_897395" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_897396_default" use="optional" order="14" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementAxis" xlink:label="loc_xpev_AgreementAxis_1378068" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_xpev_AgreementAxis_1378068" use="optional" order="15" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_1378069" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_xpev_AgreementAxis_1378068" xlink:to="loc_xpev_AgreementDomain_1378069" use="optional" order="16" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain_1378069_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_xpev_AgreementAxis_1378068" xlink:to="loc_xpev_AgreementDomain_1378069_default" use="optional" order="17" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" use="optional" order="18" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053" use="optional" order="19" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_1405052" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_1405053_default" use="optional" order="20" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_1405803" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_885847" xlink:to="loc_us-gaap_FinancialInstrumentAxis_1405803" use="optional" order="21" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405803" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" use="optional" order="22" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804_default" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_1405803" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804_default" use="optional" order="23" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1405806" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1405804" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1405806" use="optional" order="24" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1405802" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_885852" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1405802" use="optional" order="25" />
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyMember" xlink:label="loc_us-gaap_RelatedPartyMember" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain" xlink:to="loc_us-gaap_RelatedPartyMember" order="1.0" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_NetIncomeLoss" order="1.0" />
        </link:definitionLink>
        <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"  />
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_OperatingIncomeLoss" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss" xlink:to="loc_us-gaap_GrossProfit" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit" xlink:to="loc_us-gaap_Revenues" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold" use="optional" order="6" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss" xlink:to="loc_us-gaap_OperatingExpenses" use="optional" order="7" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingOtherIncome" xlink:label="loc_XPEV_OperatingOtherIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses" xlink:to="loc_XPEV_OperatingOtherIncome" use="optional" order="10" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xlink:label="loc_XPEV_FairValueDerivativeGainOnDerivativeToContingentConsideration" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses" xlink:to="loc_XPEV_FairValueDerivativeGainOnDerivativeToContingentConsideration" use="optional" order="11" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_InvestmentIncomeInterest" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_InterestExpense" use="optional" order="13" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_XPEV_InvestmentGainLossOnLongTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_XPEV_InvestmentGainLossOnLongTermInvestments" use="optional" order="16" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" use="optional" order="17" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit" use="optional" order="18" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments" use="optional" order="19" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfComprehensiveLoss" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_XPEV_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax" use="optional" order="20" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" use="optional" order="22" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_AssetsCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_RestrictedCash" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_ShortTermInvestments" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_InventoryNet" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmountsDueFromRelatedParties" xlink:label="loc_XPEV_AmountsDueFromRelatedParties" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_AmountsDueFromRelatedParties" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_XPEV_ShortTermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_ShortTermDeposits" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xlink:label="loc_XPEV_CurrentPortionOfInstallmentPaymentReceivablesNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_CurrentPortionOfInstallmentPaymentReceivablesNet" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_XPEV_LongtermDepositsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_LongtermDepositsCurrent" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedDepositCurrent" xlink:label="loc_XPEV_RestrictedDepositCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_RestrictedDepositCurrent" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedLongTermDepositCurrent" xlink:label="loc_XPEV_RestrictedLongTermDepositCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_RestrictedLongTermDepositCurrent" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_AssetsNoncurrent" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset" use="optional" order="16" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill" use="optional" order="17" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightAsset" xlink:label="loc_XPEV_LandUseRightAsset" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_XPEV_LandUseRightAsset" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_OtherAssetsNoncurrent" use="optional" order="19" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_LongTermInvestments" use="optional" order="20" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesNet" xlink:label="loc_XPEV_InstallmentPaymentReceivablesNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_XPEV_InstallmentPaymentReceivablesNet" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsNonCurrent" xlink:label="loc_XPEV_LongTermDepositsNonCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_XPEV_LongTermDepositsNonCurrent" use="optional" order="22" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndInvestmentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent" use="optional" order="23" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedBalanceSheets" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_Liabilities" use="optional" order="24" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_LiabilitiesCurrent" use="optional" order="25" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_ShortTermBorrowings" use="optional" order="26" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_AccountsPayableCurrent" use="optional" order="27" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent" use="optional" order="28" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent" use="optional" order="29" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_DeferredRevenueCurrent" use="optional" order="30" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_LongTermDebtCurrent" use="optional" order="31" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" use="optional" order="32" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent" use="optional" order="33" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent" use="optional" order="34" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_XPEV_NotesPayableCurrentLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_XPEV_NotesPayableCurrentLiabilities" use="optional" order="35" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent" use="optional" order="36" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_LiabilitiesNoncurrent" use="optional" order="37" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_LongTermDebtNoncurrent" use="optional" order="38" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" use="optional" order="39" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent" use="optional" order="40" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent" use="optional" order="41" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent" use="optional" order="42" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" use="optional" order="43" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet" use="optional" order="44" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_StockholdersEquity" use="optional" order="45" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_CommonStockValue" use="optional" order="46" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AdditionalPaidInCapital" use="optional" order="47" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" use="optional" order="48" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit" use="optional" order="49" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReserve" xlink:label="loc_XPEV_StatutoryReserve" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_XPEV_StatutoryReserve" use="optional" order="50" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/ConsolidatedStatementsOfCashFlows" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_Depreciation" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRight" xlink:label="loc_XPEV_AmortizationOfLandUseRight" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_AmortizationOfLandUseRight" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets" use="optional" order="7" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_ShareBasedCompensation" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TangibleAssetImpairmentCharges" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_InventoryWriteDown" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeInterest" xlink:label="loc_XPEV_IncomeInterest" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_IncomeInterest" use="optional" order="11" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" use="optional" order="12" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable" use="optional" order="13" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories" use="optional" order="14" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" use="optional" order="15" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" use="optional" order="16" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" use="optional" order="17" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue" use="optional" order="19" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" use="optional" order="20" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" use="optional" order="21" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties" use="optional" order="22" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" use="optional" order="23" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" use="optional" order="24" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xlink:label="loc_XPEV_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" use="optional" order="25" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xlink:label="loc_XPEV_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" use="optional" order="26" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xlink:label="loc_XPEV_CurrentExpectedCreditLossGainOfOtherCurrentAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_CurrentExpectedCreditLossGainOfOtherCurrentAssets" use="optional" order="27" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" use="optional" order="28" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xlink:label="loc_XPEV_IncreaseDecreaseInInstallmentPaymentReceivables" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_IncreaseDecreaseInInstallmentPaymentReceivables" use="optional" order="29" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" use="optional" order="30" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments" use="optional" order="31" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" use="optional" order="32" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets" use="optional" order="33" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_XPEV_InvestmentGainLossOnLongTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_XPEV_InvestmentGainLossOnLongTermInvestments" use="optional" order="34" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities" use="optional" order="35" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInNotesPayableCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent" use="optional" order="36" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" use="optional" order="37" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromShortTermInvestments" xlink:label="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments" use="optional" order="38" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" use="optional" order="39" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xlink:label="loc_XPEV_ProceedsFromGovernmentSubsidyRelatedToAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_ProceedsFromGovernmentSubsidyRelatedToAssets" use="optional" order="40" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireLandHeld" xlink:label="loc_XPEV_PaymentsToAcquireLandHeld" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PaymentsToAcquireLandHeld" use="optional" order="41" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments" use="optional" order="42" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquireLongtermInvestments" use="optional" order="43" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_XPEV_PaymentsForProceedsFromShortTermDeposit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PaymentsForProceedsFromShortTermDeposit" use="optional" order="44" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition" use="optional" order="45" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross" use="optional" order="46" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsMaturitiesOfLongtermDeposits" xlink:label="loc_XPEV_PlacementsMaturitiesOfLongtermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PlacementsMaturitiesOfLongtermDeposits" use="optional" order="47" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedShorttermDeposits" xlink:label="loc_XPEV_PlacementsOfRestrictedShorttermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PlacementsOfRestrictedShorttermDeposits" use="optional" order="48" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_XPEV_MaturitiesOfRestrictedShortTermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_MaturitiesOfRestrictedShortTermDeposits" use="optional" order="49" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedLongtermDeposits" xlink:label="loc_XPEV_PlacementsOfRestrictedLongtermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PlacementsOfRestrictedLongtermDeposits" use="optional" order="50" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" use="optional" order="51" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets" use="optional" order="52" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xlink:label="loc_XPEV_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" use="optional" order="53" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xlink:label="loc_XPEV_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_XPEV_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" use="optional" order="54" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" use="optional" order="55" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt" use="optional" order="56" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_RepaymentsOfDebt" use="optional" order="57" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfRelatedPartyDebt" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaap_RepaymentsOfRelatedPartyDebt" use="optional" order="58" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentOfDebtFromThirdPartyInvestors" xlink:label="loc_XPEV_RepaymentOfDebtFromThirdPartyInvestors" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_XPEV_RepaymentOfDebtFromThirdPartyInvestors" use="optional" order="59" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentsOfFinanceLeaseLiabilities" xlink:label="loc_XPEV_RepaymentsOfFinanceLeaseLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_XPEV_RepaymentsOfFinanceLeaseLiabilities" use="optional" order="60" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xlink:label="loc_XPEV_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_XPEV_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" use="optional" order="61" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" use="optional" order="62" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/PrepaymentsAndOtherCurrentAssetsNetSummaryOfPrepaymentsAndOtherCurrentAssetsNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValueAddedTaxReceivableCurrent" xlink:label="loc_us-gaap_ValueAddedTaxReceivableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaap_ValueAddedTaxReceivableCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Prepayments" xlink:label="loc_XPEV_Prepayments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_XPEV_Prepayments" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaap_OtherAssetsCurrent" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidDeposits" xlink:label="loc_XPEV_PrepaidDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_XPEV_PrepaidDeposits" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesLongTermContractsOrPrograms" xlink:label="loc_us-gaap_ReceivablesLongTermContractsOrPrograms" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaap_ReceivablesLongTermContractsOrPrograms" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InventorySummaryOfInventoryDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaap_InventoryRawMaterials" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet" xlink:to="loc_us-gaap_InventoryRawMaterials" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess" xlink:label="loc_us-gaap_InventoryWorkInProcess" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet" xlink:to="loc_us-gaap_InventoryWorkInProcess" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods" xlink:label="loc_us-gaap_InventoryFinishedGoods" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet" xlink:to="loc_us-gaap_InventoryFinishedGoods" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_AssetsCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_XPEV_ShortTermDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_ShortTermDeposits" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_XPEV_LongtermDepositsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="loc_XPEV_LongtermDepositsCurrent" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets" xlink:to="loc_us-gaap_AssetsNoncurrent" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_EquityMethodInvestments" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="loc_us-gaap_LongTermInvestments" use="optional" order="8" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_Liabilities" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_LiabilitiesNoncurrent" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities" xlink:to="loc_us-gaap_LiabilitiesCurrent" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaap_StockholdersEquity" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_CommonStockValue" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit" use="optional" order="16" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" use="optional" order="17" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_us-gaap_AdditionalPaidInCapital" use="optional" order="18" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryAndOtherReserves" xlink:label="loc_XPEV_StatutoryAndOtherReserves" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="loc_XPEV_StatutoryAndOtherReserves" use="optional" order="19" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/CompanyFinancialStatementsParentCompanyOnlyCondensedBalanceSheetsDetailAlternate1" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent" use="optional" order="20" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LossPerShareSummaryOfEarningsPerShareBasicAndDilutedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="loc_us-gaap_NetIncomeLoss" use="optional" order="1" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" use="optional" order="4" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xlink:label="loc_XPEV_IncomeTaxReconciliationEffectOfPreferentialRate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_XPEV_IncomeTaxReconciliationEffectOfPreferentialRate" use="optional" order="7" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome" use="optional" order="8" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" use="optional" order="9" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfReconciliationsOfTheIncomeTaxExpensesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" use="optional" order="14" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" use="optional" order="15" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" use="optional" order="16" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GovernmentGrantPayablesNoncurrent" xlink:label="loc_XPEV_GovernmentGrantPayablesNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent" xlink:to="loc_XPEV_GovernmentGrantPayablesNoncurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtPayableToThirdPartyInvestors" xlink:label="loc_XPEV_DebtPayableToThirdPartyInvestors" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent" xlink:to="loc_XPEV_DebtPayableToThirdPartyInvestors" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsFromAThirdParty" xlink:label="loc_XPEV_DepositsFromAThirdParty" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent" xlink:to="loc_XPEV_DepositsFromAThirdParty" use="optional" order="4" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationSummaryOfComponentsOfDeferredTaxAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xlink:label="loc_XPEV_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_XPEV_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsGovernmentGrants" xlink:label="loc_XPEV_DeferredTaxAssetsGovernmentGrants" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_XPEV_DeferredTaxAssetsGovernmentGrants" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInventory" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance" use="optional" order="6" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsLeases" xlink:label="loc_XPEV_DeferredTaxAssetsLeases" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="loc_XPEV_DeferredTaxAssetsLeases" use="optional" order="7" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LandUseRightsNetSummaryOfLandUseRightsAndRelatedAccumulatedAmortizationDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsNet" xlink:label="loc_XPEV_LandUseRightsNet" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsGross" xlink:label="loc_XPEV_LandUseRightsGross" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_LandUseRightsNet" xlink:to="loc_XPEV_LandUseRightsGross" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAccumulatedAmortization" xlink:label="loc_XPEV_LandUseRightsAccumulatedAmortization" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_LandUseRightsNet" xlink:to="loc_XPEV_LandUseRightsAccumulatedAmortization" use="optional" order="2" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfIntangibleAssetsNetDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" use="optional" order="2" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FiniteLivedIntangibleAssetsImpairment" xlink:label="loc_XPEV_FiniteLivedIntangibleAssetsImpairment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_XPEV_FiniteLivedIntangibleAssetsImpairment" use="optional" order="3" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/OtherNonCurrentAssetsSummaryOfOtherNonCurrentAssetsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsAssetsNoncurrent" xlink:label="loc_us-gaap_DepositsAssetsNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent" xlink:to="loc_us-gaap_DepositsAssetsNoncurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent" xlink:to="loc_us-gaap_Goodwill" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent" xlink:to="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/IntangibleAssetsNetScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/AccrualsAndOtherLiabilitiesSummaryOfAccrualsAndOtherLiabilitiesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xlink:label="loc_XPEV_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ResearchAndDevelopmentExpensesPayableCurrent" xlink:label="loc_XPEV_ResearchAndDevelopmentExpensesPayableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_ResearchAndDevelopmentExpensesPayableCurrent" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedExpensesOnCurrent" xlink:label="loc_XPEV_AccruedExpensesOnCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_AccruedExpensesOnCurrent" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerDeposits" xlink:label="loc_XPEV_CustomerDeposits" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_CustomerDeposits" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerAdvances" xlink:label="loc_XPEV_CustomerAdvances" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_CustomerAdvances" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_InterestPayableCurrent" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent" use="optional" order="10" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_CustomerDepositsCurrent" use="optional" order="11" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesAndExciseTaxPayableCurrent" xlink:label="loc_us-gaap_SalesAndExciseTaxPayableCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_us-gaap_SalesAndExciseTaxPayableCurrent" use="optional" order="12" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedLossOfPurchaseCommitments" xlink:label="loc_XPEV_AccruedLossOfPurchaseCommitments" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_AccruedLossOfPurchaseCommitments" use="optional" order="13" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtFromAThirdPartyInvestorCurrent" xlink:label="loc_XPEV_DebtFromAThirdPartyInvestorCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="loc_XPEV_DebtFromAThirdPartyInvestorCurrent" use="optional" order="14" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" use="optional" order="4" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesScheduleOfBalanceSheetInformationRelatedToLeasesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiability" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost" xlink:to="loc_us-gaap_OperatingLeaseCost" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost" xlink:to="loc_us-gaap_ShortTermLeaseCost" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseCost" xlink:label="loc_XPEV_FinanceLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost" xlink:to="loc_XPEV_FinanceLeaseCost" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_FinanceLeaseCost" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseInterestExpense" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_FinanceLeaseCost" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense" use="optional" order="5" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSummaryOfComponentsOfOperatingLeaseExpenseDetail" >
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseExpenses" xlink:label="loc_XPEV_OperatingLeaseExpenses" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_OperatingLeaseExpenses" xlink:to="loc_us-gaap_OperatingLeaseCost" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_XPEV_OperatingLeaseExpenses" xlink:to="loc_us-gaap_ShortTermLeaseCost" use="optional" order="7" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfBorrowingsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaap_DebtCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations" xlink:to="loc_us-gaap_DebtCurrent" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtCurrent" xlink:to="loc_us-gaap_ShortTermBankLoansAndNotesPayable" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtCurrent" xlink:to="loc_us-gaap_LoansPayableToBankCurrent" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesCurrent" xlink:label="loc_XPEV_AssetbackedSecuritiesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtCurrent" xlink:to="loc_XPEV_AssetbackedSecuritiesCurrent" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesCurrent" xlink:label="loc_XPEV_AssetBackedNotesCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtCurrent" xlink:to="loc_XPEV_AssetBackedNotesCurrent" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations" xlink:to="loc_us-gaap_LongTermDebtNoncurrent" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent" xlink:to="loc_us-gaap_LongTermLoansFromBank" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesNonCurrent" xlink:label="loc_XPEV_AssetbackedSecuritiesNonCurrent" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtNoncurrent" xlink:to="loc_XPEV_AssetbackedSecuritiesNonCurrent" use="optional" order="8" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/InstallmentPaymentReceivablesNetSummaryOfPaymentMaturityAnalysisOfInstallmentPaymentReceivablesDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAllowanceForCreditLoss" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:to="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAllowanceForCreditLoss" use="optional" order="1" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BusinessCombinationSummaryOfTheAssetsAcquiredAndLiabilitiesAssumedDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xlink:label="loc_XPEV_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_XPEV_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" use="optional" order="2" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" use="optional" order="3" weight="-1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_Goodwill" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" use="optional" order="6" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" use="optional" order="7" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" use="optional" order="8" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" use="optional" order="9" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" use="optional" order="10" weight="-1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/LeasesSalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xlink:label="loc_XPEV_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="loc_XPEV_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LoansPayableToBankCurrent" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" use="optional" order="1" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/BorrowingsSummaryOfLongTermBankLoansDetailAlternate1" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LoansPayableToBankCurrent" xlink:to="loc_us-gaap_LongTermLoansFromBank" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LoansPayableToBankCurrent" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" use="optional" order="3" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfLossBeforeIncomeTaxExpenseBenefitsDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" use="optional" order="2" weight="1" />
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.xpenginc.com/role/TaxationScheduleOfComponentsOfIncomeTaxExpenseBenefitDetail" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" use="optional" order="1" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" use="optional" order="2" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit" use="optional" order="3" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" use="optional" order="4" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" use="optional" order="5" weight="1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" />
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" use="optional" order="6" weight="1" />
        </link:calculationLink>
        <link:labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link" >
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract" xlink:label="loc_dei_CoverAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CoverAbstract" xml:lang="en-US">Cover [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CoverAbstract" xlink:to="lab_dei_CoverAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentInformationTable" xml:lang="en-US">Document Information [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentInformationTable" xlink:to="lab_dei_DocumentInformationTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementClassOfStockAxis" xml:lang="en-US">Class of Stock [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StatementClassOfStockAxis" xml:lang="en-US">Class of Stock [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementClassOfStockAxis" xlink:to="lab_us-gaap_StatementClassOfStockAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ClassOfStockDomain" xml:lang="en-US">Class of Stock [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ClassOfStockDomain" xml:lang="en-US">Class of Stock [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="lab_us-gaap_ClassOfStockDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonClassAMember" xml:lang="en-US">Common Class A [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonClassAMember" xml:lang="en-US">Common Class A [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonClassAMember" xlink:to="lab_us-gaap_CommonClassAMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonClassBMember" xml:lang="en-US">Common Class B [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonClassBMember" xml:lang="en-US">Common Class B [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonClassBMember" xlink:to="lab_us-gaap_CommonClassBMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AdrMember" xlink:label="loc_dei_AdrMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AdrMember" xml:lang="en-US">ADR [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_dei_AdrMember" xml:lang="en-US">American Depositary Shares [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AdrMember" xlink:to="lab_dei_AdrMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentInformationLineItems" xml:lang="en-US">Document Information [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentInformationLineItems" xlink:to="lab_dei_DocumentInformationLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentType" xml:lang="en-US">Document Type</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentType" xlink:to="lab_dei_DocumentType" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport" xlink:label="loc_dei_DocumentAnnualReport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentAnnualReport" xml:lang="en-US">Document Annual Report</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentAnnualReport" xlink:to="lab_dei_DocumentAnnualReport" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentTransitionReport" xml:lang="en-US">Document Transition Report</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentTransitionReport" xlink:to="lab_dei_DocumentTransitionReport" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityInteractiveDataCurrent" xml:lang="en-US">Entity Interactive Data Current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityInteractiveDataCurrent" xlink:to="lab_dei_EntityInteractiveDataCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AmendmentFlag" xml:lang="en-US">Amendment Flag</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AmendmentFlag" xlink:to="lab_dei_AmendmentFlag" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentPeriodEndDate" xml:lang="en-US">Document Period End Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentPeriodEndDate" xlink:to="lab_dei_DocumentPeriodEndDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentFiscalYearFocus" xml:lang="en-US">Document Fiscal Year Focus</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalYearFocus" xlink:to="lab_dei_DocumentFiscalYearFocus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentFiscalPeriodFocus" xml:lang="en-US">Document Fiscal Period Focus</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalPeriodFocus" xlink:to="lab_dei_DocumentFiscalPeriodFocus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityRegistrantName" xml:lang="en-US">Entity Registrant Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityRegistrantName" xlink:to="lab_dei_EntityRegistrantName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCentralIndexKey" xml:lang="en-US">Entity Central Index Key</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCentralIndexKey" xlink:to="lab_dei_EntityCentralIndexKey" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityFileNumber" xml:lang="en-US">Entity File Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFileNumber" xlink:to="lab_dei_EntityFileNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityIncorporationStateCountryCode" xml:lang="en-US">Entity Incorporation, State or Country Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityIncorporationStateCountryCode" xlink:to="lab_dei_EntityIncorporationStateCountryCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CurrentFiscalYearEndDate" xml:lang="en-US">Current Fiscal Year End Date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CurrentFiscalYearEndDate" xlink:to="lab_dei_CurrentFiscalYearEndDate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityWellKnownSeasonedIssuer" xml:lang="en-US">Entity Well-known Seasoned Issuer</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityWellKnownSeasonedIssuer" xlink:to="lab_dei_EntityWellKnownSeasonedIssuer" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityVoluntaryFilers" xml:lang="en-US">Entity Voluntary Filers</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityVoluntaryFilers" xlink:to="lab_dei_EntityVoluntaryFilers" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCurrentReportingStatus" xml:lang="en-US">Entity Current Reporting Status</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCurrentReportingStatus" xlink:to="lab_dei_EntityCurrentReportingStatus" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityShellCompany" xml:lang="en-US">Entity Shell Company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityShellCompany" xlink:to="lab_dei_EntityShellCompany" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityFilerCategory" xml:lang="en-US">Entity Filer Category</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFilerCategory" xlink:to="lab_dei_EntityFilerCategory" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityEmergingGrowthCompany" xml:lang="en-US">Entity Emerging Growth Company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityEmergingGrowthCompany" xlink:to="lab_dei_EntityEmergingGrowthCompany" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressAddressLine1" xml:lang="en-US">Entity Address, Address Line One</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressAddressLine1" xlink:to="lab_dei_EntityAddressAddressLine1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressCityOrTown" xml:lang="en-US">Entity Address, City or Town</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressCityOrTown" xlink:to="lab_dei_EntityAddressCityOrTown" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCountry" xlink:label="loc_dei_EntityAddressCountry" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressCountry" xml:lang="en-US">Entity Address, Country</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressCountry" xlink:to="lab_dei_EntityAddressCountry" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressPostalZipCode" xml:lang="en-US">Entity Address, Postal Zip Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressPostalZipCode" xlink:to="lab_dei_EntityAddressPostalZipCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CityAreaCode" xml:lang="en-US">City Area Code</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CityAreaCode" xlink:to="lab_dei_CityAreaCode" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_LocalPhoneNumber" xml:lang="en-US">Local Phone Number</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_LocalPhoneNumber" xlink:to="lab_dei_LocalPhoneNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_Security12bTitle" xml:lang="en-US">Title of 12(b) Security</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_Security12bTitle" xlink:to="lab_dei_Security12bTitle" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_NoTradingSymbolFlag" xlink:label="loc_dei_NoTradingSymbolFlag" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_NoTradingSymbolFlag" xml:lang="en-US">No Trading Symbol Flag</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_NoTradingSymbolFlag" xlink:to="lab_dei_NoTradingSymbolFlag" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_TradingSymbol" xml:lang="en-US">Trading Symbol</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_TradingSymbol" xlink:to="lab_dei_TradingSymbol" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_SecurityExchangeName" xml:lang="en-US">Security Exchange Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_SecurityExchangeName" xlink:to="lab_dei_SecurityExchangeName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityCommonStockSharesOutstanding" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCommonStockSharesOutstanding" xlink:to="lab_dei_EntityCommonStockSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentRegistrationStatement" xlink:label="loc_dei_DocumentRegistrationStatement" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentRegistrationStatement" xml:lang="en-US">Document Registration Statement</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentRegistrationStatement" xlink:to="lab_dei_DocumentRegistrationStatement" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAccountingStandard" xlink:label="loc_dei_DocumentAccountingStandard" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentAccountingStandard" xml:lang="en-US">Document Accounting Standard</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentAccountingStandard" xlink:to="lab_dei_DocumentAccountingStandard" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelName" xlink:label="loc_dei_ContactPersonnelName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_ContactPersonnelName" xml:lang="en-US">Contact Personnel Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_ContactPersonnelName" xlink:to="lab_dei_ContactPersonnelName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelEmailAddress" xlink:label="loc_dei_ContactPersonnelEmailAddress" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_ContactPersonnelEmailAddress" xml:lang="en-US">Contact Personnel Email Address</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_ContactPersonnelEmailAddress" xlink:to="lab_dei_ContactPersonnelEmailAddress" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine2" xlink:label="loc_dei_EntityAddressAddressLine2" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressAddressLine2" xml:lang="en-US">Entity Address, Address Line Two</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressAddressLine2" xlink:to="lab_dei_EntityAddressAddressLine2" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag" xlink:label="loc_dei_IcfrAuditorAttestationFlag" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_IcfrAuditorAttestationFlag" xml:lang="en-US">ICFR Auditor Attestation Flag</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_IcfrAuditorAttestationFlag" xlink:to="lab_dei_IcfrAuditorAttestationFlag" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CountryRegion" xlink:label="loc_dei_CountryRegion" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_CountryRegion" xml:lang="en-US">Country Region</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CountryRegion" xlink:to="lab_dei_CountryRegion" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorName" xlink:label="loc_dei_AuditorName" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AuditorName" xml:lang="en-US">Auditor Name</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorName" xlink:to="lab_dei_AuditorName" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorFirmId" xlink:label="loc_dei_AuditorFirmId" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AuditorFirmId" xml:lang="en-US">Auditor Firm ID</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorFirmId" xlink:to="lab_dei_AuditorFirmId" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorLocation" xlink:label="loc_dei_AuditorLocation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AuditorLocation" xml:lang="en-US">Auditor Location</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorLocation" xlink:to="lab_dei_AuditorLocation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentShellCompanyReport" xlink:label="loc_dei_DocumentShellCompanyReport" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentShellCompanyReport" xml:lang="en-US">Document Shell Company Report</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentShellCompanyReport" xlink:to="lab_dei_DocumentShellCompanyReport" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_DocumentFinStmtErrorCorrectionFlag" xml:lang="en-US">Document Financial Statement Error Correction [Flag]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFinStmtErrorCorrectionFlag" xlink:to="lab_dei_DocumentFinStmtErrorCorrectionFlag" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesAddressTypeAxis" xlink:label="loc_dei_EntityAddressesAddressTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityAddressesAddressTypeAxis" xml:lang="en-US">Entity Addresses, Address Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressesAddressTypeAxis" xlink:to="lab_dei_EntityAddressesAddressTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="loc_dei_AddressTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_AddressTypeDomain" xml:lang="en-US">Address Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AddressTypeDomain" xlink:to="lab_dei_AddressTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_BusinessContactMember" xlink:label="loc_dei_BusinessContactMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_BusinessContactMember" xml:lang="en-US">Business Contact [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_dei_BusinessContactMember" xml:lang="en-US">Business Contact [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_BusinessContactMember" xlink:to="lab_dei_BusinessContactMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfFinancialPositionAbstract" xml:lang="en-US">Statement of Financial Position [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract" xlink:to="lab_us-gaap_StatementOfFinancialPositionAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementTable" xml:lang="en-US">Statement [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementTable" xlink:to="lab_us-gaap_StatementTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementLineItems" xml:lang="en-US">Statement [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementLineItems" xlink:to="lab_us-gaap_StatementLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsAbstract" xml:lang="en-US">Assets [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetsAbstract" xml:lang="en-US">ASSETS</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="lab_us-gaap_AssetsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsCurrentAbstract" xml:lang="en-US">Assets, Current [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetsCurrentAbstract" xml:lang="en-US">Current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsCurrentAbstract" xlink:to="lab_us-gaap_AssetsCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue" xml:lang="en-US">Cash and Cash Equivalents, at Carrying Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue" xml:lang="en-US">Cash and cash equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedCash" xml:lang="en-US">Restricted Cash</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RestrictedCash" xml:lang="en-US">Restricted cash</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedCash" xlink:to="lab_us-gaap_RestrictedCash" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermInvestments" xml:lang="en-US">Short-term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermInvestments" xml:lang="en-US">Short-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermInvestments" xlink:to="lab_us-gaap_ShortTermInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsReceivableNetCurrent" xml:lang="en-US">Accounts Receivable, after Allowance for Credit Loss, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccountsReceivableNetCurrent" xml:lang="en-US">Accounts and notes receivable, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent" xlink:to="lab_us-gaap_AccountsReceivableNetCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryNet" xml:lang="en-US">Inventory, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryNet" xml:lang="en-US">Inventory</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_InventoryNet" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryNet" xlink:to="lab_us-gaap_InventoryNet" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmountsDueFromRelatedParties" xlink:label="loc_xpev_AmountsDueFromRelatedParties" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AmountsDueFromRelatedParties" xml:lang="en-US">Amounts Due From Related Parties</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AmountsDueFromRelatedParties" xml:lang="en-US">Amounts due from related parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AmountsDueFromRelatedParties" xlink:to="lab_xpev_AmountsDueFromRelatedParties" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AmountsDueFromRelatedParties" xml:lang="en-US">Amounts due from related parties.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xml:lang="en-US">Prepaid Expense and Other Assets, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xml:lang="en-US">Prepayments and other current assets, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xml:lang="en-US">Total</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xml:lang="en-US">Prepayments and other current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsCurrent" xml:lang="en-US">Assets, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_AssetsCurrent" xml:lang="en-US">Total current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsCurrent" xlink:to="lab_us-gaap_AssetsCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermDeposits" xlink:label="loc_xpev_ShortTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShortTermDeposits" xml:lang="en-US">Short Term Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShortTermDeposits" xml:lang="en-US">Short-term deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_ShortTermDeposits" xml:lang="en-US">Short-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShortTermDeposits" xlink:to="lab_xpev_ShortTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShortTermDeposits" xml:lang="en-US">Short term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xlink:label="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xml:lang="en-US">Current Portion Of Installment Payment Receivables Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xml:lang="en-US">Installment payment receivables, net, current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xlink:to="lab_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" xml:lang="en-US">Current portion of installment payment receivables net.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermDepositsCurrent" xlink:label="loc_xpev_LongtermDepositsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongtermDepositsCurrent" xml:lang="en-US">Longterm Deposits Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongtermDepositsCurrent" xml:lang="en-US">Long-term deposits, current portion</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_LongtermDepositsCurrent" xml:lang="en-US">Long-term deposits current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_xpev_LongtermDepositsCurrent" xml:lang="en-US">Long-term deposits, current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongtermDepositsCurrent" xlink:to="lab_xpev_LongtermDepositsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongtermDepositsCurrent" xml:lang="en-US">Longterm deposits current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" xml:lang="en-US">Other Receivable, after Allowance for Credit Loss, Related Party, Type [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" xlink:to="lab_us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedDepositCurrent" xlink:label="loc_xpev_RestrictedDepositCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedDepositCurrent" xml:lang="en-US">Restricted Deposit Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RestrictedDepositCurrent" xml:lang="en-US">Restricted short-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedDepositCurrent" xlink:to="lab_xpev_RestrictedDepositCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RestrictedDepositCurrent" xml:lang="en-US">Restricted deposit current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedLongTermDepositCurrent" xlink:label="loc_xpev_RestrictedLongTermDepositCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedLongTermDepositCurrent" xml:lang="en-US">Restricted Long Term Deposit Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RestrictedLongTermDepositCurrent" xml:lang="en-US">Restricted long-term deposits, current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedLongTermDepositCurrent" xlink:to="lab_xpev_RestrictedLongTermDepositCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RestrictedLongTermDepositCurrent" xml:lang="en-US">Restricted long term deposit current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrentAbstract" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsNoncurrentAbstract" xml:lang="en-US">Assets, Noncurrent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetsNoncurrentAbstract" xml:lang="en-US">Non-current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract" xlink:to="lab_us-gaap_AssetsNoncurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet" xml:lang="en-US">Property, Plant and Equipment, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet" xml:lang="en-US">Property, plant and equipment, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAsset" xml:lang="en-US">Operating Lease, Right-of-Use Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAsset" xml:lang="en-US">Right-of-use assets, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAsset" xlink:to="lab_us-gaap_OperatingLeaseRightOfUseAsset" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill" xml:lang="en-US">Intangible Assets, Net (Excluding Goodwill)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill" xml:lang="en-US">Intangible assets, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill" xml:lang="en-US">Total intangible assets - Net Carrying Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:to="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightAsset" xlink:label="loc_xpev_LandUseRightAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightAsset" xml:lang="en-US">Land Use Right Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightAsset" xml:lang="en-US">Land use rights, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightAsset" xlink:to="lab_xpev_LandUseRightAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightAsset" xml:lang="en-US">LandUseRightAsset</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssetsNoncurrent" xml:lang="en-US">Other Assets, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAssetsNoncurrent" xml:lang="en-US">Other non-current assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OtherAssetsNoncurrent" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsNoncurrent" xlink:to="lab_us-gaap_OtherAssetsNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent" xlink:label="loc_us-gaap_AssetsNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetsNoncurrent" xml:lang="en-US">Assets, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_AssetsNoncurrent" xml:lang="en-US">Total non-current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsNoncurrent" xlink:to="lab_us-gaap_AssetsNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermInvestments" xml:lang="en-US">Long-term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermInvestments" xml:lang="en-US">Long-term investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_LongTermInvestments" xml:lang="en-US">Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_LongTermInvestments" xml:lang="en-US">Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermInvestments" xlink:to="lab_us-gaap_LongTermInvestments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesNet" xlink:label="loc_xpev_InstallmentPaymentReceivablesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesNet" xml:lang="en-US">Installment Payment Receivables Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesNet" xml:lang="en-US">Installment payment receivables, net&#160;</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesNet" xlink:to="lab_xpev_InstallmentPaymentReceivablesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesNet" xml:lang="en-US">Noncurrent portion of installment payment receivables net.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsNonCurrent" xlink:label="loc_xpev_LongTermDepositsNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermDepositsNonCurrent" xml:lang="en-US">Long Term Deposits Non Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermDepositsNonCurrent" xml:lang="en-US">Long-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermDepositsNonCurrent" xlink:to="lab_xpev_LongTermDepositsNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermDepositsNonCurrent" xml:lang="en-US">Long term deposits non-current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndInvestmentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedCashAndInvestmentsNoncurrent" xml:lang="en-US">Restricted Cash and Investments, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RestrictedCashAndInvestmentsNoncurrent" xml:lang="en-US">Restricted long-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedCashAndInvestmentsNoncurrent" xlink:to="lab_us-gaap_RestrictedCashAndInvestmentsNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Assets" xml:lang="en-US">Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_Assets" xml:lang="en-US">Total assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Assets" xlink:to="lab_us-gaap_Assets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesAbstract" xml:lang="en-US">Liabilities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LiabilitiesAbstract" xml:lang="en-US">LIABILITIES</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LiabilitiesAbstract" xml:lang="en-US">LIABILITIES</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="lab_us-gaap_LiabilitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesCurrentAbstract" xml:lang="en-US">Liabilities, Current [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LiabilitiesCurrentAbstract" xml:lang="en-US">Current liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LiabilitiesCurrentAbstract" xml:lang="en-US">Current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="lab_us-gaap_LiabilitiesCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermBorrowings" xml:lang="en-US">Short-term Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermBorrowings" xml:lang="en-US">Short-term borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermBorrowings" xlink:to="lab_us-gaap_ShortTermBorrowings" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsPayableCurrent" xml:lang="en-US">Accounts Payable, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AccountsPayableCurrent" xml:lang="en-US">Accounts payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableCurrent" xlink:to="lab_us-gaap_AccountsPayableCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent" xml:lang="en-US">Other Liabilities, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent" xml:lang="en-US">Amounts due to related parties</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent" xml:lang="en-US">Amounts due to a related party</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent" xlink:to="lab_us-gaap_OtherLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseLiabilityCurrent" xml:lang="en-US">Operating Lease, Liability, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseLiabilityCurrent" xml:lang="en-US">Operating lease liabilities, current portion</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OperatingLeaseLiabilityCurrent" xml:lang="en-US">Lease liabilities - current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_OperatingLeaseLiabilityCurrent" xml:lang="en-US">Less: Current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseLiabilityCurrent" xlink:to="lab_us-gaap_OperatingLeaseLiabilityCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueCurrent" xml:lang="en-US">Deferred Revenue, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredRevenueCurrent" xml:lang="en-US">Deferred revenue, current portion</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredRevenueCurrent" xml:lang="en-US">Less: Deferred revenue, current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueCurrent" xlink:to="lab_us-gaap_DeferredRevenueCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtCurrent" xml:lang="en-US">Long-term Debt, Current Maturities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LongTermDebtCurrent" xml:lang="en-US">Long-term borrowings, current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtCurrent" xlink:to="lab_us-gaap_LongTermDebtCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccruedLiabilitiesCurrent" xml:lang="en-US">Accrued Liabilities, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccruedLiabilitiesCurrent" xml:lang="en-US">Accruals and other liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_AccruedLiabilitiesCurrent" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:to="lab_us-gaap_AccruedLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesCurrent" xml:lang="en-US">Liabilities, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LiabilitiesCurrent" xml:lang="en-US">Total current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesCurrent" xlink:to="lab_us-gaap_LiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccruedIncomeTaxesCurrent" xml:lang="en-US">Accrued Income Taxes, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccruedIncomeTaxesCurrent" xml:lang="en-US">Income taxes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedIncomeTaxesCurrent" xlink:to="lab_us-gaap_AccruedIncomeTaxesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityCurrent" xml:lang="en-US">Finance Lease, Liability, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityCurrent" xml:lang="en-US">Finance lease liabilities, current portion</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityCurrent" xml:lang="en-US">Finance lease liabilities - current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityCurrent" xml:lang="en-US">Less: Current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityCurrent" xlink:to="lab_us-gaap_FinanceLeaseLiabilityCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" xlink:label="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" xml:lang="en-US">Other Liability, Current, Related Party, Type [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" xlink:to="lab_us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotesPayableCurrentLiabilities" xlink:label="loc_xpev_NotesPayableCurrentLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NotesPayableCurrentLiabilities" xml:lang="en-US">Notes Payable Current Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_NotesPayableCurrentLiabilities" xml:lang="en-US">Notes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NotesPayableCurrentLiabilities" xlink:to="lab_xpev_NotesPayableCurrentLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NotesPayableCurrentLiabilities" xml:lang="en-US">Carrying value as of the balance sheet date of written promises (typically evidenced by formal notes) to pay vendors or creditors for goods and services received or money borrowed. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeLiabilitiesCurrent" xml:lang="en-US">Derivative Liability, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_DerivativeLiabilitiesCurrent" xml:lang="en-US">Derivative liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DerivativeLiabilitiesCurrent" xml:lang="en-US">Derivative liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitiesCurrent" xlink:to="lab_us-gaap_DerivativeLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesNoncurrentAbstract" xml:lang="en-US">Liabilities, Noncurrent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LiabilitiesNoncurrentAbstract" xml:lang="en-US">Non-current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract" xlink:to="lab_us-gaap_LiabilitiesNoncurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtNoncurrent" xml:lang="en-US">Long-term Debt, Excluding Current Maturities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermDebtNoncurrent" xml:lang="en-US">Long-term borrowings</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LongTermDebtNoncurrent" xml:lang="en-US">Total non-current borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtNoncurrent" xlink:to="lab_us-gaap_LongTermDebtNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseLiabilityNoncurrent" xml:lang="en-US">Operating Lease, Liability, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseLiabilityNoncurrent" xml:lang="en-US">Operating lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/measurementGuidance" xlink:label="lab_us-gaap_OperatingLeaseLiabilityNoncurrent" xml:lang="en-US">Lease liabilities - non current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OperatingLeaseLiabilityNoncurrent" xml:lang="en-US">Non - current portion of lease obligations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:to="lab_us-gaap_OperatingLeaseLiabilityNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueNoncurrent" xml:lang="en-US">Deferred Revenue, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredRevenueNoncurrent" xml:lang="en-US">Deferred revenue</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DeferredRevenueNoncurrent" xml:lang="en-US">Deferred revenue, non-current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueNoncurrent" xlink:to="lab_us-gaap_DeferredRevenueNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DerivativeLiabilitiesNoncurrent" xml:lang="en-US">Derivative Liability, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DerivativeLiabilitiesNoncurrent" xml:lang="en-US">Derivative liability</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitiesNoncurrent" xlink:to="lab_us-gaap_DerivativeLiabilitiesNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent" xml:lang="en-US">Other Liabilities, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent" xml:lang="en-US">Other non-current liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent" xlink:to="lab_us-gaap_OtherLiabilitiesNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesNoncurrent" xml:lang="en-US">Liabilities, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LiabilitiesNoncurrent" xml:lang="en-US">Total non-current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesNoncurrent" xlink:to="lab_us-gaap_LiabilitiesNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Liabilities" xml:lang="en-US">Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_Liabilities" xml:lang="en-US">Total liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Liabilities" xlink:to="lab_us-gaap_Liabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityNoncurrent" xml:lang="en-US">Finance Lease, Liability, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityNoncurrent" xml:lang="en-US">Finance lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityNoncurrent" xml:lang="en-US">Finance lease liabilities - non current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_FinanceLeaseLiabilityNoncurrent" xml:lang="en-US">Non - current portion of lease obligations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:to="lab_us-gaap_FinanceLeaseLiabilityNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredIncomeTaxLiabilitiesNet" xml:lang="en-US">Deferred Income Tax Liabilities, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredIncomeTaxLiabilitiesNet" xml:lang="en-US">Deferred tax liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:to="lab_us-gaap_DeferredIncomeTaxLiabilitiesNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xml:lang="en-US">Stockholders' Equity Attributable to Parent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xml:lang="en-US">SHAREHOLDERS' EQUITY</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xml:lang="en-US">SHAREHOLDERS' EQUITY</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityAbstract" xlink:to="lab_us-gaap_StockholdersEquityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockValue" xml:lang="en-US">Common Stock, Value, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockValue" xml:lang="en-US">Common Stock, Value, Issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockValue" xlink:to="lab_us-gaap_CommonStockValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdditionalPaidInCapital" xml:lang="en-US">Additional Paid in Capital</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdditionalPaidInCapital" xml:lang="en-US">Additional paid-in capital</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AdditionalPaidInCapital" xml:lang="en-US">Additional paid-in capital</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalPaidInCapital" xlink:to="lab_us-gaap_AdditionalPaidInCapital" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss), Net of Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xml:lang="en-US">Accumulated other comprehensive income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xml:lang="en-US">Accumulated other comprehensive income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Stockholders' Equity Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Total shareholders' equity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_StockholdersEquity" xml:lang="en-US">Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="lab_us-gaap_StockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xml:lang="en-US">Retained Earnings (Accumulated Deficit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xml:lang="en-US">Accumulated deficit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xml:lang="en-US">Accumulated deficit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="lab_us-gaap_RetainedEarningsAccumulatedDeficit" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReserve" xlink:label="loc_xpev_StatutoryReserve" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReserve" xml:lang="en-US">Statutory Reserve</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_StatutoryReserve" xml:lang="en-US">Statutory and other reserves</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReserve" xlink:to="lab_xpev_StatutoryReserve" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StatutoryReserve" xml:lang="en-US">Statutory reserve.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xml:lang="en-US">Liabilities and Equity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xml:lang="en-US">Total liabilities and shareholders' equity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquity" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommitmentsAndContingencies" xml:lang="en-US">Commitments and Contingencies</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommitmentsAndContingencies" xml:lang="en-US">Commitments and contingencies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingencies" xlink:to="lab_us-gaap_CommitmentsAndContingencies" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare" xml:lang="en-US">Common Stock, Par or Stated Value Per Share</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare" xml:lang="en-US">Common stock par or stated value per share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="lab_us-gaap_CommonStockParOrStatedValuePerShare" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockSharesAuthorized" xml:lang="en-US">Common Stock, Shares Authorized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockSharesAuthorized" xml:lang="en-US">Common Stock Shares Authorized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesAuthorized" xlink:to="lab_us-gaap_CommonStockSharesAuthorized" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockSharesIssued" xml:lang="en-US">Common Stock, Shares, Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockSharesIssued" xml:lang="en-US">Common Stock Shares Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommonStockSharesIssued" xml:lang="en-US">Common stock shares issued</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesIssued" xlink:to="lab_us-gaap_CommonStockSharesIssued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockSharesOutstanding" xml:lang="en-US">Common Stock, Shares, Outstanding</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockSharesOutstanding" xml:lang="en-US">Common Stock Shares Outstanding</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CommonStockSharesOutstanding" xml:lang="en-US">Common stock shares outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesOutstanding" xlink:to="lab_us-gaap_CommonStockSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xml:lang="en-US">Statement of Comprehensive Income [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" xlink:to="lab_us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenuesAbstract" xml:lang="en-US">Revenues [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenuesAbstract" xml:lang="en-US">Revenues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenuesAbstract" xlink:to="lab_us-gaap_RevenuesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Revenues" xml:lang="en-US">Revenues</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_Revenues" xml:lang="en-US">Total revenues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Revenues" xlink:to="lab_us-gaap_Revenues" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenueAbstract" xlink:label="loc_us-gaap_CostOfRevenueAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CostOfRevenueAbstract" xml:lang="en-US">Cost of Revenue [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CostOfRevenueAbstract" xml:lang="en-US">Cost of sales</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfRevenueAbstract" xlink:to="lab_us-gaap_CostOfRevenueAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CostOfGoodsAndServicesSold" xml:lang="en-US">Cost of Goods and Services Sold</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_CostOfGoodsAndServicesSold" xml:lang="en-US">Total cost of sales</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSold" xlink:to="lab_us-gaap_CostOfGoodsAndServicesSold" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GrossProfit" xml:lang="en-US">Gross Profit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_GrossProfit" xml:lang="en-US">Gross profit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GrossProfit" xlink:to="lab_us-gaap_GrossProfit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingExpensesAbstract" xml:lang="en-US">Operating Expenses [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingExpensesAbstract" xml:lang="en-US">Operating expenses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingExpensesAbstract" xml:lang="en-US">Operating expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingExpensesAbstract" xlink:to="lab_us-gaap_OperatingExpensesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpense" xml:lang="en-US">Research and Development Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpense" xml:lang="en-US">Research and development expenses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpense" xml:lang="en-US">Research and development expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense" xlink:to="lab_us-gaap_ResearchAndDevelopmentExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpense" xml:lang="en-US">Selling, General and Administrative Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpense" xml:lang="en-US">Selling, general and administrative expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="lab_us-gaap_SellingGeneralAndAdministrativeExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingExpenses" xml:lang="en-US">Operating Expenses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:label="lab_us-gaap_OperatingExpenses" xml:lang="en-US">Total operating expenses, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingExpenses" xlink:to="lab_us-gaap_OperatingExpenses" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingOtherIncome" xlink:label="loc_xpev_OperatingOtherIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperatingOtherIncome" xml:lang="en-US">Operating Other Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OperatingOtherIncome" xml:lang="en-US">Other income, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperatingOtherIncome" xlink:to="lab_xpev_OperatingOtherIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperatingOtherIncome" xml:lang="en-US">Operating other income.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xlink:label="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xml:lang="en-US">Fair Value Derivative Gain On Derivative To Contingent Consideration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xml:lang="en-US">Fair value gain (loss) on derivative liability relating to the contingent consideration</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xlink:to="lab_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" xml:lang="en-US">Fair value derivative gain on derivative liability relating to the contingent consideration.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingIncomeLoss" xml:lang="en-US">Operating Income (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OperatingIncomeLoss" xml:lang="en-US">Loss from operations</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingIncomeLoss" xml:lang="en-US">Gain (Loss) from operations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingIncomeLoss" xlink:to="lab_us-gaap_OperatingIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentIncomeInterest" xml:lang="en-US">Investment Income, Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentIncomeInterest" xml:lang="en-US">Interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentIncomeInterest" xlink:to="lab_us-gaap_InvestmentIncomeInterest" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestExpense" xml:lang="en-US">Interest Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_InterestExpense" xml:lang="en-US">Interest expenses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestExpense" xml:lang="en-US">Interest expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpense" xlink:to="lab_us-gaap_InterestExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xml:lang="en-US">Gain (Loss) on Derivative Instruments, Net, Pretax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xml:lang="en-US">Fair value loss on derivative liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xml:lang="en-US">Fair value loss on derivative assets or derivative liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xml:lang="en-US">Fair value loss on derivative assets or derivative liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:to="lab_us-gaap_GainLossOnDerivativeInstrumentsNetPretax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherNonoperatingIncomeExpense" xml:lang="en-US">Other Nonoperating Income (Expense)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherNonoperatingIncomeExpense" xml:lang="en-US">Other non-operating income, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherNonoperatingIncomeExpense" xml:lang="en-US">Other non-operating income, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense" xlink:to="lab_us-gaap_OtherNonoperatingIncomeExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xml:lang="en-US">Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xml:lang="en-US">Loss before income tax (expenses) benefit and share of results of equity method investees</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xml:lang="en-US">Loss before income tax expenses (benefit) and share of results of equity method investees</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income tax (expenses) benefit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income tax expenses (benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xml:lang="en-US">Income tax expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_NetIncomeLoss" xml:lang="en-US">Net loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="lab_us-gaap_NetIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xml:lang="en-US">Net Income (Loss) Available to Common Stockholders, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xml:lang="en-US">Net loss attributable to ordinary shareholders of XPeng Inc.</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xml:lang="en-US">Net loss attributable to ordinary shareholders of XPeng Inc.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xml:lang="en-US">Other comprehensive income (loss)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xml:lang="en-US">Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xml:lang="en-US">Foreign currency translation adjustment, net of tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xml:lang="en-US">Foreign currency translation adjustment, net of tax</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Total comprehensive loss attributable to XPeng Inc.</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xml:lang="en-US">Total comprehensive loss attributable to XPeng Inc.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTax" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:label="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xml:lang="en-US">Comprehensive Income Net Of Tax Available To Common Stockholders Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xml:lang="en-US">Comprehensive loss attributable to ordinary shareholders of XPeng Inc.</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xml:lang="en-US">Comprehensive loss attributable to ordinary shareholders of XPeng Inc.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xlink:to="lab_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" xml:lang="en-US">Comprehensive income net of tax available to common stockholders basic.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentGainLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentGainLossOnLongTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestmentGainLossOnLongTermInvestments" xml:lang="en-US">Investment Gain Loss On Long Term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_InvestmentGainLossOnLongTermInvestments" xml:lang="en-US">Investment (loss) gain on long-term investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_InvestmentGainLossOnLongTermInvestments" xml:lang="en-US">Investment loss (gain) on long-term investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InvestmentGainLossOnLongTermInvestments" xml:lang="en-US">Investment gain(loss)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestmentGainLossOnLongTermInvestments" xlink:to="lab_xpev_InvestmentGainLossOnLongTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InvestmentGainLossOnLongTermInvestments" xml:lang="en-US">Investment gain or loss on long-term investments, before tax.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xml:lang="en-US">Gain (Loss), Foreign Currency Transaction, before Tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xml:lang="en-US">Exchange gain (loss) from foreign currency transactions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xml:lang="en-US">Exchange (gain) loss from foreign currency transactions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xml:lang="en-US">Foreign currency translation adjustment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xml:lang="en-US">Exchange (loss) gain from foreign currency transactions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:to="lab_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromEquityMethodInvestments" xml:lang="en-US">Income (Loss) from Equity Method Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_IncomeLossFromEquityMethodInvestments" xml:lang="en-US">Share of results of equity method investees</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeLossFromEquityMethodInvestments" xml:lang="en-US">Share of results of equity method investees</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncomeLossFromEquityMethodInvestments" xml:lang="en-US">Share of results of equity method investees</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeLossFromEquityMethodInvestments" xml:lang="en-US">Share of results of equity method investees</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="lab_us-gaap_IncomeLossFromEquityMethodInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareBasic" xml:lang="en-US">Net loss per ordinary share, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareBasic" xml:lang="en-US">Net loss per ordinary share, Basic</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareBasic" xlink:to="lab_us-gaap_EarningsPerShareBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xml:lang="en-US">Net loss per ordinary share, Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xml:lang="en-US">Net loss per ordinary share, Diluted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareDiluted" xlink:to="lab_us-gaap_EarningsPerShareDiluted" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Weighted average number of ordinary shares, Basic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xml:lang="en-US">Weighted average number of ordinary shares outstanding-Basic</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Weighted average number of ordinary shares, Diluted</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xml:lang="en-US">Weighted average number of ordinary shares outstanding-Diluted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ProductOrServiceAxis" xml:lang="en-US">Product and Service [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ProductOrServiceAxis" xml:lang="en-US">Product and Service [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductOrServiceAxis" xlink:to="lab_srt_ProductOrServiceAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ProductsAndServicesDomain" xml:lang="en-US">Product and Service [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ProductsAndServicesDomain" xml:lang="en-US">Product and Service [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductsAndServicesDomain" xlink:to="lab_srt_ProductsAndServicesDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehicleMember" xlink:label="loc_xpev_VehicleMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VehicleMember" xml:lang="en-US">Vehicle [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_VehicleMember" xml:lang="en-US">Vehicle Sales [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VehicleMember" xlink:to="lab_xpev_VehicleMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServiceOtherMember" xlink:label="loc_us-gaap_ServiceOtherMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ServiceOtherMember" xml:lang="en-US">Service, Other [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ServiceOtherMember" xml:lang="en-US">Services and others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ServiceOtherMember" xlink:to="lab_us-gaap_ServiceOtherMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensation" xml:lang="en-US">Share-Based Payment Arrangement, Noncash Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_ShareBasedCompensation" xml:lang="en-US">Share Based Compensation Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensation" xml:lang="en-US">Share-based compensation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensation" xlink:to="lab_us-gaap_ShareBasedCompensation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeStatementLocationAxis" xml:lang="en-US">Statement of Income Location, Balance [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationAxis" xlink:to="lab_us-gaap_IncomeStatementLocationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeStatementLocationDomain" xml:lang="en-US">Statement of Income Location, Balance [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationDomain" xlink:to="lab_us-gaap_IncomeStatementLocationDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpenseMember" xml:lang="en-US">Research and Development Expense [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpenseMember" xlink:to="lab_us-gaap_ResearchAndDevelopmentExpenseMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember" xml:lang="en-US">Selling, General and Administrative Expenses [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:to="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CostOfSalesMember" xml:lang="en-US">Cost of Sales [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CostOfSalesMember" xml:lang="en-US">Cost of Sales [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfSalesMember" xlink:to="lab_us-gaap_CostOfSalesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfStockholdersEquityAbstract" xml:lang="en-US">Statement of Stockholders' Equity [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="lab_us-gaap_StatementOfStockholdersEquityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharesOutstanding" xml:lang="en-US">Shares, Outstanding</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_SharesOutstanding" xml:lang="en-US">Beginning balance (Shares)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_SharesOutstanding" xml:lang="en-US">Ending balance (Shares)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesOutstanding" xlink:to="lab_us-gaap_SharesOutstanding" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueNewIssues" xml:lang="en-US">Stock Issued During Period, Value, New Issues</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueNewIssues" xml:lang="en-US">Issuance of ordinary shares, value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:to="lab_us-gaap_StockIssuedDuringPeriodValueNewIssues" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xml:lang="en-US">Stock Issued During Period, Shares, New Issues</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xml:lang="en-US">Issuance of ordinary shares, shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xml:lang="en-US">Stock issued during period shares new issues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xml:lang="en-US">APIC, Share-based Payment Arrangement, Increase for Cost Recognition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xml:lang="en-US">Share-based compensation, value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:to="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xml:lang="en-US">Stock Issued During Period Shares Restricted Stock Units</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xml:lang="en-US">Issuance of ordinary shares for the vested restricted share Units, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xlink:to="lab_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" xml:lang="en-US">Stock issued during period shares restricted stock units</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodSharesTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesTreasuryStock" xml:lang="en-US">Stock Issued During Period Shares Treasury Stock</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesTreasuryStock" xml:lang="en-US">Issuance of treasury shares, shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StockIssuedDuringPeriodSharesTreasuryStock" xlink:to="lab_xpev_StockIssuedDuringPeriodSharesTreasuryStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StockIssuedDuringPeriodSharesTreasuryStock" xml:lang="en-US">Stock issued during period shares treasury stock.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockIssuedDuringPeriodValueTreasuryStock" xlink:label="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StockIssuedDuringPeriodValueTreasuryStock" xml:lang="en-US">Stock Issued During Period Value Treasury Stock</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_StockIssuedDuringPeriodValueTreasuryStock" xml:lang="en-US">Issuance of treasury shares, value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StockIssuedDuringPeriodValueTreasuryStock" xlink:to="lab_xpev_StockIssuedDuringPeriodValueTreasuryStock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StockIssuedDuringPeriodValueTreasuryStock" xml:lang="en-US">Stock issued during period value treasury stock.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationToStatutoryReserves" xlink:label="loc_xpev_AppropriationToStatutoryReserves" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AppropriationToStatutoryReserves" xml:lang="en-US">Appropriation To Statutory Reserves</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_AppropriationToStatutoryReserves" xml:lang="en-US">Appropriations to reserves</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AppropriationToStatutoryReserves" xlink:to="lab_xpev_AppropriationToStatutoryReserves" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AppropriationToStatutoryReserves" xml:lang="en-US">Appropriation to statutory reserves.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares to outstanding ordinary shares for vested RSUs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares to outstanding ordinary shares for vested RSUs,shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xlink:to="lab_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares to outstanding ordinary shares for vested RSUs.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xlink:label="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares Value to outstanding ordinary shares for vested RSUs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares Value to outstanding ordinary shares for vested RSUs , value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xlink:to="lab_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" xml:lang="en-US">Transfer from treasury shares Value to outstanding ordinary shares for vested RSUs.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xml:lang="en-US">Stock Issued During Period, Shares, Acquisitions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xml:lang="en-US">Issuance of ordinary shares relating to the acquisition, Shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesAcquisitions" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xml:lang="en-US">Stock Issued During Period, Value, Acquisitions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xml:lang="en-US">Issuance of ordinary shares relating to the acquisition, Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xml:lang="en-US">Ordinary shares issued for the acquisition of DiDi's smart auto business</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions" xlink:to="lab_us-gaap_StockIssuedDuringPeriodValueAcquisitions" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xlink:label="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xml:lang="en-US">Adjustments To Additional Paid In Capital Sharebased Compensation of Business Acquisition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xml:lang="en-US">Contingent consideration classified as equity relating to the acquisition of DiDi's smart auto business</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xlink:to="lab_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" xml:lang="en-US">Adjustments to additional paid in capital sharebased compensation of business acquisition.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares" xlink:label="loc_us-gaap_TreasuryStockCommonShares" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Treasury Stock, Common, Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Beginning balance (Treasury Shares)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Ending balance (Treasury Shares)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xml:lang="en-US">Treasury shares outstanding</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonShares" xlink:to="lab_us-gaap_TreasuryStockCommonShares" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementEquityComponentsAxis" xml:lang="en-US">Equity Components [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementEquityComponentsAxis" xlink:to="lab_us-gaap_StatementEquityComponentsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityComponentDomain" xml:lang="en-US">Equity Component [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityComponentDomain" xlink:to="lab_us-gaap_EquityComponentDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommonStockMember" xml:lang="en-US">Common Stock [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommonStockMember" xml:lang="en-US">Ordinary Shares [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockMember" xlink:to="lab_us-gaap_CommonStockMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember" xlink:label="loc_us-gaap_TreasuryStockCommonMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xml:lang="en-US">Treasury Stock, Common [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xml:lang="en-US">Treasury Shares [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonMember" xlink:to="lab_us-gaap_TreasuryStockCommonMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdditionalPaidInCapitalMember" xml:lang="en-US">Additional Paid-in Capital [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalPaidInCapitalMember" xlink:to="lab_us-gaap_AdditionalPaidInCapitalMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">AOCI Attributable to Parent [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xml:lang="en-US">Accumulated Other Comprehensive Income [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RetainedEarningsMember" xml:lang="en-US">Retained Earnings [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RetainedEarningsMember" xml:lang="en-US">Accumulated Deficit [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsMember" xlink:to="lab_us-gaap_RetainedEarningsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesMember" xlink:label="loc_xpev_StatutoryReservesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReservesMember" xml:lang="en-US">Statutory Reserves [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StatutoryReservesMember" xml:lang="en-US">Statutory and Other Reserves [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReservesMember" xlink:to="lab_xpev_StatutoryReservesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StatutoryReservesMember" xml:lang="en-US">Statutory reserves.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CumulativeEffectPeriodOfAdoptionAxis" xml:lang="en-US">Cumulative Effect, Period of Adoption [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis" xlink:to="lab_srt_CumulativeEffectPeriodOfAdoptionAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CumulativeEffectPeriodOfAdoptionDomain" xml:lang="en-US">Cumulative Effect, Period of Adoption [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain" xlink:to="lab_srt_CumulativeEffectPeriodOfAdoptionDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsidiarySaleOfStockAxis" xml:lang="en-US">Sale of Stock [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SubsidiarySaleOfStockAxis" xml:lang="en-US">Sale of Stock [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis" xlink:to="lab_us-gaap_SubsidiarySaleOfStockAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SaleOfStockNameOfTransactionDomain" xml:lang="en-US">Sale of Stock [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SaleOfStockNameOfTransactionDomain" xml:lang="en-US">Sale of Stock [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain" xlink:to="lab_us-gaap_SaleOfStockNameOfTransactionDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_LegalEntityAxis" xml:lang="en-US">Legal Entity [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_dei_LegalEntityAxis" xml:lang="en-US">Legal Entity [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_LegalEntityAxis" xlink:to="lab_dei_LegalEntityAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityDomain" xml:lang="en-US">Entity [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_dei_EntityDomain" xml:lang="en-US">Entity [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityDomain" xlink:to="lab_dei_EntityDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidisSmartAutoBusinessMember" xlink:label="loc_xpev_DidisSmartAutoBusinessMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DidisSmartAutoBusinessMember" xml:lang="en-US">DiDis Smart Auto Business [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DidisSmartAutoBusinessMember" xlink:to="lab_xpev_DidisSmartAutoBusinessMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StatementOfCashFlowsAbstract" xml:lang="en-US">Statement of Cash Flows [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract" xlink:to="lab_us-gaap_StatementOfCashFlowsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">Cash flows from operating activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xml:lang="en-US">Adjustments to reconcile net loss to net cash provided by (used in) operating activities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Depreciation" xml:lang="en-US">Depreciation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_Depreciation" xml:lang="en-US">Depreciation of property, plant and equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_Depreciation" xml:lang="en-US">Depreciation expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Depreciation" xlink:to="lab_us-gaap_Depreciation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AmortizationOfIntangibleAssets" xml:lang="en-US">Amortization of Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AmortizationOfIntangibleAssets" xml:lang="en-US">Amortization of intangible assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AmortizationOfIntangibleAssets" xml:lang="en-US">Finite lived intangible assets amortisation expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AmortizationOfIntangibleAssets" xlink:to="lab_us-gaap_AmortizationOfIntangibleAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xml:lang="en-US">Operating Lease, Right-of-Use Asset, Amortization Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xml:lang="en-US">Amortization of right-of-use assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" xlink:to="lab_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRight" xlink:label="loc_xpev_AmortizationOfLandUseRight" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AmortizationOfLandUseRight" xml:lang="en-US">Amortization Of Land Use Right</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AmortizationOfLandUseRight" xml:lang="en-US">Amortization of land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AmortizationOfLandUseRight" xlink:to="lab_xpev_AmortizationOfLandUseRight" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AmortizationOfLandUseRight" xml:lang="en-US">Amortization of land use right</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnDispositionOfAssets" xml:lang="en-US">Gain (Loss) on Disposition of Property Plant Equipment, Excluding Oil and Gas Property and Timber Property</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_GainLossOnDispositionOfAssets" xml:lang="en-US">Loss of disposal of property, plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnDispositionOfAssets" xlink:to="lab_us-gaap_GainLossOnDispositionOfAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TangibleAssetImpairmentCharges" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TangibleAssetImpairmentCharges" xml:lang="en-US">Tangible Asset Impairment Charges</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TangibleAssetImpairmentCharges" xml:lang="en-US">Impairment of property, plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TangibleAssetImpairmentCharges" xlink:to="lab_us-gaap_TangibleAssetImpairmentCharges" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryWriteDown" xml:lang="en-US">Inventory Write-down</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryWriteDown" xml:lang="en-US">Inventory write-downs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InventoryWriteDown" xml:lang="en-US">Inventory write-downs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryWriteDown" xlink:to="lab_us-gaap_InventoryWriteDown" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeInterest" xlink:label="loc_xpev_IncomeInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IncomeInterest" xml:lang="en-US">Income Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_IncomeInterest" xml:lang="en-US">Interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IncomeInterest" xlink:to="lab_xpev_IncomeInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IncomeInterest" xml:lang="en-US">Income interest.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xlink:label="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xml:lang="en-US">Current Expected Credit Loss Of Accounts And Notes Receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xml:lang="en-US">Current expected credit loss of accounts receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xlink:to="lab_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" xml:lang="en-US">Current expected credit loss of accounts and notes receivable.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xml:lang="en-US">Current Expected Credit Loss Gain Of Installment Payment Receivables</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xml:lang="en-US">Current expected credit loss (gain) of installment payment receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xlink:to="lab_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" xml:lang="en-US">Current expected credit loss gain of installment payment receivables.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xlink:label="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xml:lang="en-US">Current Expected Credit Loss Gain Of Other Current Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xml:lang="en-US">Current expected credit loss (gain) of other current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xlink:to="lab_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" xml:lang="en-US">Current expected credit loss gain of other current assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xml:lang="en-US">Business Combination, Contingent Consideration Arrangements, Change in Amount of Contingent Consideration, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xml:lang="en-US">Fair value (gain) loss on derivative liability relating to the contingent consideration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xml:lang="en-US">Business combination gain loss due to changes in fair value of contingent consideration liability</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xml:lang="en-US">Impairment of Intangible Assets (Excluding Goodwill)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xml:lang="en-US">Impairment of intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" xlink:to="lab_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnDispositionOfIntangibleAssets" xml:lang="en-US">Gain (Loss) on Disposition of Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_GainLossOnDispositionOfIntangibleAssets" xml:lang="en-US">Loss of disposal of intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:to="lab_us-gaap_GainLossOnDispositionOfIntangibleAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xml:lang="en-US">Increase (Decrease) in Operating Capital [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xml:lang="en-US">Changes in operating assets and liabilities, net of effects of acquisitions:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:to="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsReceivable" xml:lang="en-US">Increase (Decrease) in Accounts Receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsReceivable" xml:lang="en-US">Accounts and notes receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="lab_us-gaap_IncreaseDecreaseInAccountsReceivable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInInventories" xml:lang="en-US">Increase (Decrease) in Inventories</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInInventories" xml:lang="en-US">Inventory</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInInventories" xlink:to="lab_us-gaap_IncreaseDecreaseInInventories" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xml:lang="en-US">Increase (Decrease) in Due from Related Parties, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xml:lang="en-US">Amounts due from related parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" xlink:to="lab_us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xml:lang="en-US">Increase (Decrease) in Prepaid Expense and Other Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xml:lang="en-US">Prepayments and other current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xml:lang="en-US">Increase (Decrease) in Other Noncurrent Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xml:lang="en-US">Other non-current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" xlink:to="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherAccountsPayable" xml:lang="en-US">Increase (Decrease) in Other Accounts Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherAccountsPayable" xml:lang="en-US">Accounts payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable" xlink:to="lab_us-gaap_IncreaseDecreaseInOtherAccountsPayable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInDeferredRevenue" xml:lang="en-US">Increase (Decrease) in Deferred Revenue</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInDeferredRevenue" xml:lang="en-US">Deferred revenue</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:to="lab_us-gaap_IncreaseDecreaseInDeferredRevenue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xml:lang="en-US">Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xml:lang="en-US">Accruals and other liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xml:lang="en-US">Increase (Decrease) in Other Noncurrent Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xml:lang="en-US">Other non-current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:to="lab_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInDueToRelatedParties" xml:lang="en-US">Increase (Decrease) in Due to Related Parties</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInDueToRelatedParties" xml:lang="en-US">Amounts due to related parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:to="lab_us-gaap_IncreaseDecreaseInDueToRelatedParties" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xml:lang="en-US">Increase (Decrease) in Income Taxes Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xml:lang="en-US">Income taxes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xlink:label="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xml:lang="en-US">Increase Decrease In Installment payment receivables</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xml:lang="en-US">Installment payment receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xlink:to="lab_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IncreaseDecreaseInInstallmentPaymentReceivables" xml:lang="en-US">Increase Decrease In Installment payment receivables.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xml:lang="en-US">Increase (Decrease) in Operating Lease Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xml:lang="en-US">Operating lease liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:to="lab_us-gaap_IncreaseDecreaseInOperatingLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInDeferredLiabilities" xml:lang="en-US">Increase (Decrease) in Deferred Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInDeferredLiabilities" xml:lang="en-US">Deferred tax liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities" xlink:to="lab_us-gaap_IncreaseDecreaseInDeferredLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInNotesPayableCurrent" xlink:label="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncreaseDecreaseInNotesPayableCurrent" xml:lang="en-US">Increase (Decrease) in Notes Payable, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncreaseDecreaseInNotesPayableCurrent" xml:lang="en-US">Notes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInNotesPayableCurrent" xlink:to="lab_us-gaap_IncreaseDecreaseInNotesPayableCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">Net cash provided by (used in) operating activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">Cash from operations</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xml:lang="en-US">Cash flows from operating activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xml:lang="en-US">Cash flows from investing activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromShortTermInvestments" xlink:label="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsForProceedsFromShortTermInvestments" xml:lang="en-US">Payments for (Proceeds from) Short-term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsForProceedsFromShortTermInvestments" xml:lang="en-US">Maturity (Placement) of short-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForProceedsFromShortTermInvestments" xlink:to="lab_us-gaap_PaymentsForProceedsFromShortTermInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xml:lang="en-US">Payments to Acquire Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xml:lang="en-US">Purchase of property, plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xlink:label="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xml:lang="en-US">Proceeds From Government Subsidy Related To Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xml:lang="en-US">Receipt of government subsidy related to assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xlink:to="lab_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" xml:lang="en-US">Receipt of government subsidy related to assets .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireLandHeld" xlink:label="loc_xpev_PaymentsToAcquireLandHeld" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentsToAcquireLandHeld" xml:lang="en-US">Payments To Acquire Land Held</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_PaymentsToAcquireLandHeld" xml:lang="en-US">Purchase of land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentsToAcquireLandHeld" xlink:to="lab_xpev_PaymentsToAcquireLandHeld" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentsToAcquireLandHeld" xml:lang="en-US">Payments to acquire land held.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xml:lang="en-US">Net cash used in investing activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleOfLongtermInvestments" xml:lang="en-US">Proceeds from Sale of Long-Term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleOfLongtermInvestments" xml:lang="en-US">Disposal of long-term investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ProceedsFromSaleOfLongtermInvestments" xml:lang="en-US">Disposals (Note 26(3))</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:to="lab_us-gaap_ProceedsFromSaleOfLongtermInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLongtermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireLongtermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireLongtermInvestments" xml:lang="en-US">Payments to Acquire Long-term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquireLongtermInvestments" xml:lang="en-US">Cash paid for long-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireLongtermInvestments" xlink:to="lab_us-gaap_PaymentsToAcquireLongtermInvestments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsForProceedsFromShortTermDeposit" xlink:label="loc_xpev_PaymentsForProceedsFromShortTermDeposit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentsForProceedsFromShortTermDeposit" xml:lang="en-US">Payments For Proceeds From Short Term Deposit</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_PaymentsForProceedsFromShortTermDeposit" xml:lang="en-US">Maturity (Placement) of short-term deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="lab_xpev_PaymentsForProceedsFromShortTermDeposit" xml:lang="en-US">Maturity (placement) of term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentsForProceedsFromShortTermDeposit" xlink:to="lab_xpev_PaymentsForProceedsFromShortTermDeposit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentsForProceedsFromShortTermDeposit" xml:lang="en-US">Payments for proceeds from short term deposit.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAcquiredFromAcquisition" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAcquiredFromAcquisition" xml:lang="en-US">Cash Acquired from Acquisition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAcquiredFromAcquisition" xml:lang="en-US">Cash acquired relating to a business combination</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAcquiredFromAcquisition" xlink:to="lab_us-gaap_CashAcquiredFromAcquisition" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireBusinessesGross" xml:lang="en-US">Payments to Acquire Businesses, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquireBusinessesGross" xml:lang="en-US">Cash paid for an asset acquisition, net of cash acquired</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PaymentsToAcquireBusinessesGross" xml:lang="en-US">Cash consideration</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesGross" xlink:to="lab_us-gaap_PaymentsToAcquireBusinessesGross" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsMaturitiesOfLongtermDeposits" xlink:label="loc_xpev_PlacementsMaturitiesOfLongtermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PlacementsMaturitiesOfLongtermDeposits" xml:lang="en-US">Placements Maturities of Longterm Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PlacementsMaturitiesOfLongtermDeposits" xml:lang="en-US">(Placement) Maturity of long-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PlacementsMaturitiesOfLongtermDeposits" xlink:to="lab_xpev_PlacementsMaturitiesOfLongtermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PlacementsMaturitiesOfLongtermDeposits" xml:lang="en-US">Placements maturities of long-term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedShorttermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedShorttermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PlacementsOfRestrictedShorttermDeposits" xml:lang="en-US">Placements of Restricted ShortTerm Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PlacementsOfRestrictedShorttermDeposits" xml:lang="en-US">Placement of restricted short-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PlacementsOfRestrictedShorttermDeposits" xlink:to="lab_xpev_PlacementsOfRestrictedShorttermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PlacementsOfRestrictedShorttermDeposits" xml:lang="en-US">Placements of restricted short-term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedShortTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_MaturitiesOfRestrictedShortTermDeposits" xml:lang="en-US">Maturities Of Restricted Short Term Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_MaturitiesOfRestrictedShortTermDeposits" xml:lang="en-US">Maturity of restricted short-term deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_MaturitiesOfRestrictedShortTermDeposits" xml:lang="en-US">Maturities of restricted short term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_MaturitiesOfRestrictedShortTermDeposits" xlink:to="lab_xpev_MaturitiesOfRestrictedShortTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_MaturitiesOfRestrictedShortTermDeposits" xml:lang="en-US">Maturities of restricted short term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PlacementsOfRestrictedLongtermDeposits" xlink:label="loc_xpev_PlacementsOfRestrictedLongtermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PlacementsOfRestrictedLongtermDeposits" xml:lang="en-US">Placements of Restricted LongTerm Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PlacementsOfRestrictedLongtermDeposits" xml:lang="en-US">Placement of restricted long-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PlacementsOfRestrictedLongtermDeposits" xlink:to="lab_xpev_PlacementsOfRestrictedLongtermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PlacementsOfRestrictedLongtermDeposits" xml:lang="en-US">Placements of restricted long-term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xml:lang="en-US">Proceeds from Sale of Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xml:lang="en-US">Disposal of property, plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="lab_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireIntangibleAssets" xml:lang="en-US">Payments to Acquire Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquireIntangibleAssets" xml:lang="en-US">Purchase of intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireIntangibleAssets" xlink:to="lab_us-gaap_PaymentsToAcquireIntangibleAssets" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Payments To Acquire Retained Asset Backed Securities Notes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Purchase of retained asset-backed notes and securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xlink:to="lab_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Payments to acquire retained asset backed securities notes.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xlink:label="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Proceeds from Maturities of Retained Asset Backed Securities Notes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Proceeds from maturities of retained asset-backed notes and securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xlink:to="lab_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" xml:lang="en-US">Proceeds from maturities of retained asset backed securities notes.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xml:lang="en-US">Cash flows from financing activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfDebt" xml:lang="en-US">Proceeds from Issuance of Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfDebt" xml:lang="en-US">Proceeds from borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromIssuanceOfDebt" xlink:to="lab_us-gaap_ProceedsFromIssuanceOfDebt" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RepaymentsOfDebt" xml:lang="en-US">Repayments of Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_RepaymentsOfDebt" xml:lang="en-US">Repayments of borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepaymentsOfDebt" xlink:to="lab_us-gaap_RepaymentsOfDebt" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfRelatedPartyDebt" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RepaymentsOfRelatedPartyDebt" xml:lang="en-US">Repayments of Related Party Debt</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_RepaymentsOfRelatedPartyDebt" xml:lang="en-US">Repayments of amounts to a related party</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepaymentsOfRelatedPartyDebt" xlink:to="lab_us-gaap_RepaymentsOfRelatedPartyDebt" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xml:lang="en-US">Net cash provided by financing activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentOfDebtFromThirdPartyInvestors" xlink:label="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RepaymentOfDebtFromThirdPartyInvestors" xml:lang="en-US">Repayment Of Debt From Third Party Investors</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_RepaymentOfDebtFromThirdPartyInvestors" xml:lang="en-US">Repayment of debt from third party investors</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RepaymentOfDebtFromThirdPartyInvestors" xlink:to="lab_xpev_RepaymentOfDebtFromThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RepaymentOfDebtFromThirdPartyInvestors" xml:lang="en-US">Repayment of debt from third party investors.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RepaymentsOfFinanceLeaseLiabilities" xlink:label="loc_xpev_RepaymentsOfFinanceLeaseLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RepaymentsOfFinanceLeaseLiabilities" xml:lang="en-US">Repayments of finance lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RepaymentsOfFinanceLeaseLiabilities" xml:lang="en-US">Repayments of finance lease liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RepaymentsOfFinanceLeaseLiabilities" xlink:to="lab_xpev_RepaymentsOfFinanceLeaseLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RepaymentsOfFinanceLeaseLiabilities" xml:lang="en-US">Repayments of finance lease liabilities.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xlink:label="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xml:lang="en-US">Proceeds From Issuance of Ordinary Shares to Volkswagen Group</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xml:lang="en-US">Proceeds from issuance of ordinary shares to Volkswagen Group</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xlink:to="lab_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" xml:lang="en-US">Proceeds from issuance of ordinary shares to Volkswagen Group.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xml:lang="en-US">Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xml:lang="en-US">Effects of exchange rate changes on cash, cash equivalents and restricted cash</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="lab_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xml:lang="en-US">Net increase (decrease) in cash, cash equivalents and restricted cash</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xml:lang="en-US">Net increase (decrease) in cash, cash equivalents and restricted cash</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash, cash equivalents and restricted cash at beginning of the year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xml:lang="en-US">Cash, cash equivalents and restricted cash at end of the year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract" xml:lang="en-US">Supplemental Cash Flow Information [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract" xml:lang="en-US">Supplemental disclosure of cash flows information</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract" xlink:to="lab_us-gaap_SupplementalCashFlowInformationAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestPaidNet" xml:lang="en-US">Interest Paid, Excluding Capitalized Interest, Operating Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_InterestPaidNet" xml:lang="en-US">Cash paid for interest, net of amounts capitalized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPaidNet" xlink:to="lab_us-gaap_InterestPaidNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid" xml:lang="en-US">Capital Expenditures Incurred but Not yet Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid" xml:lang="en-US">Acquisition of property, plant and equipment included in liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:to="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionConsiderationTransferred" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetAcquisitionConsiderationTransferred" xml:lang="en-US">Asset Acquisition, Consideration Transferred</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AssetAcquisitionConsiderationTransferred" xml:lang="en-US">Cash paid for an asset acquisition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetAcquisitionConsiderationTransferred" xlink:to="lab_us-gaap_AssetAcquisitionConsiderationTransferred" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInBusinessCombination" xlink:label="loc_xpev_CashAcquiredInBusinessCombination" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CashAcquiredInBusinessCombination" xml:lang="en-US">Cash Acquired In Business Combination</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CashAcquiredInBusinessCombination" xml:lang="en-US">Cash acquired relating to a business combination</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CashAcquiredInBusinessCombination" xlink:to="lab_xpev_CashAcquiredInBusinessCombination" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CashAcquiredInBusinessCombination" xml:lang="en-US">Cash acquired in business combination.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashAcquiredInAssetAcquisition" xlink:label="loc_xpev_CashAcquiredInAssetAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CashAcquiredInAssetAcquisition" xml:lang="en-US">Cash Acquired In Asset Acquisition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CashAcquiredInAssetAcquisition" xml:lang="en-US">Cash acquired relating to an asset acquisition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CashAcquiredInAssetAcquisition" xlink:to="lab_xpev_CashAcquiredInAssetAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CashAcquiredInAssetAcquisition" xml:lang="en-US">Cash acquired in asset acquisition.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxesPaidNet" xml:lang="en-US">Income Taxes Paid, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxesPaidNet" xml:lang="en-US">Cash paid for income taxes, net of refunds</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxesPaidNet" xlink:to="lab_us-gaap_IncomeTaxesPaidNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xml:lang="en-US">Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xml:lang="en-US">Supplemental disclosure of non-cash investing activities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" xlink:to="lab_us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInAcquisition" xlink:label="loc_xpev_FairValueOfContingentConsiderationInAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValueOfContingentConsiderationInAcquisition" xml:lang="en-US">Fair Value Of Contingent Consideration In Acquisition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_FairValueOfContingentConsiderationInAcquisition" xml:lang="en-US">Fair value of contingent consideration relating to the acquisition of DiDi's smart auto business</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValueOfContingentConsiderationInAcquisition" xlink:to="lab_xpev_FairValueOfContingentConsiderationInAcquisition" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValueOfContingentConsiderationInAcquisition" xml:lang="en-US">Fair value of contingent consideration in acquisition.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NatureOfOperations" xlink:label="loc_us-gaap_NatureOfOperations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NatureOfOperations" xml:lang="en-US">Nature of Operations [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NatureOfOperations" xml:lang="en-US">Organization and Nature of Operations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NatureOfOperations" xlink:to="lab_us-gaap_NatureOfOperations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountingPoliciesAbstract" xml:lang="en-US">Accounting Policies [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountingPoliciesAbstract" xlink:to="lab_us-gaap_AccountingPoliciesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SignificantAccountingPoliciesTextBlock" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xml:lang="en-US">Significant Accounting Policies [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xml:lang="en-US">Summary of Significant Accounting Policies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="lab_us-gaap_SignificantAccountingPoliciesTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xml:lang="en-US">Accounting Standards Update and Change in Accounting Principle [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xml:lang="en-US">Recent Accounting Pronouncements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" xlink:to="lab_us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConcentrationRiskAbstract" xlink:label="loc_xpev_ConcentrationRiskAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ConcentrationRiskAbstract" xml:lang="en-US">Concentration Risk [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ConcentrationRiskAbstract" xlink:to="lab_xpev_ConcentrationRiskAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:label="loc_us-gaap_ConcentrationRiskDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" xml:lang="en-US">Concentration Risk Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" xml:lang="en-US">Concentration and Risks</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:to="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationsAbstract" xlink:label="loc_us-gaap_BusinessCombinationsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationsAbstract" xml:lang="en-US">Business Combinations [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationsAbstract" xlink:to="lab_us-gaap_BusinessCombinationsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationDisclosureTextBlock" xlink:label="loc_us-gaap_BusinessCombinationDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationDisclosureTextBlock" xml:lang="en-US">Business Combination Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationDisclosureTextBlock" xml:lang="en-US">Business Combination</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationDisclosureTextBlock" xlink:to="lab_us-gaap_BusinessCombinationDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueDisclosuresAbstract" xml:lang="en-US">Fair Value Disclosures [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract" xlink:to="lab_us-gaap_FairValueDisclosuresAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xml:lang="en-US">Fair Value Disclosures [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xml:lang="en-US">Fair Value of Financial Instruments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresTextBlock" xlink:to="lab_us-gaap_FairValueDisclosuresTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureAbstract" xlink:label="loc_us-gaap_InventoryDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryDisclosureAbstract" xml:lang="en-US">Inventory Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InventoryDisclosureAbstract" xml:lang="en-US">Inventory Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryDisclosureAbstract" xlink:to="lab_us-gaap_InventoryDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryDisclosureTextBlock" xlink:label="loc_us-gaap_InventoryDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryDisclosureTextBlock" xml:lang="en-US">Inventory Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryDisclosureTextBlock" xml:lang="en-US">Inventory</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryDisclosureTextBlock" xlink:to="lab_us-gaap_InventoryDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xml:lang="en-US">Prepaid Expense and Other Assets, Current [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xml:lang="en-US">Prepaid Expense and Other Assets, Current [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" xlink:to="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xlink:label="loc_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xml:lang="en-US">Prepaid Expenses And Other Assets Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xml:lang="en-US">Prepayments and Other Current Assets, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xlink:to="lab_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" xml:lang="en-US">Prepaid expenses and other assets disclosure.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAbstract" xml:lang="en-US">Property, Plant and Equipment [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAbstract" xml:lang="en-US">Property, Plant and Equipment [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAbstract" xml:lang="en-US">Property, Plant and Equipment, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xml:lang="en-US">Property, Plant and Equipment Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xml:lang="en-US">Property, Plant and Equipment, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xml:lang="en-US">Goodwill and Intangible Assets Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:to="lab_us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_IntangibleAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IntangibleAssetsDisclosureTextBlock" xml:lang="en-US">Intangible Assets Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IntangibleAssetsDisclosureTextBlock" xml:lang="en-US">Intangible Assets, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IntangibleAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_IntangibleAssetsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandAndLandImprovementsAbstract" xlink:label="loc_us-gaap_LandAndLandImprovementsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LandAndLandImprovementsAbstract" xml:lang="en-US">Land and Land Improvements [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LandAndLandImprovementsAbstract" xml:lang="en-US">Land and Land Improvements [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LandAndLandImprovementsAbstract" xlink:to="lab_us-gaap_LandAndLandImprovementsAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsTextBlock" xlink:label="loc_xpev_LandUseRightsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsTextBlock" xml:lang="en-US">Land Use Rights [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightsTextBlock" xml:lang="en-US">Land Use Rights, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsTextBlock" xlink:to="lab_xpev_LandUseRightsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsTextBlock" xml:lang="en-US">Land use rights.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xml:lang="en-US">Schedule Of Installment Receivables with Significant Financing Component, Before Allowance For Credit Loss [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xlink:to="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" xml:lang="en-US">Schedule of installment receivables with significant financing component, before allowance for credit loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xml:lang="en-US">Installment Payment Receivables With Significant Financing Component [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xml:lang="en-US">Installment Payment Receivables, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xlink:to="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" xml:lang="en-US">Installment payment receivables with significant financing component including customer installment payments for auto financing, technical R&amp;D services and so on.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestmentsAbstract" xlink:label="loc_us-gaap_LongTermInvestmentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermInvestmentsAbstract" xml:lang="en-US">Long-term Investments [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermInvestmentsAbstract" xlink:to="lab_us-gaap_LongTermInvestmentsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTextBlock" xlink:label="loc_us-gaap_InvestmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentTextBlock" xml:lang="en-US">Investment [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentTextBlock" xml:lang="en-US">Long-Term Investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentTextBlock" xlink:to="lab_us-gaap_InvestmentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrentAbstract" xlink:label="loc_us-gaap_OtherAssetsNoncurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssetsNoncurrentAbstract" xml:lang="en-US">Other Assets, Noncurrent [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsNoncurrentAbstract" xlink:to="lab_us-gaap_OtherAssetsNoncurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_OtherAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssetsDisclosureTextBlock" xml:lang="en-US">Other Assets Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAssetsDisclosureTextBlock" xml:lang="en-US">Other Non-current Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_OtherAssetsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xml:lang="en-US">Accounts Payable and Accrued Liabilities, Current [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xml:lang="en-US">Accounts Payable and Accrued Liabilities, Current [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" xlink:to="lab_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:label="loc_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xml:lang="en-US">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xml:lang="en-US">Accruals and Other Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:to="lab_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtDisclosureAbstract" xml:lang="en-US">Debt Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureAbstract" xlink:to="lab_us-gaap_DebtDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="loc_us-gaap_DebtDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtDisclosureTextBlock" xml:lang="en-US">Debt Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtDisclosureTextBlock" xml:lang="en-US">Borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureTextBlock" xlink:to="lab_us-gaap_DebtDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrentAbstract" xml:lang="en-US">Other Liabilities, Noncurrent [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrentAbstract" xlink:to="lab_us-gaap_OtherLiabilitiesNoncurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xlink:label="loc_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xml:lang="en-US">Other Noncurrent Liabilities Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xml:lang="en-US">Other Non-Current Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xlink:to="lab_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" xml:lang="en-US">Other noncurrent liabilities disclosure.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesDisclosureAbstract" xlink:label="loc_xpev_LeasesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LeasesDisclosureAbstract" xml:lang="en-US">Leases Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LeasesDisclosureAbstract" xml:lang="en-US">Leases Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LeasesDisclosureAbstract" xlink:to="lab_xpev_LeasesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LeasesDisclosureAbstract" xml:lang="en-US">Leases Disclosure [Abstract].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesDisclosureTextBlock" xlink:label="loc_xpev_LeasesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LeasesDisclosureTextBlock" xml:lang="en-US">Leases Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LeasesDisclosureTextBlock" xml:lang="en-US">Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LeasesDisclosureTextBlock" xlink:to="lab_xpev_LeasesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LeasesDisclosureTextBlock" xml:lang="en-US">Leases disclosure [Text Block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerAbstract" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerAbstract" xml:lang="en-US">Revenue from Contract with Customer [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerAbstract" xml:lang="en-US">Revenue from Contract with Customer [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerTextBlock" xml:lang="en-US">Revenue from Contract with Customer [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerTextBlock" xml:lang="en-US">Revenues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueDisclosureAbstract" xlink:label="loc_us-gaap_DeferredRevenueDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueDisclosureAbstract" xml:lang="en-US">Deferred Revenue Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueDisclosureAbstract" xlink:to="lab_us-gaap_DeferredRevenueDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredRevenueTextBlock" xlink:label="loc_xpev_DeferredRevenueTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredRevenueTextBlock" xml:lang="en-US">Deferred Revenue [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredRevenueTextBlock" xml:lang="en-US">Deferred Revenue</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredRevenueTextBlock" xlink:to="lab_xpev_DeferredRevenueTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredRevenueTextBlock" xml:lang="en-US">Deferred revenue.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementDisclosureTextBlock" xlink:label="loc_us-gaap_CollaborativeArrangementDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CollaborativeArrangementDisclosureTextBlock" xml:lang="en-US">Collaborative Arrangement Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CollaborativeArrangementDisclosureTextBlock" xml:lang="en-US">Manufacturing in Collaboration with Haima Auto</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CollaborativeArrangementDisclosureTextBlock" xlink:to="lab_us-gaap_CollaborativeArrangementDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="loc_us-gaap_StockholdersEquityNoteAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquityNoteAbstract" xml:lang="en-US">Stockholders' Equity Note [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityNoteAbstract" xlink:to="lab_us-gaap_StockholdersEquityNoteAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:label="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xml:lang="en-US">Stockholders' Equity Note Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xml:lang="en-US">Ordinary Shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:to="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xml:lang="en-US">Share-based Payment Arrangement [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xml:lang="en-US">Share-based Payment Arrangement [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xml:lang="en-US">Share-based Payment Arrangement [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xml:lang="en-US">Share-based Compensation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxDisclosureAbstract" xml:lang="en-US">Income Tax Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract" xlink:to="lab_us-gaap_IncomeTaxDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xml:lang="en-US">Income Tax Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xml:lang="en-US">Taxation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="lab_us-gaap_IncomeTaxDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareAbstract" xml:lang="en-US">Earnings Per Share [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareAbstract" xlink:to="lab_us-gaap_EarningsPerShareAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerShareTextBlock" xml:lang="en-US">Earnings Per Share [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerShareTextBlock" xml:lang="en-US">Loss Per Share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareTextBlock" xlink:to="lab_us-gaap_EarningsPerShareTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionsAbstract" xml:lang="en-US">Related Party Transactions [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract" xlink:to="lab_us-gaap_RelatedPartyTransactionsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:label="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xml:lang="en-US">Related Party Transactions Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xml:lang="en-US">Related Parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:to="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xml:lang="en-US">Commitments and Contingencies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsAbstract" xlink:label="loc_xpev_RestrictedNetAssetsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedNetAssetsAbstract" xml:lang="en-US">Restricted Net Assets [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedNetAssetsAbstract" xlink:to="lab_xpev_RestrictedNetAssetsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_RestrictedAssetsDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedAssetsDisclosureTextBlock" xml:lang="en-US">Restricted Assets Disclosure [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RestrictedAssetsDisclosureTextBlock" xml:lang="en-US">Restricted Assets Disclosure</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_RestrictedAssetsDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsTextBlock" xlink:label="loc_srt_CondensedFinancialStatementsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CondensedFinancialStatementsTextBlock" xml:lang="en-US">Condensed Financial Statements [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_CondensedFinancialStatementsTextBlock" xml:lang="en-US">Company Financial Statements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CondensedFinancialStatementsTextBlock" xlink:to="lab_srt_CondensedFinancialStatementsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="loc_us-gaap_SubsequentEventsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventsAbstract" xml:lang="en-US">Subsequent Events [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SubsequentEventsAbstract" xml:lang="en-US">Subsequent Events [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventsAbstract" xlink:to="lab_us-gaap_SubsequentEventsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="loc_us-gaap_SubsequentEventsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventsTextBlock" xml:lang="en-US">Subsequent Events [Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SubsequentEventsTextBlock" xml:lang="en-US">Subsequent events</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventsTextBlock" xlink:to="lab_us-gaap_SubsequentEventsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xml:lang="en-US">Basis of Accounting, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xml:lang="en-US">Basis of presentation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsolidationPolicyTextBlock" xlink:label="loc_us-gaap_ConsolidationPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConsolidationPolicyTextBlock" xml:lang="en-US">Consolidation, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ConsolidationPolicyTextBlock" xml:lang="en-US">Principles of consolidation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConsolidationPolicyTextBlock" xlink:to="lab_us-gaap_ConsolidationPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseOfEstimates" xlink:label="loc_us-gaap_UseOfEstimates" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UseOfEstimates" xml:lang="en-US">Use of Estimates, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_UseOfEstimates" xml:lang="en-US">Use of estimates</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UseOfEstimates" xlink:to="lab_us-gaap_UseOfEstimates" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" xlink:label="loc_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" xml:lang="en-US">Foreign Currency Transactions and Translations Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" xml:lang="en-US">Functional currency and foreign currency translation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" xlink:to="lab_us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:label="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xml:lang="en-US">Fair Value Measurement, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xml:lang="en-US">Fair value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:to="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:label="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xml:lang="en-US">Cash and Cash Equivalents, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xml:lang="en-US">Cash and cash equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:to="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xlink:label="loc_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xml:lang="en-US">Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xml:lang="en-US">Restricted cash</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" xlink:to="lab_us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentPolicyTextBlock" xlink:label="loc_us-gaap_InvestmentPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentPolicyTextBlock" xml:lang="en-US">Investment, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentPolicyTextBlock" xml:lang="en-US">Short-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentPolicyTextBlock" xlink:to="lab_us-gaap_InvestmentPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryPolicyTextBlock" xlink:label="loc_us-gaap_InventoryPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryPolicyTextBlock" xml:lang="en-US">Inventory, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryPolicyTextBlock" xml:lang="en-US">Inventory</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryPolicyTextBlock" xlink:to="lab_us-gaap_InventoryPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xml:lang="en-US">Property, Plant and Equipment, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xml:lang="en-US">Property, plant and equipment, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xml:lang="en-US">Goodwill and Intangible Assets, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xml:lang="en-US">Intangible assets, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xlink:to="lab_us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsPolicyTextBlock" xlink:label="loc_xpev_LandUseRightsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsPolicyTextBlock" xml:lang="en-US">Land Use Rights [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightsPolicyTextBlock" xml:lang="en-US">Land use rights, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsPolicyTextBlock" xlink:to="lab_xpev_LandUseRightsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsPolicyTextBlock" xml:lang="en-US">Land use rights [Policy text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" xlink:label="loc_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" xml:lang="en-US">Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" xml:lang="en-US">Impairment of long-lived assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" xlink:to="lab_us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WarrantiesPolicyTextBlock" xlink:label="loc_xpev_WarrantiesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WarrantiesPolicyTextBlock" xml:lang="en-US">Warranties [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_WarrantiesPolicyTextBlock" xml:lang="en-US">Warranties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WarrantiesPolicyTextBlock" xlink:to="lab_xpev_WarrantiesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_WarrantiesPolicyTextBlock" xml:lang="en-US">Warranties [Policy text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRecognitionPolicyTextBlock" xlink:label="loc_us-gaap_RevenueRecognitionPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueRecognitionPolicyTextBlock" xml:lang="en-US">Revenue [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueRecognitionPolicyTextBlock" xml:lang="en-US">Revenue recognition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueRecognitionPolicyTextBlock" xlink:to="lab_us-gaap_RevenueRecognitionPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesPolicyTextBlock" xlink:label="loc_us-gaap_CostOfSalesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CostOfSalesPolicyTextBlock" xml:lang="en-US">Cost of Goods and Service [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CostOfSalesPolicyTextBlock" xml:lang="en-US">Cost of sales</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfSalesPolicyTextBlock" xlink:to="lab_us-gaap_CostOfSalesPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpensePolicy" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpensePolicy" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpensePolicy" xml:lang="en-US">Research and Development Expense, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpensePolicy" xml:lang="en-US">Research and development expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpensePolicy" xlink:to="lab_us-gaap_ResearchAndDevelopmentExpensePolicy" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xml:lang="en-US">Selling, General and Administrative Expenses, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xml:lang="en-US">Selling, general and administrative expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:to="lab_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementPlansPolicy" xlink:label="loc_us-gaap_PensionAndOtherPostretirementPlansPolicy" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PensionAndOtherPostretirementPlansPolicy" xml:lang="en-US">Pension and Other Postretirement Plans, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PensionAndOtherPostretirementPlansPolicy" xml:lang="en-US">Employee benefits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PensionAndOtherPostretirementPlansPolicy" xlink:to="lab_us-gaap_PensionAndOtherPostretirementPlansPolicy" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xlink:label="loc_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xml:lang="en-US">Government Grants Received Or Receivable [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xml:lang="en-US">Government grants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xlink:to="lab_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" xml:lang="en-US">Government grants received or receivable [Policy text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPolicyTextBlock" xlink:label="loc_us-gaap_IncomeTaxPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxPolicyTextBlock" xml:lang="en-US">Income Tax, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxPolicyTextBlock" xml:lang="en-US">Income taxes</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxPolicyTextBlock" xlink:to="lab_us-gaap_IncomeTaxPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:label="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xml:lang="en-US">Share-based Payment Arrangement [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xml:lang="en-US">Share-based compensation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:to="lab_us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesPolicyTextBlock" xlink:label="loc_xpev_StatutoryReservesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReservesPolicyTextBlock" xml:lang="en-US">Statutory Reserves [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StatutoryReservesPolicyTextBlock" xml:lang="en-US">Statutory and other reserves</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReservesPolicyTextBlock" xlink:to="lab_xpev_StatutoryReservesPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StatutoryReservesPolicyTextBlock" xml:lang="en-US">Statutory Reserves [Policy Text Block]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:label="loc_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xml:lang="en-US">Comprehensive Income, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xml:lang="en-US">Comprehensive loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:to="lab_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasesLessorAndLesseePolicyTextBlock" xlink:label="loc_xpev_LeasesLessorAndLesseePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LeasesLessorAndLesseePolicyTextBlock" xml:lang="en-US">Leases Lessor And Lessee [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LeasesLessorAndLesseePolicyTextBlock" xml:lang="en-US">Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LeasesLessorAndLesseePolicyTextBlock" xlink:to="lab_xpev_LeasesLessorAndLesseePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LeasesLessorAndLesseePolicyTextBlock" xml:lang="en-US">Leases lessor and lessee [Policy text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerSharePolicyTextBlock" xlink:label="loc_us-gaap_EarningsPerSharePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EarningsPerSharePolicyTextBlock" xml:lang="en-US">Earnings Per Share, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EarningsPerSharePolicyTextBlock" xml:lang="en-US">Earnings (losses) per share</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerSharePolicyTextBlock" xlink:to="lab_us-gaap_EarningsPerSharePolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xml:lang="en-US">Segment Reporting, Policy [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xml:lang="en-US">Segment reporting</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DividendDeclaredAndPaidPolicyTextBlock" xlink:label="loc_xpev_DividendDeclaredAndPaidPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DividendDeclaredAndPaidPolicyTextBlock" xml:lang="en-US">Dividend Declared And Paid [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DividendDeclaredAndPaidPolicyTextBlock" xml:lang="en-US">Dividends</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DividendDeclaredAndPaidPolicyTextBlock" xlink:to="lab_xpev_DividendDeclaredAndPaidPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DividendDeclaredAndPaidPolicyTextBlock" xml:lang="en-US">Dividend declared and paid [Policy text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xlink:label="loc_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xml:lang="en-US">Short Term and Long Term Deposits [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xml:lang="en-US">Short-term and long term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xlink:to="lab_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShortTermAndLongTermDepositsPolicyTextBlock" xml:lang="en-US">Short term and long term deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsPolicyTextBlock" xlink:label="loc_xpev_LongTermInvestmentsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermInvestmentsPolicyTextBlock" xml:lang="en-US">Long Term Investments [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermInvestmentsPolicyTextBlock" xml:lang="en-US">Long-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermInvestmentsPolicyTextBlock" xlink:to="lab_xpev_LongTermInvestmentsPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermInvestmentsPolicyTextBlock" xml:lang="en-US">Long term investments.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherIncomeNetPolicyTextBlock" xlink:label="loc_xpev_OtherIncomeNetPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherIncomeNetPolicyTextBlock" xml:lang="en-US">Other Income Net [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OtherIncomeNetPolicyTextBlock" xml:lang="en-US">Other income, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherIncomeNetPolicyTextBlock" xlink:to="lab_xpev_OtherIncomeNetPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OtherIncomeNetPolicyTextBlock" xml:lang="en-US">Other income net.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xlink:label="loc_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xml:lang="en-US">Business Combinations And Goodwill [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xml:lang="en-US">Business combinations and goodwill</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xlink:to="lab_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" xml:lang="en-US">Business Combinations And Goodwill.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" xlink:label="loc_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" xml:lang="en-US">Credit Loss, Financial Instrument [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" xml:lang="en-US">Current expected credit losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" xlink:to="lab_us-gaap_CreditLossFinancialInstrumentPolicyTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountspayablePolicyTextBlock" xlink:label="loc_xpev_AccountspayablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccountspayablePolicyTextBlock" xml:lang="en-US">Accounts payable [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccountspayablePolicyTextBlock" xml:lang="en-US">Accounts payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccountspayablePolicyTextBlock" xlink:to="lab_xpev_AccountspayablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccountspayablePolicyTextBlock" xml:lang="en-US">Accounts payable.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NotespayablePolicyTextBlock" xlink:label="loc_xpev_NotespayablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NotespayablePolicyTextBlock" xml:lang="en-US">Notes payable [Policy Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_NotespayablePolicyTextBlock" xml:lang="en-US">Notes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NotespayablePolicyTextBlock" xlink:to="lab_xpev_NotespayablePolicyTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NotespayablePolicyTextBlock" xml:lang="en-US">Notes payable.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xlink:label="loc_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xml:lang="en-US">Schedule Of Variable Interest Entities And Principal Subsidiaries [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xml:lang="en-US">Summary of Company's Principal Subsidiaries and VIEs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xlink:to="lab_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" xml:lang="en-US">Schedule Of Variable Interest Entities And Principal Subsidiaries</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" xml:lang="en-US">Schedule of Cash and Cash Equivalents [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" xml:lang="en-US">Summary of Cash and Cash Equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" xlink:label="loc_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" xml:lang="en-US">Summary of Accounts Receivable, Allowance for Credit Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" xlink:to="lab_us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" xml:lang="en-US">Schedule of Acquired Finite-Lived Intangible Assets by Major Class [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" xml:lang="en-US">Summary of Finite Lived Intangible Assets Useful Lives</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" xlink:to="lab_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xlink:label="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xml:lang="en-US">Property Plant And Equipment Useful Life [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xml:lang="en-US">Summary of Useful Lives of Property Plant and Equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xlink:to="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" xml:lang="en-US">Property plant and equipment useful life [Table text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xml:lang="en-US">Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xml:lang="en-US">Summary of the Assets Acquired and Liabilities Assumed</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" xml:lang="en-US">Schedule of Business Acquisitions by Acquisition, Equity Interest Issued or Issuable [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" xml:lang="en-US">Summary of Business Acquistion Equity Intererests Issued or Issuable&#160;</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" xlink:to="lab_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionEquityInterestIssuedOrIssuableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xml:lang="en-US">Business Acquisition, Pro Forma Information [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xml:lang="en-US">Summary of Pro forma financial information</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationTextBlock" xlink:to="lab_us-gaap_BusinessAcquisitionProFormaInformationTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xml:lang="en-US">Financial Instruments Financial Assets And Liabilities Balance Sheet Groupings [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="lab_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" xml:lang="en-US">Financial Instruments Financial Assets And Liabilities Balance Sheet Groupings Abstract</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xml:lang="en-US">Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xml:lang="en-US">Summary of fair value of the financial instruments that are measured at fair value on a recurring basis</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:to="lab_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xml:lang="en-US">Schedule of Inventory, Current [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xml:lang="en-US">Summary of Inventory</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xlink:label="loc_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xml:lang="en-US">Schedule Of Prepaid Expenses And Other Current Asset [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xml:lang="en-US">Summary of Prepayments And Other Current Assets, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xlink:to="lab_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" xml:lang="en-US">Schedule of prepaid expenses and other current asset.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTextBlock" xml:lang="en-US">Property, Plant and Equipment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTextBlock" xml:lang="en-US">Summary of Property, Plant and Equipment, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xml:lang="en-US">Schedule of Intangible Assets and Goodwill [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xml:lang="en-US">Schedule of Intangible Assets, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:label="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xml:lang="en-US">Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xml:lang="en-US">Schedule of Finite-Lived Intangible Assets, Future Amortization Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" xlink:to="lab_us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xml:lang="en-US">Schedule Of Land Use Rights Finite Lived [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xml:lang="en-US">Summary of Land Use Rights And Related Accumulated Amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xlink:to="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" xml:lang="en-US">Schedule of land use rights finite lived [Table text block].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xml:lang="en-US">Schedule Of Installment Receivables With Significant Financing Component, Allowance For Credit Loss, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xml:lang="en-US">Schedule Of Installment Receivables With Significant Financing Component, Allowance For Credit Loss, Net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xlink:to="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" xml:lang="en-US">Schedule of installment receivables with significant financing component, allowance for credit loss, net.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xlink:label="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xml:lang="en-US">Schedule Of Installment Receivables With Significant Financing Component, Gross Allowance For Credit Loss And Net, Maturity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xml:lang="en-US">Summary of Payment Maturity Analysis of Installment Payment Receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xlink:to="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" xml:lang="en-US">Schedule of installment receivables with significant financing component, gross allowance for credit loss and net, maturity</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xlink:label="loc_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xml:lang="en-US">Schedule Of installment payment receivables with significant financing component Before Allowance For Credit Loss [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xml:lang="en-US">Summary of Sales Type Lease Net Investment In Lease Before Allowance For Credit Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xlink:to="lab_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" xml:lang="en-US">Schedule of installment payment receivables with significant financing component, before allowance for credit loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsAbstract" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLongTermInvestmentsAbstract" xml:lang="en-US">Schedule of Long Term Investments [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsAbstract" xlink:to="lab_xpev_ScheduleOfLongTermInvestmentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLongTermInvestmentsAbstract" xml:lang="en-US">Schedule of long-term&#160;investments.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTableTextBlock" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLongterminvestmentsTableTextBlock" xml:lang="en-US">Schedule of LongTermInvestments [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfLongterminvestmentsTableTextBlock" xml:lang="en-US">Schedule of Long-term&#160;investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTableTextBlock" xlink:to="lab_xpev_ScheduleOfLongterminvestmentsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLongterminvestmentsTableTextBlock" xml:lang="en-US">Schedule of long-term&#160;investments.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xlink:label="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xml:lang="en-US">Schedule of Other Assets, Noncurrent [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xml:lang="en-US">Summary of Other Non-current Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xlink:to="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock" xml:lang="en-US">Other Current Liabilities [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock" xml:lang="en-US">Summary of Accruals And Other Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:to="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDebtTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDebtTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfDebtTableTextBlock" xml:lang="en-US">Schedule of Debt [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfDebtTableTextBlock" xml:lang="en-US">Summary Of Borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDebtTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfDebtTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xlink:label="loc_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xml:lang="en-US">ScheduleOfLineOfCreditFacilities [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xml:lang="en-US">Summary Of Bank Loans</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xlink:to="lab_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" xml:lang="en-US">Schedule of line of credit facilities text block.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xml:lang="en-US">Other Noncurrent Liabilities [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xml:lang="en-US">Summary of Other non-current liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:to="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xml:lang="en-US">Schedule of Product Warranty Liability [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xml:lang="en-US">Summary of movements of accrued warranty</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeDisclosureAbstract" xlink:label="loc_us-gaap_LesseeDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeDisclosureAbstract" xml:lang="en-US">Lessee Disclosure [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeDisclosureAbstract" xml:lang="en-US">Lessee Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeDisclosureAbstract" xlink:to="lab_us-gaap_LesseeDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCostTableTextBlock" xlink:label="loc_us-gaap_LeaseCostTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseCostTableTextBlock" xml:lang="en-US">Lease, Cost [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LeaseCostTableTextBlock" xml:lang="en-US">Summary of Components of Operating Lease Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseCostTableTextBlock" xlink:to="lab_us-gaap_LeaseCostTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xml:lang="en-US">Schedule Of Other Information Related To Operating Leases [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xml:lang="en-US">Schedule of Other Information Related to Operating Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xlink:to="lab_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" xml:lang="en-US">Schedule of other information related to operating leases table text block.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule Of Cash Flow Information Related To Leases [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Summary of Cash Flow Information Related to Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xlink:to="lab_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule of cash flow information related to leases table text block.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xml:lang="en-US">Lessee, Operating Lease, Liability, Maturity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xml:lang="en-US">Summary of Maturities of The Group's Operating Lease Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule of Balance Sheet Information Related to Leases [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule of Balance Sheet Information Related to Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xlink:to="lab_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule of balance sheet information related to leases.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xlink:label="loc_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule Of Balance Sheet Information Of Lessor Related To Leases [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule Of Balance Sheet Information Of Lessor Related To Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xlink:to="lab_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" xml:lang="en-US">Schedule of balance sheet information of lessor related to leases.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xlink:label="loc_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xml:lang="en-US">Schedule Of Net Investment In sale Type Leases Receivable [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xml:lang="en-US">Schedule Of Net Investment In sale Type Leases Receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xlink:to="lab_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" xml:lang="en-US">Schedule of net investment in sale type leases receivable.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" xml:lang="en-US">Sales-type and Direct Financing Leases, Lease Receivable, Maturity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" xml:lang="en-US">Sales Type And Direct Financing Leases Lease Receivable Maturity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueAbstract" xlink:label="loc_us-gaap_DisaggregationOfRevenueAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisaggregationOfRevenueAbstract" xml:lang="en-US">Disaggregation of Revenue [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DisaggregationOfRevenueAbstract" xml:lang="en-US">Disaggregation of Revenue [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisaggregationOfRevenueAbstract" xlink:to="lab_us-gaap_DisaggregationOfRevenueAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTableTextBlock" xlink:label="loc_us-gaap_DisaggregationOfRevenueTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisaggregationOfRevenueTableTextBlock" xml:lang="en-US">Disaggregation of Revenue [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DisaggregationOfRevenueTableTextBlock" xml:lang="en-US">Summary of Revenues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisaggregationOfRevenueTableTextBlock" xlink:to="lab_us-gaap_DisaggregationOfRevenueTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" xlink:label="loc_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" xml:lang="en-US">Deferred Revenue, by Arrangement, Disclosure [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" xml:lang="en-US">Deferred Revenue, by Arrangement, Disclosure</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" xlink:to="lab_us-gaap_DeferredRevenueByArrangementDisclosureTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TextBlockAbstract" xlink:label="loc_us-gaap_TextBlockAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TextBlockAbstract" xml:lang="en-US">Text Block [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_TextBlockAbstract" xml:lang="en-US">Text Block [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TextBlockAbstract" xlink:to="lab_us-gaap_TextBlockAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationTable" xlink:label="loc_xpev_SharebasedCompensationTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SharebasedCompensationTable" xml:lang="en-US">Sharebased Compensation [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SharebasedCompensationTable" xlink:to="lab_xpev_SharebasedCompensationTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareBasedCompensationLineItems" xlink:label="loc_xpev_ShareBasedCompensationLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShareBasedCompensationLineItems" xml:lang="en-US">Share based Compensation [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShareBasedCompensationLineItems" xlink:to="lab_xpev_ShareBasedCompensationLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xml:lang="en-US">Share-based Payment Arrangement, Restricted Stock and Restricted Stock Unit, Activity [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xml:lang="en-US">Summary of Restricted Stock and Restricted Stock Unit, Activity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xml:lang="en-US">Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xml:lang="en-US">Summary of Reconciliations of the Income Tax Expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xml:lang="en-US">Schedule of Deferred Tax Assets and Liabilities [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xml:lang="en-US">Summary of Components of Deferred Tax Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SummaryOfValuationAllowanceTextBlock" xlink:label="loc_us-gaap_SummaryOfValuationAllowanceTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SummaryOfValuationAllowanceTextBlock" xml:lang="en-US">Summary of Valuation Allowance [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SummaryOfValuationAllowanceTextBlock" xml:lang="en-US">Summary of Movement in Valuation Allowance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SummaryOfValuationAllowanceTextBlock" xlink:to="lab_us-gaap_SummaryOfValuationAllowanceTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" xlink:label="loc_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" xml:lang="en-US">Summary of Operating Loss Carryforwards [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" xml:lang="en-US">Summary of Tax Loss Carryforwards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" xlink:to="lab_us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" xml:lang="en-US">Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" xml:lang="en-US">Schedule of Loss Before Income Tax Expense (Benefits)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xml:lang="en-US">Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xml:lang="en-US">Summary of Composition of Income Tax Expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xml:lang="en-US">Schedule Of Cash Paid For Income Taxes Net Of Refund [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xml:lang="en-US">Schedule of Cash Paid for Income Taxes Net of Refund</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xlink:to="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" xml:lang="en-US">Schedule of cash paid for income taxes net of refund.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xml:lang="en-US">Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xml:lang="en-US">Summary of Earnings Per Share, Basic and Diluted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xml:lang="en-US">Related Party Transaction [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:to="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionAxis" xml:lang="en-US">Related Party Transaction [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis" xlink:to="lab_us-gaap_RelatedPartyTransactionAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionDomain" xml:lang="en-US">Related Party Transaction [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain" xlink:to="lab_us-gaap_RelatedPartyTransactionDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonTradeInNatureMember" xlink:label="loc_xpev_NonTradeInNatureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NonTradeInNatureMember" xml:lang="en-US">Non Trade in Nature [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NonTradeInNatureMember" xlink:to="lab_xpev_NonTradeInNatureMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TradeInNatureMember" xlink:label="loc_xpev_TradeInNatureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TradeInNatureMember" xml:lang="en-US">Trade in Nature [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TradeInNatureMember" xlink:to="lab_xpev_TradeInNatureMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ReceivablesInNatureMember" xlink:label="loc_xpev_ReceivablesInNatureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ReceivablesInNatureMember" xml:lang="en-US">Receivables in Nature [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ReceivablesInNatureMember" xlink:to="lab_xpev_ReceivablesInNatureMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayablesInNatureMember" xlink:label="loc_xpev_PayablesInNatureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PayablesInNatureMember" xml:lang="en-US">Payables in Nature [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PayablesInNatureMember" xlink:to="lab_xpev_PayablesInNatureMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentCommitmentInNatureMember" xlink:label="loc_xpev_InvestmentCommitmentInNatureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestmentCommitmentInNatureMember" xml:lang="en-US">Investment Commitment in Nature [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestmentCommitmentInNatureMember" xlink:to="lab_xpev_InvestmentCommitmentInNatureMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionLineItems" xml:lang="en-US">Related Party Transaction [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems" xlink:to="lab_us-gaap_RelatedPartyTransactionLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xlink:label="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xml:lang="en-US">Schedule of Related Parties And Nature Of Relationship [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xml:lang="en-US">Summary of Related Parties and Nature of Relationship</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xlink:to="lab_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" xml:lang="en-US">Schedule of related parties and nature of relationship.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xml:lang="en-US">Schedule of Related Party Transactions [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xml:lang="en-US">Summary of Related Parties Transaction</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTextBlock" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentTextBlock" xml:lang="en-US">Long-term Purchase Commitment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentTextBlock" xml:lang="en-US">Capital expenditures contracted for at the balance sheet dates but not recognized in the consolidated financial statements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTextBlock" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" xlink:label="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" xml:lang="en-US">Purchase Commitment, Excluding Long-term Commitment [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" xml:lang="en-US">Summary of Purchase expenditures not recognized in the consolidated financial statements</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" xlink:to="lab_us-gaap_PurchaseCommitmentExcludingLongtermCommitmentTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedBalanceSheetTableTextBlock" xlink:label="loc_srt_ScheduleOfCondensedBalanceSheetTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ScheduleOfCondensedBalanceSheetTableTextBlock" xml:lang="en-US">Condensed Balance Sheet [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ScheduleOfCondensedBalanceSheetTableTextBlock" xml:lang="en-US">Condensed Balance Sheets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScheduleOfCondensedBalanceSheetTableTextBlock" xlink:to="lab_srt_ScheduleOfCondensedBalanceSheetTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" xlink:label="loc_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" xml:lang="en-US">Condensed Statement of Comprehensive Income [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" xml:lang="en-US">Condensed Statements of Comprehensive Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" xlink:to="lab_srt_CondensedStatementOfComprehensiveIncomeTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" xlink:label="loc_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" xml:lang="en-US">Condensed Cash Flow Statement [Table Text Block]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" xml:lang="en-US">Consolidated Statements of Cash Flows</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" xlink:to="lab_srt_ScheduleOfCondensedCashFlowStatementTableTextBlock" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xml:lang="en-US">Organization Consolidation And Presentation Of Financial Statements [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" xlink:to="lab_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:label="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xml:lang="en-US">Organization Consolidation And Presentation Of Financial Statements [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xlink:to="lab_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" xml:lang="en-US">Organization Consolidation And Presentation Of Financial Statements [Line Items]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashCashEquivalentsAndShortTermInvestments" xml:lang="en-US">Cash, Cash Equivalents, and Short-term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_CashCashEquivalentsAndShortTermInvestments" xml:lang="en-US">Cash, cash equivalents, and short-term investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CashCashEquivalentsAndShortTermInvestments" xml:lang="en-US">Cash, Cash Equivalents, and Short-term Investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments" xlink:to="lab_us-gaap_CashCashEquivalentsAndShortTermInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromIssuanceInitialPublicOffering" xml:lang="en-US">Proceeds from Issuance Initial Public Offering</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_ProceedsFromIssuanceInitialPublicOffering" xml:lang="en-US">Proceeds from initial public offering, net of issuance costs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:to="lab_us-gaap_ProceedsFromIssuanceInitialPublicOffering" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromFONetOfIssuanceCost" xlink:label="loc_xpev_ProceedsFromFONetOfIssuanceCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromFONetOfIssuanceCost" xml:lang="en-US">Proceeds from F O net of issuance cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ProceedsFromFONetOfIssuanceCost" xml:lang="en-US">Proceeds from FO, net of issurance cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromFONetOfIssuanceCost" xlink:to="lab_xpev_ProceedsFromFONetOfIssuanceCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromFONetOfIssuanceCost" xml:lang="en-US">Proceeds from FO net of issuance cost.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xml:lang="en-US">Business Combination, Step Acquisition, Equity Interest in Acquiree, Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xml:lang="en-US">Equity interest acquired, percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xml:lang="en-US">Business combination equity interest in acquiree percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" xlink:to="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireePercentage" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xlink:label="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xml:lang="en-US">Proceeds From Global Public Offering After Deducting Underwriting Discounts And Commissions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xml:lang="en-US">Proceeds From Global Public Offering After Deducting Underwriting Discounts And Commissions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xlink:to="lab_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" xml:lang="en-US">Proceeds from global public offering after deducting underwriting discounts and commissions.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xml:lang="en-US">Proceeds from Sale and Maturity of Other Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xml:lang="en-US">Proceeds from Sale and Maturity of Other Investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" xlink:to="lab_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xml:lang="en-US">Related and Nonrelated Parties [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyDomain" xml:lang="en-US">Related and Nonrelated Parties [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyDomain" xlink:to="lab_us-gaap_RelatedPartyDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtTypeAxis" xml:lang="en-US">Short-term Debt, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis" xlink:to="lab_us-gaap_ShortTermDebtTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermDebtTypeDomain" xml:lang="en-US">Short-term Debt, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain" xlink:to="lab_us-gaap_ShortTermDebtTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebtMember" xlink:label="loc_us-gaap_UnsecuredDebtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnsecuredDebtMember" xml:lang="en-US">Unsecured Debt [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnsecuredDebtMember" xlink:to="lab_us-gaap_UnsecuredDebtMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventTypeAxis" xml:lang="en-US">Subsequent Event Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventTypeAxis" xlink:to="lab_us-gaap_SubsequentEventTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventTypeDomain" xml:lang="en-US">Subsequent Event Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventTypeDomain" xlink:to="lab_us-gaap_SubsequentEventTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IPOMember" xlink:label="loc_us-gaap_IPOMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IPOMember" xml:lang="en-US">IPO [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IPOMember" xlink:to="lab_us-gaap_IPOMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PublicOfferingMember" xlink:label="loc_xpev_PublicOfferingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PublicOfferingMember" xml:lang="en-US">Public Offering [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PublicOfferingMember" xlink:to="lab_xpev_PublicOfferingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionAxis" xml:lang="en-US">Business Acquisition [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionAxis" xlink:to="lab_us-gaap_BusinessAcquisitionAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionAcquireeDomain" xml:lang="en-US">Business Acquisition, Acquiree [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain" xlink:to="lab_us-gaap_BusinessAcquisitionAcquireeDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XintuTechnologyMember" xlink:label="loc_xpev_XintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XintuTechnologyMember" xml:lang="en-US">Xintu Technology [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XintuTechnologyMember" xlink:to="lab_xpev_XintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XintuTechnologyMember" xml:lang="en-US">Xintu technology.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KuntuTechnologyMember" xlink:label="loc_xpev_KuntuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_KuntuTechnologyMember" xml:lang="en-US">Kuntu Technology [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_KuntuTechnologyMember" xlink:to="lab_xpev_KuntuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_KuntuTechnologyMember" xml:lang="en-US">Kuntu technology.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengTechnologyMember" xlink:label="loc_xpev_XiaopengTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengTechnologyMember" xml:lang="en-US">Xiaopeng Technology [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengTechnologyMember" xlink:to="lab_xpev_XiaopengTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XiaopengTechnologyMember" xml:lang="en-US">Xiaopeng technology.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengSmartMobilityMember" xlink:label="loc_xpev_XiaopengSmartMobilityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengSmartMobilityMember" xml:lang="en-US">Xiaopeng Smart Mobility [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengSmartMobilityMember" xlink:to="lab_xpev_XiaopengSmartMobilityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XiaopengSmartMobilityMember" xml:lang="en-US">Xiaopeng Smart Mobility.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GlobalOfferingOnHkexMember" xlink:label="loc_xpev_GlobalOfferingOnHkexMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GlobalOfferingOnHkexMember" xml:lang="en-US">Global Offering on HKEX [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GlobalOfferingOnHkexMember" xlink:to="lab_xpev_GlobalOfferingOnHkexMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GlobalOfferingOnHkexMember" xml:lang="en-US">Global offering on HKEX.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXuetaoMember" xlink:label="loc_xpev_GuangzhouXuetaoMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXuetaoMember" xml:lang="en-US">Guangzhou Xuetao [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangzhouXuetaoMember" xml:lang="en-US">Guangzhou Xuetao [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXuetaoMember" xlink:to="lab_xpev_GuangzhouXuetaoMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXuetaoMember" xml:lang="en-US">Guangzhou xuetao [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xml:lang="en-US">Investment, Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="lab_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="loc_srt_EquityMethodInvesteeNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_EquityMethodInvesteeNameDomain" xml:lang="en-US">Investment, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_EquityMethodInvesteeNameDomain" xlink:to="lab_srt_EquityMethodInvesteeNameDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Technology Co Ltd Xiaopeng Technology [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Technology Co., Ltd.("Xiaopeng Technology") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xlink:to="lab_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Technology Co LtdXiaopeng Technology</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Manufacturing Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Manufacturing Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xml:lang="en-US">Zhaoqing Xiaopeng Motors Co Ltd Zhaoqing Xiaopeng [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xml:lang="en-US">Zhaoqing Xiaopeng Motors Co., Ltd. ("Zhaoqing Xiaopeng") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" xlink:to="lab_xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xlink:label="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xml:lang="en-US">Guangzhou Zhipeng IoV Technology Co LtdZhipeng IoV [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xml:lang="en-US">Guangzhou Zhipeng IoV Technology Co., Ltd. ("Zhipeng IoV") [member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xlink:to="lab_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" xml:lang="en-US">Guangzhou Zhipeng IoV Technology Co., Ltd.(Zhipeng IoV) [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xlink:label="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xml:lang="en-US">Guangzhou Yidian Smart Mobility Technology Co Ltd Yidian Smart Mobility [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xml:lang="en-US">Guangzhou Yidian Smart Mobility Technology Co., Ltd. ("Yidian Smart Mobility") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xlink:to="lab_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" xml:lang="en-US">Guangzhou Yidian Smart Mobility Technology Co., Ltd. ("Yidian Smart Mobility") (Note&#160;1(c)(ii))</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xml:lang="en-US">Zhaoqing Xiaopeng New Energy Investment Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xml:lang="en-US">Zhaoqing Xiaopeng New Energy Investment Co., Ltd.("Zhaoqing Xiaopeng New Energy") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xlink:to="lab_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" xml:lang="en-US">Zhaoqing xiaopeng new energy investment co., ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Autopilot Technology Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Autopilot Technology Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpenghongKongLimitedMember" xlink:label="loc_xpev_XpenghongKongLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XpenghongKongLimitedMember" xml:lang="en-US">XPeng Hong Kong Limited [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_XpenghongKongLimitedMember" xml:lang="en-US">XPeng (Hong Kong) Limited [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XpenghongKongLimitedMember" xlink:to="lab_xpev_XpenghongKongLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XpenghongKongLimitedMember" xml:lang="en-US">XPeng (Hong Kong) Limited [Member] .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xlink:label="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xml:lang="en-US">Guangzhou Xintu Technology Co Ltd (Xintu Technology) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xml:lang="en-US">Guangzhou Xintu Technology Co., Ltd. ("Xintu Technology") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xlink:to="lab_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" xml:lang="en-US">Guangzhou Xintu technology Co., Ltd. ("xintu technology").</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xlink:label="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xml:lang="en-US">Shanghai Xiaopeng Motors Technology Co., Ltd. [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xml:lang="en-US">Shanghai Xiaopeng Motors Technology Co., Ltd.("Shanghai Xiaopeng") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xlink:to="lab_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" xml:lang="en-US">Shanghai xiaopeng motors technology Co., Ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Smart Charging Technology Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Smart Charging Technology Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" xml:lang="en-US">Guangzhou xiaopeng smart charging technology co ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xlink:label="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xml:lang="en-US">Xiaopeng Motors Huazhong Wuhan Co LtdWuhan Xiaopeng [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xml:lang="en-US">Xiaopeng Motors Huazhong (Wuhan) Co., Ltd.("Wuhan Xiaopeng") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" xlink:to="lab_xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengHuitianHoldingLimitedMember" xlink:label="loc_xpev_XpengHuitianHoldingLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XpengHuitianHoldingLimitedMember" xml:lang="en-US">XPeng Huitian Holding Limited [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_XpengHuitianHoldingLimitedMember" xml:lang="en-US">XPeng Huitian Holding Limited [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XpengHuitianHoldingLimitedMember" xlink:to="lab_xpev_XpengHuitianHoldingLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XpengHuitianHoldingLimitedMember" xml:lang="en-US">XPeng huitian holding limited.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xlink:label="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xml:lang="en-US">Guangdong Intelligent Insurance Agent Co Ltd (GIIA, formerly known as Qingdao Miaobao Insurance Agent Co Ltd) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xml:lang="en-US">Guangdong Intelligent Insurance Agent Co., Ltd. ("GIIA", formerly known as Qingdao Miaobao Insurance Agent Co., Ltd.) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xlink:to="lab_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" xml:lang="en-US">Guangdong intelligent insurance agency co ltd (giia, formerly known as qingdao miaobao insurance agent co ltd).</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xlink:label="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xml:lang="en-US">Jiangsu Zhipeng Kongjian Information Technology Co Ltd (Zhipeng Kongjian, formerly known as Jiangsu Zhitu Technology Co Ltd a subsidiary of Xintu Technology) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xml:lang="en-US">Jiangsu Zhipeng Kongjian Information Technology Co., Ltd. ("Zhipeng Kongjian", formerly known as Jiangsu Zhitu Technology Co., Ltd., a subsidiary of Xintu Technology) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xlink:to="lab_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" xml:lang="en-US">Jiangsu zhipeng kongjian information technology co ltd (zhipeng kongjian, formerly known as jiangsu zhitu technology co ltd a subsidiary of xintu technology).</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xlink:label="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xml:lang="en-US">Xiaopeng Motors Sales Co., Ltd. (Xiaopeng Motors Sales) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xml:lang="en-US">Xiaopeng Motors Sales Co., Ltd. ("Xiaopeng Motors Sales") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xlink:to="lab_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" xml:lang="en-US">Xiaopeng motors sales co., ltd. ("xiaopeng motors sales") .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xlink:label="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xml:lang="en-US">Guangzhou Chengxingzhidong Motors Technology Co Ltd Chengxing [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xml:lang="en-US">Guangzhou Chengxingzhidong Motors Technology Co., Ltd. ("Chengxing") [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" xlink:to="lab_xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouZhipengManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouZhipengManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Zhipeng Manufacturing Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangzhouZhipengManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Zhipeng Manufacturing Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouZhipengManufacturingCoLtdMember" xlink:to="lab_xpev_GuangzhouZhipengManufacturingCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xlink:label="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xml:lang="en-US">Wuhan Xiaopeng Smart Manufacturing Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xml:lang="en-US">Wuhan Xiaopeng Smart Manufacturing Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WuhanXiaopengSmartManufacturingCoLtdMember" xlink:to="lab_xpev_WuhanXiaopengSmartManufacturingCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixIncMember" xlink:label="loc_xpev_DogotixIncMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DogotixIncMember" xml:lang="en-US">Dogotix Inc [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DogotixIncMember" xml:lang="en-US">Dogotix Inc. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DogotixIncMember" xlink:to="lab_xpev_DogotixIncMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xlink:label="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xml:lang="en-US">Shenzhen Xiaopeng Motors Supply Chain Management Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xml:lang="en-US">Shenzhen Xiaopeng Motors Supply Chain Management Co., Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" xlink:to="lab_xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" xlink:label="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" xml:lang="en-US">Guangzhou Pengxiao Technology Co Ltd Guangzhou Pengxiao Technology a subsidiary of Zhipeng IoV [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" xlink:to="lab_xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xlink:label="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xml:lang="en-US">Xiaopeng New Energy Motors Sales Guangzhou Co Ltd [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xml:lang="en-US">Xiaopeng New Energy Motors Sales (Guangzhou) Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" xlink:to="lab_xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengEuropeanHoldingBvMember" xlink:label="loc_xpev_XpengEuropeanHoldingBvMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XpengEuropeanHoldingBvMember" xml:lang="en-US">XPeng European Holding B.V. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XpengEuropeanHoldingBvMember" xlink:to="lab_xpev_XpengEuropeanHoldingBvMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_StatementGeographicalAxis" xml:lang="en-US">Geographical [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_StatementGeographicalAxis" xlink:to="lab_srt_StatementGeographicalAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_SegmentGeographicalDomain" xml:lang="en-US">Geographical [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SegmentGeographicalDomain" xlink:to="lab_srt_SegmentGeographicalDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN" xlink:label="loc_country_CN" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_CN" xml:lang="en-US">CHINA</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_CN" xml:lang="en-US">CHINA [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_CN" xlink:to="lab_country_CN" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK" xlink:label="loc_country_HK" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_HK" xml:lang="en-US">HONG KONG</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_HK" xml:lang="en-US">Hong Kong [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_HK" xlink:to="lab_country_HK" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_VG" xlink:label="loc_country_VG" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_VG" xml:lang="en-US">VIRGIN ISLANDS, BRITISH</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_VG" xml:lang="en-US">British Virgin Islands [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_VG" xlink:to="lab_country_VG" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NL" xlink:label="loc_country_NL" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_NL" xml:lang="en-US">NETHERLANDS</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_NL" xml:lang="en-US">Netherlands [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_NL" xlink:to="lab_country_NL" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentOwnershipPercentage" xml:lang="en-US">Equity Method Investment, Ownership Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityMethodInvestmentOwnershipPercentage" xml:lang="en-US">Equity interest&#160;held</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:to="lab_us-gaap_EquityMethodInvestmentOwnershipPercentage" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xlink:label="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xml:lang="en-US">Equity Method Investment, Description of Principal Activities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xml:lang="en-US">Principal&#160;activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" xlink:to="lab_us-gaap_EquityMethodInvestmentDescriptionOfPrincipalActivities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xlink:label="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xml:lang="en-US">Variable Interest Entity, Qualitative or Quantitative Information, Date Involvement Began</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xml:lang="en-US">VIE -Date of incorporation or acquisition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" xlink:to="lab_us-gaap_VariableInterestEntityQualitativeOrQuantitativeInformationDateInvolvementBegan1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xlink:label="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xml:lang="en-US">Variable Interest Entity, Qualitative or Quantitative Information, Activities of VIE</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xml:lang="en-US">VIA -Principal activities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityVIEActivitiesOfVIE" xlink:to="lab_us-gaap_VariableInterestEntityVIEActivitiesOfVIE" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationDateOfIncorporation" xlink:label="loc_dei_EntityIncorporationDateOfIncorporation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_dei_EntityIncorporationDateOfIncorporation" xml:lang="en-US">Entity Incorporation, Date of Incorporation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_dei_EntityIncorporationDateOfIncorporation" xml:lang="en-US">Date&#160;of incorporation or&#160;acquisition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityIncorporationDateOfIncorporation" xlink:to="lab_dei_EntityIncorporationDateOfIncorporation" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VariableInterestEntityVieActivitiesMember" xlink:label="loc_xpev_VariableInterestEntityVieActivitiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VariableInterestEntityVieActivitiesMember" xml:lang="en-US">Variable Interest Entity VIE Activities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VariableInterestEntityVieActivitiesMember" xlink:to="lab_xpev_VariableInterestEntityVieActivitiesMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesTable" xlink:label="loc_xpev_AccountingPoliciesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccountingPoliciesTable" xml:lang="en-US">Accounting Policies [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccountingPoliciesTable" xlink:to="lab_xpev_AccountingPoliciesTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountingPoliciesLineItems" xlink:label="loc_xpev_AccountingPoliciesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccountingPoliciesLineItems" xml:lang="en-US">Accounting Policies [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccountingPoliciesLineItems" xlink:to="lab_xpev_AccountingPoliciesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProvisionForDoubtfulAccounts" xml:lang="en-US">Accounts Receivable, Credit Loss Expense (Reversal)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ProvisionForDoubtfulAccounts" xml:lang="en-US">Allowance for credit loss on accounts receivable charged to income statement</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProvisionForDoubtfulAccounts" xml:lang="en-US">Current period provision</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProvisionForDoubtfulAccounts" xlink:to="lab_us-gaap_ProvisionForDoubtfulAccounts" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xml:lang="en-US">Allowance for credit loss on accounts receivable current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xml:lang="en-US">Allowance for credit loss on accounts receivable non current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xml:lang="en-US">Gain (Loss) on Disposition of Property Plant Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xml:lang="en-US">Gain loss on the disposal of propery plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:to="lab_us-gaap_GainLossOnSaleOfPropertyPlantEquipment" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAmortizationPeriod" xlink:label="loc_xpev_LandUseRightsAmortizationPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsAmortizationPeriod" xml:lang="en-US">Land Use Rights Amortization Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightsAmortizationPeriod" xml:lang="en-US">Land use rights amortisation period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsAmortizationPeriod" xlink:to="lab_xpev_LandUseRightsAmortizationPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsAmortizationPeriod" xml:lang="en-US">Land use rights amortisation period.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductWarrantyTerm" xlink:label="loc_xpev_ProductWarrantyTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProductWarrantyTerm" xml:lang="en-US">Product Warranty Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ProductWarrantyTerm" xml:lang="en-US">Product warranty period</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProductWarrantyTerm" xlink:to="lab_xpev_ProductWarrantyTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProductWarrantyTerm" xml:lang="en-US">Product warranty period.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdvertisingExpense" xml:lang="en-US">Advertising Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AdvertisingExpense" xml:lang="en-US">Advertising costs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdvertisingExpense" xlink:to="lab_us-gaap_AdvertisingExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SellingAndMarketingExpense" xml:lang="en-US">Selling and Marketing Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SellingAndMarketingExpense" xml:lang="en-US">Selling and marketing expenses total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingAndMarketingExpense" xlink:to="lab_us-gaap_SellingAndMarketingExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DefinedContributionPlanCostRecognized" xml:lang="en-US">Defined Contribution Plan, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DefinedContributionPlanCostRecognized" xml:lang="en-US">Employer contribution to defined contribution plan</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DefinedContributionPlanCostRecognized" xlink:to="lab_us-gaap_DefinedContributionPlanCostRecognized" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xlink:label="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xml:lang="en-US">Percentage Of The After Tax Profits Allocatable To Statutory General Reserve Fund</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xml:lang="en-US">Percentage of the after tax profits allocatable to statutory general reserve fund</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xlink:to="lab_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" xml:lang="en-US">Percentage of the after tax profits allocatable to statutory general reserve fund.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xlink:label="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xml:lang="en-US">Statutory Reserves As a Percentage Of The Reserved Capital Of The Company</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xml:lang="en-US">Statutory reserves as a percentage of the reserved capital of the company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xlink:to="lab_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" xml:lang="en-US">Statutory reserves as a percentage of the reserved capital of the company.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DividendsPayableCurrentAndNoncurrent" xml:lang="en-US">Dividends Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DividendsPayableCurrentAndNoncurrent" xml:lang="en-US">Dividend declared</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DividendsPayableCurrentAndNoncurrent" xlink:to="lab_us-gaap_DividendsPayableCurrentAndNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GeneralAndAdministrativeExpense" xml:lang="en-US">General and Administrative Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense" xlink:to="lab_us-gaap_GeneralAndAdministrativeExpense" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositsCurrentAndNoncurrent" xlink:label="loc_xpev_LongTermDepositsCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermDepositsCurrentAndNoncurrent" xml:lang="en-US">Long Term Deposits Current And Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_LongTermDepositsCurrentAndNoncurrent" xml:lang="en-US">Long-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermDepositsCurrentAndNoncurrent" xlink:to="lab_xpev_LongTermDepositsCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermDepositsCurrentAndNoncurrent" xml:lang="en-US">Long term deposits current and non-current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xml:lang="en-US">Impairment of Intangible Assets, Indefinite-lived (Excluding Goodwill)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xml:lang="en-US">Impairment of indefinite-lived intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" xlink:to="lab_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherIncomeOtherSubsidies" xlink:label="loc_xpev_OtherIncomeOtherSubsidies" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherIncomeOtherSubsidies" xml:lang="en-US">Other Income Other Subsidies</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OtherIncomeOtherSubsidies" xml:lang="en-US">Other income other subsidies</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherIncomeOtherSubsidies" xlink:to="lab_xpev_OtherIncomeOtherSubsidies" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OtherIncomeOtherSubsidies" xml:lang="en-US">Other income other subsidies .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xlink:label="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xml:lang="en-US">Appropriations to General Reserve Fund and Statutory Surplus Fund</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xml:lang="en-US">Appropriations to general reserve fund and statutory surplus fund&#160;</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xlink:to="lab_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" xml:lang="en-US">Appropriations to general reserve fund and statutory surplus fund.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:label="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LessorSalesTypeLeaseTermOfContract1" xml:lang="en-US">Lessor, Sales-type Lease, Term of Contract</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LessorSalesTypeLeaseTermOfContract1" xml:lang="en-US">Lessor, sales-type lease, term of contract</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LessorSalesTypeLeaseTermOfContract1" xml:lang="en-US">Lessor, operating lease, term of contract</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LessorSalesTypeLeaseTermOfContract1" xlink:to="lab_us-gaap_LessorSalesTypeLeaseTermOfContract1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseLeaseReceivable" xlink:label="loc_us-gaap_SalesTypeLeaseLeaseReceivable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseLeaseReceivable" xml:lang="en-US">Sales-type Lease, Lease Receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseLeaseReceivable" xml:lang="en-US">Sales-type lease, lease receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseLeaseReceivable" xlink:to="lab_us-gaap_SalesTypeLeaseLeaseReceivable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditDerivativeTerm1" xlink:label="loc_us-gaap_CreditDerivativeTerm1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditDerivativeTerm1" xml:lang="en-US">Credit Derivative, Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CreditDerivativeTerm1" xml:lang="en-US">Credit derivative, term</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditDerivativeTerm1" xlink:to="lab_us-gaap_CreditDerivativeTerm1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccountsPayableCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccountsPayableCurrentAndNoncurrent" xml:lang="en-US">Accounts Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccountsPayableCurrentAndNoncurrent" xml:lang="en-US">Accounts payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableCurrentAndNoncurrent" xlink:to="lab_us-gaap_AccountsPayableCurrentAndNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentUsefulLife" xml:lang="en-US">Property, Plant and Equipment, Useful Life</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentUsefulLife" xml:lang="en-US">Property, Plant and Equipment, Useful Life</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentUsefulLife" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xml:lang="en-US">Proceeds from Issuance of Private Placement</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xml:lang="en-US">Maturity of restricted short-term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement" xlink:to="lab_us-gaap_ProceedsFromIssuanceOfPrivatePlacement" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturitiesOfRestrictedLongTermDeposits" xlink:label="loc_xpev_MaturitiesOfRestrictedLongTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_MaturitiesOfRestrictedLongTermDeposits" xml:lang="en-US">Maturities Of Restricted Long Term Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_MaturitiesOfRestrictedLongTermDeposits" xml:lang="en-US">Maturities of restricted Long term deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_MaturitiesOfRestrictedLongTermDeposits" xlink:to="lab_xpev_MaturitiesOfRestrictedLongTermDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_MaturitiesOfRestrictedLongTermDeposits" xml:lang="en-US">Maturities of restricted long term deposits</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenseMember" xlink:label="loc_us-gaap_OperatingExpenseMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingExpenseMember" xml:lang="en-US">Operating Expense [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingExpenseMember" xlink:to="lab_us-gaap_OperatingExpenseMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VehiclesMember" xlink:label="loc_us-gaap_VehiclesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VehiclesMember" xml:lang="en-US">Vehicles [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_VehiclesMember" xml:lang="en-US">Vehicles [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VehiclesMember" xlink:to="lab_us-gaap_VehiclesMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeAxis" xlink:label="loc_xpev_SchemeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SchemeAxis" xml:lang="en-US">Scheme [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SchemeAxis" xlink:to="lab_xpev_SchemeAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SchemeDomain" xlink:label="loc_xpev_SchemeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SchemeDomain" xml:lang="en-US">Scheme [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SchemeDomain" xlink:to="lab_xpev_SchemeDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeAxis" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CustomerUpgradeProgrammeSubschemeAxis" xml:lang="en-US">Customer Upgrade Programme Subscheme [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CustomerUpgradeProgrammeSubschemeAxis" xlink:to="lab_xpev_CustomerUpgradeProgrammeSubschemeAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerUpgradeProgrammeSubschemeDomain" xlink:label="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CustomerUpgradeProgrammeSubschemeDomain" xml:lang="en-US">Customer Upgrade Programme Subscheme [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CustomerUpgradeProgrammeSubschemeDomain" xlink:to="lab_xpev_CustomerUpgradeProgrammeSubschemeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_TitleOfIndividualAxis" xml:lang="en-US">Title of Individual [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_TitleOfIndividualAxis" xlink:to="lab_srt_TitleOfIndividualAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_TitleOfIndividualWithRelationshipToEntityDomain" xml:lang="en-US">Title of Individual [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:to="lab_srt_TitleOfIndividualWithRelationshipToEntityDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PlanNameAxis" xml:lang="en-US">Plan Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PlanNameAxis" xlink:to="lab_us-gaap_PlanNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PlanNameDomain" xml:lang="en-US">Plan Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PlanNameDomain" xlink:to="lab_us-gaap_PlanNameDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesAxis" xlink:label="loc_xpev_StatutoryReservesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReservesAxis" xml:lang="en-US">Statutory Reserves [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReservesAxis" xlink:to="lab_xpev_StatutoryReservesAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryReservesDomain" xlink:label="loc_xpev_StatutoryReservesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryReservesDomain" xml:lang="en-US">Statutory Reserves [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryReservesDomain" xlink:to="lab_xpev_StatutoryReservesDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GeneralReserveFundMember" xlink:label="loc_xpev_GeneralReserveFundMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GeneralReserveFundMember" xml:lang="en-US">General Reserve Fund [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GeneralReserveFundMember" xlink:to="lab_xpev_GeneralReserveFundMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RangeAxis" xml:lang="en-US">Statistical Measurement [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeAxis" xlink:to="lab_srt_RangeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RangeMember" xml:lang="en-US">Statistical Measurement [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeMember" xlink:to="lab_srt_RangeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_MinimumMember" xml:lang="en-US">Minimum [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_MinimumMember" xml:lang="en-US">Minimum [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MinimumMember" xlink:to="lab_srt_MinimumMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_MaximumMember" xml:lang="en-US">Maximum [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_MaximumMember" xml:lang="en-US">Maximum [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MaximumMember" xlink:to="lab_srt_MaximumMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xml:lang="en-US">Long-Lived Tangible Asset [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain" xml:lang="en-US">Long-Lived Tangible Asset [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" xml:lang="en-US">Restricted Cash and Cash Equivalents [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" xlink:to="lab_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xml:lang="en-US">Cash and Cash Equivalents [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:to="lab_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xlink:label="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xml:lang="en-US">Bank Deposits for Letter of Credit Bank Notes and a Forward Exchange Contract [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xml:lang="en-US">Bank Deposits for Letter of Credit Bank Notes and a Forward Exchange Contract [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xlink:to="lab_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" xml:lang="en-US">Bank Deposits for Letter of Credit, Bank Notes and a Forward Exchange Contract [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xlink:label="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xml:lang="en-US">Deposits Restriction Subject To Settlement Of Dispute [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xml:lang="en-US">Deposits Restriction Subject to Settlement of Dispute [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xlink:to="lab_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" xml:lang="en-US">Deposits restriction subject to settlement of dispute member</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xml:lang="en-US">Finite-Lived Intangible Assets by Major Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xml:lang="en-US">Finite-Lived Intangible Assets, Major Class Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xml:lang="en-US">Software and Software Development Costs [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xml:lang="en-US">Software [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:to="lab_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:label="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LicenseOfMaintenanceAndOverhaulsMember" xml:lang="en-US">License Of Maintenance And Overhauls [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LicenseOfMaintenanceAndOverhaulsMember" xlink:to="lab_xpev_LicenseOfMaintenanceAndOverhaulsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RoboticsPlatformTechnologyMember" xlink:label="loc_xpev_RoboticsPlatformTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RoboticsPlatformTechnologyMember" xml:lang="en-US">Robotics Platform Technology [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RoboticsPlatformTechnologyMember" xlink:to="lab_xpev_RoboticsPlatformTechnologyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RoboticsPlatformTechnologyMember" xml:lang="en-US">Robotics platform technology.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VPTMember" xlink:label="loc_xpev_VPTMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VPTMember" xml:lang="en-US">VPT [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_VPTMember" xml:lang="en-US">VPT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VPTMember" xlink:to="lab_xpev_VPTMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_VPTMember" xml:lang="en-US">Vpt.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherIntangibleAssetsMember" xml:lang="en-US">Others [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherIntangibleAssetsMember" xml:lang="en-US">Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherIntangibleAssetsMember" xlink:to="lab_us-gaap_OtherIntangibleAssetsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTMember" xlink:label="loc_xpev_VMTMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VMTMember" xml:lang="en-US">VMT [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VMTMember" xlink:to="lab_xpev_VMTMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_VMTMember" xml:lang="en-US">Vmt.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xml:lang="en-US">Indefinite-lived Intangible Assets [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:to="lab_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xml:lang="en-US">Indefinite-lived Intangible Assets, Major Class Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:to="lab_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfCashAndCashEquivalentsTable" xml:lang="en-US">Schedule of Cash and Cash Equivalents [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:to="lab_us-gaap_ScheduleOfCashAndCashEquivalentsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CashAndCashEquivalentsLineItems" xml:lang="en-US">Cash and Cash Equivalents [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems" xlink:to="lab_us-gaap_CashAndCashEquivalentsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CurrencyAxis" xlink:label="loc_srt_CurrencyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CurrencyAxis" xml:lang="en-US">Currency [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CurrencyAxis" xlink:to="lab_srt_CurrencyAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_currency_AllCurrenciesDomain" xml:lang="en-US">All Currencies [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_currency_AllCurrenciesDomain" xlink:to="lab_currency_AllCurrenciesDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_CNY" xlink:label="loc_currency_CNY" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_currency_CNY" xml:lang="en-US">China, Yuan Renminbi</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_currency_CNY" xml:lang="en-US">China, Yuan Renminbi [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_currency_CNY" xlink:to="lab_currency_CNY" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_USD" xlink:label="loc_currency_USD" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_currency_USD" xml:lang="en-US">United States of America, Dollars</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_currency_USD" xml:lang="en-US">United States of America, Dollars [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_currency_USD" xlink:to="lab_currency_USD" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OtherCurrencyMember" xlink:label="loc_srt_OtherCurrencyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_OtherCurrencyMember" xml:lang="en-US">Other Currency [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_OtherCurrencyMember" xlink:to="lab_srt_OtherCurrencyMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_EUR" xlink:label="loc_currency_EUR" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_currency_EUR" xml:lang="en-US">Euro Member Countries, Euro</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_currency_EUR" xml:lang="en-US">Euro Member Countries, Euro [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_currency_EUR" xlink:to="lab_currency_EUR" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xml:lang="en-US">Accounting Standards Update and Change in Accounting Principle [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="lab_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xml:lang="en-US">Accounting Standards Update [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:to="lab_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TypeOfAdoptionMember" xml:lang="en-US">Accounting Standards Update [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TypeOfAdoptionMember" xlink:to="lab_us-gaap_TypeOfAdoptionMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivable" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivable" xml:lang="en-US">Beginning balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivable" xml:lang="en-US">Ending balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss, Writeoff</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xml:lang="en-US">Write-offs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xml:lang="en-US">Accounts Receivable, Allowance for Credit Loss, Period Increase (Decrease)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xml:lang="en-US">Transfer out due to derecognition of financial assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xml:lang="en-US">Property, Plant and Equipment [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentLineItems" xml:lang="en-US">Property, Plant and Equipment [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentLineItems" xml:lang="en-US">Property, Plant and Equipment [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xlink:label="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xml:lang="en-US">Property Plant And Equipment Useful Life Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xml:lang="en-US">Property, Plant and Equipment, Useful Life Term</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xlink:to="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PropertyPlantAndEquipmentUsefulLifeTerm" xml:lang="en-US">Property plant and equipment useful life term.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MachineryAndEquipmentMember" xml:lang="en-US">Machinery and Equipment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_MachineryAndEquipmentMember" xml:lang="en-US">Machinery And Equipment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MachineryAndEquipmentMember" xlink:to="lab_us-gaap_MachineryAndEquipmentMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChargingInfrastructureMember" xlink:label="loc_xpev_ChargingInfrastructureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ChargingInfrastructureMember" xml:lang="en-US">Charging Infrastructure [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ChargingInfrastructureMember" xml:lang="en-US">Charging Infrastructure [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ChargingInfrastructureMember" xlink:to="lab_xpev_ChargingInfrastructureMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ChargingInfrastructureMember" xml:lang="en-US">Charging infrastructure.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComputerEquipmentMember" xml:lang="en-US">Computer Equipment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComputerEquipmentMember" xml:lang="en-US">Computer And Electronic Equipment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComputerEquipmentMember" xlink:to="lab_us-gaap_ComputerEquipmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherMachineryAndEquipmentMember" xlink:label="loc_us-gaap_OtherMachineryAndEquipmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherMachineryAndEquipmentMember" xml:lang="en-US">Other Machinery and Equipment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherMachineryAndEquipmentMember" xml:lang="en-US">Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherMachineryAndEquipmentMember" xlink:to="lab_us-gaap_OtherMachineryAndEquipmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BuildingMember" xml:lang="en-US">Building [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BuildingMember" xml:lang="en-US">Buildings [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BuildingMember" xlink:to="lab_us-gaap_BuildingMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseholdImprovementsMember" xml:lang="en-US">Leasehold Improvements [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LeaseholdImprovementsMember" xml:lang="en-US">Leasehold Improvements [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseholdImprovementsMember" xlink:to="lab_us-gaap_LeaseholdImprovementsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xml:lang="en-US">Schedule of Acquired Finite-Lived Intangible Asset by Major Class [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:to="lab_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xml:lang="en-US">Acquired Finite-Lived Intangible Assets [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:to="lab_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetUsefulLife" xml:lang="en-US">Finite-Lived Intangible Asset, Useful Life</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetUsefulLife" xml:lang="en-US">Estimated&#160;useful&#160;lives</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetUsefulLife" xml:lang="en-US">Finite lived intangible assets useful live</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetUsefulLife" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xml:lang="en-US">Schedule of Business Acquisitions, by Acquisition [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="lab_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationByTypeAxis" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContingentConsiderationByTypeAxis" xml:lang="en-US">Contingent Consideration by Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis" xlink:to="lab_us-gaap_ContingentConsiderationByTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContingentConsiderationTypeDomain" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ContingentConsiderationTypeDomain" xml:lang="en-US">Contingent Consideration Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain" xlink:to="lab_us-gaap_ContingentConsiderationTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SopMilestoneMember" xlink:label="loc_xpev_SopMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SopMilestoneMember" xml:lang="en-US">SOP Milestone [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SopMilestoneMember" xlink:to="lab_xpev_SopMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SopMilestoneMember" xml:lang="en-US">SOP milestone.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EarnOutPeriodMilestoneMember" xlink:label="loc_xpev_EarnOutPeriodMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EarnOutPeriodMilestoneMember" xml:lang="en-US">Earn Out Period Milestone [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_EarnOutPeriodMilestoneMember" xml:lang="en-US">Earn out period milestone [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EarnOutPeriodMilestoneMember" xlink:to="lab_xpev_EarnOutPeriodMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EarnOutPeriodMilestoneMember" xml:lang="en-US">Earn out period milestone.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionLineItems" xml:lang="en-US">Business Acquisition [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionLineItems" xml:lang="en-US">Business Combination [Line items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems" xlink:to="lab_us-gaap_BusinessAcquisitionLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xml:lang="en-US">Business Combination, Consideration Transferred, Equity Interests Issued and Issuable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xml:lang="en-US">Fair value of ordinary shares issued on the acquisition date (i)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" xlink:to="lab_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferred1" xml:lang="en-US">Business Combination, Consideration Transferred</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/disclosureGuidance" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferred1" xml:lang="en-US">Total Consideration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferred1" xml:lang="en-US">Business combination total consideration</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1" xlink:to="lab_us-gaap_BusinessCombinationConsiderationTransferred1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xml:lang="en-US">Fair Value Of Contingent Consideration In A Business Combination That Is Classified As Derivative Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xml:lang="en-US">Fair value of contingent consideration related to Earn-Out Period Milestone (iii)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xlink:to="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" xml:lang="en-US">Fair value of contingent consideration in a business combination that is classified as derivative liability.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xlink:label="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xml:lang="en-US">Fair Value Of Contingent Consideration In A Business Combination That Is Classified As Shareholders Equity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xml:lang="en-US">Fair value of contingent consideration related to SOP Milestone (ii)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xlink:to="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" xml:lang="en-US">Fair value of contingent consideration in a business combination that is classified as shareholder's equity.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaojuGroupMember" xlink:label="loc_xpev_XiaojuGroupMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaojuGroupMember" xml:lang="en-US">Xiaoju Group [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_XiaojuGroupMember" xml:lang="en-US">Xiaoju Group [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaojuGroupMember" xlink:to="lab_xpev_XiaojuGroupMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XiaojuGroupMember" xml:lang="en-US">Xiaoju group</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xml:lang="en-US">Business Acquisition, Equity Interest Issued or Issuable, Number of Shares</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xml:lang="en-US">Business combination equity interests issued or issuable shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" xlink:to="lab_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xlink:label="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xml:lang="en-US">Payment Towards Technical Support And Advisory Services</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xml:lang="en-US">Payment towards technical support and advisory services</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xlink:to="lab_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" xml:lang="en-US">Payment towards technical support and advisory services.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xlink:label="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xml:lang="en-US">Number Of Units To Be Delivered Based On Which Shares Will Be Issued Contengently</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xml:lang="en-US">Number of units to be delivered based on which shares will be issued contingently</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xlink:to="lab_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" xml:lang="en-US">Number of units to be delivered based on which shares will be issued contengently.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xml:lang="en-US">Business Combination Shares To Be Issued Contingently Minimum</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xml:lang="en-US">Business combination shares to be issued contingently minimum</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xlink:to="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" xml:lang="en-US">Business combination shares to be issued contingently maximum.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xml:lang="en-US">Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Value, Low</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xml:lang="en-US">Business combination contingent consideration arrangements range of outcomes value low</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationLiability" xml:lang="en-US">Business Combination, Contingent Consideration, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationLiability" xml:lang="en-US">Business combination contingent consideration liability</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationLiability" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xml:lang="en-US">Business Combination, Contingent Consideration Arrangements, Change in Range of Outcomes, Contingent Consideration, Liability, Value, Low</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xml:lang="en-US">Business combination contingent consideration arrangements, change in range of outcomes contingent consideration, liability, value, low</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueLow" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xlink:label="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xml:lang="en-US">Business Combination Shares To Be Issued Contingently Maximum</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xml:lang="en-US">Business combination shares to be issued contingently maximum</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xlink:to="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" xml:lang="en-US">Business combination shares to be issued contingently maximum.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xml:lang="en-US">Business Combination, Contingent Consideration Arrangements, Range of Outcomes, Value, High</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xml:lang="en-US">Business combination contingent consideration arrangements range of outcomes value high</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharePrice" xml:lang="en-US">Share Price</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharePrice" xml:lang="en-US">Share price</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharePrice" xlink:to="lab_us-gaap_SharePrice" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xml:lang="en-US">Business Combination, Contingent Consideration Arrangements, Change in Range of Outcomes, Contingent Consideration, Liability, Value, High</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xml:lang="en-US">Business combination contingent consideration arrangements, change in range of outcomes contingent consideration, liability, value, high</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" xlink:to="lab_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInTheRangeOfOutcomesContingentConsiderationLiabilityValueHigh" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StartOfProductionMilestoneMember" xlink:label="loc_xpev_StartOfProductionMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StartOfProductionMilestoneMember" xml:lang="en-US">Start Of Production Milestone [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StartOfProductionMilestoneMember" xml:lang="en-US">Start of production milestone [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StartOfProductionMilestoneMember" xlink:to="lab_xpev_StartOfProductionMilestoneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StartOfProductionMilestoneMember" xml:lang="en-US">Start of production milestone.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MilestoneProductionMetMember" xlink:label="loc_xpev_MilestoneProductionMetMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_MilestoneProductionMetMember" xml:lang="en-US">Milestone Production Met [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_MilestoneProductionMetMember" xml:lang="en-US">Milestone Production Met [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_MilestoneProductionMetMember" xlink:to="lab_xpev_MilestoneProductionMetMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xml:lang="en-US">Business Combination, Pro Forma Information, Revenue of Acquiree since Acquisition Date, Actual</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xml:lang="en-US">Business acquistion revenue of acquiree since acquistion date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:to="lab_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xml:lang="en-US">Business Combination, Pro Forma Information, Earnings or Loss of Acquiree since Acquisition Date, Actual</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xml:lang="en-US">Business acquistion earnings loss of acquiree since acquisition date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:to="lab_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xml:lang="en-US">Business Acquisition, Percentage of Voting Interests Acquired</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xml:lang="en-US">Business combination equity interests percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xml:lang="en-US">Business acquisition equity interest percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:to="lab_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VMTUDMember" xlink:label="loc_xpev_VMTUDMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VMTUDMember" xml:lang="en-US">VMTUD [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_VMTUDMember" xml:lang="en-US">VMTUD [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VMTUDMember" xlink:to="lab_xpev_VMTUDMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_VMTUDMember" xml:lang="en-US">Vmtud.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComputerSoftwareIntangibleAssetMember" xml:lang="en-US">Computer Software, Intangible Asset [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ComputerSoftwareIntangibleAssetMember" xml:lang="en-US">Software [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:to="lab_us-gaap_ComputerSoftwareIntangibleAssetMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xml:lang="en-US">Business combination intangible assets acquired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xlink:label="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xml:lang="en-US">Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Accruals and Other Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xml:lang="en-US">Accruals and other liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xlink:to="lab_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" xml:lang="en-US">Business combination recognized identifiable assets acquired and liabilities assumed current liabilities accruals and other liabilities.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xml:lang="en-US">Deferred tax liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_Goodwill" xml:lang="en-US">Goodwill</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_Goodwill" xml:lang="en-US">Goodwill</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Goodwill" xlink:to="lab_us-gaap_Goodwill" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xml:lang="en-US">Business combination cash and cash equivalents</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Prepaid Expense and Other Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xml:lang="en-US">Business combination prepayments and other current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xml:lang="en-US">Business combination property and equipment, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xml:lang="en-US">Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xml:lang="en-US">Business combination deferred tax assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xml:lang="en-US">Business combination other non-current assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xml:lang="en-US">Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xml:lang="en-US">Business combination accounts and notes payable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:to="lab_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionsProFormaRevenue" xml:lang="en-US">Business Acquisition, Pro Forma Revenue</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionsProFormaRevenue" xml:lang="en-US">Pro forma net revenues</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:to="lab_us-gaap_BusinessAcquisitionsProFormaRevenue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xml:lang="en-US">Business Acquisition, Pro Forma Net Income (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xml:lang="en-US">Pro forma net loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:to="lab_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:to="lab_us-gaap_FairValueByBalanceSheetGroupingTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xml:lang="en-US">Level&#160;I [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel1Member" xlink:to="lab_us-gaap_FairValueInputsLevel1Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xml:lang="en-US">Level II [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel2Member" xlink:to="lab_us-gaap_FairValueInputsLevel2Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xml:lang="en-US">Level III [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel3Member" xlink:to="lab_us-gaap_FairValueInputsLevel3Member" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xml:lang="en-US">Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xml:lang="en-US">Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xml:lang="en-US">Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShortTermInvestmentsFairValueDisclosure" xlink:label="loc_xpev_ShortTermInvestmentsFairValueDisclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShortTermInvestmentsFairValueDisclosure" xml:lang="en-US">Short Term Investments Fair Value Disclosure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShortTermInvestmentsFairValueDisclosure" xml:lang="en-US">Short-term investments(i) (Note 2(k))</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShortTermInvestmentsFairValueDisclosure" xlink:to="lab_xpev_ShortTermInvestmentsFairValueDisclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShortTermInvestmentsFairValueDisclosure" xml:lang="en-US">ShortTermInvestmentsFairValueDisclosure</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentFairValue" xml:lang="en-US">Debt investments(ii) (Note 12)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentFairValue" xml:lang="en-US">Debt investments(ii) (Note 13)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentFairValue" xlink:to="lab_us-gaap_DebtInstrumentFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtFairValue" xml:lang="en-US">Long-term Debt, Fair Value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtFairValue" xlink:to="lab_us-gaap_LongTermDebtFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentsFairValueDisclosure" xml:lang="en-US">Equity Method Investments, Fair Value Disclosure</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EquityMethodInvestmentsFairValueDisclosure" xml:lang="en-US">Equity investments with readily determinable fair values(iii) (Note 13)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityMethodInvestmentsFairValueDisclosure" xml:lang="en-US">Equity Method Investments, Fair Value Disclosure</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentsFairValueDisclosure" xlink:to="lab_us-gaap_EquityMethodInvestmentsFairValueDisclosure" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xml:lang="en-US">Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xml:lang="en-US">Liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xlink:label="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xml:lang="en-US">Fair Value Portion Of Liability Contracts Related To Contingent Consideration Due To The Business Combination</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xml:lang="en-US">Derivative liability relating to the contingent consideration(iv) (Note 5)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xlink:to="lab_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" xml:lang="en-US">Fair value portion of liability contracts related to contingent consideration due to the business combination.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaap_InventoryRawMaterials" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryRawMaterials" xml:lang="en-US">Inventory, Raw Materials, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryRawMaterials" xml:lang="en-US">Raw materials</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryRawMaterials" xlink:to="lab_us-gaap_InventoryRawMaterials" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess" xlink:label="loc_us-gaap_InventoryWorkInProcess" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryWorkInProcess" xml:lang="en-US">Inventory, Work in Process, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryWorkInProcess" xml:lang="en-US">Work-in-process</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryWorkInProcess" xlink:to="lab_us-gaap_InventoryWorkInProcess" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods" xlink:label="loc_us-gaap_InventoryFinishedGoods" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryFinishedGoods" xml:lang="en-US">Inventory, Finished Goods, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryFinishedGoods" xml:lang="en-US">Finished goods</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryFinishedGoods" xlink:to="lab_us-gaap_InventoryFinishedGoods" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryCurrentTable" xml:lang="en-US">Inventory, Current [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryCurrentTable" xlink:to="lab_us-gaap_InventoryCurrentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryLineItems" xml:lang="en-US">Inventory [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryLineItems" xlink:to="lab_us-gaap_InventoryLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PublicUtilitiesInventoryAxis" xml:lang="en-US">Inventory [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis" xlink:to="lab_us-gaap_PublicUtilitiesInventoryAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PublicUtilitiesInventoryTypeDomain" xml:lang="en-US">Inventory [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:to="lab_us-gaap_PublicUtilitiesInventoryTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xlink:label="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xml:lang="en-US">Raw Materials [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xlink:to="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValueAddedTaxReceivableCurrent" xlink:label="loc_us-gaap_ValueAddedTaxReceivableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValueAddedTaxReceivableCurrent" xml:lang="en-US">Value Added Tax Receivable, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ValueAddedTaxReceivableCurrent" xml:lang="en-US">Deductible input value-added tax</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValueAddedTaxReceivableCurrent" xlink:to="lab_us-gaap_ValueAddedTaxReceivableCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Prepayments" xlink:label="loc_xpev_Prepayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Prepayments" xml:lang="en-US">Prepayments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Prepayments" xml:lang="en-US">Prepayments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Prepayments" xlink:to="lab_xpev_Prepayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Prepayments" xml:lang="en-US">Prepayments.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssetsCurrent" xml:lang="en-US">Other Assets, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAssetsCurrent" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsCurrent" xlink:to="lab_us-gaap_OtherAssetsCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidDeposits" xlink:label="loc_xpev_PrepaidDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PrepaidDeposits" xml:lang="en-US">Prepaid Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PrepaidDeposits" xml:lang="en-US">Deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PrepaidDeposits" xlink:to="lab_xpev_PrepaidDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PrepaidDeposits" xml:lang="en-US">Prepaid deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesLongTermContractsOrPrograms" xlink:label="loc_us-gaap_ReceivablesLongTermContractsOrPrograms" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReceivablesLongTermContractsOrPrograms" xml:lang="en-US">Receivables, Long-term Contracts or Programs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ReceivablesLongTermContractsOrPrograms" xml:lang="en-US">Receivables from third party online payment service providers</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReceivablesLongTermContractsOrPrograms" xlink:to="lab_us-gaap_ReceivablesLongTermContractsOrPrograms" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Net Investment in Lease, after Allowance for Credit Loss, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Finance lease receivables, current portion, net (Note 18)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:to="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConstructionInProgressMember" xml:lang="en-US">Construction in Progress [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ConstructionInProgressMember" xml:lang="en-US">Construction In Process [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ConstructionInProgressMember" xml:lang="en-US">Construction In Progress [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConstructionInProgressMember" xlink:to="lab_us-gaap_ConstructionInProgressMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ToolsDiesAndMoldsMember" xlink:label="loc_us-gaap_ToolsDiesAndMoldsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ToolsDiesAndMoldsMember" xml:lang="en-US">Tools, Dies and Molds [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ToolsDiesAndMoldsMember" xml:lang="en-US">Molds and toolings [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ToolsDiesAndMoldsMember" xlink:to="lab_us-gaap_ToolsDiesAndMoldsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GrossPropertyPlantAndEquipment" xlink:label="loc_xpev_GrossPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GrossPropertyPlantAndEquipment" xml:lang="en-US">Gross Property Plant And Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GrossPropertyPlantAndEquipment" xml:lang="en-US">Property, plant and equipment, gross</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GrossPropertyPlantAndEquipment" xlink:to="lab_xpev_GrossPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GrossPropertyPlantAndEquipment" xml:lang="en-US">Gross property plant and equipment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xml:lang="en-US">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xml:lang="en-US">Less: Accumulated depreciation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccumulatedImpairment" xlink:label="loc_xpev_AccumulatedImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccumulatedImpairment" xml:lang="en-US">Accumulated Impairment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccumulatedImpairment" xml:lang="en-US">Less: Impairment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccumulatedImpairment" xlink:to="lab_xpev_AccumulatedImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccumulatedImpairment" xml:lang="en-US">Accumulated Impairment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentMember" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentMember" xml:lang="en-US">Property, Plant and Equipment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentMember" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedCapitalizedInterestCosts" xlink:label="loc_us-gaap_AccumulatedCapitalizedInterestCosts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccumulatedCapitalizedInterestCosts" xml:lang="en-US">Accumulated Capitalized Interest Costs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccumulatedCapitalizedInterestCosts" xml:lang="en-US">Interest expenses capitalized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedCapitalizedInterestCosts" xlink:to="lab_us-gaap_AccumulatedCapitalizedInterestCosts" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiability" xml:lang="en-US">Finance Lease, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiability" xml:lang="en-US">Finance Lease, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_FinanceLeaseLiability" xml:lang="en-US">Total finance lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiability" xml:lang="en-US">Present value of lease obligations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiability" xlink:to="lab_us-gaap_FinanceLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xlink:label="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xml:lang="en-US">Accelarated Depreciation On Property Plant And Equipment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xml:lang="en-US">Accelarated depreciation on property plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xlink:to="lab_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" xml:lang="en-US">Accelarated depreciation on property plant and equipment.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xml:lang="en-US">Schedule Of Finite Lived And Indefinite Lived Intangible Assets Excluding Goodwill [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" xlink:to="lab_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:label="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xml:lang="en-US">Schedule Of Finite Lived And Indefinite Lived Intangible Assets Excluding Goodwill [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" xlink:to="lab_xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsGross" xml:lang="en-US">Finite-Lived Intangible Assets, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsGross" xml:lang="en-US">Gross Carrying Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsGross" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsGross" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xml:lang="en-US">Finite-Lived Intangible Assets, Accumulated Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xml:lang="en-US">Accumulated amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xml:lang="en-US">Indefinite-lived Intangible Assets (Excluding Goodwill)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xml:lang="en-US">Indefinite-lived intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:to="lab_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IntangibleAssetsGrossExcludingGoodwill" xml:lang="en-US">Intangible Assets, Gross (Excluding Goodwill)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IntangibleAssetsGrossExcludingGoodwill" xml:lang="en-US">Total intangible assets Gross Carrying Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill" xlink:to="lab_us-gaap_IntangibleAssetsGrossExcludingGoodwill" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xlink:label="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xml:lang="en-US">Intangible Assets Finite And Infinite Lived Accumulated Amortisation And Impairment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xml:lang="en-US">Total intangible assets - Accumulated amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xlink:to="lab_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" xml:lang="en-US">Intangible Assets Finite And Infinite Lived Accumulated Amortisation And Impairment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsNet" xml:lang="en-US">Finite-Lived Intangible Assets, Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsNet" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsNet" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ImpairmentOfIntangibleAssetFinitelived" xlink:label="loc_xpev_ImpairmentOfIntangibleAssetFinitelived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ImpairmentOfIntangibleAssetFinitelived" xml:lang="en-US">Impairment of Intangible Asset Finitelived</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ImpairmentOfIntangibleAssetFinitelived" xml:lang="en-US">Total intangible assets - Impairment Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ImpairmentOfIntangibleAssetFinitelived" xlink:to="lab_xpev_ImpairmentOfIntangibleAssetFinitelived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ImpairmentOfIntangibleAssetFinitelived" xml:lang="en-US">Impairment Of Intangible Asset Finitelived.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FiniteLivedIntangibleAssetsImpairment" xlink:label="loc_xpev_FiniteLivedIntangibleAssetsImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FiniteLivedIntangibleAssetsImpairment" xml:lang="en-US">Finite Lived Intangible Assets, Impairment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_FiniteLivedIntangibleAssetsImpairment" xml:lang="en-US">Impairment Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FiniteLivedIntangibleAssetsImpairment" xlink:to="lab_xpev_FiniteLivedIntangibleAssetsImpairment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FiniteLivedIntangibleAssetsImpairment" xml:lang="en-US">Finite-Lived Intangible Assets, Impairment.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ManufacturingLicenseMember" xlink:label="loc_xpev_ManufacturingLicenseMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ManufacturingLicenseMember" xml:lang="en-US">Manufacturing License [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ManufacturingLicenseMember" xlink:to="lab_xpev_ManufacturingLicenseMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xlink:label="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xml:lang="en-US">Unclassified Indefinite-Lived Intangible Assets [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xml:lang="en-US">Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" xlink:to="lab_us-gaap_UnclassifiedIndefinitelivedIntangibleAssetsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xml:lang="en-US">Within 1 year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xml:lang="en-US">Between 1 and 2 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xml:lang="en-US">Between 2 and 3 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xml:lang="en-US">Between 3 and 4 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xml:lang="en-US">Between 4 and 5 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xml:lang="en-US">Finite-Lived Intangible Asset, Expected Amortization, after Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementAxis" xlink:label="loc_xpev_AgreementAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AgreementAxis" xml:lang="en-US">Agreement [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AgreementAxis" xlink:to="lab_xpev_AgreementAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AgreementDomain" xlink:label="loc_xpev_AgreementDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AgreementDomain" xml:lang="en-US">Agreement [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AgreementDomain" xlink:to="lab_xpev_AgreementDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" xml:lang="en-US">Business Combination Intangible Assets Acquistion [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" xlink:to="lab_xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xlink:label="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xml:lang="en-US">Business Combination Intangible Assets Acquistion [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" xlink:to="lab_xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalAxis" xlink:label="loc_xpev_BusinessAcquistionDisposalAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessAcquistionDisposalAxis" xml:lang="en-US">Business Acquistion Disposal [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessAcquistionDisposalAxis" xlink:to="lab_xpev_BusinessAcquistionDisposalAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BusinessAcquistionDisposalDomain" xlink:label="loc_xpev_BusinessAcquistionDisposalDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BusinessAcquistionDisposalDomain" xml:lang="en-US">Business Acquistion Disposal [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BusinessAcquistionDisposalDomain" xlink:to="lab_xpev_BusinessAcquistionDisposalDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xml:lang="en-US">Impairment of Intangible Assets, Finite-Lived</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xml:lang="en-US">Impairment of finite lived intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:to="lab_us-gaap_ImpairmentOfIntangibleAssetsFinitelived" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xml:lang="en-US">Business Combination, Step Acquisition, Equity Interest in Acquiree, Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xml:lang="en-US">Business combination step acquistion equity interest in acquiree fair value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" xlink:to="lab_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xml:lang="en-US">Business Combination, Consideration Transferred, Including Equity Interest in Acquiree Held Prior to Combination</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xml:lang="en-US">Business combination consideration transferred including equity interest in acquiree held prior to combination</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:to="lab_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinitelivedIntangibleAssetsAcquired1" xml:lang="en-US">Finite-Lived Intangible Assets Acquired</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinitelivedIntangibleAssetsAcquired1" xml:lang="en-US">Finite lived intangible assets acquired</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1" xlink:to="lab_us-gaap_FinitelivedIntangibleAssetsAcquired1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" xml:lang="en-US">Impairment, Intangible Asset, Finite-Lived, Statement of Income or Comprehensive Income [Extensible Enumeration]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" xlink:to="lab_us-gaap_ImpairmentOfIntangibleAssetFiniteLivedStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DogotixMember" xlink:label="loc_xpev_DogotixMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DogotixMember" xml:lang="en-US">Dogotix [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_DogotixMember" xml:lang="en-US">Dogotix [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DogotixMember" xlink:to="lab_xpev_DogotixMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DogotixMember" xml:lang="en-US">Dogotix.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTable" xml:lang="en-US">Schedule Of Land Use Rights Finite Lived [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedTable" xlink:to="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedTable" xml:lang="en-US">Schedule of land use rights finite lived.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LandMember" xml:lang="en-US">Land [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LandMember" xml:lang="en-US">Use Rights [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LandMember" xml:lang="en-US">Land [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_LandMember" xml:lang="en-US">Land use rights, net [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LandMember" xlink:to="lab_us-gaap_LandMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:label="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xml:lang="en-US">Schedule Of Land Use Rights Finite Lived [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xml:lang="en-US">Schedule Of Land Use Rights Finite Lived [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xlink:to="lab_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" xml:lang="en-US">Schedule of land use rights finite lived.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsGross" xlink:label="loc_xpev_LandUseRightsGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsGross" xml:lang="en-US">Land Use Rights Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightsGross" xml:lang="en-US">Land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsGross" xlink:to="lab_xpev_LandUseRightsGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsGross" xml:lang="en-US">Land use rights gross.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsAccumulatedAmortization" xlink:label="loc_xpev_LandUseRightsAccumulatedAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsAccumulatedAmortization" xml:lang="en-US">Land Use Rights Accumulated Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_LandUseRightsAccumulatedAmortization" xml:lang="en-US">Less: Accumulated amortization</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsAccumulatedAmortization" xlink:to="lab_xpev_LandUseRightsAccumulatedAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsAccumulatedAmortization" xml:lang="en-US">Land use rights accumulated amortization.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightsNet" xlink:label="loc_xpev_LandUseRightsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightsNet" xml:lang="en-US">Land Use Rights Net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_xpev_LandUseRightsNet" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightsNet" xlink:to="lab_xpev_LandUseRightsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightsNet" xml:lang="en-US">Land use rights net.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xlink:label="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xml:lang="en-US">Construction of Manufacturing Facilities and Buildings Supporting Groups Vehicle Production [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xlink:to="lab_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" xml:lang="en-US">Construction of manufacturing facilities and buildings supporting groups vehicle production.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AmortizationOfLandUseRights" xlink:label="loc_xpev_AmortizationOfLandUseRights" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AmortizationOfLandUseRights" xml:lang="en-US">Amortization of Land Use Rights</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AmortizationOfLandUseRights" xml:lang="en-US">Amortization of land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AmortizationOfLandUseRights" xlink:to="lab_xpev_AmortizationOfLandUseRights" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AmortizationOfLandUseRights" xml:lang="en-US">Amortization of land use rights.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaymentForAcquisitionOfLandUseRights" xlink:label="loc_xpev_PrepaymentForAcquisitionOfLandUseRights" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PrepaymentForAcquisitionOfLandUseRights" xml:lang="en-US">Prepayment For Acquisition Of Land Use Rights</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PrepaymentForAcquisitionOfLandUseRights" xml:lang="en-US">Prepayment for acquisition of land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PrepaymentForAcquisitionOfLandUseRights" xlink:to="lab_xpev_PrepaymentForAcquisitionOfLandUseRights" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PrepaymentForAcquisitionOfLandUseRights" xml:lang="en-US">Prepayment for acquisition of land use rights.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesTable" xlink:label="loc_xpev_InstallmentPaymentReceivablesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesTable" xml:lang="en-US">Installment Payment Receivables [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesTable" xlink:to="lab_xpev_InstallmentPaymentReceivablesTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BalanceSheetLocationAxis" xml:lang="en-US">Statement of Financial Position Location, Balance [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BalanceSheetLocationAxis" xlink:to="lab_us-gaap_BalanceSheetLocationAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BalanceSheetLocationDomain" xml:lang="en-US">Statement of Financial Position Location, Balance [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BalanceSheetLocationDomain" xlink:to="lab_us-gaap_BalanceSheetLocationDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_VehiclesAndBatteriesMember" xlink:label="loc_xpev_VehiclesAndBatteriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_VehiclesAndBatteriesMember" xml:lang="en-US">Vehicles and Batteries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_VehiclesAndBatteriesMember" xlink:to="lab_xpev_VehiclesAndBatteriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_VehiclesAndBatteriesMember" xml:lang="en-US">Vehicles and Batteries.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesLineItems" xlink:label="loc_xpev_InstallmentPaymentReceivablesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesLineItems" xml:lang="en-US">Installment Payment Receivables [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesLineItems" xlink:to="lab_xpev_InstallmentPaymentReceivablesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xml:lang="en-US">Sales-Type Lease, Net Investment in Lease, before Allowance for Credit Loss, Alternative [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" xlink:to="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseBeforeAllowanceForCreditLossAlternativeAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Installment Payment Receivables With Significant Financing Component After Allowance For Credit Loss Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Current portion of installment payment receivables, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Current portion of installment payment receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xlink:to="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Installment payment receivables with significant financing component after allowance for credit loss current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Installment Payment Receivables With Significant Financing Component After Allowance For Credit Loss Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Non-current portion of installment payment receivables, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Non-current portion of installment payment receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xlink:to="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Installment payment receivables with significant financing component after allowance for credit loss noncurrent.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xml:lang="en-US">Installment Payment Receivables With Significant Financing Component After Allowance For Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xml:lang="en-US">Total</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xlink:to="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" xml:lang="en-US">Installment payment receivables with significant financing component after allowance for credit loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xml:lang="en-US">Installment Payment Receivables With Significant Financing Component Allowance For Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xml:lang="en-US">Allowance for doubtful accounts</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xlink:to="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" xml:lang="en-US">Installment payment receivables with significant financing component allowance for credit loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeMember" xml:lang="en-US">Interest Income [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeMember" xlink:to="lab_us-gaap_InterestIncomeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeInterestEarningAsset" xlink:label="loc_us-gaap_InterestIncomeInterestEarningAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestIncomeInterestEarningAsset" xml:lang="en-US">Interest Income, Interest-Earning Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InterestIncomeInterestEarningAsset" xml:lang="en-US">Interest income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeInterestEarningAsset" xlink:to="lab_us-gaap_InterestIncomeInterestEarningAsset" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConcentrationRiskByBenchmarkAxis" xml:lang="en-US">Concentration Risk Benchmark [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:to="lab_us-gaap_ConcentrationRiskByBenchmarkAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ConcentrationRiskBenchmarkDomain" xml:lang="en-US">Concentration Risk Benchmark [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:to="lab_us-gaap_ConcentrationRiskBenchmarkDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_UnrealizedFinanceIncome" xlink:label="loc_xpev_UnrealizedFinanceIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_UnrealizedFinanceIncome" xml:lang="en-US">Unrealized Finance Income</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_UnrealizedFinanceIncome" xml:lang="en-US">Less: Unrealized finance income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_UnrealizedFinanceIncome" xlink:to="lab_xpev_UnrealizedFinanceIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_UnrealizedFinanceIncome" xml:lang="en-US">Unrealized finance income</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xml:lang="en-US">Installment Payment Receivables To Be Received Next Twelve Months</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xml:lang="en-US">Within 1 year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" xml:lang="en-US">Installment payment receivables to be received next twelve months.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xml:lang="en-US">Installment Payment Receivables To Be Received Two Years</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xml:lang="en-US">Between 1 and 2 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" xml:lang="en-US">Installment payment receivables to be received two years.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xml:lang="en-US">Installment Payment Receivables To Be Received Three Years</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xml:lang="en-US">Between 2 and 3 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" xml:lang="en-US">Installment payment receivables to be received three years.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xml:lang="en-US">Installment Payment Receivables To Be Received Four Years</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xml:lang="en-US">Between 3 and 4 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" xml:lang="en-US">Installment payment receivables to be received four years.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xml:lang="en-US">Installment Payment Receivables To Be Received Five Years</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xml:lang="en-US">Between 4 and 5 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" xml:lang="en-US">Installment payment receivables to be received five years.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xlink:label="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xml:lang="en-US">Installment Payment Receivables To Be Received Thereafter</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xlink:to="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" xml:lang="en-US">Installment payment receivables to be received thereafter.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivables" xlink:label="loc_xpev_InstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivables" xml:lang="en-US">Installment Payment Receivables</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivables" xml:lang="en-US">Total receivables of installment payments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivables" xlink:to="lab_xpev_InstallmentPaymentReceivables" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivables" xml:lang="en-US">Present value of installment payments not yet received from customer and amount expected to be derived from the receivables.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesGross" xlink:label="loc_xpev_InstallmentPaymentReceivablesGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesGross" xml:lang="en-US">Installment Payment Receivables Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesGross" xml:lang="en-US">Installment payment receivables, gross</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesGross" xlink:to="lab_xpev_InstallmentPaymentReceivablesGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesGross" xml:lang="en-US">Installment payment receivables gross.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xml:lang="en-US">Installment Payment Receivables Allowance For Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xml:lang="en-US">Less: Allowance for installment payment receivables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xlink:to="lab_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" xml:lang="en-US">Amount of allowance for credit loss on installment payment receivables.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xlink:label="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xml:lang="en-US">Installment Payment Receivables After Allowance For Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xml:lang="en-US">Installment payment receivables - net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xlink:to="lab_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" xml:lang="en-US">Amount, after allowance for credit loss, of installment payment receivabels.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongterminvestmentsTable" xlink:label="loc_xpev_ScheduleOfLongterminvestmentsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLongterminvestmentsTable" xml:lang="en-US">Schedule of LongTermInvestments [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLongterminvestmentsTable" xlink:to="lab_xpev_ScheduleOfLongterminvestmentsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ScheduleOfLongterminvestmentsTable" xml:lang="en-US">Schedule of long-term&#160;investments.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentTypeAxis" xml:lang="en-US">Investment Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentTypeAxis" xlink:to="lab_us-gaap_InvestmentTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentTypeCategorizationMember" xml:lang="en-US">Investments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember" xlink:to="lab_us-gaap_InvestmentTypeCategorizationMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtSecuritiesMember" xml:lang="en-US">Debt Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesMember" xlink:to="lab_us-gaap_DebtSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesMember" xml:lang="en-US">Equity Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesMember" xlink:to="lab_us-gaap_EquitySecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xlink:label="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xml:lang="en-US">Equity Investments With Readily Determinable Fair Values [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xml:lang="en-US">Equity investments with readily determinable fair values [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xlink:to="lab_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" xml:lang="en-US">Equity investments with readily determinable fair values.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="loc_us-gaap_EquityMethodInvestmentsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentsMember" xml:lang="en-US">Equity Method Investments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityMethodInvestmentsMember" xml:lang="en-US">Equity method investments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentsMember" xlink:to="lab_us-gaap_EquityMethodInvestmentsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:label="loc_xpev_ScheduleOfLongTermInvestmentsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfLongTermInvestmentsLineItems" xml:lang="en-US">Schedule of Long Term Investments [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfLongTermInvestmentsLineItems" xlink:to="lab_xpev_ScheduleOfLongTermInvestmentsLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsadditions" xlink:label="loc_xpev_LongTermInvestmentsadditions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermInvestmentsadditions" xml:lang="en-US">Long Term Investments ,Additions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermInvestmentsadditions" xml:lang="en-US">Additons</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermInvestmentsadditions" xlink:to="lab_xpev_LongTermInvestmentsadditions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermInvestmentsadditions" xml:lang="en-US">Long term investments ,additions.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsforeignCurrencyTranslation" xlink:label="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermInvestmentsforeignCurrencyTranslation" xml:lang="en-US">Long Term Investments ,Foreign Currency Translation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermInvestmentsforeignCurrencyTranslation" xml:lang="en-US">Foreign currency translation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermInvestmentsforeignCurrencyTranslation" xlink:to="lab_xpev_LongTermInvestmentsforeignCurrencyTranslation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermInvestmentsforeignCurrencyTranslation" xml:lang="en-US">Long term investments ,foreign currency translation.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:label="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xml:lang="en-US">Long Term Investments Reclassification From Debt Investments To Equity Investments Without Readily Determinable Far Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xml:lang="en-US">Changes from debt investments to equity investments without readily determinable fair values</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xml:lang="en-US">Long term investments reclassification from debt investments to equity investments without readily determinable far value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xlink:to="lab_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" xml:lang="en-US">Long term investments reclassification from debt investments to equity investments without readily determinable far value.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xlink:label="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xml:lang="en-US">Transfer From Debt Securities Due To Business Acquistion</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xml:lang="en-US">Transfer</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xlink:to="lab_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" xml:lang="en-US">Transfer from debt securities due to business acquistion.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xlink:label="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xml:lang="en-US">Long Term Investments Maturities of Retained Asset Backed Notes and Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xml:lang="en-US">Maturities of retained asset-backed notes and securities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xlink:to="lab_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" xml:lang="en-US">Long Term Investments Maturities of Retained Asset Backed Notes and Securities</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HuitianMember" xlink:label="loc_xpev_HuitianMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HuitianMember" xml:lang="en-US">Huitian [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HuitianMember" xlink:to="lab_xpev_HuitianMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HuitianMember" xml:lang="en-US">Huitian.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PreferredStockMember" xml:lang="en-US">Preferred Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockMember" xlink:to="lab_us-gaap_PreferredStockMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentAxis" xml:lang="en-US">Debt Instrument [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentAxis" xlink:to="lab_us-gaap_DebtInstrumentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentNameDomain" xml:lang="en-US">Debt Instrument, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="lab_us-gaap_DebtInstrumentNameDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ConvertibleBondMember" xlink:label="loc_xpev_ConvertibleBondMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ConvertibleBondMember" xml:lang="en-US">Convertible Bond [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ConvertibleBondMember" xlink:to="lab_xpev_ConvertibleBondMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ConvertibleBondMember" xml:lang="en-US">Convertible bond.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments" xlink:label="loc_us-gaap_EquityMethodInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestments" xml:lang="en-US">Equity Method Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_EquityMethodInvestments" xml:lang="en-US">Equity Method Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquityMethodInvestments" xml:lang="en-US">Investments in subsidiaries and VIEs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestments" xlink:to="lab_us-gaap_EquityMethodInvestments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments" xlink:label="loc_us-gaap_OtherInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherInvestments" xml:lang="en-US">Other Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherInvestments" xml:lang="en-US">Other equity investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherInvestments" xlink:to="lab_us-gaap_OtherInvestments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireMinorityEquityInterest" xlink:label="loc_xpev_PaymentToAcquireMinorityEquityInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentToAcquireMinorityEquityInterest" xml:lang="en-US">Payment To Acquire Minority Equity Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PaymentToAcquireMinorityEquityInterest" xml:lang="en-US">Payment to acquire minority equity interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentToAcquireMinorityEquityInterest" xlink:to="lab_xpev_PaymentToAcquireMinorityEquityInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentToAcquireMinorityEquityInterest" xml:lang="en-US">Payment to acquire minority equity interest.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubscriptionOfEquityInvestment" xlink:label="loc_xpev_SubscriptionOfEquityInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SubscriptionOfEquityInvestment" xml:lang="en-US">Subscription of Equity Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_SubscriptionOfEquityInvestment" xml:lang="en-US">Subscription of equity investment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SubscriptionOfEquityInvestment" xlink:to="lab_xpev_SubscriptionOfEquityInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SubscriptionOfEquityInvestment" xml:lang="en-US">Subscription of equity investment.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xml:lang="en-US">Percentage of financial interests hold by limited partner</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xml:lang="en-US">Percentage of financial interests hold by limited partner</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xlink:to="lab_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" xml:lang="en-US">Percentage of financial interests hold by limited partner.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterests" xlink:label="loc_xpev_PercentageOfFinancialInterests" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfFinancialInterests" xml:lang="en-US">Percentage Of Financial Interests</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfFinancialInterests" xml:lang="en-US">Percentage of financial interests</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfFinancialInterests" xlink:to="lab_xpev_PercentageOfFinancialInterests" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfFinancialInterests" xml:lang="en-US">Percentage of financial interests.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xlink:label="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xml:lang="en-US">Percentage Of Financial Interests Hold By Other Third Party Investors</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xml:lang="en-US">Percentage of financial interests hold by other third party investors</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xlink:to="lab_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" xml:lang="en-US">Percentage of financial interests hold by other third party investors.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xlink:label="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xml:lang="en-US">Payment To Acquire Equity Securities Without A Readily Determinable Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xml:lang="en-US">Payment to acquire equity securities without a readily determinable fair value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xlink:to="lab_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" xml:lang="en-US">Payment to acquire equity securities without a readily determinable fair value.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xml:lang="en-US">Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Cumulative Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xml:lang="en-US">Equity securities without readily determinable fair value cumulative amount upward adjustment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" xlink:to="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xml:lang="en-US">Equity Securities without Readily Determinable Fair Value, Downward Price Adjustment, Cumulative Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xml:lang="en-US">Equity securities without readily determinable fair value cumulative amount downward adjustment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" xlink:to="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentCumulativeAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xml:lang="en-US">Equity Securities without Readily Determinable Fair Value, Downward Price Adjustment, Annual Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xml:lang="en-US">Equity securities without readily determinable fair value downward adjustment annual amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" xlink:to="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xml:lang="en-US">Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Annual Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xml:lang="en-US">Equity securities without readily determinable fair value upward price adjustment annual amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" xlink:to="lab_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIssuedPrincipal" xlink:label="loc_us-gaap_DebtInstrumentIssuedPrincipal" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentIssuedPrincipal" xml:lang="en-US">Debt Instrument, Issued, Principal</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentIssuedPrincipal" xlink:to="lab_us-gaap_DebtInstrumentIssuedPrincipal" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentIncreaseAccruedInterest" xlink:label="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentIncreaseAccruedInterest" xml:lang="en-US">Debt Instrument, Increase, Accrued Interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentIncreaseAccruedInterest" xlink:to="lab_us-gaap_DebtInstrumentIncreaseAccruedInterest" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" xml:lang="en-US">Proceeds from Sale of Equity Securities, FV-NI</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" xlink:to="lab_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiRealizedGainLoss" xlink:label="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquitySecuritiesFvNiRealizedGainLoss" xml:lang="en-US">Equity Securities, FV-NI, Realized Gain (Loss)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquitySecuritiesFvNiRealizedGainLoss" xlink:to="lab_us-gaap_EquitySecuritiesFvNiRealizedGainLoss" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentFaceAmount" xml:lang="en-US">Debt Instrument, Face Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentFaceAmount" xml:lang="en-US">Notes and Securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtInstrumentFaceAmount" xml:lang="en-US">Debt Instrument, Face Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentFaceAmount" xlink:to="lab_us-gaap_DebtInstrumentFaceAmount" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SemiconductorsMember" xlink:label="loc_xpev_SemiconductorsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SemiconductorsMember" xml:lang="en-US">Semiconductors [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SemiconductorsMember" xlink:to="lab_xpev_SemiconductorsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SemiconductorsMember" xml:lang="en-US">Semiconductors.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_BatteriesMember" xlink:label="loc_xpev_BatteriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_BatteriesMember" xml:lang="en-US">Batteries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_BatteriesMember" xlink:to="lab_xpev_BatteriesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_BatteriesMember" xml:lang="en-US">Batteries.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xml:lang="en-US">Financial Instrument [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentAxis" xlink:to="lab_us-gaap_FinancialInstrumentAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xml:lang="en-US">Financial Instruments [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferredEquityMember" xlink:label="loc_xpev_PreferredEquityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PreferredEquityMember" xml:lang="en-US">Preferred Equity [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PreferredEquityMember" xml:lang="en-US">Preferred Equity [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PreferredEquityMember" xlink:to="lab_xpev_PreferredEquityMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PreferredEquityMember" xml:lang="en-US">Preferred equity.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AssetBackedSecuritiesMember" xml:lang="en-US">Asset-Backed Securities [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetBackedSecuritiesMember" xlink:to="lab_us-gaap_AssetBackedSecuritiesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsAssetsNoncurrent" xlink:label="loc_us-gaap_DepositsAssetsNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DepositsAssetsNoncurrent" xml:lang="en-US">Deposits Assets, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DepositsAssetsNoncurrent" xml:lang="en-US">Deposits</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DepositsAssetsNoncurrent" xlink:to="lab_us-gaap_DepositsAssetsNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xlink:label="loc_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xml:lang="en-US">Advances On Fixed Asset Purchases Non Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xml:lang="en-US">Prepayments for purchase of property and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xlink:to="lab_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AdvancesOnFixedAssetPurchasesNonCurrent" xml:lang="en-US">Advances on fixed asset purchases non current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent" xml:lang="en-US">Other Assets, Miscellaneous, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:to="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Net Investment in Lease, after Allowance for Credit Loss, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Finance lease receivables, non-current portion, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:to="lab_us-gaap_NetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xlink:label="loc_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xml:lang="en-US">Prepaid Advertising And Technical Support Services Non Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xml:lang="en-US">Non-current portion of prepayments for advertising and technical support services</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xlink:to="lab_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" xml:lang="en-US">Prepaid advertising and technical support services non current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xlink:label="loc_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xml:lang="en-US">Payable For Purchase Of Property Plant And Equipment Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xml:lang="en-US">Payables for purchase of property, plant and equipment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xlink:to="lab_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" xml:lang="en-US">Payable for purchase of property plant and equipment current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ResearchAndDevelopmentExpensesPayableCurrent" xlink:label="loc_xpev_ResearchAndDevelopmentExpensesPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ResearchAndDevelopmentExpensesPayableCurrent" xml:lang="en-US">Research And Development Expenses Payable Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ResearchAndDevelopmentExpensesPayableCurrent" xml:lang="en-US">Payables for R&amp;D expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ResearchAndDevelopmentExpensesPayableCurrent" xlink:to="lab_xpev_ResearchAndDevelopmentExpensesPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ResearchAndDevelopmentExpensesPayableCurrent" xml:lang="en-US">Research and development expenses payable current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EmployeeRelatedLiabilitiesCurrent" xml:lang="en-US">Employee-related Liabilities, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EmployeeRelatedLiabilitiesCurrent" xml:lang="en-US">Employee compensation payables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:to="lab_us-gaap_EmployeeRelatedLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedExpensesOnCurrent" xlink:label="loc_xpev_AccruedExpensesOnCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccruedExpensesOnCurrent" xml:lang="en-US">Accrued Expenses On Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccruedExpensesOnCurrent" xml:lang="en-US">Accrued expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccruedExpensesOnCurrent" xlink:to="lab_xpev_AccruedExpensesOnCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccruedExpensesOnCurrent" xml:lang="en-US">Accrued expenses on current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedMarketingCostsCurrent" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AccruedMarketingCostsCurrent" xml:lang="en-US">Accrued Marketing Costs, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AccruedMarketingCostsCurrent" xml:lang="en-US">Payables for marketing events</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedMarketingCostsCurrent" xlink:to="lab_us-gaap_AccruedMarketingCostsCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerDeposits" xlink:label="loc_xpev_CustomerDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CustomerDeposits" xml:lang="en-US">Customer Deposits</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CustomerDeposits" xml:lang="en-US">Deposits from third parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CustomerDeposits" xlink:to="lab_xpev_CustomerDeposits" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CustomerDeposits" xml:lang="en-US">Customer Deposits.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CustomerAdvances" xlink:label="loc_xpev_CustomerAdvances" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CustomerAdvances" xml:lang="en-US">Customer Advances</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CustomerAdvances" xml:lang="en-US">Advance from customers</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CustomerAdvances" xlink:to="lab_xpev_CustomerAdvances" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CustomerAdvances" xml:lang="en-US">Customer Advances.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaap_InterestPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestPayableCurrent" xml:lang="en-US">Interest Payable, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestPayableCurrent" xml:lang="en-US">Interest payables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPayableCurrent" xlink:to="lab_us-gaap_InterestPayableCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProductWarrantyAccrualClassifiedCurrent" xml:lang="en-US">Product Warranty Accrual, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ProductWarrantyAccrualClassifiedCurrent" xml:lang="en-US">Warranty provisions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent" xlink:to="lab_us-gaap_ProductWarrantyAccrualClassifiedCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherAccruedLiabilitiesCurrent" xml:lang="en-US">Other Accrued Liabilities, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherAccruedLiabilitiesCurrent" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="lab_us-gaap_OtherAccruedLiabilitiesCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CustomerDepositsCurrent" xml:lang="en-US">Customer Deposits, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CustomerDepositsCurrent" xml:lang="en-US">Refundable deposit from customers</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CustomerDepositsCurrent" xlink:to="lab_us-gaap_CustomerDepositsCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesAndExciseTaxPayableCurrent" xlink:label="loc_us-gaap_SalesAndExciseTaxPayableCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesAndExciseTaxPayableCurrent" xml:lang="en-US">Sales and Excise Tax Payable, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_SalesAndExciseTaxPayableCurrent" xml:lang="en-US">Tax payables</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesAndExciseTaxPayableCurrent" xlink:to="lab_us-gaap_SalesAndExciseTaxPayableCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccruedLossOfPurchaseCommitments" xlink:label="loc_xpev_AccruedLossOfPurchaseCommitments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccruedLossOfPurchaseCommitments" xml:lang="en-US">Accrued Loss Of Purchase Commitments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccruedLossOfPurchaseCommitments" xml:lang="en-US">Accrued loss of purchase commitments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccruedLossOfPurchaseCommitments" xlink:to="lab_xpev_AccruedLossOfPurchaseCommitments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccruedLossOfPurchaseCommitments" xml:lang="en-US">Accrued loss of purchase commitments</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtFromAThirdPartyInvestorCurrent" xlink:label="loc_xpev_DebtFromAThirdPartyInvestorCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DebtFromAThirdPartyInvestorCurrent" xml:lang="en-US">Debt From A Third Party Investor Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DebtFromAThirdPartyInvestorCurrent" xml:lang="en-US">Debt from a third party investor(Note 17(i))</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DebtFromAThirdPartyInvestorCurrent" xlink:to="lab_xpev_DebtFromAThirdPartyInvestorCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DebtFromAThirdPartyInvestorCurrent" xml:lang="en-US">Debt from a third party investor current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" xml:lang="en-US">Accounts Payable And Accrued Liabilities Current [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" xlink:to="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipAxis" xlink:label="loc_xpev_LimitedLiabilityParntershipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LimitedLiabilityParntershipAxis" xml:lang="en-US">Limited Liability Parntership [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LimitedLiabilityParntershipAxis" xlink:to="lab_xpev_LimitedLiabilityParntershipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LimitedLiabilityParntershipAxis" xml:lang="en-US">Limited liability parntership.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityParntershipDomain" xlink:label="loc_xpev_LimitedLiabilityParntershipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LimitedLiabilityParntershipDomain" xml:lang="en-US">Limited Liability Parntership [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LimitedLiabilityParntershipDomain" xlink:to="lab_xpev_LimitedLiabilityParntershipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LimitedLiabilityParntershipDomain" xml:lang="en-US">Limited liability parntership.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis" xlink:label="loc_srt_OwnershipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_OwnershipAxis" xml:lang="en-US">Ownership [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_OwnershipAxis" xlink:to="lab_srt_OwnershipAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain" xlink:label="loc_srt_OwnershipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_OwnershipDomain" xml:lang="en-US">Ownership [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_OwnershipDomain" xlink:to="lab_srt_OwnershipDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xlink:label="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xml:lang="en-US">Accounts Payable And Accrued Liabilities Current [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xml:lang="en-US">Accounts Payable And Accrued Liabilities Current [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xlink:to="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" xml:lang="en-US">Accounts Payable And Accrued Liabilities Current [Line Items]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFirmPurchaseCommitmentLoss" xlink:label="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InventoryFirmPurchaseCommitmentLoss" xml:lang="en-US">Inventory, Firm Purchase Commitment, Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InventoryFirmPurchaseCommitmentLoss" xml:lang="en-US">Provision for Loss on Contracts</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryFirmPurchaseCommitmentLoss" xlink:to="lab_us-gaap_InventoryFirmPurchaseCommitmentLoss" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestAxis" xlink:label="loc_xpev_NonControllingInterestAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NonControllingInterestAxis" xml:lang="en-US">Non Controlling Interest [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NonControllingInterestAxis" xlink:to="lab_xpev_NonControllingInterestAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NonControllingInterestAxis" xml:lang="en-US">Non Controlling Interest [Axis]</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestDomain" xlink:label="loc_xpev_NonControllingInterestDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NonControllingInterestDomain" xml:lang="en-US">Non Controlling Interest [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NonControllingInterestDomain" xlink:to="lab_xpev_NonControllingInterestDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NonControllingInterestDomain" xml:lang="en-US">Non Controlling Interest [Domain]</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsAxis" xlink:label="loc_xpev_PurchaseProvisionTermsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PurchaseProvisionTermsAxis" xml:lang="en-US">Purchase Provision Terms [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PurchaseProvisionTermsAxis" xlink:to="lab_xpev_PurchaseProvisionTermsAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PurchaseProvisionTermsAxis" xml:lang="en-US">Purchase Provision Terms.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseProvisionTermsDomain" xlink:label="loc_xpev_PurchaseProvisionTermsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PurchaseProvisionTermsDomain" xml:lang="en-US">Purchase Provision Terms [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PurchaseProvisionTermsDomain" xlink:to="lab_xpev_PurchaseProvisionTermsDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PurchaseProvisionTermsDomain" xml:lang="en-US">Purchase provision terms.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrentAbstract" xlink:label="loc_us-gaap_DebtCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtCurrentAbstract" xml:lang="en-US">Debt, Current [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtCurrentAbstract" xml:lang="en-US">Short-term borrowings:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtCurrentAbstract" xlink:to="lab_us-gaap_DebtCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaap_ShortTermBankLoansAndNotesPayable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermBankLoansAndNotesPayable" xml:lang="en-US">Short-term Bank Loans and Notes Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermBankLoansAndNotesPayable" xml:lang="en-US">Bank loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShortTermBankLoansAndNotesPayable" xml:lang="en-US">Short term borrowings payable to banks</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermBankLoansAndNotesPayable" xlink:to="lab_us-gaap_ShortTermBankLoansAndNotesPayable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaap_DebtCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtCurrent" xml:lang="en-US">Debt, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DebtCurrent" xml:lang="en-US">Total current borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtCurrent" xlink:to="lab_us-gaap_DebtCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrentAbstract" xlink:label="loc_us-gaap_LongTermDebtCurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtCurrentAbstract" xml:lang="en-US">Long-Term Debt, Current Maturities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermDebtCurrentAbstract" xml:lang="en-US">Long-term borrowings, current portion:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtCurrentAbstract" xlink:to="lab_us-gaap_LongTermDebtCurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableToBankCurrent" xlink:label="loc_us-gaap_LoansPayableToBankCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LoansPayableToBankCurrent" xml:lang="en-US">Loans Payable to Bank, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LoansPayableToBankCurrent" xml:lang="en-US">Bank loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LoansPayableToBankCurrent" xml:lang="en-US">Current portion according to the repayment schedule</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansPayableToBankCurrent" xlink:to="lab_us-gaap_LoansPayableToBankCurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AssetbackedSecuritiesCurrent" xml:lang="en-US">Assetbacked securities current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AssetbackedSecuritiesCurrent" xml:lang="en-US">Asset-backed securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_xpev_AssetbackedSecuritiesCurrent" xml:lang="en-US">Asset-backed securities current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AssetbackedSecuritiesCurrent" xlink:to="lab_xpev_AssetbackedSecuritiesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AssetbackedSecuritiesCurrent" xml:lang="en-US">Asset-backed securities current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesCurrent" xlink:label="loc_xpev_AssetBackedNotesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AssetBackedNotesCurrent" xml:lang="en-US">Asset Backed Notes Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AssetBackedNotesCurrent" xml:lang="en-US">Asset-backed notes</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_AssetBackedNotesCurrent" xml:lang="en-US">Asset Backed Notes Current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AssetBackedNotesCurrent" xlink:to="lab_xpev_AssetBackedNotesCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AssetBackedNotesCurrent" xml:lang="en-US">Asset backed notes current.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrentAbstract" xlink:label="loc_us-gaap_LongTermDebtNoncurrentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtNoncurrentAbstract" xml:lang="en-US">Long-term Debt, Excluding Current Maturities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermDebtNoncurrentAbstract" xml:lang="en-US">Long-term borrowings:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtNoncurrentAbstract" xlink:to="lab_us-gaap_LongTermDebtNoncurrentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaap_LongTermLoansFromBank" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermLoansFromBank" xml:lang="en-US">Loans Payable to Bank, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermLoansFromBank" xml:lang="en-US">Bank loans</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_LongTermLoansFromBank" xml:lang="en-US">Long-term portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermLoansFromBank" xlink:to="lab_us-gaap_LongTermLoansFromBank" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtAndCapitalLeaseObligations" xml:lang="en-US">Debt and Lease Obligation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DebtAndCapitalLeaseObligations" xml:lang="en-US">Total borrowings</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations" xlink:to="lab_us-gaap_DebtAndCapitalLeaseObligations" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetbackedSecuritiesNonCurrent" xlink:label="loc_xpev_AssetbackedSecuritiesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AssetbackedSecuritiesNonCurrent" xml:lang="en-US">Assetbacked securities non current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AssetbackedSecuritiesNonCurrent" xml:lang="en-US">Asset-backed securities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_xpev_AssetbackedSecuritiesNonCurrent" xml:lang="en-US">Asset-backed securities non current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AssetbackedSecuritiesNonCurrent" xlink:to="lab_xpev_AssetbackedSecuritiesNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AssetbackedSecuritiesNonCurrent" xml:lang="en-US">Asset-backed securities non current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureTable" xlink:label="loc_xpev_DebtDisclosureTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DebtDisclosureTable" xml:lang="en-US">Debt Disclosure [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DebtDisclosureTable" xlink:to="lab_xpev_DebtDisclosureTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherShortTermLoansPayableToBanksMember" xlink:label="loc_xpev_OtherShortTermLoansPayableToBanksMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherShortTermLoansPayableToBanksMember" xml:lang="en-US">Other Short Term Loans Payable To Banks [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OtherShortTermLoansPayableToBanksMember" xml:lang="en-US">Other Short Term Loans Payable To Banks [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherShortTermLoansPayableToBanksMember" xlink:to="lab_xpev_OtherShortTermLoansPayableToBanksMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongtermDebtTypeAxis" xml:lang="en-US">Long-term Debt, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeAxis" xlink:to="lab_us-gaap_LongtermDebtTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongtermDebtTypeDomain" xml:lang="en-US">Long-term Debt, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeDomain" xlink:to="lab_us-gaap_LongtermDebtTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditFacilityAxis" xml:lang="en-US">Credit Facility [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditFacilityAxis" xlink:to="lab_us-gaap_CreditFacilityAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CreditFacilityDomain" xml:lang="en-US">Credit Facility [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditFacilityDomain" xlink:to="lab_us-gaap_CreditFacilityDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditMember" xml:lang="en-US">Line of Credit [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LineOfCreditMember" xml:lang="en-US">Line of Credit [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditMember" xlink:to="lab_us-gaap_LineOfCreditMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityAxis" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityAxis" xml:lang="en-US">Lender Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis" xlink:to="lab_us-gaap_LineOfCreditFacilityAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLenderDomain" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityLenderDomain" xml:lang="en-US">Line of Credit Facility, Lender [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain" xlink:to="lab_us-gaap_LineOfCreditFacilityLenderDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtDisclosureLineItems" xlink:label="loc_xpev_DebtDisclosureLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DebtDisclosureLineItems" xml:lang="en-US">Debt Disclosure [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DebtDisclosureLineItems" xlink:to="lab_xpev_DebtDisclosureLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xml:lang="en-US">Debt Instrument, Interest Rate, Effective Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xml:lang="en-US">Short term debt weighted average effective rate of interest at point of time</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xml:lang="en-US">Effective interest rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:to="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongtermBankLoansCollateralized" xlink:label="loc_xpev_LongtermBankLoansCollateralized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongtermBankLoansCollateralized" xml:lang="en-US">longterm bank loans collateralized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongtermBankLoansCollateralized" xml:lang="en-US">long-term bank loans collateralized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongtermBankLoansCollateralized" xlink:to="lab_xpev_LongtermBankLoansCollateralized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongtermBankLoansCollateralized" xml:lang="en-US">long-term bank loans collateralized.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesHeldAsCollateralAtFairValue" xlink:label="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SecuritiesHeldAsCollateralAtFairValue" xml:lang="en-US">Securities Held as Collateral, at Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SecuritiesHeldAsCollateralAtFairValue" xml:lang="en-US">Long-term deposit</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesHeldAsCollateralAtFairValue" xlink:to="lab_us-gaap_SecuritiesHeldAsCollateralAtFairValue" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AssetBackedNotesNoncurrent" xlink:label="loc_xpev_AssetBackedNotesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AssetBackedNotesNoncurrent" xml:lang="en-US">Asset Backed Notes Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_AssetBackedNotesNoncurrent" xml:lang="en-US">Asset Backed Notes Noncurrent</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AssetBackedNotesNoncurrent" xlink:to="lab_xpev_AssetBackedNotesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AssetBackedNotesNoncurrent" xml:lang="en-US">Asset backed notes noncurrent.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xml:lang="en-US">Line of Credit Facility, Maximum Borrowing Capacity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xml:lang="en-US">Outstanding loan</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:to="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LongTermDepositCurrentPortionCollateralized" xlink:label="loc_xpev_LongTermDepositCurrentPortionCollateralized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LongTermDepositCurrentPortionCollateralized" xml:lang="en-US">Long Term Deposit Current Portion Collateralized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LongTermDepositCurrentPortionCollateralized" xml:lang="en-US">Long term deposit current portion collateralized</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LongTermDepositCurrentPortionCollateralized" xlink:to="lab_xpev_LongTermDepositCurrentPortionCollateralized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LongTermDepositCurrentPortionCollateralized" xml:lang="en-US">Long term deposit current portion collateralized</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermDebtMember" xml:lang="en-US">Long-Term Debt [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMember" xlink:to="lab_us-gaap_LongTermDebtMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityTable" xml:lang="en-US">Line of Credit Facility [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityTable" xlink:to="lab_us-gaap_LineOfCreditFacilityTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LineOfCreditFacilityLineItems" xml:lang="en-US">Line of Credit Facility [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems" xlink:to="lab_us-gaap_LineOfCreditFacilityLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengNewEnergyMember" xlink:label="loc_xpev_ZhaoqingXiaopengNewEnergyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ZhaoqingXiaopengNewEnergyMember" xml:lang="en-US">Zhaoqing Xiaopeng New Energy [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ZhaoqingXiaopengNewEnergyMember" xlink:to="lab_xpev_ZhaoqingXiaopengNewEnergyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ZhaoqingXiaopengNewEnergyMember" xml:lang="en-US">Zhaoqing xiaopeng new energy.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xlink:label="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xml:lang="en-US">Guangzhou Pengyue Automobile Development Co Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xlink:to="lab_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" xml:lang="en-US">Guangzhou pengyue automobile development co ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WuhanXiaopengMember" xlink:label="loc_xpev_WuhanXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WuhanXiaopengMember" xml:lang="en-US">Wuhan Xiaopeng [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WuhanXiaopengMember" xlink:to="lab_xpev_WuhanXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_WuhanXiaopengMember" xml:lang="en-US">Wuhan xiaopeng.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Motors Financing Lease Co Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" xml:lang="en-US">Guangzhou xiaopeng motors financing lease co ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xlink:label="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xml:lang="en-US">Guangdong Xiaopeng Motors Technology Group Co Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xlink:to="lab_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" xml:lang="en-US">Guangdong xiaopeng motors technology group co ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng New Energy Motors Co Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" xml:lang="en-US">Guangzhou xiaopeng new energy motors co ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ZhaoqingXiaopengMember" xlink:label="loc_xpev_ZhaoqingXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ZhaoqingXiaopengMember" xml:lang="en-US">Zhaoqing Xiaopeng [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ZhaoqingXiaopengMember" xlink:to="lab_xpev_ZhaoqingXiaopengMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ZhaoqingXiaopengMember" xml:lang="en-US">Zhaoqing xiaopeng.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GovernmentGrantPayablesNoncurrent" xlink:label="loc_xpev_GovernmentGrantPayablesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GovernmentGrantPayablesNoncurrent" xml:lang="en-US">Government Grant Payables Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GovernmentGrantPayablesNoncurrent" xml:lang="en-US">Government grants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GovernmentGrantPayablesNoncurrent" xlink:to="lab_xpev_GovernmentGrantPayablesNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GovernmentGrantPayablesNoncurrent" xml:lang="en-US">Government grant payables, noncurrent.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualNoncurrent" xml:lang="en-US">Standard Product Warranty Accrual, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualNoncurrent" xml:lang="en-US">Warranty provisions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualNoncurrent" xml:lang="en-US">Non-current portion of warranty</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DebtPayableToThirdPartyInvestors" xlink:label="loc_xpev_DebtPayableToThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DebtPayableToThirdPartyInvestors" xml:lang="en-US">Debt Payable To Third Party Investors</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DebtPayableToThirdPartyInvestors" xml:lang="en-US">Debt from third party investors</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DebtPayableToThirdPartyInvestors" xlink:to="lab_xpev_DebtPayableToThirdPartyInvestors" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DebtPayableToThirdPartyInvestors" xml:lang="en-US">Debt payable to third party investors.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DepositsFromAThirdParty" xlink:label="loc_xpev_DepositsFromAThirdParty" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DepositsFromAThirdParty" xml:lang="en-US">Deposits From A Third Party</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_DepositsFromAThirdParty" xml:lang="en-US">Deposits from a third party</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DepositsFromAThirdParty" xlink:to="lab_xpev_DepositsFromAThirdParty" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DepositsFromAThirdParty" xml:lang="en-US">Deposits from a third party.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentTable" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherLiabilitiesNoncurrentTable" xml:lang="en-US">Other Liabilities Noncurrent [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentTable" xlink:to="lab_xpev_OtherLiabilitiesNoncurrentTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherLiabilitiesNoncurrentLineItems" xlink:label="loc_xpev_OtherLiabilitiesNoncurrentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherLiabilitiesNoncurrentLineItems" xml:lang="en-US">Other Liabilities Noncurrent [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherLiabilitiesNoncurrentLineItems" xlink:to="lab_xpev_OtherLiabilitiesNoncurrentLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xlink:label="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xml:lang="en-US">Term of The Operating Agreement With Limited Liability Partnership</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xml:lang="en-US">Term of the operating agreement with limited liability partnership</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xlink:to="lab_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" xml:lang="en-US">Term of the operating agreement with limited liability partnership.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:label="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xml:lang="en-US">Payments to Acquire Limited Partnership Interests</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xml:lang="en-US">Payment to acquire interest in limited liability partnership</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireLimitedPartnershipInterests" xlink:to="lab_us-gaap_PaymentsToAcquireLimitedPartnershipInterests" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xml:lang="en-US">Limited Liability Company or Limited Partnership, Members or Limited Partners, Ownership Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xml:lang="en-US">Percentage of investment in limited liability partnership</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" xlink:to="lab_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PayableToNoncontrollingInterestNonCurrent" xlink:label="loc_xpev_PayableToNoncontrollingInterestNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PayableToNoncontrollingInterestNonCurrent" xml:lang="en-US">Payable To Noncontrolling Interest Non Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_PayableToNoncontrollingInterestNonCurrent" xml:lang="en-US">Payable to non controlling interest non current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PayableToNoncontrollingInterestNonCurrent" xlink:to="lab_xpev_PayableToNoncontrollingInterestNonCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PayableToNoncontrollingInterestNonCurrent" xml:lang="en-US">Payable to noncontrolling interest non current.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xlink:label="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xml:lang="en-US">Interest Rate on Limited Liability Partnership Investment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xml:lang="en-US">Interest rate on limited liability partnership investment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xlink:to="lab_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" xml:lang="en-US">Interest rate on limited liability partnership investment.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ProceedsFromMinorityShareholders" xml:lang="en-US">Proceeds from Noncontrolling Interests</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ProceedsFromMinorityShareholders" xml:lang="en-US">Proceeds from non-controlling interests</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromMinorityShareholders" xlink:to="lab_us-gaap_ProceedsFromMinorityShareholders" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xml:lang="en-US">Noncontrolling Interest, Ownership Percentage by Noncontrolling Owners</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xml:lang="en-US">Non controlling interest ownership percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" xlink:to="lab_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xml:lang="en-US">Option Indexed to Issuer's Equity, Redeemable Stock, Redemption Requirements, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xml:lang="en-US">Non controlling interest strike price redeemable stock redemption requirement</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" xlink:to="lab_us-gaap_OptionIndexedToIssuersEquityRedeemableStockRedemptionRequirementsAmount1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xlink:label="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xml:lang="en-US">Non Controlling Interest Common Stock Strike Price Interest Rate Payable Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xml:lang="en-US">Non controlling interest common stock strike price interest rate payable percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xlink:to="lab_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" xml:lang="en-US">Non controlling interest common stock strike price interest rate payable percentage.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MembersEquityAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_MembersEquityAttributableToNoncontrollingInterest" xml:lang="en-US">Members' Equity Attributable to Noncontrolling Interest</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_MembersEquityAttributableToNoncontrollingInterest" xml:lang="en-US">Principal amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MembersEquityAttributableToNoncontrollingInterest" xlink:to="lab_us-gaap_MembersEquityAttributableToNoncontrollingInterest" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xml:lang="en-US">Interest Payable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xml:lang="en-US">Interest paid</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:to="lab_us-gaap_InterestPayableCurrentAndNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipAxis" xlink:label="loc_xpev_LimitedLiabilityPartnershipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LimitedLiabilityPartnershipAxis" xml:lang="en-US">Limited Liability Partnership [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LimitedLiabilityPartnershipAxis" xlink:to="lab_xpev_LimitedLiabilityPartnershipAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LimitedLiabilityPartnershipAxis" xml:lang="en-US">Limited liability partnership.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LimitedLiabilityPartnershipDomain" xlink:label="loc_xpev_LimitedLiabilityPartnershipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LimitedLiabilityPartnershipDomain" xml:lang="en-US">Limited Liability Partnership [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LimitedLiabilityPartnershipDomain" xlink:to="lab_xpev_LimitedLiabilityPartnershipDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LimitedLiabilityPartnershipDomain" xml:lang="en-US">Limited liability partnership.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_KunpengChuangyeLlpMember" xlink:label="loc_xpev_KunpengChuangyeLlpMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_KunpengChuangyeLlpMember" xml:lang="en-US">Kunpeng Chuangye LLP [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_KunpengChuangyeLlpMember" xlink:to="lab_xpev_KunpengChuangyeLlpMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_KunpengChuangyeLlpMember" xml:lang="en-US">Kunpeng chuangye LLP.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChengxingMember" xlink:label="loc_xpev_ChengxingMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ChengxingMember" xml:lang="en-US">Chengxing [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ChengxingMember" xlink:to="lab_xpev_ChengxingMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xlink:label="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Automatic Driving Technology Co Ltd [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xlink:to="lab_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" xml:lang="en-US">Guangzhou Xiaopeng Automatic Driving Technology Co., Ltd .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetInvestmentMember" xlink:label="loc_xpev_GuangzhouGetInvestmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouGetInvestmentMember" xml:lang="en-US">Guangzhou GET Investment [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_GuangzhouGetInvestmentMember" xml:lang="en-US">Guangzhou Get Investment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouGetInvestmentMember" xlink:to="lab_xpev_GuangzhouGetInvestmentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouGetInvestmentMember" xml:lang="en-US">Guangzhou GET Investment [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeAxis" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OptionIndexedToIssuersEquityTypeAxis" xml:lang="en-US">Option Indexed to Issuer's Equity, Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeAxis" xlink:to="lab_us-gaap_OptionIndexedToIssuersEquityTypeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OptionIndexedToIssuersEquityTypeDomain" xml:lang="en-US">Option Indexed to Issuer's Equity, Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain" xlink:to="lab_us-gaap_OptionIndexedToIssuersEquityTypeDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CallOptionMember" xml:lang="en-US">Call Option [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CallOptionMember" xlink:to="lab_us-gaap_CallOptionMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorAxis" xlink:label="loc_xpev_InvestorAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestorAxis" xml:lang="en-US">Investor [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestorAxis" xlink:to="lab_xpev_InvestorAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InvestorAxis" xml:lang="en-US">Investor.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestorDomain" xlink:label="loc_xpev_InvestorDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestorDomain" xml:lang="en-US">Investor [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestorDomain" xlink:to="lab_xpev_InvestorDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InvestorDomain" xml:lang="en-US">Investor.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongUTrustMember" xlink:label="loc_xpev_GuangdongUTrustMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangdongUTrustMember" xml:lang="en-US">Guangdong U Trust [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangdongUTrustMember" xlink:to="lab_xpev_GuangdongUTrustMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyDisclosureAbstract" xlink:label="loc_us-gaap_StandardProductWarrantyDisclosureAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyDisclosureAbstract" xml:lang="en-US">Standard Product Warranty Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract" xlink:to="lab_us-gaap_StandardProductWarrantyDisclosureAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual" xml:lang="en-US">Standard Product Warranty Accrual</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual" xml:lang="en-US">Accrued warranty - beginning of the year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual" xml:lang="en-US">Accrued warranty - end of the year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual" xlink:to="lab_us-gaap_StandardProductWarrantyAccrual" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPayments" xml:lang="en-US">Standard Product Warranty Accrual, Decrease for Payments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPayments" xml:lang="en-US">Warranty costs incurred</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualPayments" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualPayments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xml:lang="en-US">Standard Product Warranty Accrual, Increase for Warranties Issued</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xml:lang="en-US">Provision for warranty</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualCurrent" xml:lang="en-US">Standard Product Warranty Accrual, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualCurrent" xml:lang="en-US">Less: Current portion of warranty</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualCurrent" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xml:lang="en-US">Standard Product Warranty Accrual, Increase (Decrease) for Preexisting Warranties</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xml:lang="en-US">Adjustments to pre-existing warranty liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeLeaseDescriptionTable" xml:lang="en-US">Lessee, Lease, Description [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable" xlink:to="lab_us-gaap_LesseeLeaseDescriptionTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeLeaseDescriptionLineItems" xml:lang="en-US">Lessee, Lease, Description [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeLeaseDescriptionLineItems" xml:lang="en-US">Gain on Lease Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems" xlink:to="lab_us-gaap_LesseeLeaseDescriptionLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAbstract" xlink:label="loc_xpev_OperatingLeaseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperatingLeaseAbstract" xml:lang="en-US">Operating Lease [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_OperatingLeaseAbstract" xml:lang="en-US">Operating Lease</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperatingLeaseAbstract" xlink:to="lab_xpev_OperatingLeaseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperatingLeaseAbstract" xml:lang="en-US">Operating Lease</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseAssets" xlink:label="loc_xpev_OperatingLeaseAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperatingLeaseAssets" xml:lang="en-US">Operating Lease Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_OperatingLeaseAssets" xml:lang="en-US">Total operating lease assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperatingLeaseAssets" xlink:to="lab_xpev_OperatingLeaseAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperatingLeaseAssets" xml:lang="en-US">Operating Lease Assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Operating Lease, Liability</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Total operating lease liabilities</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_OperatingLeaseLiability" xml:lang="en-US">Present value of lease obligations</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseLiability" xlink:to="lab_us-gaap_OperatingLeaseLiability" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseAbstract" xlink:label="loc_xpev_FinanceLeaseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FinanceLeaseAbstract" xml:lang="en-US">Finance Lease [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_FinanceLeaseAbstract" xml:lang="en-US">Finance lease</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FinanceLeaseAbstract" xlink:to="lab_xpev_FinanceLeaseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FinanceLeaseAbstract" xml:lang="en-US">Finance Lease</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xml:lang="en-US">Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, before Accumulated Depreciation and Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xml:lang="en-US">Property, plant and equipment, at cost</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xml:lang="en-US">Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, Accumulated Depreciation and Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xml:lang="en-US">Accumulated depreciation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xml:lang="en-US">Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xml:lang="en-US">Property, plant and equipment, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseRightsMember" xlink:label="loc_us-gaap_UseRightsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_UseRightsMember" xml:lang="en-US">Use Rights [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_UseRightsMember" xml:lang="en-US">Right-of-use assets, net [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UseRightsMember" xlink:to="lab_us-gaap_UseRightsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCostAbstract" xlink:label="loc_us-gaap_LeaseCostAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseCostAbstract" xml:lang="en-US">Lease, Cost [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LeaseCostAbstract" xml:lang="en-US">Lease, Cost [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseCostAbstract" xlink:to="lab_us-gaap_LeaseCostAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost" xlink:label="loc_us-gaap_LeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeaseCost" xml:lang="en-US">Lease, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_LeaseCost" xml:lang="en-US">Total lease expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseCost" xlink:to="lab_us-gaap_LeaseCost" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseExpenseAbstract" xlink:label="loc_xpev_OperatingLeaseExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperatingLeaseExpenseAbstract" xml:lang="en-US">Operating Lease Expense [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperatingLeaseExpenseAbstract" xlink:to="lab_xpev_OperatingLeaseExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperatingLeaseExpenseAbstract" xml:lang="en-US">Operating Lease Expense.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseCost" xml:lang="en-US">Operating Lease, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseCost" xml:lang="en-US">Operating lease expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseCost" xlink:to="lab_us-gaap_OperatingLeaseCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost" xlink:label="loc_us-gaap_ShortTermLeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShortTermLeaseCost" xml:lang="en-US">Short-term Lease, Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShortTermLeaseCost" xml:lang="en-US">Short-term lease expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermLeaseCost" xlink:to="lab_us-gaap_ShortTermLeaseCost" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperatingLeaseExpenses" xlink:label="loc_xpev_OperatingLeaseExpenses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperatingLeaseExpenses" xml:lang="en-US">Operating Lease Expenses</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_xpev_OperatingLeaseExpenses" xml:lang="en-US">Total operating lease expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperatingLeaseExpenses" xlink:to="lab_xpev_OperatingLeaseExpenses" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperatingLeaseExpenses" xml:lang="en-US">Operating lease expenses.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseExpenseAbstract" xlink:label="loc_xpev_FinanceLeaseExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FinanceLeaseExpenseAbstract" xml:lang="en-US">Finance Lease Expense [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FinanceLeaseExpenseAbstract" xlink:to="lab_xpev_FinanceLeaseExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FinanceLeaseExpenseAbstract" xml:lang="en-US">Finance lease expense.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseRightOfUseAssetAmortization" xml:lang="en-US">Finance Lease, Right-of-Use Asset, Amortization</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_FinanceLeaseRightOfUseAssetAmortization" xml:lang="en-US">Amortization expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization" xlink:to="lab_us-gaap_FinanceLeaseRightOfUseAssetAmortization" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseInterestExpense" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseInterestExpense" xml:lang="en-US">Finance Lease, Interest Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseInterestExpense" xml:lang="en-US">Interest expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseInterestExpense" xlink:to="lab_us-gaap_FinanceLeaseInterestExpense" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FinanceLeaseCost" xlink:label="loc_xpev_FinanceLeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FinanceLeaseCost" xml:lang="en-US">Finance Lease Cost</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_xpev_FinanceLeaseCost" xml:lang="en-US">Total finance lease expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FinanceLeaseCost" xlink:to="lab_xpev_FinanceLeaseCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FinanceLeaseCost" xml:lang="en-US">Finance lease Cost.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WeightedAverageRemainingLeaseTermAbstract" xlink:label="loc_xpev_WeightedAverageRemainingLeaseTermAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WeightedAverageRemainingLeaseTermAbstract" xml:lang="en-US">Weighted Average Remaining Lease Term [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WeightedAverageRemainingLeaseTermAbstract" xlink:to="lab_xpev_WeightedAverageRemainingLeaseTermAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_WeightedAverageRemainingLeaseTermAbstract" xml:lang="en-US">Weighted-average remaining lease term.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Operating Lease, Weighted Average Remaining Lease Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Operating leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="lab_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Finance Lease, Weighted Average Remaining Lease Term</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xml:lang="en-US">Finance leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="lab_us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xlink:label="loc_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xml:lang="en-US">Land Use Right of Asset Weighted Average Remaining Lease Term One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xml:lang="en-US">Land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xlink:to="lab_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" xml:lang="en-US">Land use right of asset weighted average remaining lease term one</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WeightedAverageDiscountRateAbstract" xlink:label="loc_xpev_WeightedAverageDiscountRateAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WeightedAverageDiscountRateAbstract" xml:lang="en-US">Weighted Average Discount Rate [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WeightedAverageDiscountRateAbstract" xlink:to="lab_xpev_WeightedAverageDiscountRateAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_WeightedAverageDiscountRateAbstract" xml:lang="en-US">Weighted-average discount rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Operating Lease, Weighted Average Discount Rate, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Operating leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:to="lab_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xlink:label="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Finance Lease, Weighted Average Discount Rate, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xml:lang="en-US">Finance leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" xlink:to="lab_us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xlink:label="loc_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xml:lang="en-US">Land Right Use of Asset Weighted Average Discount Rate Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xml:lang="en-US">Land use rights</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xlink:to="lab_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" xml:lang="en-US">Land right use of asset weighted average discount rate percent.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:label="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" xml:lang="en-US">Cash Paid For Amounts Included In The Measurement Of Lease Liabilities [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" xml:lang="en-US">Cash paid for amounts included in the measurement of lease liabilities:</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" xlink:to="lab_xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeasePayments" xlink:label="loc_us-gaap_OperatingLeasePayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeasePayments" xml:lang="en-US">Operating Lease, Payments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeasePayments" xml:lang="en-US">Operating cash outflows from operating leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OperatingLeasePayments" xml:lang="en-US">Operating lease payments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasePayments" xlink:to="lab_us-gaap_OperatingLeasePayments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xlink:label="loc_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xml:lang="en-US">Right Of Use Asset Obtained In Exchange For Operating Lease Liability Net Of Decrease In Leased Assets For Early Terminations</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xml:lang="en-US">Leased assets obtained in exchange for operating lease liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xlink:to="lab_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" xml:lang="en-US">Right of use asset obtained in exchange for operating lease liability net of decrease in leased assets for early terminations.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseExpense" xlink:label="loc_us-gaap_OperatingLeaseExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseExpense" xml:lang="en-US">Operating Lease, Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseExpense" xml:lang="en-US">Operating cash outflows from finance leases (interest payments)</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseExpense" xlink:to="lab_us-gaap_OperatingLeaseExpense" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ChangesInFinanceLeasePrincipalPayments" xlink:label="loc_xpev_ChangesInFinanceLeasePrincipalPayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ChangesInFinanceLeasePrincipalPayments" xml:lang="en-US">Changes in Finance Lease, Principal Payments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ChangesInFinanceLeasePrincipalPayments" xml:lang="en-US">Financing cash outflows from finance leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ChangesInFinanceLeasePrincipalPayments" xlink:to="lab_xpev_ChangesInFinanceLeasePrincipalPayments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ChangesInFinanceLeasePrincipalPayments" xml:lang="en-US">Increase (Decrease) in Finance Lease, Principal Payments</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xlink:label="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xml:lang="en-US">Lessee, Operating Lease, Liability, Payment, Due [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xml:lang="en-US">Operating Lease</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" xlink:to="lab_us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">Within 1 year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">Between 1 and 2 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">Between 2 and 3 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">Between 3 and 4 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">Between 4 and 5 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid, after Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xml:lang="en-US">Lessee, Operating Lease, Liability, to be Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xml:lang="en-US">Total minimum lease payments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Lessee, Operating Lease, Liability, Undiscounted Excess Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Less: Interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:to="lab_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" xlink:label="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" xml:lang="en-US">Finance Lease, Liability, to be Paid, Rolling Maturity [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" xml:lang="en-US">Finance Lease</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" xlink:to="lab_us-gaap_FinanceLeaseLiabilitiesPaymentsRollingMaturityAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">Finance Lease, Liability, to be Paid, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xml:lang="en-US">Within 1 year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">Finance Lease, Liability, to be Paid, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xml:lang="en-US">Between 1 and 2 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">Finance Lease, Liability, to be Paid, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xml:lang="en-US">Between 2 and 3 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">Finance Lease, Liability, to be Paid, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xml:lang="en-US">Between 3 and 4 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">Finance Lease, Liability, to be Paid, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xml:lang="en-US">Between 4 and 5 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Finance Lease, Liability, to be Paid, after Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDue" xml:lang="en-US">Finance Lease, Liability, to be Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityPaymentsDue" xml:lang="en-US">Total minimum lease payments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue" xlink:to="lab_us-gaap_FinanceLeaseLiabilityPaymentsDue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Finance Lease, Liability, Undiscounted Excess Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xml:lang="en-US">Less: Interest</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" xlink:to="lab_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeasesAbstract" xlink:label="loc_us-gaap_LeasesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LeasesAbstract" xml:lang="en-US">Leases [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeasesAbstract" xlink:to="lab_us-gaap_LeasesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionTable" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LessorLeaseDescriptionTable" xml:lang="en-US">Lessor, Lease, Description [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable" xlink:to="lab_us-gaap_LessorLeaseDescriptionTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LessorLeaseDescriptionLineItems" xml:lang="en-US">Lessor, Lease, Description [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems" xlink:to="lab_us-gaap_LessorLeaseDescriptionLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Finance lease receivable, current portion, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xml:lang="en-US">Current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" xlink:to="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss, Noncurrent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/presentationGuidance" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Finance lease receivables,&#160;non-current&#160;portion, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xml:lang="en-US">Non-current portion</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" xlink:to="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLossNoncurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:label="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xml:lang="en-US">Sales-Type Lease, Net Investment in Lease, after Allowance for Credit Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/definitionGuidance" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xml:lang="en-US">Total Finance lease receivables, net</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xml:lang="en-US">Net investment in lease payments receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xml:lang="en-US">Net investment in finance lease</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" xlink:to="lab_us-gaap_SalesTypeLeaseNetInvestmentInLeaseAfterAllowanceForCreditLoss" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FactoryMember" xlink:label="loc_xpev_FactoryMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FactoryMember" xml:lang="en-US">Factory [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FactoryMember" xlink:to="lab_xpev_FactoryMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FactoryMember" xml:lang="en-US">Factory.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xml:lang="en-US">Sales-Type and Direct Financing Leases, Payment to be Received, Total</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xml:lang="en-US">Total minimum lease payments receivable</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xml:lang="en-US">Total minimum lease receivable</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xml:lang="en-US">Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xml:lang="en-US">Less: Unearned income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:label="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xml:lang="en-US">Sales-type Lease, Unguaranteed Residual Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xml:lang="en-US">Unguaranteed residuals</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" xlink:to="lab_us-gaap_SalesTypeLeaseUnguaranteedResidualAsset" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xml:lang="en-US">Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year One</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xml:lang="en-US">Within 1 year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xml:lang="en-US">Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Two</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xml:lang="en-US">Between 1 and 2 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xml:lang="en-US">Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Three</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xml:lang="en-US">Between 2 and 3 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xml:lang="en-US">Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Four</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xml:lang="en-US">Between 3 and 4 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xlink:label="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xml:lang="en-US">Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Five</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xml:lang="en-US">Between 4 and 5 years</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" xlink:to="lab_us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xlink:label="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xml:lang="en-US">Sales Type And Direct Financing Leases Lease Receivable To Be Received After Five Year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xml:lang="en-US">Thereafter</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xlink:to="lab_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" xml:lang="en-US">Sales-type and direct financing leases, lease receivable, to be received, after year five.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentGross" xml:lang="en-US">Property, Plant and Equipment, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentGross" xml:lang="en-US">Property, plant and equipment, gross</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentGross" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LandRightOfUseAsset" xlink:label="loc_xpev_LandRightOfUseAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LandRightOfUseAsset" xml:lang="en-US">Land Right Of Use Asset</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LandRightOfUseAsset" xml:lang="en-US">Land right of use asset</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LandRightOfUseAsset" xlink:to="lab_xpev_LandRightOfUseAsset" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LandRightOfUseAsset" xml:lang="en-US">Land right of use asset.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xlink:label="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xml:lang="en-US">Lessor, Sales-type Lease, Assumptions and Judgments, Value of Underlying Asset, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xml:lang="en-US">Lessor, operating lease, assumptions and judgments, value of underlying asset, amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" xlink:to="lab_us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesTypeLeaseSellingProfitLoss" xlink:label="loc_us-gaap_SalesTypeLeaseSellingProfitLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SalesTypeLeaseSellingProfitLoss" xml:lang="en-US">Sales-type Lease, Selling Profit (Loss)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SalesTypeLeaseSellingProfitLoss" xml:lang="en-US">Sales-type Lease, gain</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesTypeLeaseSellingProfitLoss" xlink:to="lab_us-gaap_SalesTypeLeaseSellingProfitLoss" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouGetNewEnergyMember" xlink:label="loc_xpev_GuangzhouGetNewEnergyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouGetNewEnergyMember" xml:lang="en-US">Guangzhou GET New Energy [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouGetNewEnergyMember" xlink:to="lab_xpev_GuangzhouGetNewEnergyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouGetNewEnergyMember" xml:lang="en-US">Guangzhou GET new energy.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityAxis" xlink:label="loc_xpev_MaturityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_MaturityAxis" xml:lang="en-US">Maturity [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_MaturityAxis" xlink:to="lab_xpev_MaturityAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_MaturityAxis" xml:lang="en-US">Maturity.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_MaturityDomain" xlink:label="loc_xpev_MaturityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_MaturityDomain" xml:lang="en-US">Maturity [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_MaturityDomain" xlink:to="lab_xpev_MaturityDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_MaturityDomain" xml:lang="en-US">Maturity</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SubsequentPaidMember" xlink:label="loc_xpev_SubsequentPaidMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SubsequentPaidMember" xml:lang="en-US">Subsequent Paid [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SubsequentPaidMember" xlink:to="lab_xpev_SubsequentPaidMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SubsequentPaidMember" xml:lang="en-US">Subsequent Paid.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisaggregationOfRevenueTable" xml:lang="en-US">Disaggregation of Revenue [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable" xlink:to="lab_us-gaap_DisaggregationOfRevenueTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DisaggregationOfRevenueLineItems" xml:lang="en-US">Disaggregation of Revenue [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems" xlink:to="lab_us-gaap_DisaggregationOfRevenueLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ServicesAndOthersMember" xlink:label="loc_xpev_ServicesAndOthersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ServicesAndOthersMember" xml:lang="en-US">Services And Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ServicesAndOthersMember" xlink:to="lab_xpev_ServicesAndOthersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ServicesAndOthersMember" xml:lang="en-US">Services and others [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TimingOfTransferOfGoodOrServiceAxis" xml:lang="en-US">Timing of Transfer of Good or Service [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis" xlink:to="lab_us-gaap_TimingOfTransferOfGoodOrServiceAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TimingOfTransferOfGoodOrServiceDomain" xml:lang="en-US">Timing of Transfer of Good or Service [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:to="lab_us-gaap_TimingOfTransferOfGoodOrServiceDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueAxis" xlink:label="loc_xpev_ProductRevenueAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProductRevenueAxis" xml:lang="en-US">Product Revenue [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProductRevenueAxis" xlink:to="lab_xpev_ProductRevenueAxis" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProductRevenueDomain" xlink:label="loc_xpev_ProductRevenueDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProductRevenueDomain" xml:lang="en-US">Product Revenue [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProductRevenueDomain" xlink:to="lab_xpev_ProductRevenueDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostTable" xlink:label="loc_us-gaap_CapitalizedContractCostTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CapitalizedContractCostTable" xml:lang="en-US">Capitalized Contract Cost [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CapitalizedContractCostTable" xml:lang="en-US">Capitalized Contract Cost [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalizedContractCostTable" xlink:to="lab_us-gaap_CapitalizedContractCostTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostLineItems" xlink:label="loc_us-gaap_CapitalizedContractCostLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CapitalizedContractCostLineItems" xml:lang="en-US">Capitalized Contract Cost [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CapitalizedContractCostLineItems" xml:lang="en-US">Capitalized Contract Cost [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalizedContractCostLineItems" xlink:to="lab_us-gaap_CapitalizedContractCostLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xml:lang="en-US">Revenue Performance Obligation Satisfied over Time Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xml:lang="en-US">Performance obligation satisfied over time percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xlink:to="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" xml:lang="en-US">Revenue, Performance Obligation Satisfied over Time, Percentage.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xlink:label="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xml:lang="en-US">Revenue Performance Obligation Satisfied over Time Explanation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xml:lang="en-US">Performance obligation satisfied over time explanation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xlink:to="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" xml:lang="en-US">Revenue, Performance Obligation Satisfied over Time, Explanation.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueRemainingPerformanceObligationPercentage" xml:lang="en-US">Revenue, Remaining Performance Obligation, Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueRemainingPerformanceObligationPercentage" xml:lang="en-US">Remaining performance obligation percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage" xlink:to="lab_us-gaap_RevenueRemainingPerformanceObligationPercentage" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xml:lang="en-US">Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Explanation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xml:lang="en-US">Remaining performance obligation expected timing of satisfaction explanation</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" xlink:to="lab_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenue" xml:lang="en-US">Deferred Revenue</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_DeferredRevenue" xml:lang="en-US">Deferred revenue - beginning of year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_DeferredRevenue" xml:lang="en-US">Deferred revenue - end of year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenue" xlink:to="lab_us-gaap_DeferredRevenue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueAdditions" xlink:label="loc_us-gaap_DeferredRevenueAdditions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueAdditions" xml:lang="en-US">Deferred Revenue, Additions</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredRevenueAdditions" xml:lang="en-US">Additions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueAdditions" xlink:to="lab_us-gaap_DeferredRevenueAdditions" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueRevenueRecognized1" xlink:label="loc_us-gaap_DeferredRevenueRevenueRecognized1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredRevenueRevenueRecognized1" xml:lang="en-US">Deferred Revenue, Revenue Recognized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredRevenueRevenueRecognized1" xml:lang="en-US">Recognition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredRevenueRevenueRecognized1" xlink:to="lab_us-gaap_DeferredRevenueRevenueRecognized1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xml:lang="en-US">Collaborative Arrangement and Arrangement Other than Collaborative [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" xlink:to="lab_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaap_TypeOfArrangementAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TypeOfArrangementAxis" xml:lang="en-US">Collaborative Arrangement and Arrangement Other than Collaborative [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TypeOfArrangementAxis" xlink:to="lab_us-gaap_TypeOfArrangementAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ArrangementsAndNonarrangementTransactionsMember" xml:lang="en-US">Collaborative Arrangement and Arrangement Other than Collaborative [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:to="lab_us-gaap_ArrangementsAndNonarrangementTransactionsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementMember" xlink:label="loc_us-gaap_CollaborativeArrangementMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CollaborativeArrangementMember" xml:lang="en-US">Collaborative Arrangement [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CollaborativeArrangementMember" xlink:to="lab_us-gaap_CollaborativeArrangementMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CounterpartyNameAxis" xml:lang="en-US">Counterparty Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CounterpartyNameAxis" xlink:to="lab_srt_CounterpartyNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RepurchaseAgreementCounterpartyNameDomain" xml:lang="en-US">Counterparty Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:to="lab_srt_RepurchaseAgreementCounterpartyNameDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HaimaAutoMember" xlink:label="loc_xpev_HaimaAutoMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HaimaAutoMember" xml:lang="en-US">Haima Auto [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HaimaAutoMember" xlink:to="lab_xpev_HaimaAutoMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HaimaAutoMember" xml:lang="en-US">Haima Auto [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsLineItems" xlink:label="loc_us-gaap_OffsettingAssetsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OffsettingAssetsLineItems" xml:lang="en-US">Offsetting Assets [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OffsettingAssetsLineItems" xlink:to="lab_us-gaap_OffsettingAssetsLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContract" xlink:label="loc_xpev_CollaborativeArrangementDateOfContract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CollaborativeArrangementDateOfContract" xml:lang="en-US">Collaborative Arrangement Date Of Contract</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CollaborativeArrangementDateOfContract" xml:lang="en-US">Collaborative arrangement, date of contract</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CollaborativeArrangementDateOfContract" xlink:to="lab_xpev_CollaborativeArrangementDateOfContract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CollaborativeArrangementDateOfContract" xml:lang="en-US">Collaborative Arrangement, Date Of Contract.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_CollaborativeArrangementDateOfContractExpiration" xlink:label="loc_xpev_CollaborativeArrangementDateOfContractExpiration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_CollaborativeArrangementDateOfContractExpiration" xml:lang="en-US">Collaborative Arrangement Date Of Contract Expiration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_CollaborativeArrangementDateOfContractExpiration" xml:lang="en-US">Collaborative arrangement, expiration date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_CollaborativeArrangementDateOfContractExpiration" xlink:to="lab_xpev_CollaborativeArrangementDateOfContractExpiration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_CollaborativeArrangementDateOfContractExpiration" xml:lang="en-US">Collaborative Arrangement, Date Of Contract Expiration.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AnnualProductionCapacity" xlink:label="loc_xpev_AnnualProductionCapacity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AnnualProductionCapacity" xml:lang="en-US">Annual Production Capacity</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_AnnualProductionCapacity" xml:lang="en-US">Annual production capacity</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AnnualProductionCapacity" xlink:to="lab_xpev_AnnualProductionCapacity" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_AnnualProductionCapacity" xml:lang="en-US">Annual Production Capacity.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherCostAndExpenseOperating" xml:lang="en-US">Other Cost and Expense, Operating</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_OtherCostAndExpenseOperating" xml:lang="en-US">Other operating expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherCostAndExpenseOperating" xlink:to="lab_us-gaap_OtherCostAndExpenseOperating" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RelocationAndDisposalCosts" xlink:label="loc_xpev_RelocationAndDisposalCosts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RelocationAndDisposalCosts" xml:lang="en-US">Relocation And Disposal Costs</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RelocationAndDisposalCosts" xml:lang="en-US">Relocation and disposal costs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RelocationAndDisposalCosts" xlink:to="lab_xpev_RelocationAndDisposalCosts" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RelocationAndDisposalCosts" xml:lang="en-US">Relocation and disposal costs.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PaymentOfTerminationFee" xlink:label="loc_xpev_PaymentOfTerminationFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PaymentOfTerminationFee" xml:lang="en-US">Payment of Termination Fee</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PaymentOfTerminationFee" xml:lang="en-US">Payment of termination Fee</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PaymentOfTerminationFee" xlink:to="lab_xpev_PaymentOfTerminationFee" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PaymentOfTerminationFee" xml:lang="en-US">Payment of termination fee.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteTable" xlink:label="loc_xpev_StockholdersEquityNoteTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StockholdersEquityNoteTable" xml:lang="en-US">Stockholders Equity Note [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StockholdersEquityNoteTable" xml:lang="en-US">Stockholders Equity Note [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StockholdersEquityNoteTable" xlink:to="lab_xpev_StockholdersEquityNoteTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XpengFortuneHoldingLimitedMember" xlink:label="loc_xpev_XpengFortuneHoldingLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XpengFortuneHoldingLimitedMember" xml:lang="en-US">XPeng Fortune Holding Limited [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_XpengFortuneHoldingLimitedMember" xml:lang="en-US">XPeng Fortune Holding Limited [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XpengFortuneHoldingLimitedMember" xlink:to="lab_xpev_XpengFortuneHoldingLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XpengFortuneHoldingLimitedMember" xml:lang="en-US">XPeng Fortune Holding Limited [member]</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DidiMember" xlink:label="loc_xpev_DidiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DidiMember" xml:lang="en-US">Didi [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DidiMember" xlink:to="lab_xpev_DidiMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DidiMember" xml:lang="en-US">Didi.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StockholdersEquityNoteLineItems" xlink:label="loc_xpev_StockholdersEquityNoteLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StockholdersEquityNoteLineItems" xml:lang="en-US">Stockholders Equity Note [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StockholdersEquityNoteLineItems" xml:lang="en-US">Stockholders Equity Note [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StockholdersEquityNoteLineItems" xlink:to="lab_xpev_StockholdersEquityNoteLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xml:lang="en-US">Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xml:lang="en-US">Issuance of ordinary shares for the vested Restricted Share Units ("RSUs")</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodAxis" xlink:label="loc_xpev_ShareIssuedPeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShareIssuedPeriodAxis" xml:lang="en-US">Share Issued Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShareIssuedPeriodAxis" xlink:to="lab_xpev_ShareIssuedPeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShareIssuedPeriodAxis" xml:lang="en-US">Share Issued Period.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuedPeriodDomain" xlink:label="loc_xpev_ShareIssuedPeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShareIssuedPeriodDomain" xml:lang="en-US">Share Issued Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShareIssuedPeriodDomain" xlink:to="lab_xpev_ShareIssuedPeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShareIssuedPeriodDomain" xml:lang="en-US">Share Issued Period.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareIssuePeriodOneMember" xlink:label="loc_xpev_ShareIssuePeriodOneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShareIssuePeriodOneMember" xml:lang="en-US">Share Issue Period One [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShareIssuePeriodOneMember" xlink:to="lab_xpev_ShareIssuePeriodOneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShareIssuePeriodOneMember" xml:lang="en-US">Share Issue Period One.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xml:lang="en-US">Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:to="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedStockUnitsRSUMember" xml:lang="en-US">Restricted Stock Units (RSUs) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RestrictedStockUnitsRSUMember" xml:lang="en-US">Restricted Stock Units (RSUs) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:to="lab_us-gaap_RestrictedStockUnitsRSUMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RestrictedStockMember" xml:lang="en-US">Restricted Stock [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedStockMember" xlink:to="lab_us-gaap_RestrictedStockMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PerformanceSharesMember" xml:lang="en-US">Performance Shares [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PerformanceSharesMember" xlink:to="lab_us-gaap_PerformanceSharesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VestingAxis" xml:lang="en-US">Vesting [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VestingAxis" xlink:to="lab_us-gaap_VestingAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_VestingDomain" xml:lang="en-US">Vesting [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VestingDomain" xlink:to="lab_us-gaap_VestingDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationAwardTrancheOneMember" xml:lang="en-US">Share-based Payment Arrangement, Tranche One [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:to="lab_us-gaap_ShareBasedCompensationAwardTrancheOneMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xml:lang="en-US">Share-based Payment Arrangement, Tranche Two [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:to="lab_us-gaap_ShareBasedCompensationAwardTrancheTwoMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xml:lang="en-US">Share-based Payment Arrangement, Tranche Three [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:to="lab_us-gaap_ShareBasedCompensationAwardTrancheThreeMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xml:lang="en-US">Share-based payment award, award vesting rights, percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ShareOptionVestingRightsPercentage" xlink:label="loc_xpev_ShareOptionVestingRightsPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ShareOptionVestingRightsPercentage" xml:lang="en-US">Share Option Vesting Rights Percentage</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_ShareOptionVestingRightsPercentage" xml:lang="en-US">Share option vesting rights percentage</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ShareOptionVestingRightsPercentage" xlink:to="lab_xpev_ShareOptionVestingRightsPercentage" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ShareOptionVestingRightsPercentage" xml:lang="en-US">Share Option Vesting Rights Percentage.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xml:lang="en-US">Nonvested award, excluding option, cost not yet recognized, amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xml:lang="en-US">Nonvested award, cost not yet recognized, period for Recognition</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense" xml:lang="en-US">Share-Based Payment Arrangement, Expense</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense" xml:lang="en-US">Share Based Compensation Expense</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="lab_us-gaap_AllocatedShareBasedCompensationExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xml:lang="en-US">Share based compensation by share based payment arrangement number of shares authorised</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xml:lang="en-US">Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xlink:label="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xml:lang="en-US">Percentage Of Number Of Shares Issue For Compensation Grant</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xml:lang="en-US">Percentage Of Number Of Shares Issue For Compensation Grant</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xlink:to="lab_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" xml:lang="en-US">Percentage Of Number Of Shares Issue For Compensation Grant</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xml:lang="en-US">Vested in period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xml:lang="en-US">Vested</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Vested,Weighted&#160;average&#160;grant-date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xml:lang="en-US">Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Net of Forfeitures</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xml:lang="en-US">Shares Granted</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandAndNineteenEquityIncentivePlanMember" xlink:label="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TwoThousandAndNineteenEquityIncentivePlanMember" xml:lang="en-US">Two Thousand And Nineteen Equity Incentive Plan [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TwoThousandAndNineteenEquityIncentivePlanMember" xlink:to="lab_xpev_TwoThousandAndNineteenEquityIncentivePlanMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandTwentyFivePlanMember" xlink:label="loc_xpev_TwoThousandTwentyFivePlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TwoThousandTwentyFivePlanMember" xml:lang="en-US">Two thousand twenty five Plan [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TwoThousandTwentyFivePlanMember" xml:lang="en-US">2025 Plan [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TwoThousandTwentyFivePlanMember" xlink:to="lab_xpev_TwoThousandTwentyFivePlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TwoThousandTwentyFivePlanMember" xml:lang="en-US">Two thousand twenty five Plan .</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TwoThousandNineteenPlanMember" xlink:label="loc_xpev_TwoThousandNineteenPlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TwoThousandNineteenPlanMember" xml:lang="en-US">Two Thousand Nineteen Plan [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TwoThousandNineteenPlanMember" xml:lang="en-US">2019 Plan [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TwoThousandNineteenPlanMember" xlink:to="lab_xpev_TwoThousandNineteenPlanMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TwoThousandNineteenPlanMember" xml:lang="en-US">Two thousand nineteen plan.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" xlink:label="loc_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" xml:lang="en-US">Share-based Payment Arrangement, Disclosure [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" xlink:to="lab_us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xml:lang="en-US">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted&#160;average&#160;grant-date</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xml:lang="en-US">Weighted average grant date fair value</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xml:lang="en-US">Granted,Weighted&#160;average&#160;grant-date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xml:lang="en-US">Forfeited,Weighted&#160;average&#160;grant-date</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Outstanding balance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xml:lang="en-US">Outstanding balance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xml:lang="en-US">Forfeited</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xlink:label="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xml:lang="en-US">Sharebased Compensation Arrangement by Sharebased Payment Award Equity Instruments Other than Options Exercisable Number</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xml:lang="en-US">Expected to vest as of December&#160;31, 2020,shares</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xlink:to="lab_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Exercisable, Number</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" xml:lang="en-US">Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestmentsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Domestic</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xml:lang="en-US">PRC</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Foreign</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xml:lang="en-US">Other jurisdictions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" xml:lang="en-US">Income Tax Expense (Benefit), Continuing Operations [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" xml:lang="en-US">Current Income Tax Expense (Benefit), Continuing Operations [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:to="lab_us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xml:lang="en-US">Current Federal, State and Local, Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xml:lang="en-US">PRC</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" xlink:to="lab_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CurrentForeignTaxExpenseBenefit" xml:lang="en-US">Current Foreign Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CurrentForeignTaxExpenseBenefit" xml:lang="en-US">Other jurisdictions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrentForeignTaxExpenseBenefit" xlink:to="lab_us-gaap_CurrentForeignTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" xml:lang="en-US">Current Income Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" xml:lang="en-US">Total current</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" xml:lang="en-US">Deferred Income Tax Expense (Benefit), Continuing Operations [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:to="lab_us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xml:lang="en-US">Deferred Federal, State and Local, Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xml:lang="en-US">PRC</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" xlink:to="lab_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xml:lang="en-US">Deferred Foreign Income Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xml:lang="en-US">Other jurisdictions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_DeferredForeignIncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" xml:lang="en-US">Deferred Income Tax Expense (Benefit)</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" xml:lang="en-US">Total deferred</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Amount [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" xml:lang="en-US">Summary of Reconciliations of the Income Tax Expenses [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" xlink:to="lab_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" xlink:label="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" xml:lang="en-US">Summary of Reconciliations of the Income Tax Expenses [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" xlink:to="lab_xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xml:lang="en-US">Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xml:lang="en-US">Income tax credit computed at the PRC statutory income tax rate of 25%, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:to="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xml:lang="en-US">Effect of change in tax rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:to="lab_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xml:lang="en-US">Effect of different tax rate of different jurisdictions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:to="lab_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Research, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xml:lang="en-US">Effect of additional deduction for qualified R&amp;D expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpense" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpense" xml:lang="en-US">Non-deductible expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:to="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpense" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xml:lang="en-US">Changes in valuation allowance, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xlink:label="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xml:lang="en-US">Loss Before Income Tax Expenses Benefit And Share Of Results Of Equity Method Investees</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xml:lang="en-US">Loss before income tax expenses (benefit) and share of results of equity method investees</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xlink:to="lab_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" xml:lang="en-US">Loss before income tax expenses benefit and share of results of equity method investees</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xlink:label="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xml:lang="en-US">Income Tax Reconciliation Effect Of Preferential Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xml:lang="en-US">Effect of preferential tax rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xlink:to="lab_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IncomeTaxReconciliationEffectOfPreferentialRate" xml:lang="en-US">Income tax reconciliation effect of preferential rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxExemptIncome" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Exempt Income, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxExemptIncome" xml:lang="en-US">Tax-free income</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxExemptIncome" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Adjustments, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" xml:lang="en-US">Others, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:to="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xml:lang="en-US">Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xml:lang="en-US">Income tax credit computed at the PRC statutory income tax rate of 25%</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xml:lang="en-US">Statutory income tax rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" xlink:to="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Income Tax Reconciliation Unrealized Foreign Exchange Gain Or Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Unrealized Foreign Exchange Gain or Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:to="lab_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Income tax reconciliation unrealized foreign exchange gain or loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" xlink:to="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-Based Payment Arrangement, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xml:lang="en-US">Share-based compensation expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:to="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Research and Development, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xml:lang="en-US">Effect of additional deduction for qualified R&amp;D expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:to="lab_us-gaap_IncomeTaxReconciliationNondeductibleExpenseResearchAndDevelopment" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Income Tax Reconciliation Non deductible Expense Preferential tax rates</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Effect of preferential tax rates</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:to="lab_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Income tax reconciliation non deductible expense preferential tax rates.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Effective Income Tax Rate Reconciliation Unrealized Foreign Exchange Gain Or Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Unrealized Foreign Exchange Gain or Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xlink:to="lab_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" xml:lang="en-US">Effective income tax rate reconciliation unrealized foreign exchange gain or loss.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-Based Payment Arrangement, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xml:lang="en-US">Share-based compensation expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Nondeductible Expense, Research and Development, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xml:lang="en-US">Effect of additional deduction for qualified R&amp;D expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseResearchAndDevelopment" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:label="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Effective Income Tax Rate Reconciliation Non deductible Expense Preferential Tax Rates</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Effect of preferential tax rates</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xlink:to="lab_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" xml:lang="en-US">Effective income tax rate reconciliation non deductible expense preferential tax rates.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xml:lang="en-US">Others, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:to="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xml:lang="en-US">Changes in valuation allowances</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Adjustments, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:to="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Prior Year Income Taxes, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xml:lang="en-US">Tax loss prior year adjustment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" xlink:to="lab_us-gaap_IncomeTaxReconciliationPriorYearIncomeTaxes" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Prior Year Income Taxes, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xml:lang="en-US">Tax loss prior year adjustment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationPriorYearIncomeTaxes" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xml:lang="en-US">Income tax expenses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xml:lang="en-US">Statutory tax rate difference, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_KY" xlink:label="loc_country_KY" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_KY" xml:lang="en-US">CAYMAN ISLANDS</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_KY" xml:lang="en-US">Cayman [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_KY" xlink:to="lab_country_KY" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" xml:lang="en-US">Schedule Of Cash Paid For Income Taxes Net Of Refund [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" xlink:to="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" xlink:label="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" xml:lang="en-US">Schedule Of Cash Paid For Income Taxes Net Of Refund [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" xlink:to="lab_xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xml:lang="en-US">Income Tax Paid, State and Local, after Refund Received</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xml:lang="en-US">PRC</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" xlink:to="lab_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xml:lang="en-US">Income Tax Paid, Foreign, after Refund Received</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xml:lang="en-US">Other jurisdictions</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived" xlink:to="lab_us-gaap_IncomeTaxPaidForeignAfterRefundReceived" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxesPaid" xml:lang="en-US">Income Taxes Paid</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_IncomeTaxesPaid" xml:lang="en-US">Cash paid for income taxes, net of refunds</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxesPaid" xlink:to="lab_us-gaap_IncomeTaxesPaid" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_DK" xlink:label="loc_country_DK" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_DK" xml:lang="en-US">DENMARK</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_DK" xml:lang="en-US">Denmark [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_DK" xlink:to="lab_country_DK" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_AmericasMember" xlink:label="loc_srt_AmericasMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_AmericasMember" xml:lang="en-US">Americas [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_AmericasMember" xml:lang="en-US">United States [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_AmericasMember" xlink:to="lab_srt_AmericasMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_NO" xlink:label="loc_country_NO" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_country_NO" xml:lang="en-US">NORWAY</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_country_NO" xml:lang="en-US">Norway [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_NO" xlink:to="lab_country_NO" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:label="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xml:lang="en-US">Components of Deferred Tax Assets [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:to="lab_us-gaap_ComponentsOfDeferredTaxAssetsAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xml:lang="en-US">Deferred Tax Assets, Operating Loss Carryforwards</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xml:lang="en-US">Net operating loss carry-forwards</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:to="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xlink:label="loc_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xml:lang="en-US">Deferred Tax Assets Property Plant And Equipment And Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xml:lang="en-US">Impairment of long-lived assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xlink:to="lab_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" xml:lang="en-US">Deferred tax assets property plant and equipment and intangible assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsGovernmentGrants" xlink:label="loc_xpev_DeferredTaxAssetsGovernmentGrants" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsGovernmentGrants" xml:lang="en-US">Deferred Tax Assets Government Grants</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredTaxAssetsGovernmentGrants" xml:lang="en-US">Government grants</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsGovernmentGrants" xlink:to="lab_xpev_DeferredTaxAssetsGovernmentGrants" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsGovernmentGrants" xml:lang="en-US">Deferred tax assets government grants.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInventory" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsInventory" xml:lang="en-US">Deferred Tax Assets, Inventory</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsInventory" xml:lang="en-US">Inventory reserve</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsInventory" xlink:to="lab_us-gaap_DeferredTaxAssetsInventory" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xml:lang="en-US">Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xml:lang="en-US">Accruals and others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" xlink:to="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xml:lang="en-US">Deferred Tax Assets, Valuation Allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xml:lang="en-US">Valuation allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xml:lang="en-US">Balance at beginning of the year</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xml:lang="en-US">Balance at end of the year</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_DeferredTaxAssetsValuationAllowance" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsNet" xml:lang="en-US">Deferred Tax Assets, Net of Valuation Allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsNet" xml:lang="en-US">Total deferred tax assets, net of valuation allowance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsNet" xlink:to="lab_us-gaap_DeferredTaxAssetsNet" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsLeases" xlink:label="loc_xpev_DeferredTaxAssetsLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsLeases" xml:lang="en-US">Deferred Tax Assets Leases</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredTaxAssetsLeases" xml:lang="en-US">Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsLeases" xlink:to="lab_xpev_DeferredTaxAssetsLeases" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsLeases" xml:lang="en-US">Deferred tax assets leases.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xlink:label="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xml:lang="en-US">Components of Deferred Tax Liabilities [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xlink:to="lab_us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xml:lang="en-US">Deferred Tax Liabilities, Intangible Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xml:lang="en-US">Acquired intangible assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:to="lab_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesLeasingArrangements" xml:lang="en-US">Deferred Tax Liabilities, Leasing Arrangements</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesLeasingArrangements" xml:lang="en-US">Leases</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements" xlink:to="lab_us-gaap_DeferredTaxLiabilitiesLeasingArrangements" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" xml:lang="en-US">Deferred Tax Assets, Net, Total</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" xml:lang="en-US">Deferred tax liabilities, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:to="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesOther" xml:lang="en-US">Deferred Tax Liabilities, Other</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesOther" xml:lang="en-US">Others</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesOther" xlink:to="lab_us-gaap_DeferredTaxLiabilitiesOther" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredIncomeTaxLiabilities" xml:lang="en-US">Deferred Tax Liabilities, Gross</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_DeferredIncomeTaxLiabilities" xml:lang="en-US">Total deferred tax liabilities</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities" xlink:to="lab_us-gaap_DeferredIncomeTaxLiabilities" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsNetOfValuationAllowance" xlink:label="loc_xpev_DeferredTaxAssetsNetOfValuationAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsNetOfValuationAllowance" xml:lang="en-US">Deferred Tax Assets Net Of Valuation Allowance</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredTaxAssetsNetOfValuationAllowance" xml:lang="en-US">Deferred tax assets, net</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsNetOfValuationAllowance" xlink:to="lab_xpev_DeferredTaxAssetsNetOfValuationAllowance" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsNetOfValuationAllowance" xml:lang="en-US">Deferred tax assets net of valuation allowance.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceAbstract" xlink:label="loc_us-gaap_ValuationAllowanceAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValuationAllowanceAbstract" xml:lang="en-US">Valuation Allowance [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationAllowanceAbstract" xlink:to="lab_us-gaap_ValuationAllowanceAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceTable" xlink:label="loc_us-gaap_ValuationAllowanceTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValuationAllowanceTable" xml:lang="en-US">Valuation Allowance [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationAllowanceTable" xlink:to="lab_us-gaap_ValuationAllowanceTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xml:lang="en-US">Valuation Allowance by Deferred Tax Asset [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:to="lab_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetDomain" xml:lang="en-US">Deferred Tax Asset [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetDomain" xlink:to="lab_us-gaap_DeferredTaxAssetDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xml:lang="en-US">Deferred Tax Assets Valuation Allowance Additions [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xml:lang="en-US">Additions [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xlink:to="lab_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" xml:lang="en-US">Deferred tax assets valuation allowance additions.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xml:lang="en-US">Deferred Tax Assets Valuation Allowance Loss Utilized [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xml:lang="en-US">Loss utilized and expired [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xlink:to="lab_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" xml:lang="en-US">Deferred tax assets valuation allowance loss utilized.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xlink:label="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xml:lang="en-US">Deferred Tax Assets Valuation Allowance Effect Of Change In Tax Rate [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xml:lang="en-US">Effect of change in tax rate [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xlink:to="lab_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" xml:lang="en-US">Deferred tax assets valuation allowance effect of change in tax rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_AcquisitionOfSubsidiariesMember" xlink:label="loc_xpev_AcquisitionOfSubsidiariesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_AcquisitionOfSubsidiariesMember" xml:lang="en-US">Acquisition of subsidiaries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_AcquisitionOfSubsidiariesMember" xlink:to="lab_xpev_AcquisitionOfSubsidiariesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceLineItems" xlink:label="loc_us-gaap_ValuationAllowanceLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValuationAllowanceLineItems" xml:lang="en-US">Valuation Allowance [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationAllowanceLineItems" xlink:to="lab_us-gaap_ValuationAllowanceLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xml:lang="en-US">Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xml:lang="en-US">Valuation allowance</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:to="lab_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLossCarryforwardsTable" xml:lang="en-US">Operating Loss Carryforwards [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable" xlink:to="lab_us-gaap_OperatingLossCarryforwardsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxAuthorityNameAxis" xml:lang="en-US">Income Tax Authority, Name [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameAxis" xlink:to="lab_us-gaap_IncomeTaxAuthorityNameAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxAuthorityNameDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxAuthorityNameDomain" xml:lang="en-US">Income Tax Authority, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityNameDomain" xlink:to="lab_us-gaap_IncomeTaxAuthorityNameDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InlandRevenueHongKongMember" xlink:label="loc_us-gaap_InlandRevenueHongKongMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InlandRevenueHongKongMember" xml:lang="en-US">Inland Revenue, Hong Kong [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InlandRevenueHongKongMember" xml:lang="en-US">Hong Kong [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InlandRevenueHongKongMember" xml:lang="en-US">Inland Revenue, Hong Kong [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InlandRevenueHongKongMember" xlink:to="lab_us-gaap_InlandRevenueHongKongMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OtherMember" xlink:label="loc_xpev_OtherMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OtherMember" xml:lang="en-US">Other [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_OtherMember" xml:lang="en-US">Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OtherMember" xlink:to="lab_xpev_OtherMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodAxis" xlink:label="loc_us-gaap_TaxPeriodAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TaxPeriodAxis" xml:lang="en-US">Tax Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TaxPeriodAxis" xlink:to="lab_us-gaap_TaxPeriodAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxPeriodDomain" xlink:label="loc_us-gaap_TaxPeriodDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_TaxPeriodDomain" xml:lang="en-US">Tax Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TaxPeriodDomain" xlink:to="lab_us-gaap_TaxPeriodDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2026TaxYearMember" xlink:label="loc_xpev_Expiring2026TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2026TaxYearMember" xml:lang="en-US">Expiring 2026 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2026TaxYearMember" xml:lang="en-US">Loss expiring in 2026 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2026TaxYearMember" xlink:to="lab_xpev_Expiring2026TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2026TaxYearMember" xml:lang="en-US">Expiring 2026 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2027TaxYearMember" xlink:label="loc_xpev_Expiring2027TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2027TaxYearMember" xml:lang="en-US">Loss expiring in 2027 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2027TaxYearMember" xlink:to="lab_xpev_Expiring2027TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2027TaxYearMember" xml:lang="en-US">Expiring 2027 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2028TaxYearMember" xlink:label="loc_xpev_Expiring2028TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2028TaxYearMember" xml:lang="en-US">Expiring 2028 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2028TaxYearMember" xml:lang="en-US">Loss expiring in 2028 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2028TaxYearMember" xlink:to="lab_xpev_Expiring2028TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2028TaxYearMember" xml:lang="en-US">Expiring 2028 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2029TaxYearMember" xlink:label="loc_xpev_Expiring2029TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2029TaxYearMember" xml:lang="en-US">Loss expiring in 2029 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2029TaxYearMember" xlink:to="lab_xpev_Expiring2029TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2029TaxYearMember" xml:lang="en-US">Expiring 2029 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2030Member" xlink:label="loc_xpev_LossExpiringIn2030Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LossExpiringIn2030Member" xml:lang="en-US">Loss expiring in 2030 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LossExpiringIn2030Member" xlink:to="lab_xpev_LossExpiringIn2030Member" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2032TaxYearMember" xlink:label="loc_xpev_Expiring2032TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2032TaxYearMember" xml:lang="en-US">Expiring 2032 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2032TaxYearMember" xml:lang="en-US">Loss expiring in 2032 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2032TaxYearMember" xlink:to="lab_xpev_Expiring2032TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2032TaxYearMember" xml:lang="en-US">Expiring 2032 tax year member.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LossExpiringIn2031Member" xlink:label="loc_xpev_LossExpiringIn2031Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LossExpiringIn2031Member" xml:lang="en-US">Loss expiring in 2031 [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_LossExpiringIn2031Member" xml:lang="en-US">Loss expiring in 2031 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LossExpiringIn2031Member" xlink:to="lab_xpev_LossExpiringIn2031Member" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LossExpiringIn2031Member" xml:lang="en-US">Expiring 2031 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2033TaxYearMember" xlink:label="loc_xpev_Expiring2033TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2033TaxYearMember" xml:lang="en-US">Expiring 2033 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2033TaxYearMember" xml:lang="en-US">Loss expiring in 2033 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2033TaxYearMember" xlink:to="lab_xpev_Expiring2033TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2033TaxYearMember" xml:lang="en-US">Expiring 2033 tax year member.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2034TaxYearMember" xlink:label="loc_xpev_Expiring2034TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2034TaxYearMember" xml:lang="en-US">Expiring 2034 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2034TaxYearMember" xml:lang="en-US">Loss expiring in 2034 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2034TaxYearMember" xlink:to="lab_xpev_Expiring2034TaxYearMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_Expiring2035TaxYearMember" xlink:label="loc_xpev_Expiring2035TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_Expiring2035TaxYearMember" xml:lang="en-US">Expiring 2035 Tax Year [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_Expiring2035TaxYearMember" xml:lang="en-US">Loss expiring in 2035 [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_Expiring2035TaxYearMember" xlink:to="lab_xpev_Expiring2035TaxYearMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_Expiring2035TaxYearMember" xml:lang="en-US">Expiring 2035 tax year.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OperatingLossCarryforwardsLineItems" xml:lang="en-US">Operating Loss Carryforwards [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems" xlink:to="lab_us-gaap_OperatingLossCarryforwardsLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xml:lang="en-US">Deferred Tax Assets, Operating Loss Carryforwards, Subject to Expiration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xml:lang="en-US">Loss</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xml:lang="en-US">Loss</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" xlink:to="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xml:lang="en-US">Deferred Tax Assets, Operating Loss Carryforwards, Not Subject to Expiration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xml:lang="en-US">Tax losses</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" xlink:to="lab_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InternalRevenueServiceIRSMember" xml:lang="en-US">Internal Revenue Service (IRS) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_InternalRevenueServiceIRSMember" xml:lang="en-US">United States [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalRevenueServiceIRSMember" xlink:to="lab_us-gaap_InternalRevenueServiceIRSMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StateAdministrationOfTaxationChinaMember" xlink:label="loc_us-gaap_StateAdministrationOfTaxationChinaMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_StateAdministrationOfTaxationChinaMember" xml:lang="en-US">State Administration of Taxation, China [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_StateAdministrationOfTaxationChinaMember" xml:lang="en-US">PRC [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StateAdministrationOfTaxationChinaMember" xlink:to="lab_us-gaap_StateAdministrationOfTaxationChinaMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongKongAndOthersMember" xlink:label="loc_xpev_HongKongAndOthersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HongKongAndOthersMember" xml:lang="en-US">Hong Kong And Others [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_HongKongAndOthersMember" xml:lang="en-US">Hong Kong and Others [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HongKongAndOthersMember" xlink:to="lab_xpev_HongKongAndOthersMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HongKongAndOthersMember" xml:lang="en-US">Hong Kong and Others [Member]</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BeneficialOwnerMember" xlink:label="loc_us-gaap_BeneficialOwnerMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_BeneficialOwnerMember" xml:lang="en-US">Beneficial Owner [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_BeneficialOwnerMember" xml:lang="en-US">Beneficial Owner [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BeneficialOwnerMember" xlink:to="lab_us-gaap_BeneficialOwnerMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyAxis" xlink:label="loc_xpev_TaxPolicyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TaxPolicyAxis" xml:lang="en-US">Tax Policy [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TaxPolicyAxis" xlink:to="lab_xpev_TaxPolicyAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TaxPolicyAxis" xml:lang="en-US">Tax policy.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaxPolicyDomain" xlink:label="loc_xpev_TaxPolicyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TaxPolicyDomain" xml:lang="en-US">Tax Policy [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TaxPolicyDomain" xlink:to="lab_xpev_TaxPolicyDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TaxPolicyDomain" xml:lang="en-US">Tax policy.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeAxis" xlink:label="loc_xpev_EnterpriseTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EnterpriseTypeAxis" xml:lang="en-US">Enterprise Type [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EnterpriseTypeAxis" xlink:to="lab_xpev_EnterpriseTypeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EnterpriseTypeAxis" xml:lang="en-US">Enterprise type.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EnterpriseTypeDomain" xlink:label="loc_xpev_EnterpriseTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EnterpriseTypeDomain" xml:lang="en-US">Enterprise Type [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EnterpriseTypeDomain" xlink:to="lab_xpev_EnterpriseTypeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EnterpriseTypeDomain" xml:lang="en-US">Enterprise type.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HnteMember" xlink:label="loc_xpev_HnteMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HnteMember" xml:lang="en-US">HNTE [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_HnteMember" xml:lang="en-US">HNTE [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HnteMember" xlink:to="lab_xpev_HnteMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HnteMember" xml:lang="en-US">HNTE.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PreferentialIncomeTaxRate" xlink:label="loc_xpev_PreferentialIncomeTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PreferentialIncomeTaxRate" xml:lang="en-US">Preferential Income Tax Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PreferentialIncomeTaxRate" xml:lang="en-US">Preferential income tax rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PreferentialIncomeTaxRate" xlink:to="lab_xpev_PreferentialIncomeTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PreferentialIncomeTaxRate" xml:lang="en-US">Preferential income tax rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_WithholdingTaxRate" xlink:label="loc_xpev_WithholdingTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_WithholdingTaxRate" xml:lang="en-US">Withholding Tax Rate</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_WithholdingTaxRate" xml:lang="en-US">Withholding tax rate</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_WithholdingTaxRate" xlink:to="lab_xpev_WithholdingTaxRate" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_WithholdingTaxRate" xml:lang="en-US">Withholding tax rate.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Research, Percent</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xml:lang="en-US">Effective income tax rate reconciliation, tax credit, research, percent</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsOther" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsOther" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Other, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsOther" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxCreditsOther" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="loc_srt_ConsolidatedEntitiesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesAxis" xlink:to="lab_srt_ConsolidatedEntitiesAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="loc_srt_ConsolidatedEntitiesDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesDomain" xlink:to="lab_srt_ConsolidatedEntitiesDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SubsidiariesMember" xlink:label="loc_srt_SubsidiariesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_SubsidiariesMember" xml:lang="en-US">Subsidiaries [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_srt_SubsidiariesMember" xml:lang="en-US">Subsidiaries [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SubsidiariesMember" xlink:to="lab_srt_SubsidiariesMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xml:lang="en-US">Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:to="lab_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xml:lang="en-US">Antidilutive Securities [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesNameDomain" xml:lang="en-US">Antidilutive Securities, Name [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain" xlink:to="lab_us-gaap_AntidilutiveSecuritiesNameDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ContigentShareMember" xlink:label="loc_xpev_ContigentShareMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ContigentShareMember" xml:lang="en-US">Contigent Share [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ContigentShareMember" xlink:to="lab_xpev_ContigentShareMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" xlink:label="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" xml:lang="en-US">Impairment Effects on Earnings Per Share [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" xlink:to="lab_us-gaap_ImpairmentEffectsOnEarningsPerShareLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xml:lang="en-US">Antidilutive securities excluded from computation of EPS</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_XiaopengHeMember" xlink:label="loc_xpev_XiaopengHeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_XiaopengHeMember" xml:lang="en-US">Xiaopeng He [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_XiaopengHeMember" xml:lang="en-US">Xiaopeng He [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_XiaopengHeMember" xlink:to="lab_xpev_XiaopengHeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_XiaopengHeMember" xml:lang="en-US">Xiaopeng He.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xlink:label="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xml:lang="en-US">Guangzhou Huitian Aerospace Technology Co., Ltd. (Guangzhou Huitian) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xml:lang="en-US">Guangzhou Huitian Aerospace Technology Co., Ltd. (Guangzhou Huitian) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" xlink:to="lab_xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xlink:label="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xml:lang="en-US">Guangdong Huitian Aerospace Technology Co., Ltd. (Guangdong Huitian) [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xml:lang="en-US">Guangdong Huitian Aerospace Technology Co., Ltd. (Guangdong Huitian) [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" xlink:to="lab_xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HongdiBrianGuMember" xlink:label="loc_xpev_HongdiBrianGuMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HongdiBrianGuMember" xml:lang="en-US">Hongdi Brian Gu [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_HongdiBrianGuMember" xml:lang="en-US">Hongdi Brian Gu [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HongdiBrianGuMember" xlink:to="lab_xpev_HongdiBrianGuMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HongdiBrianGuMember" xml:lang="en-US">Hongdi brian gu [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_TaoHeMember" xlink:label="loc_xpev_TaoHeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_TaoHeMember" xml:lang="en-US">Tao He [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_TaoHeMember" xml:lang="en-US">Tao He [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_TaoHeMember" xlink:to="lab_xpev_TaoHeMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_TaoHeMember" xml:lang="en-US">Tao he [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarIncMember" xlink:label="loc_xpev_HtFlyingCarIncMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HtFlyingCarIncMember" xml:lang="en-US">HT Flying Car Inc [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_HtFlyingCarIncMember" xml:lang="en-US">HT Flying Car Inc. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HtFlyingCarIncMember" xlink:to="lab_xpev_HtFlyingCarIncMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_HtFlyingCarIncMember" xml:lang="en-US">HT flying car inc [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_HtFlyingCarHongKongLimitedMember" xlink:label="loc_xpev_HtFlyingCarHongKongLimitedMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_HtFlyingCarHongKongLimitedMember" xml:lang="en-US">HT Flying Car (Hong Kong) Limited [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_HtFlyingCarHongKongLimitedMember" xml:lang="en-US">HT Flying Car (Hong Kong) Limited [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_HtFlyingCarHongKongLimitedMember" xlink:to="lab_xpev_HtFlyingCarHongKongLimitedMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RocketsCapitalL.pMember" xlink:label="loc_xpev_RocketsCapitalL.pMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RocketsCapitalL.pMember" xml:lang="en-US">Rockets Capital L.P [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_RocketsCapitalL.pMember" xml:lang="en-US">Rockets Capital L.P [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RocketsCapitalL.pMember" xlink:to="lab_xpev_RocketsCapitalL.pMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RocketsCapitalL.pMember" xml:lang="en-US">Rockets capital L.P. [Member].</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FoshanHuitianAviationTechnologyCoLtdMember" xlink:label="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FoshanHuitianAviationTechnologyCoLtdMember" xml:lang="en-US">Foshan Huitian Aviation Technology Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FoshanHuitianAviationTechnologyCoLtdMember" xlink:to="lab_xpev_FoshanHuitianAviationTechnologyCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FoshanHuitianAviationTechnologyCoLtdMember" xml:lang="en-US">Foshan huitian aviation technology co., ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouHuitianManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Huitian Manufacturing Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouHuitianManufacturingCoLtdMember" xlink:to="lab_xpev_GuangzhouHuitianManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouHuitianManufacturingCoLtdMember" xml:lang="en-US">Guangzhou huitian manufacturing co., ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xlink:label="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xml:lang="en-US">Guangzhou Huitian Flying Car Manufacturing Co., Ltd. [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xlink:to="lab_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" xml:lang="en-US">Guangzhou huitian flying car manufacturing co., ltd.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xlink:label="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xml:lang="en-US">Nature of Common Ownership or Management Control Relationships</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xml:lang="en-US">Relationship with the company</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" xlink:to="lab_us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyMember" xlink:label="loc_us-gaap_RelatedPartyMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyMember" xml:lang="en-US">Related Party [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyMember" xlink:to="lab_us-gaap_RelatedPartyMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrincipalOwnerMember" xlink:label="loc_us-gaap_PrincipalOwnerMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PrincipalOwnerMember" xml:lang="en-US">Principal Owner [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PrincipalOwnerMember" xlink:to="lab_us-gaap_PrincipalOwnerMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_EmployeeGroupMember" xlink:label="loc_xpev_EmployeeGroupMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_EmployeeGroupMember" xml:lang="en-US">Employee Group [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_EmployeeGroupMember" xlink:to="lab_xpev_EmployeeGroupMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_EmployeeGroupMember" xml:lang="en-US">Employee group.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_OperationSupportServiceMember" xlink:label="loc_xpev_OperationSupportServiceMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_OperationSupportServiceMember" xml:lang="en-US">Operation Support Service [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_OperationSupportServiceMember" xlink:to="lab_xpev_OperationSupportServiceMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_OperationSupportServiceMember" xml:lang="en-US">Operation support service.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_LeasingServicesMember" xlink:label="loc_xpev_LeasingServicesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_LeasingServicesMember" xml:lang="en-US">Leasing Services [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_LeasingServicesMember" xlink:to="lab_xpev_LeasingServicesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_LeasingServicesMember" xml:lang="en-US">Leasing services</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PurchaseOfServicesMember" xlink:label="loc_xpev_PurchaseOfServicesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PurchaseOfServicesMember" xml:lang="en-US">Purchase of Services [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PurchaseOfServicesMember" xlink:to="lab_xpev_PurchaseOfServicesMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PurchaseOfServicesMember" xml:lang="en-US">Purchase of services.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_OtherReceivablesNetCurrent" xml:lang="en-US">Other Receivables, Net, Current</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_OtherReceivablesNetCurrent" xml:lang="en-US">Amount due from related parties</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherReceivablesNetCurrent" xlink:to="lab_us-gaap_OtherReceivablesNetCurrent" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xml:lang="en-US">Related Party Transaction, Purchases from Related Party</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xml:lang="en-US">Purchases from related party</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:to="lab_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_RelatedPartyTransactionAmountsOfTransaction" xml:lang="en-US">Related Party Transaction, Amounts of Transaction</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_us-gaap_RelatedPartyTransactionAmountsOfTransaction" xml:lang="en-US">Related Party Transaction, Amounts of Transaction</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:to="lab_us-gaap_RelatedPartyTransactionAmountsOfTransaction" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xml:lang="en-US">Investment Company, Financial Commitment to Investee, Future Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xml:lang="en-US">Investment commitment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" xlink:to="lab_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueByAssetClassAxis" xml:lang="en-US">Asset Class [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByAssetClassAxis" xlink:to="lab_us-gaap_FairValueByAssetClassAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xml:lang="en-US">Asset Class [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_GoodsMember" xlink:label="loc_xpev_GoodsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_GoodsMember" xml:lang="en-US">Goods [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_GoodsMember" xlink:to="lab_xpev_GoodsMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xlink:label="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xml:lang="en-US">Long-term Commitment (Excluding Unconditional Purchase Obligation) [Abstract]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xml:lang="en-US">Long-term Commitment (Excluding Unconditional Purchase Obligation) [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" xlink:to="lab_us-gaap_LongTermCommitmentExcludingUnconditionalPurchaseObligationAbstract" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentTable" xml:lang="en-US">Long-term Purchase Commitment [Table]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentTable" xml:lang="en-US">Long-term Purchase Commitment [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xml:lang="en-US">Category of Item Purchased [Axis]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xml:lang="en-US">Category of Item Purchased [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xml:lang="en-US">Long-term Purchase Commitment, Category of Item Purchased [Domain]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xml:lang="en-US">Long-term Purchase Commitment, Category of Item Purchased [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalAdditionsMember" xlink:label="loc_us-gaap_CapitalAdditionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_CapitalAdditionsMember" xml:lang="en-US">Capital Addition Purchase Commitments [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_CapitalAdditionsMember" xml:lang="en-US">Property, plant and equipment [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalAdditionsMember" xlink:to="lab_us-gaap_CapitalAdditionsMember" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentsAdditionsMember" xlink:label="loc_xpev_InvestmentsAdditionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestmentsAdditionsMember" xml:lang="en-US">Investments Additions [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InvestmentsAdditionsMember" xml:lang="en-US">Investments [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestmentsAdditionsMember" xlink:to="lab_xpev_InvestmentsAdditionsMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InvestmentsAdditionsMember" xml:lang="en-US">Investments additions.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentLineItems" xml:lang="en-US">Long-term Purchase Commitment [Line Items]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentLineItems" xml:lang="en-US">Long-term Purchase Commitment [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentAmount" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentAmount" xml:lang="en-US">Long-term Purchase Commitment, Amount</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_LongTermPurchaseCommitmentAmount" xml:lang="en-US">Long-term Purchase Commitment, Amount</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentAmount" xlink:to="lab_us-gaap_LongTermPurchaseCommitmentAmount" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PurchaseObligation" xml:lang="en-US">Purchase Obligation</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_PurchaseObligation" xml:lang="en-US">Purchase commitments on purchase of raw materials</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PurchaseObligation" xlink:to="lab_us-gaap_PurchaseObligation" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesAbstract" xlink:label="loc_us-gaap_ReceivablesAbstract" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ReceivablesAbstract" xml:lang="en-US">Receivables [Abstract]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReceivablesAbstract" xlink:to="lab_us-gaap_ReceivablesAbstract" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsTable" xlink:label="loc_xpev_RestrictedNetAssetsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedNetAssetsTable" xml:lang="en-US">Restricted Net Assets [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedNetAssetsTable" xlink:to="lab_xpev_RestrictedNetAssetsTable" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssetsLineItems" xlink:label="loc_xpev_RestrictedNetAssetsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedNetAssetsLineItems" xml:lang="en-US">Restricted Net Assets [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedNetAssetsLineItems" xlink:to="lab_xpev_RestrictedNetAssetsLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xlink:label="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xml:lang="en-US">Percentage of profits after tax to general reserve fund</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xml:lang="en-US">Percentage of profits after tax to general reserve fund&#160;</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xlink:to="lab_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" xml:lang="en-US">Percentage of profits after tax to general reserve fund&#160;</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xml:lang="en-US">Percentage of statutory surplus fund on profitsafter tax</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xml:lang="en-US">Percentage of statutory surplus fund on profits&#160;after tax</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xlink:to="lab_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" xml:lang="en-US">Percentage of statutory surplus fund on profits&#160;after tax</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xml:lang="en-US">Percentage Of Statutory Surplus Fund On Registered Capital</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xml:lang="en-US">Percentage of statutory surplus fund on registered capital</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xlink:to="lab_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" xml:lang="en-US">Percentage of statutory surplus fund on registered capital.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xlink:label="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xml:lang="en-US">Percentage Of General Reserve Fund On Registered Capital</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xml:lang="en-US">Percentage of general reserve fund on registered capital</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xlink:to="lab_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" xml:lang="en-US">Percentage of general reserve fund on registered capital.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xlink:label="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xml:lang="en-US">Percentage Of AfterTax Profits For Appropriations Prior To Dividend Payment</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xml:lang="en-US">Percentage of after-tax profits for appropriations prior to dividend payment</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xlink:to="lab_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" xml:lang="en-US">Percentage of after-tax profits for appropriations prior to dividend payment.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_RestrictedNetAssets" xlink:label="loc_xpev_RestrictedNetAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_RestrictedNetAssets" xml:lang="en-US">Restricted Net Assets</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_RestrictedNetAssets" xml:lang="en-US">Restricted Net Assets</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_RestrictedNetAssets" xlink:to="lab_xpev_RestrictedNetAssets" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_RestrictedNetAssets" xml:lang="en-US">Restricted net assets.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="loc_srt_ScheduleOfCondensedFinancialStatementsTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_ScheduleOfCondensedFinancialStatementsTable" xml:lang="en-US">Condensed Financial Statements [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScheduleOfCondensedFinancialStatementsTable" xlink:to="lab_srt_ScheduleOfCondensedFinancialStatementsTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CondensedFinancialStatementsCaptionsLineItems" xlink:label="loc_srt_CondensedFinancialStatementsCaptionsLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_CondensedFinancialStatementsCaptionsLineItems" xml:lang="en-US">Condensed Financial Statements, Captions [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CondensedFinancialStatementsCaptionsLineItems" xlink:to="lab_srt_CondensedFinancialStatementsCaptionsLineItems" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_StatutoryAndOtherReserves" xlink:label="loc_xpev_StatutoryAndOtherReserves" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_StatutoryAndOtherReserves" xml:lang="en-US">Statutory And Other Reserves</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_StatutoryAndOtherReserves" xml:lang="en-US">Statutory and other reserves</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_StatutoryAndOtherReserves" xlink:to="lab_xpev_StatutoryAndOtherReserves" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_StatutoryAndOtherReserves" xml:lang="en-US">Statutory and other reserves.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_ParentMember" xml:lang="en-US">Parent [Member]</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_us-gaap_ParentMember" xml:lang="en-US">Parent [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ParentMember" xlink:to="lab_us-gaap_ParentMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_GainLossOnInvestments" xml:lang="en-US">Gain (Loss) on Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_GainLossOnInvestments" xml:lang="en-US">Equity in loss of subsidiaries and VIEs</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnInvestments" xlink:to="lab_us-gaap_GainLossOnInvestments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_InvestmentLossOnLongTermInvestments" xlink:label="loc_xpev_InvestmentLossOnLongTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_InvestmentLossOnLongTermInvestments" xml:lang="en-US">Investment Loss On Long Term Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="lab_xpev_InvestmentLossOnLongTermInvestments" xml:lang="en-US">Investment (loss) gain on long-term investments</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_InvestmentLossOnLongTermInvestments" xlink:to="lab_xpev_InvestmentLossOnLongTermInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_InvestmentLossOnLongTermInvestments" xml:lang="en-US">Investment loss on long-term investments.</link:label>
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xlink:label="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xml:lang="en-US">Fair Value Gain Loss on Derivative Liability in Contingent Consideration</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xml:lang="en-US">Fair value gain (loss) on derivative liability relating to the contingent consideration</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xlink:to="lab_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" xml:lang="en-US">Fair value gain loss on derivative liability in contingent consideration.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" xml:lang="en-US">Payments to Acquire Equity Method Investments</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" xml:lang="en-US">Investment in equity investees</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:to="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" />
          <link:loc xlink:type="locator" xlink:href="xpev-20251231.xsd#xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xlink:label="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xml:lang="en-US">Proceeds From Issuance Of Common Stock Of Volkswagen</link:label>
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="lab_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xml:lang="en-US">Proceeds from issuance of ordinary shares to Volkswagen</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xlink:to="lab_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="lab_xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" xml:lang="en-US">Proceeds from issuance of common stock of volkswagen.</link:label>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis" xlink:label="loc_srt_RestatementAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RestatementAxis" xml:lang="en-US">Revision of Prior Period [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementAxis" xlink:to="lab_srt_RestatementAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain" xlink:label="loc_srt_RestatementDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_srt_RestatementDomain" xml:lang="en-US">Revision of Prior Period [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementDomain" xlink:to="lab_srt_RestatementDomain" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventTable" xml:lang="en-US">Subsequent Event [Table]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventTable" xlink:to="lab_us-gaap_SubsequentEventTable" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventMember" xml:lang="en-US">Subsequent Event [Member]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventMember" xlink:to="lab_us-gaap_SubsequentEventMember" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_SubsequentEventLineItems" xml:lang="en-US">Subsequent Event [Line Items]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventLineItems" xlink:to="lab_us-gaap_SubsequentEventLineItems" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" xml:lang="en-US">Equity Method Investment, Nonconsolidated Investee [Axis]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" xlink:to="lab_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis" />
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" />
          <link:label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="lab_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xml:lang="en-US">Equity Method Investment, Nonconsolidated Investee [Domain]</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" xlink:to="lab_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain" />
        </link:labelLink>
      </link:linkbase>
    </appinfo>
  </annotation>
  <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2025" schemaLocation="https://xbrl.sec.gov/country/2025/country-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/currency/2025" schemaLocation="https://xbrl.sec.gov/currency/2025/currency-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/exch/2025" schemaLocation="https://xbrl.sec.gov/exch/2025/exch-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/naics/2025" schemaLocation="https://xbrl.sec.gov/naics/2025/naics-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/sic/2025" schemaLocation="https://xbrl.sec.gov/sic/2025/sic-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/stpr/2025" schemaLocation="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/net" schemaLocation="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" schemaLocation="http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd" />
  <import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd" />
  <import namespace="http://fasb.org/us-types/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd" />
  <import namespace="http://fasb.org/srt-types/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd" />
  <import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/ecd-sub/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-sub-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd" />
  <import namespace="http://www.xbrl.org/2006/ref" schemaLocation="http://www.xbrl.org/2006/ref-2006-02-27.xsd" />
  <import namespace="http://fasb.org/srt-roles/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd" />
  <import namespace="http://xbrl.sec.gov/cyd-af-sub/2025" schemaLocation="https://xbrl.sec.gov/cyd/2025/cyd-af-sub-2025.xsd" />
  <element name="AmountsDueFromRelatedParties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AmountsDueFromRelatedParties" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ShortTermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_ShortTermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CurrentPortionOfInstallmentPaymentReceivablesNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_CurrentPortionOfInstallmentPaymentReceivablesNet" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LongtermDepositsCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LongtermDepositsCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RestrictedDepositCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_RestrictedDepositCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RestrictedLongTermDepositCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_RestrictedLongTermDepositCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LandUseRightAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandUseRightAsset" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesNet" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LongTermDepositsNonCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LongTermDepositsNonCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="NotesPayableCurrentLiabilities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_NotesPayableCurrentLiabilities" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="StatutoryReserve" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_StatutoryReserve" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="OperatingOtherIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_OperatingOtherIncome" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueDerivativeGainOnDerivativeToContingentConsideration" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_FairValueDerivativeGainOnDerivativeToContingentConsideration" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ComprehensiveIncomeNetOfTaxAvailableToCommonStockholdersBasic" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InvestmentGainLossOnLongTermInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_InvestmentGainLossOnLongTermInvestments" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="VehicleMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VehicleMember" substitutionGroup="xbrli:item" />
  <element name="StockIssuedDuringPeriodSharesRestrictedStockUnits" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_StockIssuedDuringPeriodSharesRestrictedStockUnits" substitutionGroup="xbrli:item" />
  <element name="StockIssuedDuringPeriodSharesTreasuryStock" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_StockIssuedDuringPeriodSharesTreasuryStock" substitutionGroup="xbrli:item" />
  <element name="StockIssuedDuringPeriodValueTreasuryStock" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_StockIssuedDuringPeriodValueTreasuryStock" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AppropriationToStatutoryReserves" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AppropriationToStatutoryReserves" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_TransferFromTreasurySharesToOutstandingOrdinarySharesForVestedRsus" substitutionGroup="xbrli:item" />
  <element name="TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_TransferFromTreasurySharesValueToOutstandingOrdinarySharesForVestedRsus" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOfBusinessAcquisition" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="StatutoryReservesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StatutoryReservesMember" substitutionGroup="xbrli:item" />
  <element name="DidisSmartAutoBusinessMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DidisSmartAutoBusinessMember" substitutionGroup="xbrli:item" />
  <element name="AmortizationOfLandUseRight" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AmortizationOfLandUseRight" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="IncomeInterest" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_IncomeInterest" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="CurrentExpectedCreditLossOfAccountsAndNotesReceivable" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CurrentExpectedCreditLossOfAccountsAndNotesReceivable" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CurrentExpectedCreditLossGainOfInstallmentPaymentReceivables" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CurrentExpectedCreditLossGainOfOtherCurrentAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CurrentExpectedCreditLossGainOfOtherCurrentAssets" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="IncreaseDecreaseInInstallmentPaymentReceivables" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_IncreaseDecreaseInInstallmentPaymentReceivables" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ProceedsFromGovernmentSubsidyRelatedToAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromGovernmentSubsidyRelatedToAssets" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PaymentsToAcquireLandHeld" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentsToAcquireLandHeld" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="PaymentsForProceedsFromShortTermDeposit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentsForProceedsFromShortTermDeposit" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="PlacementsMaturitiesOfLongtermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PlacementsMaturitiesOfLongtermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PlacementsOfRestrictedShorttermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PlacementsOfRestrictedShorttermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="MaturitiesOfRestrictedShortTermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_MaturitiesOfRestrictedShortTermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PlacementsOfRestrictedLongtermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PlacementsOfRestrictedLongtermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentsToAcquireRetainedAssetBackedSecuritiesNotes" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromMaturitiesOfRetainedAssetBackedSecuritiesNotes" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RepaymentOfDebtFromThirdPartyInvestors" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_RepaymentOfDebtFromThirdPartyInvestors" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="RepaymentsOfFinanceLeaseLiabilities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_RepaymentsOfFinanceLeaseLiabilities" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromIssuanceOfOrdinarySharesToVolkswagenGroup" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CashAcquiredInBusinessCombination" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CashAcquiredInBusinessCombination" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="CashAcquiredInAssetAcquisition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CashAcquiredInAssetAcquisition" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FairValueOfContingentConsiderationInAcquisition" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_FairValueOfContingentConsiderationInAcquisition" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ConcentrationRiskAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ConcentrationRiskAbstract" substitutionGroup="xbrli:item" />
  <element name="PrepaidExpensesAndOtherAssetsDisclosureTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PrepaidExpensesAndOtherAssetsDisclosureTextBlock" substitutionGroup="xbrli:item" />
  <element name="LandUseRightsTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LandUseRightsTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossAbstract" substitutionGroup="xbrli:item" />
  <element name="InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentTextBlock" substitutionGroup="xbrli:item" />
  <element name="OtherNoncurrentLiabilitiesDisclosureTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_OtherNoncurrentLiabilitiesDisclosureTextBlock" substitutionGroup="xbrli:item" />
  <element name="LeasesDisclosureAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LeasesDisclosureAbstract" substitutionGroup="xbrli:item" />
  <element name="LeasesDisclosureTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LeasesDisclosureTextBlock" substitutionGroup="xbrli:item" />
  <element name="DeferredRevenueTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_DeferredRevenueTextBlock" substitutionGroup="xbrli:item" />
  <element name="RestrictedNetAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_RestrictedNetAssetsAbstract" substitutionGroup="xbrli:item" />
  <element name="LandUseRightsPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LandUseRightsPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="WarrantiesPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_WarrantiesPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="GovernmentGrantsReceivedOrReceivablePolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_GovernmentGrantsReceivedOrReceivablePolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="StatutoryReservesPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_StatutoryReservesPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="LeasesLessorAndLesseePolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LeasesLessorAndLesseePolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="DividendDeclaredAndPaidPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_DividendDeclaredAndPaidPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="ShortTermAndLongTermDepositsPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ShortTermAndLongTermDepositsPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="LongTermInvestmentsPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LongTermInvestmentsPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="OtherIncomeNetPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_OtherIncomeNetPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationsAndGoodwillPolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_BusinessCombinationsAndGoodwillPolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="AccountspayablePolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AccountspayablePolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="NotespayablePolicyTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_NotespayablePolicyTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfVariableInterestEntitiesAndPrincipalSubsidiariesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="PropertyPlantAndEquipmentUsefulLifeTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PropertyPlantAndEquipmentUsefulLifeTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_FinancialInstrumentsFinancialAssetsAndLiabilitiesBalanceSheetGroupingsAbstract" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfPrepaidExpensesAndOtherCurrentAssetTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfLandUseRightsFiniteLivedTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLandUseRightsFiniteLivedTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentAllowanceForCreditLossNet" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfInstallmentReceivablesWithSignificantFinancingComponentGrossAllowanceForCreditLossAndNetMaturity" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfInstallmentPaymentReceivablesWithSignificantFinancingComponentBeforeAllowanceForCreditLossTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfLongTermInvestmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLongTermInvestmentsAbstract" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfLongterminvestmentsTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLongterminvestmentsTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleoflineofcreditfacilitiesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleoflineofcreditfacilitiesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfOtherInformationRelatedToOperatingLeasesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfCashFlowInformationRelatedToLeasesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfBalanceSheetInformationRelatedToLeasesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfBalanceSheetInformationOfLessorRelatedToLeasesTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfNetInvestmentInSaleTypeLeasesReceivableTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="SharebasedCompensationTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SharebasedCompensationTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ShareBasedCompensationLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShareBasedCompensationLineItems" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="NonTradeInNatureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_NonTradeInNatureMember" substitutionGroup="xbrli:item" />
  <element name="TradeInNatureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TradeInNatureMember" substitutionGroup="xbrli:item" />
  <element name="ReceivablesInNatureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ReceivablesInNatureMember" substitutionGroup="xbrli:item" />
  <element name="PayablesInNatureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PayablesInNatureMember" substitutionGroup="xbrli:item" />
  <element name="InvestmentCommitmentInNatureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InvestmentCommitmentInNatureMember" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" type="dtr-types:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfRelatedPartiesAndNatureOfRelationshipTableTextBlock" substitutionGroup="xbrli:item" />
  <element name="OrganizationConsolidationAndPresentationOfFinancialStatementsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems" substitutionGroup="xbrli:item" />
  <element name="ProceedsFromFONetOfIssuanceCost" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromFONetOfIssuanceCost" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromGlobalPublicOfferingAfterDeductingUnderwritingDiscountsAndCommissions" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PublicOfferingMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PublicOfferingMember" substitutionGroup="xbrli:item" />
  <element name="XintuTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XintuTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="KuntuTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_KuntuTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengSmartMobilityMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengSmartMobilityMember" substitutionGroup="xbrli:item" />
  <element name="GlobalOfferingOnHkexMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GlobalOfferingOnHkexMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXuetaoMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXuetaoMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengMotorsTechnologyCoLtdXiaopengTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengMotorsManufacturingCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengMotorsManufacturingCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ZhaoqingXiaopengMotorsCoLtdZhaoqingXiaopengMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouZhipengIovTechnologyCoLtdzhipengIovMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouYidianSmartMobilityTechnologyCoLtdYidianSmartMobilityMember" substitutionGroup="xbrli:item" />
  <element name="ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ZhaoqingXiaopengNewEnergyInvestmentCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengAutopilotTechnologyCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengAutopilotTechnologyCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="XpenghongKongLimitedMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XpenghongKongLimitedMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXintuTechnologyCo.Ltd.xintuTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShanghaiXiaopengMotorsTechnologyCo.Ltd.Member" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengSmartChargingTechnologyCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengMotorsHuazhongWuhanCoLtdWuhanXiaopengMember" substitutionGroup="xbrli:item" />
  <element name="XpengHuitianHoldingLimitedMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XpengHuitianHoldingLimitedMember" substitutionGroup="xbrli:item" />
  <element name="GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangdongIntelligentInsuranceAgentCoLtdGiiaFormerlyKnownAsQingdaoMiaobaoInsuranceAgentCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_JiangsuZhipengKongjianInformationTechnologyCoLtdZhipengKongjianFormerlyKnownAsJiangsuZhituTechnologyCoLtdASubsidiaryOfXintuTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengMotorsSalesCo.Ltd.xiaopengMotorsSalesMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouChengxingzhidongMotorsTechnologyCoLtdChengxingMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouZhipengManufacturingCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouZhipengManufacturingCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="WuhanXiaopengSmartManufacturingCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_WuhanXiaopengSmartManufacturingCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="DogotixIncMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DogotixIncMember" substitutionGroup="xbrli:item" />
  <element name="ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShenzhenXiaopengMotorsSupplyChainManagementCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouPengxiaoTechnologyCoLtdGuangzhouPengxiaoTechnologyasubsidiaryofZhipengIoVMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengNewEnergyMotorsSalesGuangzhouCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="XpengEuropeanHoldingBvMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XpengEuropeanHoldingBvMember" substitutionGroup="xbrli:item" />
  <element name="VariableInterestEntityVieActivitiesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VariableInterestEntityVieActivitiesMember" substitutionGroup="xbrli:item" />
  <element name="AccountingPoliciesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AccountingPoliciesTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="AccountingPoliciesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AccountingPoliciesLineItems" substitutionGroup="xbrli:item" />
  <element name="LandUseRightsAmortizationPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LandUseRightsAmortizationPeriod" substitutionGroup="xbrli:item" />
  <element name="ProductWarrantyTerm" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProductWarrantyTerm" substitutionGroup="xbrli:item" />
  <element name="PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PercentageOfTheAfterTaxProfitsAllocatableToStatutoryGeneralReserveFund" substitutionGroup="xbrli:item" />
  <element name="StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_StatutoryReservesAsAPercentageOfTheReservedCapitalOfTheCompany" substitutionGroup="xbrli:item" />
  <element name="LongTermDepositsCurrentAndNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LongTermDepositsCurrentAndNoncurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="OtherIncomeOtherSubsidies" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_OtherIncomeOtherSubsidies" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AppropriationsToGeneralReserveFundAndStatutorySurplusFund" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AppropriationsToGeneralReserveFundAndStatutorySurplusFund" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="MaturitiesOfRestrictedLongTermDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_MaturitiesOfRestrictedLongTermDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="SchemeAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SchemeAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="SchemeDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SchemeDomain" substitutionGroup="xbrli:item" />
  <element name="CustomerUpgradeProgrammeSubschemeAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_CustomerUpgradeProgrammeSubschemeAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="CustomerUpgradeProgrammeSubschemeDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_CustomerUpgradeProgrammeSubschemeDomain" substitutionGroup="xbrli:item" />
  <element name="StatutoryReservesAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StatutoryReservesAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="StatutoryReservesDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StatutoryReservesDomain" substitutionGroup="xbrli:item" />
  <element name="GeneralReserveFundMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GeneralReserveFundMember" substitutionGroup="xbrli:item" />
  <element name="BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BankDepositsForLetterOfCreditBankNotesAndAForwardExchangeContractMember" substitutionGroup="xbrli:item" />
  <element name="DepositsRestrictionSubjectToSettlementOfDisputeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DepositsRestrictionSubjectToSettlementOfDisputeMember" substitutionGroup="xbrli:item" />
  <element name="LicenseOfMaintenanceAndOverhaulsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LicenseOfMaintenanceAndOverhaulsMember" substitutionGroup="xbrli:item" />
  <element name="RoboticsPlatformTechnologyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_RoboticsPlatformTechnologyMember" substitutionGroup="xbrli:item" />
  <element name="VPTMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VPTMember" substitutionGroup="xbrli:item" />
  <element name="VMTMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VMTMember" substitutionGroup="xbrli:item" />
  <element name="PropertyPlantAndEquipmentUsefulLifeTerm" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PropertyPlantAndEquipmentUsefulLifeTerm" substitutionGroup="xbrli:item" />
  <element name="ChargingInfrastructureMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ChargingInfrastructureMember" substitutionGroup="xbrli:item" />
  <element name="SopMilestoneMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SopMilestoneMember" substitutionGroup="xbrli:item" />
  <element name="EarnOutPeriodMilestoneMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_EarnOutPeriodMilestoneMember" substitutionGroup="xbrli:item" />
  <element name="FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsDerivativeLiability" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_FairValueOfContingentConsiderationInABusinessCombinationThatIsClassifiedAsShareholdersEquity" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="XiaojuGroupMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaojuGroupMember" substitutionGroup="xbrli:item" />
  <element name="PaymentTowardsTechnicalSupportAndAdvisoryServices" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentTowardsTechnicalSupportAndAdvisoryServices" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_NumberOfUnitsToBeDeliveredBasedOnWhichSharesWillBeIssuedContengently" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationSharesToBeIssuedContingentlyMinimum" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_BusinessCombinationSharesToBeIssuedContingentlyMinimum" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationSharesToBeIssuedContingentlyMaximum" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_BusinessCombinationSharesToBeIssuedContingentlyMaximum" substitutionGroup="xbrli:item" />
  <element name="StartOfProductionMilestoneMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StartOfProductionMilestoneMember" substitutionGroup="xbrli:item" />
  <element name="MilestoneProductionMetMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_MilestoneProductionMetMember" substitutionGroup="xbrli:item" />
  <element name="VMTUDMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VMTUDMember" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualsAndOtherLiabilities" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ShortTermInvestmentsFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_ShortTermInvestmentsFairValueDisclosure" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_FairValuePortionOfLiabilityContractsRelatedToContingentConsiderationDueToTheBusinessCombination" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="Prepayments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_Prepayments" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PrepaidDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PrepaidDeposits" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="GrossPropertyPlantAndEquipment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_GrossPropertyPlantAndEquipment" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="AccumulatedImpairment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AccumulatedImpairment" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AccelaratedDepreciationOnPropertyPlantAndEquipment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AccelaratedDepreciationOnPropertyPlantAndEquipment" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfFiniteLivedAndIndefiniteLivedIntangibleAssetsExcludingGoodwillLineItems" substitutionGroup="xbrli:item" />
  <element name="IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_IntangibleAssetsFiniteAndInfiniteLivedAccumulatedAmortisationAndImpairment" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ImpairmentOfIntangibleAssetFinitelived" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ImpairmentOfIntangibleAssetFinitelived" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FiniteLivedIntangibleAssetsImpairment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_FiniteLivedIntangibleAssetsImpairment" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ManufacturingLicenseMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ManufacturingLicenseMember" substitutionGroup="xbrli:item" />
  <element name="AgreementAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AgreementAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="AgreementDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AgreementDomain" substitutionGroup="xbrli:item" />
  <element name="BusinessCombinationIntangibleAssetsAcquistionAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BusinessCombinationIntangibleAssetsAcquistionAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="BusinessCombinationIntangibleAssetsAcquistionDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BusinessCombinationIntangibleAssetsAcquistionDomain" substitutionGroup="xbrli:item" />
  <element name="BusinessAcquistionDisposalAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BusinessAcquistionDisposalAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="BusinessAcquistionDisposalDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BusinessAcquistionDisposalDomain" substitutionGroup="xbrli:item" />
  <element name="DogotixMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DogotixMember" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfLandUseRightsFiniteLivedTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLandUseRightsFiniteLivedTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ScheduleOfLandUseRightsFiniteLivedLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLandUseRightsFiniteLivedLineItems" substitutionGroup="xbrli:item" />
  <element name="LandUseRightsGross" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandUseRightsGross" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LandUseRightsAccumulatedAmortization" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandUseRightsAccumulatedAmortization" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="LandUseRightsNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandUseRightsNet" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ConstructionOfManufacturingFacilitiesAndBuildingsSupportingGroupsVehicleProductionMember" substitutionGroup="xbrli:item" />
  <element name="AmortizationOfLandUseRights" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_AmortizationOfLandUseRights" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PrepaymentForAcquisitionOfLandUseRights" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PrepaymentForAcquisitionOfLandUseRights" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InstallmentPaymentReceivablesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InstallmentPaymentReceivablesTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="VehiclesAndBatteriesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_VehiclesAndBatteriesMember" substitutionGroup="xbrli:item" />
  <element name="InstallmentPaymentReceivablesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InstallmentPaymentReceivablesLineItems" substitutionGroup="xbrli:item" />
  <element name="InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLossNoncurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAfterAllowanceForCreditLoss" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesWithSignificantFinancingComponentAllowanceForCreditLoss" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="UnrealizedFinanceIncome" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_UnrealizedFinanceIncome" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedNextTwelveMonths" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedTwoYears" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedTwoYears" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedThreeYears" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedThreeYears" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedFourYears" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedFourYears" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedFiveYears" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedFiveYears" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesToBeReceivedThereafter" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesToBeReceivedThereafter" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivables" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivables" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesGross" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesGross" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InstallmentPaymentReceivablesAllowanceForCreditLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesAllowanceForCreditLoss" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InstallmentPaymentReceivablesAfterAllowanceForCreditLoss" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ScheduleOfLongterminvestmentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLongterminvestmentsTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="EquityInvestmentsWithReadilyDeterminableFairValuesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_EquityInvestmentsWithReadilyDeterminableFairValuesMember" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfLongTermInvestmentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfLongTermInvestmentsLineItems" substitutionGroup="xbrli:item" />
  <element name="LongTermInvestmentsadditions" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LongTermInvestmentsadditions" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LongTermInvestmentsforeignCurrencyTranslation" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LongTermInvestmentsforeignCurrencyTranslation" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LongTermInvestmentsReclassificationFromDebtInvestmentsToEquityInvestmentsWithoutReadilyDeterminableFarValue" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="TransferFromDebtSecuritiesDueToBusinessAcquistion" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_TransferFromDebtSecuritiesDueToBusinessAcquistion" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LongTermInvestmentsMaturitiesofRetainedAssetBackedNotesandSecurities" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="HuitianMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HuitianMember" substitutionGroup="xbrli:item" />
  <element name="ConvertibleBondMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ConvertibleBondMember" substitutionGroup="xbrli:item" />
  <element name="PaymentToAcquireMinorityEquityInterest" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentToAcquireMinorityEquityInterest" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="SubscriptionOfEquityInvestment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_SubscriptionOfEquityInvestment" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PercentageOfFinancialInterestsHoldByLimitedPartner" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfFinancialInterestsHoldByLimitedPartner" substitutionGroup="xbrli:item" />
  <element name="PercentageOfFinancialInterests" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfFinancialInterests" substitutionGroup="xbrli:item" />
  <element name="PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfFinancialInterestsHoldByOtherThirdPartyInvestors" substitutionGroup="xbrli:item" />
  <element name="PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentToAcquireEquitySecuritiesWithoutAReadilyDeterminableFairValue" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="SemiconductorsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SemiconductorsMember" substitutionGroup="xbrli:item" />
  <element name="BatteriesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_BatteriesMember" substitutionGroup="xbrli:item" />
  <element name="PreferredEquityMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PreferredEquityMember" substitutionGroup="xbrli:item" />
  <element name="AdvancesOnFixedAssetPurchasesNonCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AdvancesOnFixedAssetPurchasesNonCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PrepaidAdvertisingAndTechnicalSupportServicesNonCurrent" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PayableForPurchaseOfPropertyPlantAndEquipmentCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ResearchAndDevelopmentExpensesPayableCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_ResearchAndDevelopmentExpensesPayableCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AccruedExpensesOnCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AccruedExpensesOnCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="CustomerDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_CustomerDeposits" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="CustomerAdvances" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_CustomerAdvances" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AccruedLossOfPurchaseCommitments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AccruedLossOfPurchaseCommitments" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="DebtFromAThirdPartyInvestorCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DebtFromAThirdPartyInvestorCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AccountsPayableAndAccruedLiabilitiesCurrentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AccountsPayableAndAccruedLiabilitiesCurrentTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="LimitedLiabilityParntershipAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LimitedLiabilityParntershipAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="LimitedLiabilityParntershipDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LimitedLiabilityParntershipDomain" substitutionGroup="xbrli:item" />
  <element name="AccountsPayableAndAccruedLiabilitiesCurrentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AccountsPayableAndAccruedLiabilitiesCurrentLineItems" substitutionGroup="xbrli:item" />
  <element name="NonControllingInterestAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_NonControllingInterestAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="NonControllingInterestDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_NonControllingInterestDomain" substitutionGroup="xbrli:item" />
  <element name="PurchaseProvisionTermsAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PurchaseProvisionTermsAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="PurchaseProvisionTermsDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PurchaseProvisionTermsDomain" substitutionGroup="xbrli:item" />
  <element name="AssetbackedSecuritiesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AssetbackedSecuritiesCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AssetBackedNotesCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AssetBackedNotesCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AssetbackedSecuritiesNonCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AssetbackedSecuritiesNonCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="DebtDisclosureTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DebtDisclosureTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="OtherShortTermLoansPayableToBanksMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OtherShortTermLoansPayableToBanksMember" substitutionGroup="xbrli:item" />
  <element name="DebtDisclosureLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DebtDisclosureLineItems" substitutionGroup="xbrli:item" />
  <element name="LongtermBankLoansCollateralized" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LongtermBankLoansCollateralized" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="AssetBackedNotesNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AssetBackedNotesNoncurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="LongTermDepositCurrentPortionCollateralized" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LongTermDepositCurrentPortionCollateralized" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ZhaoqingXiaopengNewEnergyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ZhaoqingXiaopengNewEnergyMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouPengyueAutomobileDevelopmentCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouPengyueAutomobileDevelopmentCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="WuhanXiaopengMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_WuhanXiaopengMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengMotorsFinancingLeaseCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangdongXiaopengMotorsTechnologyGroupCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengNewEnergyMotorsCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengNewEnergyMotorsCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="ZhaoqingXiaopengMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ZhaoqingXiaopengMember" substitutionGroup="xbrli:item" />
  <element name="GovernmentGrantPayablesNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_GovernmentGrantPayablesNoncurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="DebtPayableToThirdPartyInvestors" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DebtPayableToThirdPartyInvestors" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="DepositsFromAThirdParty" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DepositsFromAThirdParty" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="OtherLiabilitiesNoncurrentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OtherLiabilitiesNoncurrentTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="OtherLiabilitiesNoncurrentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OtherLiabilitiesNoncurrentLineItems" substitutionGroup="xbrli:item" />
  <element name="TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_TermOfTheOperatingAgreementWithLimitedLiabilityPartnership" substitutionGroup="xbrli:item" />
  <element name="PayableToNoncontrollingInterestNonCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PayableToNoncontrollingInterestNonCurrent" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InterestRateOnLimitedLiabilityPartnershipInvestment" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_InterestRateOnLimitedLiabilityPartnershipInvestment" substitutionGroup="xbrli:item" />
  <element name="NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_NonControllingInterestCommonStockStrikePriceInterestRatePayablePercentage" substitutionGroup="xbrli:item" />
  <element name="LimitedLiabilityPartnershipAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LimitedLiabilityPartnershipAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="LimitedLiabilityPartnershipDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LimitedLiabilityPartnershipDomain" substitutionGroup="xbrli:item" />
  <element name="KunpengChuangyeLlpMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_KunpengChuangyeLlpMember" substitutionGroup="xbrli:item" />
  <element name="ChengxingMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ChengxingMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouXiaopengAutomaticDrivingTechnologyCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouGetInvestmentMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouGetInvestmentMember" substitutionGroup="xbrli:item" />
  <element name="InvestorAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InvestorAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="InvestorDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InvestorDomain" substitutionGroup="xbrli:item" />
  <element name="GuangdongUTrustMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangdongUTrustMember" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OperatingLeaseAbstract" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_OperatingLeaseAssets" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FinanceLeaseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_FinanceLeaseAbstract" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseExpenseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OperatingLeaseExpenseAbstract" substitutionGroup="xbrli:item" />
  <element name="OperatingLeaseExpenses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_OperatingLeaseExpenses" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="FinanceLeaseExpenseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_FinanceLeaseExpenseAbstract" substitutionGroup="xbrli:item" />
  <element name="FinanceLeaseCost" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_FinanceLeaseCost" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="WeightedAverageRemainingLeaseTermAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_WeightedAverageRemainingLeaseTermAbstract" substitutionGroup="xbrli:item" />
  <element name="LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LandUseRightOfAssetWeightedAverageRemainingLeaseTermOne" substitutionGroup="xbrli:item" />
  <element name="WeightedAverageDiscountRateAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_WeightedAverageDiscountRateAbstract" substitutionGroup="xbrli:item" />
  <element name="LandRightUseOfAssetWeightedAverageDiscountRatePercent" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandRightUseOfAssetWeightedAverageDiscountRatePercent" substitutionGroup="xbrli:item" />
  <element name="CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_CashPaidForAmountsIncludedInTheMeasurementOfLeaseLiabilitiesAbstract" substitutionGroup="xbrli:item" />
  <element name="RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiabilityNetOfDecreaseInLeasedAssetsForEarlyTerminations" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="ChangesInFinanceLeasePrincipalPayments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ChangesInFinanceLeasePrincipalPayments" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FactoryMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_FactoryMember" substitutionGroup="xbrli:item" />
  <element name="SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_SalesTypeAndDirectFinancingLeasesLeaseReceivableToBeReceivedAfterFiveYear" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="LandRightOfUseAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_LandRightOfUseAsset" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="GuangzhouGetNewEnergyMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouGetNewEnergyMember" substitutionGroup="xbrli:item" />
  <element name="MaturityAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_MaturityAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="MaturityDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_MaturityDomain" substitutionGroup="xbrli:item" />
  <element name="SubsequentPaidMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SubsequentPaidMember" substitutionGroup="xbrli:item" />
  <element name="ServicesAndOthersMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ServicesAndOthersMember" substitutionGroup="xbrli:item" />
  <element name="ProductRevenueAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ProductRevenueAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="ProductRevenueDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ProductRevenueDomain" substitutionGroup="xbrli:item" />
  <element name="RevenuePerformanceObligationSatisfiedOverTimePercentage" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_RevenuePerformanceObligationSatisfiedOverTimePercentage" substitutionGroup="xbrli:item" />
  <element name="RevenuePerformanceObligationSatisfiedOverTimeExplanation" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_RevenuePerformanceObligationSatisfiedOverTimeExplanation" substitutionGroup="xbrli:item" />
  <element name="HaimaAutoMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HaimaAutoMember" substitutionGroup="xbrli:item" />
  <element name="CollaborativeArrangementDateOfContract" type="xbrli:dateItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CollaborativeArrangementDateOfContract" substitutionGroup="xbrli:item" />
  <element name="CollaborativeArrangementDateOfContractExpiration" type="xbrli:dateItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_CollaborativeArrangementDateOfContractExpiration" substitutionGroup="xbrli:item" />
  <element name="AnnualProductionCapacity" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_AnnualProductionCapacity" substitutionGroup="xbrli:item" />
  <element name="RelocationAndDisposalCosts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_RelocationAndDisposalCosts" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="PaymentOfTerminationFee" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PaymentOfTerminationFee" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="StockholdersEquityNoteTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StockholdersEquityNoteTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="XpengFortuneHoldingLimitedMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XpengFortuneHoldingLimitedMember" substitutionGroup="xbrli:item" />
  <element name="DidiMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DidiMember" substitutionGroup="xbrli:item" />
  <element name="StockholdersEquityNoteLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_StockholdersEquityNoteLineItems" substitutionGroup="xbrli:item" />
  <element name="ShareIssuedPeriodAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShareIssuedPeriodAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="ShareIssuedPeriodDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShareIssuedPeriodDomain" substitutionGroup="xbrli:item" />
  <element name="ShareIssuePeriodOneMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ShareIssuePeriodOneMember" substitutionGroup="xbrli:item" />
  <element name="ShareOptionVestingRightsPercentage" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ShareOptionVestingRightsPercentage" substitutionGroup="xbrli:item" />
  <element name="PercentageOfNumberOfSharesIssueForCompensationGrant" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PercentageOfNumberOfSharesIssueForCompensationGrant" substitutionGroup="xbrli:item" />
  <element name="TwoThousandAndNineteenEquityIncentivePlanMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TwoThousandAndNineteenEquityIncentivePlanMember" substitutionGroup="xbrli:item" />
  <element name="TwoThousandTwentyFivePlanMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TwoThousandTwentyFivePlanMember" substitutionGroup="xbrli:item" />
  <element name="TwoThousandNineteenPlanMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TwoThousandNineteenPlanMember" substitutionGroup="xbrli:item" />
  <element name="SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisableNumber" substitutionGroup="xbrli:item" />
  <element name="SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_SummaryOfReconciliationsOfTheIncomeTaxExpensesLineItems" substitutionGroup="xbrli:item" />
  <element name="LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_LossBeforeIncomeTaxExpensesBenefitAndShareOfResultsOfEquityMethodInvestees" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="IncomeTaxReconciliationEffectOfPreferentialRate" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_IncomeTaxReconciliationEffectOfPreferentialRate" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_IncomeTaxReconciliationUnrealizedForeignExchangeGainOrLoss" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_IncomeTaxReconciliationNonDeductibleExpensePreferentialTaxRates" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_EffectiveIncomeTaxRateReconciliationUnrealizedForeignExchangeGainOrLoss" substitutionGroup="xbrli:item" />
  <element name="EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_EffectiveIncomeTaxRateReconciliationNonDeductibleExpensePreferentialTaxRates" substitutionGroup="xbrli:item" />
  <element name="ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ScheduleOfCashPaidForIncomeTaxesNetOfRefundLineItems" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DeferredTaxAssetsPropertyPlantAndEquipmentAndIntangibleAssets" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="DeferredTaxAssetsGovernmentGrants" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DeferredTaxAssetsGovernmentGrants" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="DeferredTaxAssetsLeases" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DeferredTaxAssetsLeases" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="DeferredTaxAssetsNetOfValuationAllowance" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_DeferredTaxAssetsNetOfValuationAllowance" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="DeferredTaxAssetsValuationAllowanceAdditionsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DeferredTaxAssetsValuationAllowanceAdditionsMember" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxAssetsValuationAllowanceLossUtilizedMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DeferredTaxAssetsValuationAllowanceLossUtilizedMember" substitutionGroup="xbrli:item" />
  <element name="DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_DeferredTaxAssetsValuationAllowanceEffectOfChangeInTaxRateMember" substitutionGroup="xbrli:item" />
  <element name="AcquisitionOfSubsidiariesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_AcquisitionOfSubsidiariesMember" substitutionGroup="xbrli:item" />
  <element name="OtherMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OtherMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2026TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2026TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2027TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2027TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2028TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2028TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2029TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2029TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="LossExpiringIn2030Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LossExpiringIn2030Member" substitutionGroup="xbrli:item" />
  <element name="Expiring2032TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2032TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="LossExpiringIn2031Member" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LossExpiringIn2031Member" substitutionGroup="xbrli:item" />
  <element name="Expiring2033TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2033TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2034TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2034TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="Expiring2035TaxYearMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_Expiring2035TaxYearMember" substitutionGroup="xbrli:item" />
  <element name="HongKongAndOthersMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HongKongAndOthersMember" substitutionGroup="xbrli:item" />
  <element name="TaxPolicyAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TaxPolicyAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="TaxPolicyDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TaxPolicyDomain" substitutionGroup="xbrli:item" />
  <element name="EnterpriseTypeAxis" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_EnterpriseTypeAxis" substitutionGroup="xbrldt:dimensionItem" />
  <element name="EnterpriseTypeDomain" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_EnterpriseTypeDomain" substitutionGroup="xbrli:item" />
  <element name="HnteMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HnteMember" substitutionGroup="xbrli:item" />
  <element name="PreferentialIncomeTaxRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_PreferentialIncomeTaxRate" substitutionGroup="xbrli:item" />
  <element name="WithholdingTaxRate" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_WithholdingTaxRate" substitutionGroup="xbrli:item" />
  <element name="ContigentShareMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_ContigentShareMember" substitutionGroup="xbrli:item" />
  <element name="XiaopengHeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_XiaopengHeMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouHuitianAerospaceTechnologyCo.Ltd.guangzhouHuitianMember" substitutionGroup="xbrli:item" />
  <element name="GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangdongHuitianAerospaceTechnologyCo.Ltd.guangdongHuitianMember" substitutionGroup="xbrli:item" />
  <element name="HongdiBrianGuMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HongdiBrianGuMember" substitutionGroup="xbrli:item" />
  <element name="TaoHeMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_TaoHeMember" substitutionGroup="xbrli:item" />
  <element name="HtFlyingCarIncMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HtFlyingCarIncMember" substitutionGroup="xbrli:item" />
  <element name="HtFlyingCarHongKongLimitedMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_HtFlyingCarHongKongLimitedMember" substitutionGroup="xbrli:item" />
  <element name="RocketsCapitalL.pMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_RocketsCapitalL.pMember" substitutionGroup="xbrli:item" />
  <element name="FoshanHuitianAviationTechnologyCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_FoshanHuitianAviationTechnologyCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouHuitianManufacturingCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouHuitianManufacturingCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="GuangzhouHuitianFlyingCarManufacturingCoLtdMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GuangzhouHuitianFlyingCarManufacturingCoLtdMember" substitutionGroup="xbrli:item" />
  <element name="EmployeeGroupMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_EmployeeGroupMember" substitutionGroup="xbrli:item" />
  <element name="OperationSupportServiceMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_OperationSupportServiceMember" substitutionGroup="xbrli:item" />
  <element name="LeasingServicesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_LeasingServicesMember" substitutionGroup="xbrli:item" />
  <element name="PurchaseOfServicesMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_PurchaseOfServicesMember" substitutionGroup="xbrli:item" />
  <element name="GoodsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_GoodsMember" substitutionGroup="xbrli:item" />
  <element name="InvestmentsAdditionsMember" type="dtr-types:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InvestmentsAdditionsMember" substitutionGroup="xbrli:item" />
  <element name="RestrictedNetAssetsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_RestrictedNetAssetsTable" substitutionGroup="xbrldt:hypercubeItem" />
  <element name="RestrictedNetAssetsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_RestrictedNetAssetsLineItems" substitutionGroup="xbrli:item" />
  <element name="PercentageOfProfitsAfterTaxToGeneralReserveFund" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfProfitsAfterTaxToGeneralReserveFund" substitutionGroup="xbrli:item" />
  <element name="PercentageOfStatutorySurplusFundOnProfitsafterTax" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfStatutorySurplusFundOnProfitsafterTax" substitutionGroup="xbrli:item" />
  <element name="PercentageOfStatutorySurplusFundOnRegisteredCapital" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfStatutorySurplusFundOnRegisteredCapital" substitutionGroup="xbrli:item" />
  <element name="PercentageOfGeneralReserveFundOnRegisteredCapital" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfGeneralReserveFundOnRegisteredCapital" substitutionGroup="xbrli:item" />
  <element name="PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" type="dtr-types:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_PercentageOfAftertaxProfitsForAppropriationsPriorToDividendPayment" substitutionGroup="xbrli:item" />
  <element name="RestrictedNetAssets" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_RestrictedNetAssets" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="StatutoryAndOtherReserves" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" id="xpev_StatutoryAndOtherReserves" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="InvestmentLossOnLongTermInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_InvestmentLossOnLongTermInvestments" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="FairValueGainLossOnDerivativeLiabilityInContingentConsideration" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_FairValueGainLossOnDerivativeLiabilityInContingentConsideration" substitutionGroup="xbrli:item" xbrli:balance="credit" />
  <element name="ProceedsFromIssuanceOfCommonStockOfVolkswagen" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" id="xpev_ProceedsFromIssuanceOfCommonStockOfVolkswagen" substitutionGroup="xbrli:item" xbrli:balance="debit" />
  <element name="InsiderTradingArrangementsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" id="xpev_InsiderTradingArrangementsAbstract" substitutionGroup="xbrli:item" />
</schema>
