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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:ab422953-f81a-45a2-9ba6-da22ddc8863a,g:2151f0ea-3dc0-4012-aea6-c5ece4500e8f-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:erie="http://www.erieinsurance.com/20250630" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.erieinsurance.com/20250630">
  <xs:import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="erie-20250630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="erie-20250630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="erie-20250630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="erie-20250630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="CoverPage" roleURI="http://www.erieinsurance.com/role/CoverPage">
        <link:definition>0000001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED">
        <link:definition>9952151 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED">
        <link:definition>9952152 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITION">
        <link:definition>9952153 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL POSITION</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALPOSITIONParenthetical">
        <link:definition>9952154 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL POSITION (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUNAUDITED" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUNAUDITED">
        <link:definition>9952155 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (UNAUDITED)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUNAUDITEDParenthetical" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYUNAUDITEDParenthetical">
        <link:definition>9952156 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (UNAUDITED) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" roleURI="http://www.erieinsurance.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED">
        <link:definition>9952157 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofOperations" roleURI="http://www.erieinsurance.com/role/NatureofOperations">
        <link:definition>9952158 - Disclosure - Nature of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPolicies" roleURI="http://www.erieinsurance.com/role/SignificantAccountingPolicies">
        <link:definition>9952159 - Disclosure - Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenue" roleURI="http://www.erieinsurance.com/role/Revenue">
        <link:definition>9952160 - Disclosure - Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformation" roleURI="http://www.erieinsurance.com/role/SegmentInformation">
        <link:definition>9952161 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShare" roleURI="http://www.erieinsurance.com/role/EarningsPerShare">
        <link:definition>9952162 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValue" roleURI="http://www.erieinsurance.com/role/FairValue">
        <link:definition>9952163 - Disclosure - Fair Value</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Investments" roleURI="http://www.erieinsurance.com/role/Investments">
        <link:definition>9952164 - Disclosure - Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BankLineofCredit" roleURI="http://www.erieinsurance.com/role/BankLineofCredit">
        <link:definition>9952165 - Disclosure - Bank Line of Credit</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PostretirementBenefits" roleURI="http://www.erieinsurance.com/role/PostretirementBenefits">
        <link:definition>9952166 - Disclosure - Postretirement Benefits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://www.erieinsurance.com/role/IncomeTaxes">
        <link:definition>9952167 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CapitalStock" roleURI="http://www.erieinsurance.com/role/CapitalStock">
        <link:definition>9952168 - Disclosure - Capital Stock</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLoss" roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLoss">
        <link:definition>9952169 - Disclosure - Accumulated Other Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConcentrationsofCreditRisk" roleURI="http://www.erieinsurance.com/role/ConcentrationsofCreditRisk">
        <link:definition>9952170 - Disclosure - Concentrations of Credit Risk</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://www.erieinsurance.com/role/CommitmentsandContingencies">
        <link:definition>9952171 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SubsequentEvents" roleURI="http://www.erieinsurance.com/role/SubsequentEvents">
        <link:definition>9952172 - Disclosure - Subsequent Events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SignificantAccountingPoliciesPolicies" roleURI="http://www.erieinsurance.com/role/SignificantAccountingPoliciesPolicies">
        <link:definition>9955511 - Disclosure - Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueTables" roleURI="http://www.erieinsurance.com/role/RevenueTables">
        <link:definition>9955512 - Disclosure - Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationTables" roleURI="http://www.erieinsurance.com/role/SegmentInformationTables">
        <link:definition>9955513 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareTables" roleURI="http://www.erieinsurance.com/role/EarningsPerShareTables">
        <link:definition>9955514 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueTables" roleURI="http://www.erieinsurance.com/role/FairValueTables">
        <link:definition>9955515 - Disclosure - Fair Value (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsTables" roleURI="http://www.erieinsurance.com/role/InvestmentsTables">
        <link:definition>9955516 - Disclosure - Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PostretirementBenefitsTables" roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsTables">
        <link:definition>9955517 - Disclosure - Postretirement Benefits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLossTables" roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossTables">
        <link:definition>9955518 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofOperationsDetails" roleURI="http://www.erieinsurance.com/role/NatureofOperationsDetails">
        <link:definition>9955519 - Disclosure - Nature of Operations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueNarrativeDetails" roleURI="http://www.erieinsurance.com/role/RevenueNarrativeDetails">
        <link:definition>9955520 - Disclosure - Revenue - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueNarrativeDetails_1" roleURI="http://www.erieinsurance.com/role/RevenueNarrativeDetails_1">
        <link:definition>9955520 - Disclosure - Revenue - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueDisaggregationofRevenuebyPerformanceObligationDetails" roleURI="http://www.erieinsurance.com/role/RevenueDisaggregationofRevenuebyPerformanceObligationDetails">
        <link:definition>9955521 - Disclosure - Revenue - Disaggregation of Revenue by Performance Obligation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationNarrativeDetails" roleURI="http://www.erieinsurance.com/role/SegmentInformationNarrativeDetails">
        <link:definition>9955522 - Disclosure - Segment Information - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationScheduleofSegmentReportingInformationbySegmentDetails" roleURI="http://www.erieinsurance.com/role/SegmentInformationScheduleofSegmentReportingInformationbySegmentDetails">
        <link:definition>9955523 - Disclosure - Segment Information - Schedule of Segment Reporting Information, by Segment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareNarrativeDetails" roleURI="http://www.erieinsurance.com/role/EarningsPerShareNarrativeDetails">
        <link:definition>9955524 - Disclosure - Earnings Per Share - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails" roleURI="http://www.erieinsurance.com/role/EarningsPerShareReconciliationoftheNumeratorsandDenominatorsUsedintheBasicandDilutedPerShareComputationsDetails">
        <link:definition>9955525 - Disclosure - Earnings Per Share - Reconciliation of the Numerators and Denominators Used in the Basic and Diluted Per-Share Computations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails" roleURI="http://www.erieinsurance.com/role/FairValueFairValueMeasurementsonaRecurringBasisbyAssetClassandLevelofInputDetails">
        <link:definition>9955526 - Disclosure - Fair Value - Fair Value Measurements on a Recurring Basis by Asset Class and Level of Input (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueLevel3AssetsDetails" roleURI="http://www.erieinsurance.com/role/FairValueLevel3AssetsDetails">
        <link:definition>9955527 - Disclosure - Fair Value - Level 3 Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueFinancialInstrumentsNotCarriedatFairValueDetails" roleURI="http://www.erieinsurance.com/role/FairValueFinancialInstrumentsNotCarriedatFairValueDetails">
        <link:definition>9955528 - Disclosure - Fair Value - Financial Instruments Not Carried at Fair Value (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsCostandFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesDetails">
        <link:definition>9955529 - Disclosure - Investments - Cost and Fair Value, Net of Credit Loss Allowance, of Fixed Maturity Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsAmortizedCostandEstimatedFairValueNetofCreditLossAllowanceofFixedMaturitySecuritiesbyContractualMaturityDetails">
        <link:definition>9955530 - Disclosure - Investments - Amortized Cost and Estimated Fair Value, Net of Credit Loss Allowance, of Fixed Maturity Securities by Contractual Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsAvailableForSaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsAvailableForSaleSecuritiesinaGrossUnrealizedLossPositionbyLengthofTimeDetails">
        <link:definition>9955531 - Disclosure - Investments - Available-For-Sale Securities in a Gross Unrealized Loss Position by Length of Time (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsAllowanceforCreditLossesDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsAllowanceforCreditLossesDetails">
        <link:definition>9955532 - Disclosure - Investments - Allowance for Credit Losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsNetInvestmentIncomeDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsNetInvestmentIncomeDetails">
        <link:definition>9955533 - Disclosure - Investments - Net Investment Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsNetRealizedandUnrealizedInvestmentGainsDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsNetRealizedandUnrealizedInvestmentGainsDetails">
        <link:definition>9955534 - Disclosure - Investments - Net Realized and Unrealized Investment Gains (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsPortionofNetUnrealizedGainsLossesRecognizedDuringtheReportingPeriodDetails">
        <link:definition>9955535 - Disclosure - Investments - Portion of Net Unrealized Gains (Losses) Recognized During the Reporting Period (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsImpairmentsonInvestmentsDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsImpairmentsonInvestmentsDetails">
        <link:definition>9955536 - Disclosure - Investments - Impairments on Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InvestmentsSecuritiesLendingTransactionsDetails" roleURI="http://www.erieinsurance.com/role/InvestmentsSecuritiesLendingTransactionsDetails">
        <link:definition>9955537 - Disclosure - Investments - Securities Lending Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BankLineofCreditDetails" roleURI="http://www.erieinsurance.com/role/BankLineofCreditDetails">
        <link:definition>9955538 - Disclosure - Bank Line of Credit (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PostretirementBenefitsNarrativeDetails" roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsNarrativeDetails">
        <link:definition>9955539 - Disclosure - Postretirement Benefits - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PostretirementBenefitsPensionPlanCostIncomeDetails" roleURI="http://www.erieinsurance.com/role/PostretirementBenefitsPensionPlanCostIncomeDetails">
        <link:definition>9955540 - Disclosure - Postretirement Benefits - Pension Plan Cost (Income) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://www.erieinsurance.com/role/IncomeTaxesDetails">
        <link:definition>9955541 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CapitalStockClassAandBCommonStockDetails" roleURI="http://www.erieinsurance.com/role/CapitalStockClassAandBCommonStockDetails">
        <link:definition>9955542 - Disclosure - Capital Stock - Class A and B Common Stock (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CapitalStockStockRepurchasesDetails" roleURI="http://www.erieinsurance.com/role/CapitalStockStockRepurchasesDetails">
        <link:definition>9955543 - Disclosure - Capital Stock - Stock Repurchases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLossDetails" roleURI="http://www.erieinsurance.com/role/AccumulatedOtherComprehensiveIncomeLossDetails">
        <link:definition>9955544 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConcentrationsofCreditRiskDetails" roleURI="http://www.erieinsurance.com/role/ConcentrationsofCreditRiskDetails">
        <link:definition>9955545 - Disclosure - Concentrations of Credit Risk (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesDetails" roleURI="http://www.erieinsurance.com/role/CommitmentsandContingenciesDetails">
        <link:definition>9955546 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="erie_PolicyIssuanceandRenewalServicesMember" abstract="true" name="PolicyIssuanceandRenewalServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AdministrativeServicesManagementFeeMember" abstract="true" name="AdministrativeServicesManagementFeeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AdministrativeServicesReimbursementsMember" abstract="true" name="AdministrativeServicesReimbursementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_ServiceAgreementMember" abstract="true" name="ServiceAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments" abstract="false" name="NetInvestmentIncomeAndIncomeLossFromEquityMethodInvestments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries" abstract="false" name="DebtSecuritiesAndFinancingReceivablesImpairmentLossRecoveries" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_EarningsPerShareBasicAndDilutedAbstract1Abstract" abstract="true" name="EarningsPerShareBasicAndDilutedAbstract1Abstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" abstract="false" name="FiniteLivedIntangibleAssetsAndPropertyPlantAndEquipmentNet" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_AgentIncentiveCompensationPayableCurrent" abstract="false" name="AgentIncentiveCompensationPayableCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_CommonStockIssuedStockTrust" abstract="false" name="CommonStockIssuedStockTrust" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_CommonStockConversionRatio" abstract="false" name="CommonStockConversionRatio" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
  <xs:element id="erie_DeferredCompensationMember" abstract="true" name="DeferredCompensationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_NetTreasuryStockValueAcquiredHeldAndReissued" abstract="false" name="NetTreasuryStockValueAcquiredHeldAndReissued" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DeferredCompensationUnderRabbiTrustPlans" abstract="false" name="DeferredCompensationUnderRabbiTrustPlans" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DistributionsFromRabbiTrustPlans" abstract="false" name="DistributionsFromRabbiTrustPlans" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_NumberOfIncentiveCompensationDeferralPlanParticipants" abstract="false" name="NumberOfIncentiveCompensationDeferralPlanParticipants" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="erie_ProceedsFromInsuranceAgencyManagementFeesReceived" abstract="false" name="ProceedsFromInsuranceAgencyManagementFeesReceived" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_AdministrativeServicesReimbursementsReceived" abstract="false" name="AdministrativeServicesReimbursementsReceived" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions" abstract="false" name="ProceedsFromInterestAndDividendsReceivedAndEquityMethodInvestmentDividendsOrDistributions" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_PaymentForAgentIncentiveCompensation" abstract="false" name="PaymentForAgentIncentiveCompensation" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_PensionContributionsAndPaymentsForOtherLaborRelatedExpenses" abstract="false" name="PensionContributionsAndPaymentsForOtherLaborRelatedExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_AdministrativeServicesExpensesPaid" abstract="false" name="AdministrativeServicesExpensesPaid" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_StockByClassTextBlock" abstract="false" name="StockByClassTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="erie_AllowanceForCreditLossTableTextBlock" abstract="false" name="AllowanceForCreditLossTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="erie_RealizedandUnrealizedGainLossonInvestmentsTableTextBlock" abstract="false" name="RealizedandUnrealizedGainLossonInvestmentsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="erie_ScheduleOfImpairmentLossesRecoveriesTableTextBlock" abstract="false" name="ScheduleOfImpairmentLossesRecoveriesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="erie_RevenuePerformanceObligationNumberofPerformanceObligations" abstract="false" name="RevenuePerformanceObligationNumberofPerformanceObligations" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="erie_InsuranceAgencyManagementFeePercent" abstract="false" name="InsuranceAgencyManagementFeePercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="erie_AdministrativeServicesMember" abstract="true" name="AdministrativeServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_ManagementFeeRevenueMember" abstract="true" name="ManagementFeeRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_ManagementOperationsMember" abstract="true" name="ManagementOperationsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_ErieInsuranceExchangeMember" abstract="true" name="ErieInsuranceExchangeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_UnderwritingAndPolicyProcessing" abstract="false" name="UnderwritingAndPolicyProcessing" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_CustomerService" abstract="false" name="CustomerService" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_InsuranceSubsidiariesReimbursedPercentage" abstract="false" name="InsuranceSubsidiariesReimbursedPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="erie_ScheduleOfEarningsPerShareBasicAndDilutedTable" abstract="true" name="ScheduleOfEarningsPerShareBasicAndDilutedTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="erie_ScheduleOfEarningsPerShareBasicAndDilutedLineItems" abstract="true" name="ScheduleOfEarningsPerShareBasicAndDilutedLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_DilutiveSecuritiesEffectOnBasicEarningsPerShareAssumedConversionAbstract" abstract="true" name="DilutiveSecuritiesEffectOnBasicEarningsPerShareAssumedConversionAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock" abstract="false" name="IncrementalCommonSharesAttributableToConversionOfConvertibleCommonStock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="erie_UtilitiesSectorMember" abstract="true" name="UtilitiesSectorMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_CommunicationsSectorMember" abstract="true" name="CommunicationsSectorMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_EquitySecuritiesFVNITotal" abstract="false" name="EquitySecuritiesFVNITotal" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_SecurityTypeAxis" abstract="true" name="SecurityTypeAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="erie_SecurityTypeDomain" abstract="true" name="SecurityTypeDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AvailableForSaleDebtSecuritiesMember" abstract="true" name="AvailableForSaleDebtSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AgentLoansMember" abstract="true" name="AgentLoansMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AllowanceForCreditLossTable" abstract="true" name="AllowanceForCreditLossTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="erie_AllowanceForCreditLossLineItems" abstract="true" name="AllowanceForCreditLossLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment" abstract="false" name="DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecoveryImpairment" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DebtSecuritiesAvailableForSaleAllowanceForCreditLossSalesCollectionsAndWriteOffs" abstract="false" name="DebtSecuritiesAvailableForSaleAllowanceForCreditLossSalesCollectionsAndWriteOffs" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DebtSecuritiesHeldToMaturityAllowanceForCreditLossSalesCollectionsAndWriteOffs" abstract="false" name="DebtSecuritiesHeldToMaturityAllowanceForCreditLossSalesCollectionsAndWriteOffs" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_FinancingReceivableAllowanceForCreditLossSalesCollectionsAndWriteOffs" abstract="false" name="FinancingReceivableAllowanceForCreditLossSalesCollectionsAndWriteOffs" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_CashEquivalentsAndOtherMember" abstract="true" name="CashEquivalentsAndOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments" abstract="false" name="InterestAndDividendIncomeOperatingAndIncomeLossFromEquityMethodInvestments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_ScheduleOfImpairmentsTable" abstract="true" name="ScheduleOfImpairmentsTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="erie_ScheduleOfImpairmentsLineItems" abstract="true" name="ScheduleOfImpairmentsLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_DebtSecuritiesAvailableForSaleSellBeforeRecovery" abstract="false" name="DebtSecuritiesAvailableForSaleSellBeforeRecovery" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_AvailableForSaleDebtSecuritiesImpairmentLossRecovery" abstract="false" name="AvailableForSaleDebtSecuritiesImpairmentLossRecovery" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_ExpectedCreditLossesAbstract" abstract="true" name="ExpectedCreditLossesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_LettersOfCreditMaximumAmount" abstract="false" name="LettersOfCreditMaximumAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_LettersOfCreditAvailableAmount" abstract="false" name="LettersOfCreditAvailableAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_DefinedBenefitPlanPostretirementBenefitIncomeExpenseReimbursementPercentage" abstract="false" name="DefinedBenefitPlanPostretirementBenefitIncomeExpenseReimbursementPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="erie_DefinedBenefitPlanFundingTargetPercentage" abstract="false" name="DefinedBenefitPlanFundingTargetPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="erie_ShareRepurchaseProgram1999Member" abstract="true" name="ShareRepurchaseProgram1999Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AOCIAttributableToParentRollForward" abstract="true" name="AOCIAttributableToParentRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_EquityAttributableToParentBeforeTax" abstract="false" name="EquityAttributableToParentBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_AOCIAttributableToParentTaxRollForward" abstract="true" name="AOCIAttributableToParentTaxRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="erie_EquityAttributableToParentTax" abstract="false" name="EquityAttributableToParentTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_ThirdPartyBankMember" abstract="true" name="ThirdPartyBankMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="erie_AmountOfLoanParticipationProgram" abstract="false" name="AmountOfLoanParticipationProgram" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="erie_FinancingReceivableBeforeAllowanceForCreditLossParticipationPercentage" abstract="false" name="FinancingReceivableBeforeAllowanceForCreditLossParticipationPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
</xs:schema>
