<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.costco.com/role/CommitmentsAndContingencies" xlink:href="cost-20180902.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="cost-20180902.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedBalanceSheets" xlink:href="cost-20180902.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="cost-20180902.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="cost-20180902.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedStatementsOfCashFlowsParenthetical" xlink:href="cost-20180902.xsd#ConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="cost-20180902.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedStatementsOfEquity" xlink:href="cost-20180902.xsd#ConsolidatedStatementsOfEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/ConsolidatedStatementsOfIncome" xlink:href="cost-20180902.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/Debt" xlink:href="cost-20180902.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DebtAdditionalInformationDetails" xlink:href="cost-20180902.xsd#DebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DebtCarryingValueOfCompanysLongTermDebtDetails" xlink:href="cost-20180902.xsd#DebtCarryingValueOfCompanysLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DebtScheduleOfLongTermDebtMaturitiesDetails" xlink:href="cost-20180902.xsd#DebtScheduleOfLongTermDebtMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DebtScheduleOfShortTermDebtDetails" xlink:href="cost-20180902.xsd#DebtScheduleOfShortTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DebtTables" xlink:href="cost-20180902.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/DocumentAndEntityInformation" xlink:href="cost-20180902.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/FairValueMeasurement" xlink:href="cost-20180902.xsd#FairValueMeasurement" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/FairValueMeasurementFairValueOfFinancialAssetsAndFinancialLiabilitiesMeasuredOnRecurringBasisDetails" xlink:href="cost-20180902.xsd#FairValueMeasurementFairValueOfFinancialAssetsAndFinancialLiabilitiesMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/FairValueMeasurementTables" xlink:href="cost-20180902.xsd#FairValueMeasurementTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxes" xlink:href="cost-20180902.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesAdditionalInformationDetails" xlink:href="cost-20180902.xsd#IncomeTaxesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="cost-20180902.xsd#IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesGrossUnrecognizedTaxBenefitsDetails" xlink:href="cost-20180902.xsd#IncomeTaxesGrossUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesIncomeBeforeIncomeTaxesDetails" xlink:href="cost-20180902.xsd#IncomeTaxesIncomeBeforeIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesReconciliationBetweenStatutoryAndEffectiveRatesDetails" xlink:href="cost-20180902.xsd#IncomeTaxesReconciliationBetweenStatutoryAndEffectiveRatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesScheduleOfForeignAndDomesticIncomeTaxesDetails" xlink:href="cost-20180902.xsd#IncomeTaxesScheduleOfForeignAndDomesticIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/IncomeTaxesTables" xlink:href="cost-20180902.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/Investments" xlink:href="cost-20180902.xsd#Investments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/InvestmentsAvailableForSaleAndHeldToMaturityInvestmentsDetails" xlink:href="cost-20180902.xsd#InvestmentsAvailableForSaleAndHeldToMaturityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/InvestmentsMaturitiesOfAvailableForSaleAndHeldToMaturitySecuritiesDetails" xlink:href="cost-20180902.xsd#InvestmentsMaturitiesOfAvailableForSaleAndHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/InvestmentsProceedsFromSalesOfAvailableForSaleSecuritiesDetails" xlink:href="cost-20180902.xsd#InvestmentsProceedsFromSalesOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/InvestmentsTables" xlink:href="cost-20180902.xsd#InvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/Leases" xlink:href="cost-20180902.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/LeasesAdditionalInformationDetails" xlink:href="cost-20180902.xsd#LeasesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/LeasesDetails" xlink:href="cost-20180902.xsd#LeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/LeasesTables" xlink:href="cost-20180902.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShare" xlink:href="cost-20180902.xsd#NetIncomePerCommonAndCommonEquivalentShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShareNetIncomePerCommonAndCommonEquivalentShareTables" xlink:href="cost-20180902.xsd#NetIncomePerCommonAndCommonEquivalentShareNetIncomePerCommonAndCommonEquivalentShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShareScheduleOfEarningsPerShareEffectOnNetIncomeAndWeightedAveregaeNumberOfDilutivePotentialCommonStockDetails" xlink:href="cost-20180902.xsd#NetIncomePerCommonAndCommonEquivalentShareScheduleOfEarningsPerShareEffectOnNetIncomeAndWeightedAveregaeNumberOfDilutivePotentialCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/QuarterlyFinancialDataDetails" xlink:href="cost-20180902.xsd#QuarterlyFinancialDataDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/QuarterlyFinancialDataUnaudited" xlink:href="cost-20180902.xsd#QuarterlyFinancialDataUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/QuarterlyFinancialDataUnauditedTables" xlink:href="cost-20180902.xsd#QuarterlyFinancialDataUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SegmentReporting" xlink:href="cost-20180902.xsd#SegmentReporting" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SegmentReportingInformationByItemCategoryDetails" xlink:href="cost-20180902.xsd#SegmentReportingInformationByItemCategoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SegmentReportingInformationBySegmentDetails" xlink:href="cost-20180902.xsd#SegmentReportingInformationBySegmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SegmentReportingTables" xlink:href="cost-20180902.xsd#SegmentReportingTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockBasedCompensationPlans" xlink:href="cost-20180902.xsd#StockBasedCompensationPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockBasedCompensationPlansAdditionalInformationDetails" xlink:href="cost-20180902.xsd#StockBasedCompensationPlansAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockBasedCompensationPlansSummaryOfRsuTransactionsDetails" xlink:href="cost-20180902.xsd#StockBasedCompensationPlansSummaryOfRsuTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockBasedCompensationPlansSummaryOfStockBasedCompensationExpenseDetails" xlink:href="cost-20180902.xsd#StockBasedCompensationPlansSummaryOfStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockBasedCompensationPlansTables" xlink:href="cost-20180902.xsd#StockBasedCompensationPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockholdersEquity" xlink:href="cost-20180902.xsd#StockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockholdersEquityAdditionalInformationDetails" xlink:href="cost-20180902.xsd#StockholdersEquityAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockholdersEquityStockRepurchasedDuringPeriodDetails" xlink:href="cost-20180902.xsd#StockholdersEquityStockRepurchasedDuringPeriodDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/StockholdersEquityTables" xlink:href="cost-20180902.xsd#StockholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="cost-20180902.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:href="cost-20180902.xsd#SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesMerchandiseInventoriesDetails" xlink:href="cost-20180902.xsd#SummaryOfSignificantAccountingPoliciesMerchandiseInventoriesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="cost-20180902.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="cost-20180902.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.costco.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_8603E633E28E24715590AF655FB01639" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_0B1DC2FE387750D6EE07AF655FAF4E3C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_8603E633E28E24715590AF655FB01639" xlink:to="loc_us-gaap_LossContingenciesTable_0B1DC2FE387750D6EE07AF655FAF4E3C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseAxis" xlink:label="loc_srt_LitigationCaseAxis_9CD06F7EC13571AD381CAF655FAF15F9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_0B1DC2FE387750D6EE07AF655FAF4E3C" xlink:to="loc_srt_LitigationCaseAxis_9CD06F7EC13571AD381CAF655FAF15F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_AA307228D45D3B91AE2AAF655FAFCD4A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_9CD06F7EC13571AD381CAF655FAF15F9" xlink:to="loc_srt_LitigationCaseTypeDomain_AA307228D45D3B91AE2AAF655FAFCD4A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_LitigationCaseTypeDomain" xlink:label="loc_srt_LitigationCaseTypeDomain_AA307228D45D3B91AE2AAF655FAFCD4A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_9CD06F7EC13571AD381CAF655FAF15F9" xlink:to="loc_srt_LitigationCaseTypeDomain_AA307228D45D3B91AE2AAF655FAFCD4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyDamagesSoughtValue" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_91449C46325014F2E449AF655FB0ED04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_8603E633E28E24715590AF655FB01639" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_91449C46325014F2E449AF655FB0ED04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyDamagesAwardedValue" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_B49C7093F8106B5136B6AF655FB04DCF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_8603E633E28E24715590AF655FB01639" xlink:to="loc_us-gaap_LossContingencyDamagesAwardedValue_B49C7093F8106B5136B6AF655FB04DCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LitigationSettlementAmountAwardedToOtherParty" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_18845145CAAC1B3230DCAF655FB01300" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_8603E633E28E24715590AF655FB01639" xlink:to="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_18845145CAAC1B3230DCAF655FB01300" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedStatementsOfCashFlowsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedStatementsOfEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_03B46516FED65972DB43AE2C38DF72CD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_34D707BA76C46CBF9364AE2C38DF7D26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_03B46516FED65972DB43AE2C38DF72CD" xlink:to="loc_us-gaap_StatementTable_34D707BA76C46CBF9364AE2C38DF7D26" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_4276379FD65CDD166DBCAE2C38DFB686" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_34D707BA76C46CBF9364AE2C38DF7D26" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4276379FD65CDD166DBCAE2C38DFB686" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4276379FD65CDD166DBCAE2C38DFB686" xlink:to="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4276379FD65CDD166DBCAE2C38DFB686" xlink:to="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655" xlink:to="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_AE3832EEA967F41E7C1AAE2C38DF36FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:to="loc_us-gaap_CommonStockMember_AE3832EEA967F41E7C1AAE2C38DF36FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_F9AE2F4D2F52D2AD76F0AE2C38DF159B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_F9AE2F4D2F52D2AD76F0AE2C38DF159B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_7A86D862085FF7495A8AAE2C38DF8E93" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_7A86D862085FF7495A8AAE2C38DF8E93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_B2B0DFDFE61D65CEA095AE2C38DF8B87" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_4559C67B829B34F28823AE2C38DFFCFF" xlink:to="loc_us-gaap_RetainedEarningsMember_B2B0DFDFE61D65CEA095AE2C38DF8B87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_414431043321B050779EAE2C38DF72CA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6D031A07BC9A86DC2DC3AE2C38DFC655" xlink:to="loc_us-gaap_NoncontrollingInterestMember_414431043321B050779EAE2C38DF72CA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_7F7C7F8EE348121215C7AE2C38DFE72F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_03B46516FED65972DB43AE2C38DF72CD" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_7F7C7F8EE348121215C7AE2C38DFE72F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_03B46516FED65972DB43AE2C38DF72CD" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_9176523FBF9CC528991AAE2C38DF3390" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_9176523FBF9CC528991AAE2C38DF3390" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_3312E54CF6DCF4879EDBAE2C38DF6722" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_3312E54CF6DCF4879EDBAE2C38DF6722" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_37E50D347E57B79C4224AE2C38DF5ADC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_ProfitLoss_37E50D347E57B79C4224AE2C38DF5ADC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_A9AF24090D8FFE850F00AE2C38DFB639" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_A9AF24090D8FFE850F00AE2C38DFB639" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_6842EC43E0B1CB2FBDC1AE2C38DF32CF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_6842EC43E0B1CB2FBDC1AE2C38DF32CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D0528279002B568F2D52AE2C38DF0E62" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_D0528279002B568F2D52AE2C38DF0E62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_AF2EC098B0F93555788AAE2C38DF2F0D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_AF2EC098B0F93555788AAE2C38DF2F0D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_614BC32D9DCAEF3170DBAE2C38E9DFE0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_614BC32D9DCAEF3170DBAE2C38E9DFE0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_AC8CBA96E6A071A56E33AE2C38E9E2B7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_AC8CBA96E6A071A56E33AE2C38E9E2B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_3C69BC54F9C3239E72AFAE2C38E92F85" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_3C69BC54F9C3239E72AFAE2C38E92F85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_6E71879119A483451453AE2C38E9F1EA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_6E71879119A483451453AE2C38E9F1EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_877034BCEE8B497AF01CAE2C38E95DA1" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_877034BCEE8B497AF01CAE2C38E95DA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_17386B8B851EE94C0C58AE2C38E9E6E3" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_17386B8B851EE94C0C58AE2C38E9E6E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityOther" xlink:label="loc_us-gaap_StockholdersEquityOther_228FA7F67F4F3F04C4E9AE2C38E9BAAE" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_StockholdersEquityOther_228FA7F67F4F3F04C4E9AE2C38E9BAAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsCash" xlink:label="loc_us-gaap_DividendsCash_E004471172B88B9BF59BAE2C38E92B54" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_CEF487A27B1A45C3659CAE2C38DFB989" xlink:to="loc_us-gaap_DividendsCash_E004471172B88B9BF59BAE2C38E92B54" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_24AE15F30A3EF10023E6ADABE0D2A83E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_StatementTable_24AE15F30A3EF10023E6ADABE0D2A83E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_23E178F45C9BBE513C87ADABE0D25656" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_24AE15F30A3EF10023E6ADABE0D2A83E" xlink:to="loc_srt_ProductOrServiceAxis_23E178F45C9BBE513C87ADABE0D25656" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_23E178F45C9BBE513C87ADABE0D25656" xlink:to="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_23E178F45C9BBE513C87ADABE0D25656" xlink:to="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductMember" xlink:label="loc_us-gaap_ProductMember_5E27614F5D19EE0F1DBFADABE0D29207" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC" xlink:to="loc_us-gaap_ProductMember_5E27614F5D19EE0F1DBFADABE0D29207" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MembershipMember" xlink:label="loc_us-gaap_MembershipMember_FE479AC6B70F2460E242ADABE0D252C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_E1A35A58B34B326D237DADABE0D2E0FC" xlink:to="loc_us-gaap_MembershipMember_FE479AC6B70F2460E242ADABE0D252C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_D3D377539A0FEF8DABA6ADABE0D28524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_RevenuesAbstract_D3D377539A0FEF8DABA6ADABE0D28524" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B42807BC7C15E7FA92F7ADABE0D2CEB6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_D3D377539A0FEF8DABA6ADABE0D28524" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B42807BC7C15E7FA92F7ADABE0D2CEB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_1F29F57D2DABAAD081A7ADABE0D24661" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_OperatingExpensesAbstract_1F29F57D2DABAAD081A7ADABE0D24661" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_81843F83F72C6318D281ADABE0D21C67" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_1F29F57D2DABAAD081A7ADABE0D24661" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_81843F83F72C6318D281ADABE0D21C67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_1B1B24C6CC2021EFAADDADABE0D299F5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_1F29F57D2DABAAD081A7ADABE0D24661" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_1B1B24C6CC2021EFAADDADABE0D299F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreOpeningCosts" xlink:label="loc_us-gaap_PreOpeningCosts_A989BDE691F99C88901AADABE0D27E8C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_1F29F57D2DABAAD081A7ADABE0D24661" xlink:to="loc_us-gaap_PreOpeningCosts_A989BDE691F99C88901AADABE0D27E8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_2C48A253859941941030ADABE0D20DC6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_OperatingIncomeLoss_2C48A253859941941030ADABE0D20DC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_632AC2C638473335A316ADABE0D2BC14" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_632AC2C638473335A316ADABE0D2BC14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_230D040F707C00B9D0E4ADABE0D276DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_632AC2C638473335A316ADABE0D2BC14" xlink:to="loc_us-gaap_InterestExpense_230D040F707C00B9D0E4ADABE0D276DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndOtherIncome" xlink:label="loc_us-gaap_InterestAndOtherIncome_62F30D7584B59E58BB2FADABE0D23A44" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_632AC2C638473335A316ADABE0D2BC14" xlink:to="loc_us-gaap_InterestAndOtherIncome_62F30D7584B59E58BB2FADABE0D23A44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09D7AC69BB670CC5536CADABE0D244FA" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_09D7AC69BB670CC5536CADABE0D244FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_AF3ED1E75C1DCA6B249CADABE0D28118" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_AF3ED1E75C1DCA6B249CADABE0D28118" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_A255DD6E3D041DFED8B9ADABE0D296E7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_ProfitLoss_A255DD6E3D041DFED8B9ADABE0D296E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_87427C611B181EA940CCADABE0D2774A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_87427C611B181EA940CCADABE0D2774A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_3F0DAB0831D2D3EF60EDADABE0D2562D" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EF067608DB24432576F3ADABE0D27457" xlink:to="loc_us-gaap_NetIncomeLoss_3F0DAB0831D2D3EF60EDADABE0D2562D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/Debt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/DebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_3AD309342D453BB876B4A97116DD8BE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentTable_3AD309342D453BB876B4A97116DD8BE5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7401A6FF54279454D1F7A97116DD3E93" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3AD309342D453BB876B4A97116DD8BE5" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7401A6FF54279454D1F7A97116DD3E93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9F58B15B5DA650D1C7EA97116DD1EAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7401A6FF54279454D1F7A97116DD3E93" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9F58B15B5DA650D1C7EA97116DD1EAE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9F58B15B5DA650D1C7EA97116DD1EAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7401A6FF54279454D1F7A97116DD3E93" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9F58B15B5DA650D1C7EA97116DD1EAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_4EA8EF69C699A67E5584A97116DD6911" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B9F58B15B5DA650D1C7EA97116DD1EAE" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_4EA8EF69C699A67E5584A97116DD6911" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_B68566CC5C701E6B9B57A97116DD5CB6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3AD309342D453BB876B4A97116DD8BE5" xlink:to="loc_us-gaap_DebtInstrumentAxis_B68566CC5C701E6B9B57A97116DD5CB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_B68566CC5C701E6B9B57A97116DD5CB6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_B68566CC5C701E6B9B57A97116DD5CB6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_May2017SeniorNotesMember" xlink:label="loc_cost_May2017SeniorNotesMember_EB9F4B9C3F76E3AC0622A97116DDFEA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_May2017SeniorNotesMember_EB9F4B9C3F76E3AC0622A97116DDFEA7" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember" xlink:label="loc_cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember_EBEDF28DCF7D76BD6FCEA97116E01305" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember_EBEDF28DCF7D76BD6FCEA97116E01305" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember" xlink:label="loc_cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember_B848B551082761BC23C9A97116E05AC3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember_B848B551082761BC23C9A97116E05AC3" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember" xlink:label="loc_cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember_7740D48FB2CA69A286D2A97116E0C5D5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember_7740D48FB2CA69A286D2A97116E0C5D5" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember" xlink:label="loc_cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember_BF68B308CBAE04521B5FA97116E0FDA4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember_BF68B308CBAE04521B5FA97116E0FDA4" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember" xlink:label="loc_cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember_6D6E467809A9A873D085A97116E09B3F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember_6D6E467809A9A873D085A97116E09B3F" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember" xlink:label="loc_cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember_B9DDF9EC283F1EE2F6B8A97116E017D7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember_B9DDF9EC283F1EE2F6B8A97116E017D7" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember" xlink:label="loc_cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember_CAAA3AF3F0F7C17E26D7A97116E04611" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember_CAAA3AF3F0F7C17E26D7A97116E04611" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember" xlink:label="loc_cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember_AA43082C540BDDE351C1A97116E0DE75" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember_AA43082C540BDDE351C1A97116E0DE75" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember" xlink:label="loc_cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember_F5F0221D692151C9F344A97116E0625E" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8D0B6F540525015878B7A97116DDBE70" xlink:to="loc_cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember_F5F0221D692151C9F344A97116E0625E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_3FB30D395F21F8061D28A97116E0C7FC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3AD309342D453BB876B4A97116DD8BE5" xlink:to="loc_us-gaap_CreditFacilityAxis_3FB30D395F21F8061D28A97116E0C7FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_7B12C76EDF7E58DF06DDA97116E03589_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_3FB30D395F21F8061D28A97116E0C7FC" xlink:to="loc_us-gaap_CreditFacilityDomain_7B12C76EDF7E58DF06DDA97116E03589_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_7B12C76EDF7E58DF06DDA97116E03589" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_3FB30D395F21F8061D28A97116E0C7FC" xlink:to="loc_us-gaap_CreditFacilityDomain_7B12C76EDF7E58DF06DDA97116E03589" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_E8EFF2E6A182419840EBA97116E2E8BE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_7B12C76EDF7E58DF06DDA97116E03589" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_E8EFF2E6A182419840EBA97116E2E8BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6F8002E09AF8FBB030D0A97116E2633F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6F8002E09AF8FBB030D0A97116E2633F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_31C0435A931F9B782397A97116E2CA2E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_31C0435A931F9B782397A97116E2CA2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_EDC6DFCE2E2FFB67EAF4A97116E234D1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_EDC6DFCE2E2FFB67EAF4A97116E234D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFrequencyOfPeriodicPayment" xlink:label="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_52F4D9567A5E3D115332A97116E2F17B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_52F4D9567A5E3D115332A97116E2F17B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_DB16F0732BBE563EA19EA97116E25D89" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_DB16F0732BBE563EA19EA97116E25D89" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_RedemptionPriceCertainEvents" xlink:label="loc_cost_RedemptionPriceCertainEvents_932AF2191003D41EE491A97116E20785" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_cost_RedemptionPriceCertainEvents_932AF2191003D41EE491A97116E20785" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_8B42BAC1FB1238E4BDE8A97116E20420" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_LongTermDebt_8B42BAC1FB1238E4BDE8A97116E20420" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_422D04B1BB62426119DEA97116E2B557" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_LongTermDebtFairValue_422D04B1BB62426119DEA97116E2B557" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_5EEF82564E0031CD1112A97116E21433" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6556FEA7B7131D775578A97116E2415E" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_5EEF82564E0031CD1112A97116E21433" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/DebtCarryingValueOfCompanysLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_09CE07320E271E75B942ADAC821B328D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_DebtInstrumentTable_09CE07320E271E75B942ADAC821B328D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_06E5752CDBBFDEC7DBEDADAC821BB48C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_09CE07320E271E75B942ADAC821B328D" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_06E5752CDBBFDEC7DBEDADAC821BB48C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_06E5752CDBBFDEC7DBEDADAC821BB48C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_06E5752CDBBFDEC7DBEDADAC821BB48C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember" xlink:label="loc_cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember_F5A2F467115C5EE3B89AADAC822A4804" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesFivePointFivePercentDueMarchTwentySeventeenMember_F5A2F467115C5EE3B89AADAC822A4804" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember" xlink:label="loc_cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember_CA287AA3767510CD5334ADAC822AC3CD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesOnePointOneTwoFivePercentDueDecemberFifteenTwentySeventeenMember_CA287AA3767510CD5334ADAC822AC3CD" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember" xlink:label="loc_cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember_50B7742E78FEA150B8FFADAC822AD8BF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesOnePointSevenPercentDueDecemberTwentyNineteenMember_50B7742E78FEA150B8FFADAC822AD8BF" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember" xlink:label="loc_cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember_3F740141C6EFB6C03A8CADAC822AE20A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesOnePointSevenFivePercentDueFebruaryTwentyTwentyMember_3F740141C6EFB6C03A8CADAC822AE20A" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember" xlink:label="loc_cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember_1CC2D03B124390B820A8ADAC822A26E4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesTwoPointOneFivePercentDueMayEighteenTwentyTwentyOneMember_1CC2D03B124390B820A8ADAC822A26E4" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember" xlink:label="loc_cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember_6A7F84FB2899068AE380ADAC822AED55" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesTwoPointTwoFivePercentDueFebruaryTwentyTwentyTwoMember_6A7F84FB2899068AE380ADAC822AED55" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember" xlink:label="loc_cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember_B5774BB121340F1678C3ADAC822A8313" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesTwoPointThreeZeroPercentDueMayEighteenTwentyTwentyTwoMember_B5774BB121340F1678C3ADAC822A8313" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember" xlink:label="loc_cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember_F7BD2339467D112DDAD0ADAC822A267B" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesTwoPointSevenFivePercentDueMayEighteenTwentyTwentyFourMemberMember_F7BD2339467D112DDAD0ADAC822A267B" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember" xlink:label="loc_cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember_4CDCC709D41645625750ADAC822AB5C8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_SeniorNotesThreePercentDueMayEighteenTwentyTwentySevenMemberMember_4CDCC709D41645625750ADAC822AB5C8" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherLongTermDebtMember" xlink:label="loc_cost_OtherLongTermDebtMember_78313EE5B5DD4D1DD970ADAC822AAFEF" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_FBB4F85ACCEA346A4ECEADAC822A8274" xlink:to="loc_cost_OtherLongTermDebtMember_78313EE5B5DD4D1DD970ADAC822AAFEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_BC1463832752CFDE8C8BADAC822A9CB4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_09CE07320E271E75B942ADAC821B328D" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_BC1463832752CFDE8C8BADAC822A9CB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_BC1463832752CFDE8C8BADAC822A9CB4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_BC1463832752CFDE8C8BADAC822A9CB4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_B7A1FF7BD3819091E71CADAC822AF942" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_B7A1FF7BD3819091E71CADAC822AF942" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_B5D2B5E5969A9A6E700EADAC822A9F78" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_B2112FDB6173A7596637ADAC822A98EC" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_B5D2B5E5969A9A6E700EADAC822A9F78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_E2E8F8F76B7CFD50A808ADAC822AA260" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_E2E8F8F76B7CFD50A808ADAC822AA260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_366A66753271506C8050ADAC822AB8BE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_366A66753271506C8050ADAC822AB8BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFrequencyOfPeriodicPayment" xlink:label="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_D584C3E72F89BE822EF8ADAC822AE12F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_D584C3E72F89BE822EF8ADAC822AE12F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_5A734DC8712239495C9CADAC822A9E3E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_LongTermDebt_5A734DC8712239495C9CADAC822A9E3E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_5FFC1F403586BB55FA53ADAC822ABE13" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_LongTermDebtCurrent_5FFC1F403586BB55FA53ADAC822ABE13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_7D719A61C399CBAA38DCADAC822A77D7" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_7D719A61C399CBAA38DCADAC822A77D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_7A8E3B24079B9B21DCCBADAC822AE17C" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_LongTermDebtFairValue_7A8E3B24079B9B21DCCBADAC822AE17C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_4ADDE63F920A80F0F8E0ADAC822AF37A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_4ADDE63F920A80F0F8E0ADAC822AF37A" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_RedemptionPriceCertainEvents" xlink:label="loc_cost_RedemptionPriceCertainEvents_04E05668D800C94B327FADAC822A31D3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E0A5E83C719CA87CD184ADAC822AC678" xlink:to="loc_cost_RedemptionPriceCertainEvents_04E05668D800C94B327FADAC822A31D3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/DebtScheduleOfLongTermDebtMaturitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/DebtScheduleOfShortTermDebtDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/DebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/FairValueMeasurement" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/FairValueMeasurementFairValueOfFinancialAssetsAndFinancialLiabilitiesMeasuredOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_90F0F1B9620F1FEF429AAE05DA7D1C06" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_90F0F1B9620F1FEF429AAE05DA7D1C06" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_0B994EC06C92925ED3C8AE05DA7A46E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:to="loc_us-gaap_FinancialInstrumentAxis_0B994EC06C92925ED3C8AE05DA7A46E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_0B994EC06C92925ED3C8AE05DA7A46E1" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_0B994EC06C92925ED3C8AE05DA7A46E1" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_2D3CBFC4D7628850501FAE05DA7A971D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:to="loc_us-gaap_MoneyMarketFundsMember_2D3CBFC4D7628850501FAE05DA7A971D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_DDB8FDED933A8F4F9718AE05DA7A2BD3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_DDB8FDED933A8F4F9718AE05DA7A2BD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_199D0B28B60FFDAD37FEAE05DA7BCA37" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_199D0B28B60FFDAD37FEAE05DA7BCA37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_9A6158E11B17D2B6498FAE05DA7B17C5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8E3A45C991874169621BAE05DA7A73F6" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_9A6158E11B17D2B6498FAE05DA7B17C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C5BB0C35676E94963939AE05DA7BFA28" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C5BB0C35676E94963939AE05DA7BFA28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C5BB0C35676E94963939AE05DA7BFA28" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C5BB0C35676E94963939AE05DA7BFA28" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_BAE86EDB23B40C0925E7AE05DA7BB971" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_BAE86EDB23B40C0925E7AE05DA7BB971" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_44603A74194074107015AE05DA7CA32D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BD001C4337EF60FF3722AE05DA7B982F" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_44603A74194074107015AE05DA7CA32D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EF4F6E14F40F85499138AE05DA7C805A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EF4F6E14F40F85499138AE05DA7C805A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1F306AA7D085D91301A3AE05DA7C3AA3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EF4F6E14F40F85499138AE05DA7C805A" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1F306AA7D085D91301A3AE05DA7C3AA3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1F306AA7D085D91301A3AE05DA7C3AA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_EF4F6E14F40F85499138AE05DA7C805A" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1F306AA7D085D91301A3AE05DA7C3AA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_173474C509199A528833AE05DA7C08E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_1F306AA7D085D91301A3AE05DA7C3AA3" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_173474C509199A528833AE05DA7C08E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_2E00F1C7C828652C8DECAE05DA7DBC40" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_2497582F9A1E88E627FCAE05DA795B03" xlink:to="loc_us-gaap_InvestmentTypeAxis_2E00F1C7C828652C8DECAE05DA7DBC40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_104F7D9E417F93D67535AE05DA7D2B79_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_2E00F1C7C828652C8DECAE05DA7DBC40" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_104F7D9E417F93D67535AE05DA7D2B79_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_104F7D9E417F93D67535AE05DA7D2B79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_2E00F1C7C828652C8DECAE05DA7DBC40" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_104F7D9E417F93D67535AE05DA7D2B79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_FDD9765BBA6179ED94F9AE05DA7DCEAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_104F7D9E417F93D67535AE05DA7D2B79" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_FDD9765BBA6179ED94F9AE05DA7DCEAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_0BF1FF776B2265822AC8AE05DA7D30B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_90F0F1B9620F1FEF429AAE05DA7D1C06" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_0BF1FF776B2265822AC8AE05DA7D30B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_9F4F25214C627169447EAE05DA7ED5AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_90F0F1B9620F1FEF429AAE05DA7D1C06" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_9F4F25214C627169447EAE05DA7ED5AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_501D61E304240BFC1B07AE05DA7ED449" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_90F0F1B9620F1FEF429AAE05DA7D1C06" xlink:to="loc_us-gaap_AvailableForSaleSecurities_501D61E304240BFC1B07AE05DA7ED449" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/FairValueMeasurementTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="cost-20180902.xsd#cost_IncomeTaxesLineItems" xlink:label="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_AE351681030BA59AC589AD15DFF76251" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_DividendsPayableTable_AE351681030BA59AC589AD15DFF76251" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherThan2017TaxActAxis" xlink:label="loc_cost_OtherThan2017TaxActAxis_397D37475B681B904703AD15DFF7E70D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_AE351681030BA59AC589AD15DFF76251" xlink:to="loc_cost_OtherThan2017TaxActAxis_397D37475B681B904703AD15DFF7E70D" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherThan2017TaxActDomain" xlink:label="loc_cost_OtherThan2017TaxActDomain_B0C1B5834431A933E14FAD15DFF7F23C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_cost_OtherThan2017TaxActAxis_397D37475B681B904703AD15DFF7E70D" xlink:to="loc_cost_OtherThan2017TaxActDomain_B0C1B5834431A933E14FAD15DFF7F23C_default" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherThan2017TaxActDomain" xlink:label="loc_cost_OtherThan2017TaxActDomain_B0C1B5834431A933E14FAD15DFF7F23C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_cost_OtherThan2017TaxActAxis_397D37475B681B904703AD15DFF7E70D" xlink:to="loc_cost_OtherThan2017TaxActDomain_B0C1B5834431A933E14FAD15DFF7F23C" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherThan2017TaxReformMember" xlink:label="loc_cost_OtherThan2017TaxReformMember_AF212B5327DCBA712693AD15DFF75D0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_OtherThan2017TaxActDomain_B0C1B5834431A933E14FAD15DFF7F23C" xlink:to="loc_cost_OtherThan2017TaxReformMember_AF212B5327DCBA712693AD15DFF75D0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_A2FFA4C5A05EB9C6A6BFAD15DFF7CF39" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_AE351681030BA59AC589AD15DFF76251" xlink:to="loc_us-gaap_StatementScenarioAxis_A2FFA4C5A05EB9C6A6BFAD15DFF7CF39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_10C9EAC3A223ABC94F3BAD15DFF7BD04_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_A2FFA4C5A05EB9C6A6BFAD15DFF7CF39" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_10C9EAC3A223ABC94F3BAD15DFF7BD04_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_10C9EAC3A223ABC94F3BAD15DFF7BD04" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_A2FFA4C5A05EB9C6A6BFAD15DFF7CF39" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_10C9EAC3A223ABC94F3BAD15DFF7BD04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioPlanMember" xlink:label="loc_us-gaap_ScenarioPlanMember_F4D288A8AFDAE760C52FAD15DFF7B5BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_10C9EAC3A223ABC94F3BAD15DFF7BD04" xlink:to="loc_us-gaap_ScenarioPlanMember_F4D288A8AFDAE760C52FAD15DFF7B5BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsAxis" xlink:label="loc_us-gaap_DividendsAxis_49308E7FFF6F719849C1AD15DFF7BA0E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_AE351681030BA59AC589AD15DFF76251" xlink:to="loc_us-gaap_DividendsAxis_49308E7FFF6F719849C1AD15DFF7BA0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_F3A14996E558BEC7A573AD15DFF7D231_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_49308E7FFF6F719849C1AD15DFF7BA0E" xlink:to="loc_us-gaap_DividendsDomain_F3A14996E558BEC7A573AD15DFF7D231_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_F3A14996E558BEC7A573AD15DFF7D231" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_49308E7FFF6F719849C1AD15DFF7BA0E" xlink:to="loc_us-gaap_DividendsDomain_F3A14996E558BEC7A573AD15DFF7D231" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialDividendMember" xlink:label="loc_cost_SpecialDividendMember_9AE32F93706AB74926E1AD15DFF731A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_F3A14996E558BEC7A573AD15DFF7D231" xlink:to="loc_cost_SpecialDividendMember_9AE32F93706AB74926E1AD15DFF731A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_2C7973F39E1E6462AA10AD15DFF7CAB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_2C7973F39E1E6462AA10AD15DFF7CAB3" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_TaxCutsAndJobsActOf2017IncomeTaxExpenseBenefit" xlink:label="loc_cost_TaxCutsAndJobsActOf2017IncomeTaxExpenseBenefit_0B73B00B035DE4D43012AD15DFF789B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_cost_TaxCutsAndJobsActOf2017IncomeTaxExpenseBenefit_0B73B00B035DE4D43012AD15DFF789B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings" xlink:label="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_84A062DF02F54E22E5B5AD15DFF7956B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_84A062DF02F54E22E5B5AD15DFF7956B" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_TaxCutsAndJobsAct2017ForeignTaxCreditsAndOther" xlink:label="loc_cost_TaxCutsAndJobsAct2017ForeignTaxCreditsAndOther_A7481263DF34D6C23964AD15DFF73913" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_cost_TaxCutsAndJobsAct2017ForeignTaxCreditsAndOther_A7481263DF34D6C23964AD15DFF73913" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_7FAD3384F114FBBC2A59AD15DFF707FF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_7FAD3384F114FBBC2A59AD15DFF707FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductions" xlink:label="loc_us-gaap_IncomeTaxReconciliationDeductions_6810E48E96CB6C80EF65AD15E0069C96" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_IncomeTaxReconciliationDeductions_6810E48E96CB6C80EF65AD15E0069C96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_A5C26E2FEF59C94098D5AD15E00636D0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_A5C26E2FEF59C94098D5AD15E00636D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_5F9D87D8621DDA30D21EAD15E0063A33" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_5F9D87D8621DDA30D21EAD15E0063A33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_EDCF8F7FAB598B7398B3AD1602508459" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_EDCF8F7FAB598B7398B3AD1602508459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_3D14D36B150549AA458CAD15E006804B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_3D14D36B150549AA458CAD15E006804B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_7172DE65A69787277A55AD15E006EE14" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_IncomeTaxesLineItems_030B18B51741086BCA11AD15DFF77023" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_7172DE65A69787277A55AD15E006EE14" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesGrossUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesIncomeBeforeIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesReconciliationBetweenStatutoryAndEffectiveRatesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesScheduleOfForeignAndDomesticIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/Investments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/InvestmentsAvailableForSaleAndHeldToMaturityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="cost-20180902.xsd#cost_AvailableForSaleAndHeldToMaturityLineItems" xlink:label="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:type="locator" />
    <link:loc xlink:href="cost-20180902.xsd#cost_AvailableForSaleAndHeldToMaturityTable" xlink:label="loc_cost_AvailableForSaleAndHeldToMaturityTable_49B6E8B2C8866A6C6A91AE05590212F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_cost_AvailableForSaleAndHeldToMaturityTable_49B6E8B2C8866A6C6A91AE05590212F6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentAxis" xlink:label="loc_invest_InvestmentAxis_6034A84524B15C5484BEAE055902A66F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityTable_49B6E8B2C8866A6C6A91AE05590212F6" xlink:to="loc_invest_InvestmentAxis_6034A84524B15C5484BEAE055902A66F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_invest_InvestmentAxis_6034A84524B15C5484BEAE055902A66F" xlink:to="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_invest_InvestmentAxis_6034A84524B15C5484BEAE055902A66F" xlink:to="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_5D3B9BBEAE3D8DE31355AE0559023799" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_5D3B9BBEAE3D8DE31355AE0559023799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldtomaturitySecuritiesMember" xlink:label="loc_us-gaap_HeldtomaturitySecuritiesMember_5AC7A40246DECF4C9728AE0559119C3A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentDomain_457A6ADB4144E5313698AE055902ADF1" xlink:to="loc_us-gaap_HeldtomaturitySecuritiesMember_5AC7A40246DECF4C9728AE0559119C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_98CFD1E3922B41800C53AE055911648C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityTable_49B6E8B2C8866A6C6A91AE05590212F6" xlink:to="loc_us-gaap_InvestmentTypeAxis_98CFD1E3922B41800C53AE055911648C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_5426F530457A3A6BF406AE055911D6E9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_98CFD1E3922B41800C53AE055911648C" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_5426F530457A3A6BF406AE055911D6E9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_5426F530457A3A6BF406AE055911D6E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_98CFD1E3922B41800C53AE055911648C" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_5426F530457A3A6BF406AE055911D6E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_890AE3E3AB86398536AEAE0559112D8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_5426F530457A3A6BF406AE055911D6E9" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_890AE3E3AB86398536AEAE0559112D8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_DB3D8594634B67D3A63EAE0559118BB0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityTable_49B6E8B2C8866A6C6A91AE05590212F6" xlink:to="loc_us-gaap_FinancialInstrumentAxis_DB3D8594634B67D3A63EAE0559118BB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_DB3D8594634B67D3A63EAE0559118BB0" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_DB3D8594634B67D3A63EAE0559118BB0" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_00AF259F41EC38ABDCE6AE05591160D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_00AF259F41EC38ABDCE6AE05591160D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_A87AE3C22024181D962AAE0559116DA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_A87AE3C22024181D962AAE0559116DA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_0ADE5E6D0801653198C0AE055911C2CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_054A9D51819E1705D252AE055911B3D0" xlink:to="loc_us-gaap_CertificatesOfDepositMember_0ADE5E6D0801653198C0AE055911C2CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_45DF61C2BA526C1BED22AE05591124F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_AvailableForSaleSecurities_45DF61C2BA526C1BED22AE05591124F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTax_B27EADCC3753C9B9AEDBAE055911A9A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainLossBeforeTax_B27EADCC3753C9B9AEDBAE055911A9A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_08E37B3CF3A66E16FCD0AE055911DC77" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_08E37B3CF3A66E16FCD0AE055911DC77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9F46FCC68EF33FE969D5AE055911DFD6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9F46FCC68EF33FE969D5AE055911DFD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_05CCD13A666490199584AE05591100A0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_HeldToMaturitySecurities_05CCD13A666490199584AE05591100A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_66A350E3ECA4026C29FAAE0559110497" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_us-gaap_ShortTermInvestments_66A350E3ECA4026C29FAAE0559110497" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAtCostBasis" xlink:label="loc_cost_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAtCostBasis_F22B9F7832AF2D348D2CAE055911DEE6" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_AvailableForSaleAndHeldToMaturityLineItems_26117ECDDE4E5978ECF9AE055911C8C8" xlink:to="loc_cost_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAtCostBasis_F22B9F7832AF2D348D2CAE055911DEE6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/InvestmentsMaturitiesOfAvailableForSaleAndHeldToMaturitySecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/InvestmentsProceedsFromSalesOfAvailableForSaleSecuritiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/InvestmentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/Leases" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/LeasesAdditionalInformationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/LeasesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/LeasesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShareNetIncomePerCommonAndCommonEquivalentShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/NetIncomePerCommonAndCommonEquivalentShareScheduleOfEarningsPerShareEffectOnNetIncomeAndWeightedAveregaeNumberOfDilutivePotentialCommonStockDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/QuarterlyFinancialDataDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_AB5CF144D27081001F57ADBB6EEB150F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_StatementTable_AB5CF144D27081001F57ADBB6EEB150F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_B0B64B18B7E0B56EB157ADBB6EEC2D5E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_AB5CF144D27081001F57ADBB6EEB150F" xlink:to="loc_srt_ProductOrServiceAxis_B0B64B18B7E0B56EB157ADBB6EEC2D5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_B0B64B18B7E0B56EB157ADBB6EEC2D5E" xlink:to="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_B0B64B18B7E0B56EB157ADBB6EEC2D5E" xlink:to="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductMember" xlink:label="loc_us-gaap_ProductMember_3325F9207A2F574F4784ADBB6EED2914" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436" xlink:to="loc_us-gaap_ProductMember_3325F9207A2F574F4784ADBB6EED2914" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MembershipMember" xlink:label="loc_us-gaap_MembershipMember_086D371753EB5FD80D58ADBB6EED8D7A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_822AA3E396C3DA957F9EADBB6EEC2436" xlink:to="loc_us-gaap_MembershipMember_086D371753EB5FD80D58ADBB6EED8D7A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_4336E3A59F354C343D4BADBB6EEE9703" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_RevenuesAbstract_4336E3A59F354C343D4BADBB6EEE9703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_63B34FFFD3C497FC4069ADBB6EEFA3BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_4336E3A59F354C343D4BADBB6EEE9703" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_63B34FFFD3C497FC4069ADBB6EEFA3BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpensesAbstract" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_10FC66C868835A195FD3ADBB6EEF90CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_10FC66C868835A195FD3ADBB6EEF90CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_15266962EC1E0F7773AFADBB6EEF0A00" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_15266962EC1E0F7773AFADBB6EEF0A00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreOpeningCosts" xlink:label="loc_us-gaap_PreOpeningCosts_1EA5E1A88E6B7928F82EADBB6EF0A3A1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:to="loc_us-gaap_PreOpeningCosts_1EA5E1A88E6B7928F82EADBB6EF0A3A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_17D795F2395F3898CF84ADBB6EF06FCA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_A59EE0606067CF686D46ADBB6EEF5EAC" xlink:to="loc_us-gaap_OperatingIncomeLoss_17D795F2395F3898CF84ADBB6EF06FCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseAbstract" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_32C7437A20D8A817FBCFADBB6EF0C223" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_32C7437A20D8A817FBCFADBB6EF0C223" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7EF867FD00BCD141B251ADBB6EF1BE12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_32C7437A20D8A817FBCFADBB6EF0C223" xlink:to="loc_us-gaap_InterestExpense_7EF867FD00BCD141B251ADBB6EF1BE12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndOtherIncome" xlink:label="loc_us-gaap_InterestAndOtherIncome_D109EA3E527D23AC1F21ADBB6EF1A238" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_32C7437A20D8A817FBCFADBB6EF0C223" xlink:to="loc_us-gaap_InterestAndOtherIncome_D109EA3E527D23AC1F21ADBB6EF1A238" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3BA7DF1CCDEF88169217ADBB6EF172B8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpenseAbstract_32C7437A20D8A817FBCFADBB6EF0C223" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3BA7DF1CCDEF88169217ADBB6EF172B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_DEC238353C88EEA0CA81ADBB6EF1B814" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_DEC238353C88EEA0CA81ADBB6EF1B814" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_EBB75B6F290B5FF2A8A1ADBB6EF1F3B4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_ProfitLoss_EBB75B6F290B5FF2A8A1ADBB6EF1F3B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_B160DA1722942DEBD91DADBB6EF2F423" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_B160DA1722942DEBD91DADBB6EF2F423" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_A86C0DE10D9120279252ADBB6EF2A367" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A8502FAE02DEDDAFA461ADBB6EEE7B66" xlink:to="loc_us-gaap_NetIncomeLoss_A86C0DE10D9120279252ADBB6EF2A367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_C66364C4D754B9C63B76ADBB6EF2FEFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_DividendsPayableTable_C66364C4D754B9C63B76ADBB6EF2FEFC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsAxis" xlink:label="loc_us-gaap_DividendsAxis_746FF755312147181006ADBB6EF3DE13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_C66364C4D754B9C63B76ADBB6EF2FEFC" xlink:to="loc_us-gaap_DividendsAxis_746FF755312147181006ADBB6EF3DE13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_930D9F030D6CB342DB42ADBB6EF3DFF5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_746FF755312147181006ADBB6EF3DE13" xlink:to="loc_us-gaap_DividendsDomain_930D9F030D6CB342DB42ADBB6EF3DFF5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_930D9F030D6CB342DB42ADBB6EF3DFF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_746FF755312147181006ADBB6EF3DE13" xlink:to="loc_us-gaap_DividendsDomain_930D9F030D6CB342DB42ADBB6EF3DFF5" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialDividendMember" xlink:label="loc_cost_SpecialDividendMember_B40A041BEE2DFA6E9598ADBB6EF32464" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_930D9F030D6CB342DB42ADBB6EF3DFF5" xlink:to="loc_cost_SpecialDividendMember_B40A041BEE2DFA6E9598ADBB6EF32464" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_2FC471ABA54C985A2B74ADBB6EF48501" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_EarningsPerShareBasic_2FC471ABA54C985A2B74ADBB6EF48501" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_8479EEDEADE33A3EF8CAADBB6EF427B1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_EarningsPerShareDiluted_8479EEDEADE33A3EF8CAADBB6EF427B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:label="loc_us-gaap_IncomeTaxReconciliationDeductionsDividends_872CCBCC30966AB1E4D0ADBB6EF60692" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_IncomeTaxReconciliationDeductionsDividends_872CCBCC30966AB1E4D0ADBB6EF60692" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_61DF9981016C98F1316BADBB6EF52CBD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_61DF9981016C98F1316BADBB6EF52CBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_890D9F527528E01925E3ADBB6EF4970E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_8248EA205382BA7FFFA5ADBB6EF3C962" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_890D9F527528E01925E3ADBB6EF4970E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0F2DF7C957BCB900BA08ADBB6EF4BCAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_890D9F527528E01925E3ADBB6EF4970E" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0F2DF7C957BCB900BA08ADBB6EF4BCAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8522D77FA4FABF97EC38ADBB6EF52B9F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_890D9F527528E01925E3ADBB6EF4970E" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8522D77FA4FABF97EC38ADBB6EF52B9F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_37B18BBF3B880423C004ADBB6EF51B38" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_890D9F527528E01925E3ADBB6EF4970E" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_37B18BBF3B880423C004ADBB6EF51B38" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/QuarterlyFinancialDataUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/QuarterlyFinancialDataUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/SegmentReporting" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/SegmentReportingInformationByItemCategoryDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:label="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_2195EDFC945D7A4130C616A5EA06D762" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A4FAFFB0E3C8CB0F49D316A5EA041B3E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_2195EDFC945D7A4130C616A5EA06D762" xlink:to="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A4FAFFB0E3C8CB0F49D316A5EA041B3E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_2605E0BCF072D5C97FDD16A5EA0529C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_A4FAFFB0E3C8CB0F49D316A5EA041B3E" xlink:to="loc_srt_ProductOrServiceAxis_2605E0BCF072D5C97FDD16A5EA0529C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_2605E0BCF072D5C97FDD16A5EA0529C1" xlink:to="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_2605E0BCF072D5C97FDD16A5EA0529C1" xlink:to="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_FoodandSundriesMember" xlink:label="loc_cost_FoodandSundriesMember_EC3A4B34B3802830338616A5EF7D07B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:to="loc_cost_FoodandSundriesMember_EC3A4B34B3802830338616A5EF7D07B5" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_HardlinesMember" xlink:label="loc_cost_HardlinesMember_CDCC2B761F0B05A8605C16A5EA06AB36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:to="loc_cost_HardlinesMember_CDCC2B761F0B05A8605C16A5EA06AB36" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_FreshFoodMember" xlink:label="loc_cost_FreshFoodMember_3172CA91DEDBF12ECE0116A5EA060E48" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:to="loc_cost_FreshFoodMember_3172CA91DEDBF12ECE0116A5EA060E48" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SoftlinesMember" xlink:label="loc_cost_SoftlinesMember_9CA397271F9AE024E02316A5EA06A9B1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:to="loc_cost_SoftlinesMember_9CA397271F9AE024E02316A5EA06A9B1" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherMember" xlink:label="loc_cost_OtherMember_E6EDA0392C7FBA84671416A5EA06EEA3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8AA2C21E399A5E842E7016A5EA05DAED" xlink:to="loc_cost_OtherMember_E6EDA0392C7FBA84671416A5EA06EEA3" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MajorItemCategoryasPercentageofNetSales" xlink:label="loc_cost_MajorItemCategoryasPercentageofNetSales_5DA61C6B41F0F16D99CC16A5EA07244D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_2195EDFC945D7A4130C616A5EA06D762" xlink:to="loc_cost_MajorItemCategoryasPercentageofNetSales_5DA61C6B41F0F16D99CC16A5EA07244D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/SegmentReportingInformationBySegmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_ADA8BB877C46FDBAE30210197CCC58EF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_ADA8BB877C46FDBAE30210197CCC58EF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_C17D85E628080B5F536710197CD157FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_ADA8BB877C46FDBAE30210197CCC58EF" xlink:to="loc_srt_ConsolidationItemsAxis_C17D85E628080B5F536710197CD157FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_0A31D9472365567C97BC10197CD2F62E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_C17D85E628080B5F536710197CD157FC" xlink:to="loc_srt_ConsolidationItemsDomain_0A31D9472365567C97BC10197CD2F62E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_0A31D9472365567C97BC10197CD2F62E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_C17D85E628080B5F536710197CD157FC" xlink:to="loc_srt_ConsolidationItemsDomain_0A31D9472365567C97BC10197CD2F62E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_2D3B35EE14E22CD14F0610197CD234FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_0A31D9472365567C97BC10197CD2F62E" xlink:to="loc_us-gaap_OperatingSegmentsMember_2D3B35EE14E22CD14F0610197CD234FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_12558EA37D119088733A10197CD25D33" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_ADA8BB877C46FDBAE30210197CCC58EF" xlink:to="loc_srt_StatementGeographicalAxis_12558EA37D119088733A10197CD25D33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_12558EA37D119088733A10197CD25D33" xlink:to="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_12558EA37D119088733A10197CD25D33" xlink:to="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_E82E70EFA1D4374BAD2C10197CD31413" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD" xlink:to="loc_country_US_E82E70EFA1D4374BAD2C10197CD31413" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_country_CA_CCC48D76CD9782C02AD310197CD3A0AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD" xlink:to="loc_country_CA_CCC48D76CD9782C02AD310197CD3A0AC" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherInternationalOperationsMember" xlink:label="loc_cost_OtherInternationalOperationsMember_70BFD789ACB7DF99C79910197CD41404" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_A250499425E5815B696210197CD3BFDD" xlink:to="loc_cost_OtherInternationalOperationsMember_70BFD789ACB7DF99C79910197CD41404" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_9C5388AD45673156119210197CD4D42E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_Revenues_9C5388AD45673156119210197CD4D42E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_729877F1C9BBBB2DD31D10197CD420FE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_OperatingIncomeLoss_729877F1C9BBBB2DD31D10197CD420FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5194270EC77BA1931F7110197CD43AB0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5194270EC77BA1931F7110197CD43AB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2D5A666837C4E20BAB3310197CD4482C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_2D5A666837C4E20BAB3310197CD4482C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6DCED2AE1578DC36771410197CD5ACA1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6DCED2AE1578DC36771410197CD5ACA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_EA69A5AE497487F7C4DD10197CD5F2F8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_E68E63C29F23ED6E703A10197CD4002C" xlink:to="loc_us-gaap_Assets_EA69A5AE497487F7C4DD10197CD5F2F8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/SegmentReportingTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockBasedCompensationPlans" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockBasedCompensationPlansAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_C7273CBDE4DE7E901412ADBB701DB392" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:to="loc_us-gaap_StatementScenarioAxis_C7273CBDE4DE7E901412ADBB701DB392" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_C30694F1F99144F48035ADBB701EED12_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_C7273CBDE4DE7E901412ADBB701DB392" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_C30694F1F99144F48035ADBB701EED12_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_C30694F1F99144F48035ADBB701EED12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_C7273CBDE4DE7E901412ADBB701DB392" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_C30694F1F99144F48035ADBB701EED12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioPlanMember" xlink:label="loc_us-gaap_ScenarioPlanMember_734575B5302B86BE831AADBB701E1ACE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_C30694F1F99144F48035ADBB701EED12" xlink:to="loc_us-gaap_ScenarioPlanMember_734575B5302B86BE831AADBB701E1ACE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsAxis" xlink:label="loc_us-gaap_DividendsAxis_33A93CE64E6A7FD1B384ADBB701E46A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:to="loc_us-gaap_DividendsAxis_33A93CE64E6A7FD1B384ADBB701E46A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_33A93CE64E6A7FD1B384ADBB701E46A6" xlink:to="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_33A93CE64E6A7FD1B384ADBB701E46A6" xlink:to="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialDividendClosingMember" xlink:label="loc_cost_SpecialDividendClosingMember_14E7A15F55775875A74EADBB701FC89A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95" xlink:to="loc_cost_SpecialDividendClosingMember_14E7A15F55775875A74EADBB701FC89A" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialDividendOpeningMember" xlink:label="loc_cost_SpecialDividendOpeningMember_10B447351881A7305704ADBB701FC308" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_30B08FF37450C7F43F46ADBB701FBA95" xlink:to="loc_cost_SpecialDividendOpeningMember_10B447351881A7305704ADBB701FC308" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_4578F820AC2B0FC1E86BADBB70206142" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:to="loc_us-gaap_TitleOfIndividualAxis_4578F820AC2B0FC1E86BADBB70206142" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_4578F820AC2B0FC1E86BADBB70206142" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_4578F820AC2B0FC1E86BADBB70206142" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_EmployeesMember" xlink:label="loc_cost_EmployeesMember_4CFDCE648CE126F493A0ADBB70206FA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3" xlink:to="loc_cost_EmployeesMember_4CFDCE648CE126F493A0ADBB70206FA5" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_NonEmployeeDirectorsMember" xlink:label="loc_cost_NonEmployeeDirectorsMember_F960C89A4E2BFFAF2513ADBB7021231E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_3B1910AE638B24B18143ADBB7020FFC3" xlink:to="loc_cost_NonEmployeeDirectorsMember_F960C89A4E2BFFAF2513ADBB7021231E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_675A623A2A8EF30C8211ADBB702109FC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:to="loc_us-gaap_PlanNameAxis_675A623A2A8EF30C8211ADBB702109FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B7075019B04AF7F3A07FADBB7021DD71_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_675A623A2A8EF30C8211ADBB702109FC" xlink:to="loc_us-gaap_PlanNameDomain_B7075019B04AF7F3A07FADBB7021DD71_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_B7075019B04AF7F3A07FADBB7021DD71" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_675A623A2A8EF30C8211ADBB702109FC" xlink:to="loc_us-gaap_PlanNameDomain_B7075019B04AF7F3A07FADBB7021DD71" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SeventhRestated2002IncentivePlanMember" xlink:label="loc_cost_SeventhRestated2002IncentivePlanMember_2AEA4B273E32639963F8ADBB702281B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_B7075019B04AF7F3A07FADBB7021DD71" xlink:to="loc_cost_SeventhRestated2002IncentivePlanMember_2AEA4B273E32639963F8ADBB702281B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_34413D0628E1DA206BD7ADBB70220999" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8E52FA2B7CECE7AB8E45ADBB701D5DAB" xlink:to="loc_us-gaap_AwardTypeAxis_34413D0628E1DA206BD7ADBB70220999" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE1E29229E0501C624A3ADBB70229136_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_34413D0628E1DA206BD7ADBB70220999" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE1E29229E0501C624A3ADBB70229136_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE1E29229E0501C624A3ADBB70229136" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_34413D0628E1DA206BD7ADBB70220999" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE1E29229E0501C624A3ADBB70229136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_50ADB29CD85BC829E868ADBB70231B6B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DE1E29229E0501C624A3ADBB70229136" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_50ADB29CD85BC829E868ADBB70231B6B" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_PortionOfEachShareIssuedCountedTowardsLimitOfSharesAvailable" xlink:label="loc_cost_PortionOfEachShareIssuedCountedTowardsLimitOfSharesAvailable_8C068D17E282F5079909ADBB70239255" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_PortionOfEachShareIssuedCountedTowardsLimitOfSharesAvailable_8C068D17E282F5079909ADBB70239255" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MandatoryProportionalAdjustmentSharesAvailableToGrant" xlink:label="loc_cost_MandatoryProportionalAdjustmentSharesAvailableToGrant_44C081698D32039E5E41ADBB70296CB1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_MandatoryProportionalAdjustmentSharesAvailableToGrant_44C081698D32039E5E41ADBB70296CB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_1CB279B275FABD3C0D34ADBB70291DFA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_1CB279B275FABD3C0D34ADBB70291DFA" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialCashDividendSharesAdjustmentRatio" xlink:label="loc_cost_SpecialCashDividendSharesAdjustmentRatio_241C7C353655C94BD477ADBB7029BF40" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_SpecialCashDividendSharesAdjustmentRatio_241C7C353655C94BD477ADBB7029BF40" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MandatoryProportionalAdjustmentToRestrictedStockUnits" xlink:label="loc_cost_MandatoryProportionalAdjustmentToRestrictedStockUnits_5ED00F1EBF46A8CC47CAADBB7029DA8A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_MandatoryProportionalAdjustmentToRestrictedStockUnits_5ED00F1EBF46A8CC47CAADBB7029DA8A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_806EFB56EC8E642CAE87ADBB702AB528" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_806EFB56EC8E642CAE87ADBB702AB528" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_ShareBasedCompensationArrangementByShareBasedPaymentNumberOfYearsOfService" xlink:label="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentNumberOfYearsOfService_721F8385ABDD3F6E7C27ADBB702ADCE4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentNumberOfYearsOfService_721F8385ABDD3F6E7C27ADBB702ADCE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2CC9C1ACE5190F9A78B3ADBB702AFF0E" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2CC9C1ACE5190F9A78B3ADBB702AFF0E" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingTimeBased" xlink:label="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingTimeBased_C6518F0E57145689A277ADBB702ADBB6" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingTimeBased_C6518F0E57145689A277ADBB702ADBB6" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBased" xlink:label="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBased_F1D0E27880CCEE07A3DFADBB702AC041" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBased_F1D0E27880CCEE07A3DFADBB702AC041" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBasedToBeGranted" xlink:label="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBasedToBeGranted_0967FA2A2A5D7FFFF2C7ADBB702B266C" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingPerformanceBasedToBeGranted_0967FA2A2A5D7FFFF2C7ADBB702B266C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_90DE35F5BB6D7F462944ADBB702BF561" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_90DE35F5BB6D7F462944ADBB702BF561" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_19E50B417011877D6339ADBB702B4DA3" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_19E50B417011877D6339ADBB702B4DA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_E11BA73E1BCD276E9983ADBB702BF13C" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_E11BA73E1BCD276E9983ADBB702BF13C" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_RestrictedShareUnitsVestedButNotYetDelivered" xlink:label="loc_cost_RestrictedShareUnitsVestedButNotYetDelivered_C42852F15CBB09085376ADBB702C4E1E" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_140A09A43572C1C7277DADBB702334FC" xlink:to="loc_cost_RestrictedShareUnitsVestedButNotYetDelivered_C42852F15CBB09085376ADBB702C4E1E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/StockBasedCompensationPlansSummaryOfRsuTransactionsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockBasedCompensationPlansSummaryOfStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8AE989DCC84C6E83C6DDADBB6FF37CBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:to="loc_us-gaap_StatementTable_8AE989DCC84C6E83C6DDADBB6FF37CBC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_74C433C0FD00EEEBA0A0ADBB6FF4F7CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8AE989DCC84C6E83C6DDADBB6FF37CBC" xlink:to="loc_us-gaap_StatementScenarioAxis_74C433C0FD00EEEBA0A0ADBB6FF4F7CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_6E58EFC6AA7B0DAD63ECADBB6FF40EAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_74C433C0FD00EEEBA0A0ADBB6FF4F7CE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_6E58EFC6AA7B0DAD63ECADBB6FF40EAE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_6E58EFC6AA7B0DAD63ECADBB6FF40EAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_74C433C0FD00EEEBA0A0ADBB6FF4F7CE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_6E58EFC6AA7B0DAD63ECADBB6FF40EAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioPlanMember" xlink:label="loc_us-gaap_ScenarioPlanMember_6F66FA6D7F551B00A041ADBB6FF43EAA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_6E58EFC6AA7B0DAD63ECADBB6FF40EAE" xlink:to="loc_us-gaap_ScenarioPlanMember_6F66FA6D7F551B00A041ADBB6FF43EAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_915AA307B4E8C5F0F106ADBB6FF5B645" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:to="loc_us-gaap_ShareBasedCompensation_915AA307B4E8C5F0F106ADBB6FF5B645" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_46570ECD7F3B39ABA080ADBB6FF60FD9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_46570ECD7F3B39ABA080ADBB6FF60FD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_C547134AB70803F84AD1ADBB6FF61E42" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_C547134AB70803F84AD1ADBB6FF61E42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_39A6B5CAC7573FA95013ADBB6FF654E4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_28606FEAB0D8FDB2FE87ADBB6FF5B581" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_39A6B5CAC7573FA95013ADBB6FF654E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/StockBasedCompensationPlansTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockholdersEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockholdersEquityAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_3241759344CEBF226203AE665E15C429" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:to="loc_us-gaap_DividendsPayableTable_3241759344CEBF226203AE665E15C429" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsAxis" xlink:label="loc_us-gaap_DividendsAxis_DC7DA8D9AC8AEAF1D08BAE665E15406D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_3241759344CEBF226203AE665E15C429" xlink:to="loc_us-gaap_DividendsAxis_DC7DA8D9AC8AEAF1D08BAE665E15406D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_D3810B82641C15E81857AE665E157899_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_DC7DA8D9AC8AEAF1D08BAE665E15406D" xlink:to="loc_us-gaap_DividendsDomain_D3810B82641C15E81857AE665E157899_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_D3810B82641C15E81857AE665E157899" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_DC7DA8D9AC8AEAF1D08BAE665E15406D" xlink:to="loc_us-gaap_DividendsDomain_D3810B82641C15E81857AE665E157899" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SpecialDividendMember" xlink:label="loc_cost_SpecialDividendMember_3132C964B3CC73DB7273AE665E15EFEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_D3810B82641C15E81857AE665E157899" xlink:to="loc_cost_SpecialDividendMember_3132C964B3CC73DB7273AE665E15EFEE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_C6DD6E25DE04F04E6453AE665E16D897" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_C6DD6E25DE04F04E6453AE665E16D897" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_394E3B6E5B0D2B230066AE665E179B42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:to="loc_us-gaap_PaymentsOfDividends_394E3B6E5B0D2B230066AE665E179B42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_AC0F1488A1792AE625BCAE665E174BA7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_AC0F1488A1792AE625BCAE665E174BA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_3B271D39A7C71B30225AAE665E174E9B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_B615663CC60594D1B7C0AE665E16049F" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_3B271D39A7C71B30225AAE665E174E9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_649CB0B20A812805DAB3AE665E192103" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_DD65CE675D9418938F72AE665E17291B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_649CB0B20A812805DAB3AE665E192103" xlink:to="loc_us-gaap_SubsequentEventTable_DD65CE675D9418938F72AE665E17291B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_DC18182F930990646EF2AE665E18CA80" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_DD65CE675D9418938F72AE665E17291B" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_DC18182F930990646EF2AE665E18CA80" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_79E13BC199D414FD30E3AE665E18A213_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_DC18182F930990646EF2AE665E18CA80" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_79E13BC199D414FD30E3AE665E18A213_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_79E13BC199D414FD30E3AE665E18A213" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_DC18182F930990646EF2AE665E18CA80" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_79E13BC199D414FD30E3AE665E18A213" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_4920DF0D8A4CE2BD21DAAE665E19E4E6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_79E13BC199D414FD30E3AE665E18A213" xlink:to="loc_us-gaap_SubsequentEventMember_4920DF0D8A4CE2BD21DAAE665E19E4E6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_FDD6BCF6F28C8C50C0A1AE665E16799C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_649CB0B20A812805DAB3AE665E192103" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_FDD6BCF6F28C8C50C0A1AE665E16799C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/StockholdersEquityStockRepurchasedDuringPeriodDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/StockholdersEquityTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="cost-20180902.xsd#cost_SummaryOfSignificantAccountingPoliciesLineItems" xlink:label="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:type="locator" />
    <link:loc xlink:href="cost-20180902.xsd#cost_SummaryOfSignificantAccountingPoliciesTable" xlink:label="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1C77E0AD33D976AFA5A5AD1781C0CEFC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1C77E0AD33D976AFA5A5AD1781C0CEFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_AF235BA4017825CAE9E4AD1781C0209E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1C77E0AD33D976AFA5A5AD1781C0CEFC" xlink:to="loc_us-gaap_TypeOfAdoptionMember_AF235BA4017825CAE9E4AD1781C0209E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_AF235BA4017825CAE9E4AD1781C0209E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1C77E0AD33D976AFA5A5AD1781C0CEFC" xlink:to="loc_us-gaap_TypeOfAdoptionMember_AF235BA4017825CAE9E4AD1781C0209E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_8EDF551B9D733B661E75AD1781CF5F85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_AF235BA4017825CAE9E4AD1781C0209E" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_8EDF551B9D733B661E75AD1781CF5F85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_0F9E759C9B3425240432AD1781CF21DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_0F9E759C9B3425240432AD1781CF21DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C6B59B19CB0AA73659F9AD1781CF259E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_0F9E759C9B3425240432AD1781CF21DB" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C6B59B19CB0AA73659F9AD1781CF259E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C6B59B19CB0AA73659F9AD1781CF259E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_0F9E759C9B3425240432AD1781CF21DB" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C6B59B19CB0AA73659F9AD1781CF259E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_58068602A865093CE137AD1781DFBF7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_C6B59B19CB0AA73659F9AD1781CF259E" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_58068602A865093CE137AD1781DFBF7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="loc_us-gaap_TitleOfIndividualAxis_CB45260835BC7D42AD0CAD1781DF9D01" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_us-gaap_TitleOfIndividualAxis_CB45260835BC7D42AD0CAD1781DF9D01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_B71832557CBE18F6F590AD1781DF1B7B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TitleOfIndividualAxis_CB45260835BC7D42AD0CAD1781DF9D01" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_B71832557CBE18F6F590AD1781DF1B7B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_B71832557CBE18F6F590AD1781DF1B7B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TitleOfIndividualAxis_CB45260835BC7D42AD0CAD1781DF9D01" xlink:to="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_B71832557CBE18F6F590AD1781DF1B7B" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_EmployeesMember" xlink:label="loc_cost_EmployeesMember_2EBFC8944A7BADDAAAAAAD1781DF2F82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_B71832557CBE18F6F590AD1781DF1B7B" xlink:to="loc_cost_EmployeesMember_2EBFC8944A7BADDAAAAAAD1781DF2F82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_58CDFF6A6E7F58779CE7AD1781DF6EA5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_58CDFF6A6E7F58779CE7AD1781DF6EA5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_58CDFF6A6E7F58779CE7AD1781DF6EA5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_58CDFF6A6E7F58779CE7AD1781DF6EA5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_10B4209F79B8CCD5B11DAD1781DFB7F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_10B4209F79B8CCD5B11DAD1781DFB7F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_1D292E91ECD280AA6378AD1781DF696D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_1D292E91ECD280AA6378AD1781DF696D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_79AF57A0EB21EA03284CAD1781DFF5FA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1CF81D36606785D28703AD1781DF0CA0" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_79AF57A0EB21EA03284CAD1781DFF5FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_96DFF977EC3A30A80907AD1781DFE82C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_srt_RangeAxis_96DFF977EC3A30A80907AD1781DFE82C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_96DFF977EC3A30A80907AD1781DFE82C" xlink:to="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_96DFF977EC3A30A80907AD1781DFE82C" xlink:to="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_7C6EEA44B9CD06004663AD1781DFC808" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915" xlink:to="loc_srt_MinimumMember_7C6EEA44B9CD06004663AD1781DFC808" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_FE06E8AE1FB3259FB887AD1781DF8F14" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_17B4085527C99DC91F3CAD1781DF9915" xlink:to="loc_srt_MaximumMember_FE06E8AE1FB3259FB887AD1781DF8F14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_CF49C51F4D067AED5758AD1781DF98D5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesTable_6069B42F3AD5CF4075E6AD1781C0B626" xlink:to="loc_srt_StatementGeographicalAxis_CF49C51F4D067AED5758AD1781DF98D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_CF49C51F4D067AED5758AD1781DF98D5" xlink:to="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_CF49C51F4D067AED5758AD1781DF98D5" xlink:to="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_DC5DC5D66E2F54E00893AD1781DF986C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_US_DC5DC5D66E2F54E00893AD1781DF986C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_country_CA_451327F35456A7B75C66AD1781DF0774" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_CA_451327F35456A7B75C66AD1781DF0774" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_MX" xlink:label="loc_country_MX_9F8D98B0E73AD17A8665AD1781DF16BF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_MX_9F8D98B0E73AD17A8665AD1781DF16BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_GB" xlink:label="loc_country_GB_ED386A7D4CA6B5AAACC4AD1781DFAE00" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_GB_ED386A7D4CA6B5AAACC4AD1781DFAE00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_JP" xlink:label="loc_country_JP_4BCA8F6C888F924BDF51AD1781DF6ECE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_JP_4BCA8F6C888F924BDF51AD1781DF6ECE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_KR" xlink:label="loc_country_KR_9104FA3EE22A6420F1C3AD1781DF7113" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_KR_9104FA3EE22A6420F1C3AD1781DF7113" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_TW" xlink:label="loc_country_TW_2B14BF0BB7EE73065B75AD1781DF4EDF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_TW_2B14BF0BB7EE73065B75AD1781DF4EDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_AU" xlink:label="loc_country_AU_61B476D19D001AB3CDC4AD1781DFF8D1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_AU_61B476D19D001AB3CDC4AD1781DFF8D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_ES" xlink:label="loc_country_ES_EFB0A86C635FD2B14C88AD1781DF3280" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_ES_EFB0A86C635FD2B14C88AD1781DF3280" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_IS" xlink:label="loc_country_IS_5CD199E6C3122D192E62AD1781DFDA5B" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_IS_5CD199E6C3122D192E62AD1781DFDA5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_FR" xlink:label="loc_country_FR_21148538628B51C8704FAD1781DFF74E" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_B3DE64023C93BED6A80FAD1781DF56AE" xlink:to="loc_country_FR_21148538628B51C8704FAD1781DFF74E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings" xlink:label="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_537DDF6CAB6954406BF2AD1781DF38F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_IncomeTaxReconciliationRepatriationOfForeignEarnings_537DDF6CAB6954406BF2AD1781DF38F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfStores" xlink:label="loc_us-gaap_NumberOfStores_63D48710473D1A7B8A1DAD1781DF2D1D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_NumberOfStores_63D48710473D1A7B8A1DAD1781DF2D1D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfStatesInWhichEntityOperates" xlink:label="loc_us-gaap_NumberOfStatesInWhichEntityOperates_C062CDFD41DFD18DC81AAD1781DF155C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_NumberOfStatesInWhichEntityOperates_C062CDFD41DFD18DC81AAD1781DF155C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditAndDebitCardReceivablesAtCarryingValue" xlink:label="loc_us-gaap_CreditAndDebitCardReceivablesAtCarryingValue_51DC54685819EE681CD5AD1781DF9D03" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_CreditAndDebitCardReceivablesAtCarryingValue_51DC54685819EE681CD5AD1781DF9D03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BankOverdrafts" xlink:label="loc_us-gaap_BankOverdrafts_FC9C475C1F98D349661FAD1781DF7F9C" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_BankOverdrafts_FC9C475C1F98D349661FAD1781DF7F9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryLIFOReserveEffectOnIncomeNet" xlink:label="loc_us-gaap_InventoryLIFOReserveEffectOnIncomeNet_DA45AE0E5D21B124A56FAD1781DFD25A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_InventoryLIFOReserveEffectOnIncomeNet_DA45AE0E5D21B124A56FAD1781DFD25A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryLIFOReserve" xlink:label="loc_us-gaap_InventoryLIFOReserve_754A11A924A52337A847AD1781DF5C82" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_InventoryLIFOReserve_754A11A924A52337A847AD1781DF5C82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_D93822683FBEB6A92643AD1781DF0ECA" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_D93822683FBEB6A92643AD1781DF0ECA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedInsuranceCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccruedInsuranceCurrentAndNoncurrent_27398F1DA5EF92CCC377AD1781DF1882" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_AccruedInsuranceCurrentAndNoncurrent_27398F1DA5EF92CCC377AD1781DF1882" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_3BE4735BCF020C76173CAD1781DFD481" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_invest_DerivativeNotionalAmount_3BE4735BCF020C76173CAD1781DFD481" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_2CC9677FAB46890687ADAD1781DF59C0" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_2CC9677FAB46890687ADAD1781DF59C0" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MaximumRewardRebatePercentagePerCustomerYearly" xlink:label="loc_cost_MaximumRewardRebatePercentagePerCustomerYearly_3E38B00B45ABF5FA7250AD1781DFCD04" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_cost_MaximumRewardRebatePercentagePerCustomerYearly_3E38B00B45ABF5FA7250AD1781DFCD04" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MaximumRewardRebateAmountPerCustomerYearly" xlink:label="loc_cost_MaximumRewardRebateAmountPerCustomerYearly_2F77983A7A78687FD1A5AD1781DF22D4" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_cost_MaximumRewardRebateAmountPerCustomerYearly_2F77983A7A78687FD1A5AD1781DF22D4" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_ReductionInSales" xlink:label="loc_cost_ReductionInSales_B508F7D63737B971EB8EAD1781DFC432" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_cost_ReductionInSales_B508F7D63737B971EB8EAD1781DFC432" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_MinimumNumberOfDaysOfEmploymentToQualifyForRetirementPlan" xlink:label="loc_cost_MinimumNumberOfDaysOfEmploymentToQualifyForRetirementPlan_E3559B0C160E985ACE97AD1781DFE93C" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_cost_MinimumNumberOfDaysOfEmploymentToQualifyForRetirementPlan_E3559B0C160E985ACE97AD1781DFE93C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_CC5F2A907386DF6FA3C3AD1781DF028A" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_CC5F2A907386DF6FA3C3AD1781DF028A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_03CC1E838A43B28A3284AD1781DFBA34" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_03CC1E838A43B28A3284AD1781DFBA34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_53198E8EB6E7FA61E16AAD1781DF5106" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_53198E8EB6E7FA61E16AAD1781DF5106" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_4C45BFD58E6C47A0D0CCAD1781DFBE4C" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_4C45BFD58E6C47A0D0CCAD1781DFBE4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_02DCF76F813EF32C9CEDAD1781DFF549" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_OtherAssetsCurrent_02DCF76F813EF32C9CEDAD1781DFF549" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6B2DE074D7C81D70C00DAD1781DF898C" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cost_SummaryOfSignificantAccountingPoliciesLineItems_2F0900109CD687FD1344AD1781DFAC50" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6B2DE074D7C81D70C00DAD1781DF898C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesMerchandiseInventoriesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryLineItems" xlink:label="loc_us-gaap_InventoryLineItems_2393137462CF7F2CCC77C4E152F2A072" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryCurrentTable" xlink:label="loc_us-gaap_InventoryCurrentTable_89C07081D757AB49EAC0C4E152F227A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InventoryLineItems_2393137462CF7F2CCC77C4E152F2A072" xlink:to="loc_us-gaap_InventoryCurrentTable_89C07081D757AB49EAC0C4E152F227A1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_FC9C056DE033B0C775A4C4E152F2643A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InventoryCurrentTable_89C07081D757AB49EAC0C4E152F227A1" xlink:to="loc_srt_StatementGeographicalAxis_FC9C056DE033B0C775A4C4E152F2643A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_FC9C056DE033B0C775A4C4E152F2643A" xlink:to="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_FC9C056DE033B0C775A4C4E152F2643A" xlink:to="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_0343F15D9BFD051C2D67C4E152F25BB1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3" xlink:to="loc_country_US_0343F15D9BFD051C2D67C4E152F25BB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_CA" xlink:label="loc_country_CA_31B27991B22E037E0065C4E152F2BCC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3" xlink:to="loc_country_CA_31B27991B22E037E0065C4E152F2BCC3" xlink:type="arc" />
    <link:loc xlink:href="cost-20180902.xsd#cost_OtherInternationalOperationsMember" xlink:label="loc_cost_OtherInternationalOperationsMember_CC4F718CE028E72A4105C4E152F2429F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_C98BF31FC46A9ADD3157C4E152F2EFC3" xlink:to="loc_cost_OtherInternationalOperationsMember_CC4F718CE028E72A4105C4E152F2429F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LIFOInventoryAmount" xlink:label="loc_us-gaap_LIFOInventoryAmount_46E3E380B0A89B290E7DC4E152F28267" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_2393137462CF7F2CCC77C4E152F2A072" xlink:to="loc_us-gaap_LIFOInventoryAmount_46E3E380B0A89B290E7DC4E152F28267" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FIFOInventoryAmount" xlink:label="loc_us-gaap_FIFOInventoryAmount_6D5085935713726A3854C4E715F65F98" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_2393137462CF7F2CCC77C4E152F2A072" xlink:to="loc_us-gaap_FIFOInventoryAmount_6D5085935713726A3854C4E715F65F98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_209F43A0B6310A014847C4E152F2D5E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InventoryLineItems_2393137462CF7F2CCC77C4E152F2A072" xlink:to="loc_us-gaap_InventoryNet_209F43A0B6310A014847C4E152F2D5E4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.costco.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
</link:linkbase>
