<XBRL>
<?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.appfolio.com/role/BusinessCombinations" xlink:href="appf-20190630.xsd#BusinessCombinations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsNarrativeDetails" xlink:href="appf-20190630.xsd#BusinessCombinationsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="appf-20190630.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsPurchasePriceAllocationDetails" xlink:href="appf-20190630.xsd#BusinessCombinationsPurchasePriceAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsTables" xlink:href="appf-20190630.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CommitmentAndContingencies" xlink:href="appf-20190630.xsd#CommitmentAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CommitmentAndContingenciesDetails" xlink:href="appf-20190630.xsd#CommitmentAndContingenciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedBalanceSheets" xlink:href="appf-20190630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="appf-20190630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="appf-20190630.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfCashFlowsCashReconciliation" xlink:href="appf-20190630.xsd#CondensedConsolidatedStatementsOfCashFlowsCashReconciliation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="appf-20190630.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="appf-20190630.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfStockholdersEquity" xlink:href="appf-20190630.xsd#CondensedConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/DocumentAndEntityInformation" xlink:href="appf-20190630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxes" xlink:href="appf-20190630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesDetails" xlink:href="appf-20190630.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsAndGoodwill" xlink:href="appf-20190630.xsd#IntangibleAssetsAndGoodwill" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsDetails" xlink:href="appf-20190630.xsd#IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:href="appf-20190630.xsd#IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetails" xlink:href="appf-20190630.xsd#IntangibleAssetsAndGoodwillScheduleOfGoodwillDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillTables" xlink:href="appf-20190630.xsd#IntangibleAssetsAndGoodwillTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCosts" xlink:href="appf-20190630.xsd#InternalUseSoftwareDevelopmentCosts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareDetails" xlink:href="appf-20190630.xsd#InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareFutureAmortizationExpenseDetails" xlink:href="appf-20190630.xsd#InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareFutureAmortizationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:href="appf-20190630.xsd#InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsTables" xlink:href="appf-20190630.xsd#InternalUseSoftwareDevelopmentCostsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurements" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsAvailableForSaleInvestmentsByRemainingContractMaturityDetails" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurementsAvailableForSaleInvestmentsByRemainingContractMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsFairValueAssetsMeasuredOnRecurringBasisDetails" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurementsFairValueAssetsMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsScheduleOfAvailableForSaleSecuritiesDetails" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurementsScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsScheduleOfSalesCallsAndMaturitiesDetails" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurementsScheduleOfSalesCallsAndMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsTables" xlink:href="appf-20190630.xsd#InvestmentSecuritiesAndFairValueMeasurementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/Leases" xlink:href="appf-20190630.xsd#Leases" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesNarrativeDetails" xlink:href="appf-20190630.xsd#LeasesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesScheduleOfComponentsOfLeaseExpenseDetails" xlink:href="appf-20190630.xsd#LeasesScheduleOfComponentsOfLeaseExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesScheduleOfMinimumLeasePaymentsUnderLeasesDetails" xlink:href="appf-20190630.xsd#LeasesScheduleOfMinimumLeasePaymentsUnderLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesSummaryOfFutureMinimumPaymentsForObligationsDetails" xlink:href="appf-20190630.xsd#LeasesSummaryOfFutureMinimumPaymentsForObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesTables" xlink:href="appf-20190630.xsd#LeasesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LongTermDebt" xlink:href="appf-20190630.xsd#LongTermDebt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LongTermDebtNarrativeDetails" xlink:href="appf-20190630.xsd#LongTermDebtNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LongTermDebtScheduleOfPrincipalPaymentsForTermLoanDetails" xlink:href="appf-20190630.xsd#LongTermDebtScheduleOfPrincipalPaymentsForTermLoanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LongTermDebtSummaryOfLongTermDebtDetails" xlink:href="appf-20190630.xsd#LongTermDebtSummaryOfLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/LongTermDebtTables" xlink:href="appf-20190630.xsd#LongTermDebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/NatureOfBusiness" xlink:href="appf-20190630.xsd#NatureOfBusiness" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueAndOtherInformation" xlink:href="appf-20190630.xsd#RevenueAndOtherInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueAndOtherInformationDetails" xlink:href="appf-20190630.xsd#RevenueAndOtherInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueAndOtherInformationTables" xlink:href="appf-20190630.xsd#RevenueAndOtherInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/ShareRepurchaseProgram" xlink:href="appf-20190630.xsd#ShareRepurchaseProgram" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/ShareRepurchaseProgramDetails" xlink:href="appf-20190630.xsd#ShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensation" xlink:href="appf-20190630.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:href="appf-20190630.xsd#StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="appf-20190630.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:href="appf-20190630.xsd#StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:href="appf-20190630.xsd#StockBasedCompensationStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationTables" xlink:href="appf-20190630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="appf-20190630.xsd#StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="appf-20190630.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesImpactOfAdoptionOfNewRevenueStandardOnCondensedConsolidatedBalanceSheetAndStatementOfOperationsDetails" xlink:href="appf-20190630.xsd#SummaryOfSignificantAccountingPoliciesImpactOfAdoptionOfNewRevenueStandardOnCondensedConsolidatedBalanceSheetAndStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesNetIncomeLossScheduleOfAntidilutiveSecuritiesDetails" xlink:href="appf-20190630.xsd#SummaryOfSignificantAccountingPoliciesNetIncomeLossScheduleOfAntidilutiveSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesNetIncomePerShareScheduleOfWeightedAverageNumberOfSharesDetails" xlink:href="appf-20190630.xsd#SummaryOfSignificantAccountingPoliciesNetIncomePerShareScheduleOfWeightedAverageNumberOfSharesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="appf-20190630.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="appf-20190630.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.appfolio.com/role/BusinessCombinations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97B7567E62816C1AFD722F0B6B6C9373" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97B7567E62816C1AFD722F0B6B6C9373" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_99A97A6D7D3A08F83D282F0B6B6CCC4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97B7567E62816C1AFD722F0B6B6C9373" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_99A97A6D7D3A08F83D282F0B6B6CCC4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_99A97A6D7D3A08F83D282F0B6B6CCC4D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_99A97A6D7D3A08F83D282F0B6B6CCC4D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_DynastyMarketplaceInc.Member" xlink:label="loc_appf_DynastyMarketplaceInc.Member_105F99C1F92ABBBED4372F0B6B6D2ADD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5" xlink:to="loc_appf_DynastyMarketplaceInc.Member_105F99C1F92ABBBED4372F0B6B6D2ADD" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_WegoWiseInc.Member" xlink:label="loc_appf_WegoWiseInc.Member_7A052E397E1CC50B42A82F0B6B6D015E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9F3688B7A2D4657B92F62F0B6B6CCFA5" xlink:to="loc_appf_WegoWiseInc.Member_7A052E397E1CC50B42A82F0B6B6D015E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A30F5445E66F68D7BC092F2538AC8413" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_97B7567E62816C1AFD722F0B6B6C9373" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A30F5445E66F68D7BC092F2538AC8413" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A30F5445E66F68D7BC092F2538AC8413" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_A30F5445E66F68D7BC092F2538AC8413" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_310824F5D17E94A9EE752F2688853D3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_310824F5D17E94A9EE752F2688853D3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SoftwareDevelopmentMember" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_86CFDEA7A66C81F3C1052F27B0695DF4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_262A412102EE90ED873E2F2538D26266" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_86CFDEA7A66C81F3C1052F27B0695DF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_2B7FD1FC9C241022948F2F0B6B6D5C88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_2B7FD1FC9C241022948F2F0B6B6D5C88" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_BusinessCombinationConsiderationTotalPriorToAdjustments" xlink:label="loc_appf_BusinessCombinationConsiderationTotalPriorToAdjustments_D7F577D854BEDF69D0662F0B6B6E99A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_appf_BusinessCombinationConsiderationTotalPriorToAdjustments_D7F577D854BEDF69D0662F0B6B6E99A6" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_BusinessCombinationConsiderationTransferredEscrowAmount" xlink:label="loc_appf_BusinessCombinationConsiderationTransferredEscrowAmount_E004FF33AFE5ACF649472F0B6B6E9C4D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_appf_BusinessCombinationConsiderationTransferredEscrowAmount_E004FF33AFE5ACF649472F0B6B6E9C4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles" xlink:label="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles_6414D448F65F72AA0B6C2F22659CFE4A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles_6414D448F65F72AA0B6C2F22659CFE4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_B300352CA4F8083637262F0B6B6EC3EF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_B300352CA4F8083637262F0B6B6EC3EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_2C7DC6203DA04B1A5DB22F0B6B6E53E1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_2C7DC6203DA04B1A5DB22F0B6B6E53E1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_932B045F12738B16EB9D2F0B6B6EDBFA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_2BC359C3E647812B67B32F0B6B6D9ED8" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_932B045F12738B16EB9D2F0B6B6EDBFA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_09E4DEF1414C5AA021F63E1EE04E9BCB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C22D9E4A431332612FDC3E1EE04B8068" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_09E4DEF1414C5AA021F63E1EE04E9BCB" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C22D9E4A431332612FDC3E1EE04B8068" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_65FEABF723B950218F093E1EE04D1C1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C22D9E4A431332612FDC3E1EE04B8068" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_65FEABF723B950218F093E1EE04D1C1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B9CAB071D137A05ED6783E1EE04D12C8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_65FEABF723B950218F093E1EE04D1C1B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B9CAB071D137A05ED6783E1EE04D12C8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B9CAB071D137A05ED6783E1EE04D12C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_65FEABF723B950218F093E1EE04D1C1B" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B9CAB071D137A05ED6783E1EE04D12C8" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_WegoWiseInc.Member" xlink:label="loc_appf_WegoWiseInc.Member_2CCB4F5EC72675D6FAD73E1EE04DDD77" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B9CAB071D137A05ED6783E1EE04D12C8" xlink:to="loc_appf_WegoWiseInc.Member_2CCB4F5EC72675D6FAD73E1EE04DDD77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_F36087AE3FB86EE2F8E13E1EE04E1013" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_09E4DEF1414C5AA021F63E1EE04E9BCB" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_F36087AE3FB86EE2F8E13E1EE04E1013" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_B78F5DFF4AF24DF703F93E1EE051A003" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_09E4DEF1414C5AA021F63E1EE04E9BCB" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_B78F5DFF4AF24DF703F93E1EE051A003" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationAbstract" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_BFAC6EBD483ED2C8615E3E1EE0520F16" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_09E4DEF1414C5AA021F63E1EE04E9BCB" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_BFAC6EBD483ED2C8615E3E1EE0520F16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_CCE9C556DCF218889A853E1EE052CC9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_BFAC6EBD483ED2C8615E3E1EE0520F16" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_CCE9C556DCF218889A853E1EE052CC9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_B07C8DD5FB299702AAAE3E1EE052C462" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_BFAC6EBD483ED2C8615E3E1EE0520F16" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_B07C8DD5FB299702AAAE3E1EE052C462" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C39C6A46E5E215540CE40B05F7ECC77D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C39C6A46E5E215540CE40B05F7ECC77D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_CAF58A7F2BF0FACF45570B05F7EEDA96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C39C6A46E5E215540CE40B05F7ECC77D" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_CAF58A7F2BF0FACF45570B05F7EEDA96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CAF58A7F2BF0FACF45570B05F7EEDA96" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_CAF58A7F2BF0FACF45570B05F7EEDA96" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_DynastyMarketplaceInc.Member" xlink:label="loc_appf_DynastyMarketplaceInc.Member_7769946B6C12ECC3C6D10B05F7EFFC10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266" xlink:to="loc_appf_DynastyMarketplaceInc.Member_7769946B6C12ECC3C6D10B05F7EFFC10" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_WegoWiseInc.Member" xlink:label="loc_appf_WegoWiseInc.Member_6EF3BFC3C273ABC1F8F40B05F7EF47F5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0351200AC449DDD15B530B05F7EE5266" xlink:to="loc_appf_WegoWiseInc.Member_6EF3BFC3C273ABC1F8F40B05F7EF47F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_88EE060AC9BDE98F00520B05F7EF8CC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C39C6A46E5E215540CE40B05F7ECC77D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_88EE060AC9BDE98F00520B05F7EF8CC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_88EE060AC9BDE98F00520B05F7EF8CC3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_88EE060AC9BDE98F00520B05F7EF8CC3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SoftwareDevelopmentMember" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_2D18A45490826E422EEC0B05F7F0D824" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_2D18A45490826E422EEC0B05F7F0D824" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DatabasesMember" xlink:label="loc_us-gaap_DatabasesMember_CF31439378CB041E2E440B05F7F263A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_DatabasesMember_CF31439378CB041E2E440B05F7F263A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_EBF94B95E416F58170750B05F7F253F7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_CustomerRelationshipsMember_EBF94B95E416F58170750B05F7F253F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_3D354CA32F90727F9EF50B05F7F2020B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_3D354CA32F90727F9EF50B05F7F2020B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_976A60F6D26D48016E9F0B05F7F2FCFD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_976A60F6D26D48016E9F0B05F7F2FCFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_B6F39B22DF90528FB2C50B05F7F3046B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_07C55AF1DACFC8ED56A10B05F7EFE629" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_B6F39B22DF90528FB2C50B05F7F3046B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_91287E00EBD2D47EFA120B05F7F36BA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_91287E00EBD2D47EFA120B05F7F36BA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_CB25FB8AF86A9A3F419A0B05F7F395CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_CB25FB8AF86A9A3F419A0B05F7F395CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_BB37B2473E6EAEEF85070B05F7F3500C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_Goodwill_BB37B2473E6EAEEF85070B05F7F3500C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_28A6DAA4DC65A005019E0B05F7F4A2F2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_28A6DAA4DC65A005019E0B05F7F4A2F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_E51F38AA44A8F38622600B05F7F4DF3A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_E51F38AA44A8F38622600B05F7F4DF3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_A590537EC5134D32140A0B05F7F43EC8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_A590537EC5134D32140A0B05F7F43EC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_047B775A3588AD9947E50B05F7F416DA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_047B775A3588AD9947E50B05F7F416DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_679317FC9A660E4B4E870B05F7F4F06A" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_679317FC9A660E4B4E870B05F7F4F06A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_077B58FED37E5235D3800B05F7F4389B" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_077B58FED37E5235D3800B05F7F4389B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_895C75C97E4E0448AC820B05F7F5E604" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EA682276236C23C03DAC0B05F7F3E316" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_895C75C97E4E0448AC820B05F7F5E604" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CommitmentAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CommitmentAndContingenciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_5D3E0875AF8A42B0D689E1CA7CDEB44A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:to="loc_us-gaap_LossContingenciesTable_5D3E0875AF8A42B0D689E1CA7CDEB44A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_9488017602D456D2E090E1CA7CDE34B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_5D3E0875AF8A42B0D689E1CA7CDEB44A" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_9488017602D456D2E090E1CA7CDE34B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_9488017602D456D2E090E1CA7CDE34B5" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_9488017602D456D2E090E1CA7CDE34B5" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCurrentLiabilitiesMember" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_1FE0F62408E329BD73FCE1CA7CDF58E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_1FE0F62408E329BD73FCE1CA7CDF58E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCurrentAssetsMember" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_164EAA8E0774F698BBD0E1CA7CE09DE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_2DBD70B99E316C77450CE1CA7CDFCA0A" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_164EAA8E0774F698BBD0E1CA7CE09DE9" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit" xlink:label="loc_appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit_349F090034584B0720F9E1CA7CE06B9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:to="loc_appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit_349F090034584B0720F9E1CA7CE06B9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage" xlink:label="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_DFCCE0BF058FD0602339E1CA7CE1A213" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:to="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_DFCCE0BF058FD0602339E1CA7CE1A213" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_7C7F3009ADBD669F858AE1CA7CE1F6F9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_7C7F3009ADBD669F858AE1CA7CE1F6F9" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices" xlink:label="loc_appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices_6995E4BDDB8FC7BEB859E1CA7CE13703" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_15A667314F231A432452E1CA7CE0DEAF" xlink:to="loc_appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices_6995E4BDDB8FC7BEB859E1CA7CE13703" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_62113666C95DDE6054610B10B2B3B2BB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_958C5ECAD4BB539397CF0B10B2B02297" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_62113666C95DDE6054610B10B2B3B2BB" xlink:to="loc_us-gaap_StatementTable_958C5ECAD4BB539397CF0B10B2B02297" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_34EBAB9F85B96A7FC89F0B10B2B1025D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_958C5ECAD4BB539397CF0B10B2B02297" xlink:to="loc_us-gaap_StatementClassOfStockAxis_34EBAB9F85B96A7FC89F0B10B2B1025D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_34EBAB9F85B96A7FC89F0B10B2B1025D" xlink:to="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_34EBAB9F85B96A7FC89F0B10B2B1025D" xlink:to="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_BE855ABC81A090ADC4030B10B2B2C437" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512" xlink:to="loc_us-gaap_CommonClassAMember_BE855ABC81A090ADC4030B10B2B2C437" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_07DAD2647E1EB9211B1A0B10B2B2460A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1DB968615326DA479D2C0B10B2B16512" xlink:to="loc_us-gaap_CommonClassBMember_07DAD2647E1EB9211B1A0B10B2B2460A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_62113666C95DDE6054610B10B2B3B2BB" xlink:to="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_414FE2685037957D081E0B10B2B42478" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_414FE2685037957D081E0B10B2B42478" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_DF3E1DDB7CB87B510ED80B10B2B46877" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_DF3E1DDB7CB87B510ED80B10B2B46877" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_E7C48F5F7F25239650AB0B10B2B58F2F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_E7C48F5F7F25239650AB0B10B2B58F2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_AFDD256388CBEA568C130B10B2B5C233" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_AFDD256388CBEA568C130B10B2B5C233" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_6A9DF170A30E4A4BDD840B10B2B53C7B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_57A265AC1B738FF1EB690B10B2B39582" xlink:to="loc_us-gaap_AssetsCurrent_6A9DF170A30E4A4BDD840B10B2B53C7B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_9805346AF5216D7A1ECD0B10B2B51936" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_9805346AF5216D7A1ECD0B10B2B51936" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_B9C797C3445A1EF30AD60B10B2B629A0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_B9C797C3445A1EF30AD60B10B2B629A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_B5F6C00602A24D19BDCA0B10B2B61397" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_B5F6C00602A24D19BDCA0B10B2B61397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CapitalizedComputerSoftwareNet" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_5A595D774ECCD55914AC0B10B2B69236" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_5A595D774ECCD55914AC0B10B2B69236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_E0C995B951C65C2CB8680B10B2B655BE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_Goodwill_E0C995B951C65C2CB8680B10B2B655BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_A5975979794E674242F40B10B2B61FCA" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_A5975979794E674242F40B10B2B61FCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_9DC6A32CECFE9FFAEC1F0B10B2B776EA" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_9DC6A32CECFE9FFAEC1F0B10B2B776EA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_F7D93D5797EA97213DB80B10B2B811EE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_F7D93D5797EA97213DB80B10B2B811EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_A909E8A5FB9F7B83AB190B10B2B873F1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8845489E1C621540F0080B10B2B32233" xlink:to="loc_us-gaap_Assets_A909E8A5FB9F7B83AB190B10B2B873F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_62113666C95DDE6054610B10B2B3B2BB" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_22F71B657881D865A9ED0B10B2B92924" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_AccountsPayableCurrent_22F71B657881D865A9ED0B10B2B92924" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_E94A85B10B5F4BD362F00B10B2B928D8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_E94A85B10B5F4BD362F00B10B2B928D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_92C0CF7A04D71FA54A290B10B2BADF8E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_92C0CF7A04D71FA54A290B10B2BADF8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_926864D785B6BF4BA3390B10B2BAA4A2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_926864D785B6BF4BA3390B10B2BAA4A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_9EE1D46251364F13454F0B10B2BAF641" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_9EE1D46251364F13454F0B10B2BAF641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_4372018E2F73E17016C60B10B2BADA15" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_LongTermDebtCurrent_4372018E2F73E17016C60B10B2BADA15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_84FDFF7B8860C294EBA40B10B2BBDF22" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_22D09D7805A929B78ADF0B10B2B88250" xlink:to="loc_us-gaap_LiabilitiesCurrent_84FDFF7B8860C294EBA40B10B2BBDF22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3C12C8EBED5712187E620B10B2BB03AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3C12C8EBED5712187E620B10B2BB03AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_943EBFEA0F7047235C480B10B2BB1D2F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_943EBFEA0F7047235C480B10B2BB1D2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_AD0666E1CCD04387E9C60B10B2BBEE78" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_AD0666E1CCD04387E9C60B10B2BBEE78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_767B4B8ECF88C4B978770B10B2BC32C2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_Liabilities_767B4B8ECF88C4B978770B10B2BC32C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_287A0944526B67B85CB00B10B2BCB2E5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_CommitmentsAndContingencies_287A0944526B67B85CB00B10B2BCB2E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_67AFFD948FFD4884E6ED0B10B2BC3D97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_PreferredStockValue_67AFFD948FFD4884E6ED0B10B2BC3D97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_41F69361FCCD994492C80B10B2BD8587" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_CommonStockValue_41F69361FCCD994492C80B10B2BD8587" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_D0B679C744AA04A77ACD0B10B2BD66E3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_AdditionalPaidInCapital_D0B679C744AA04A77ACD0B10B2BD66E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_866C21FD5A0726BD298F0B10B2BD3165" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_866C21FD5A0726BD298F0B10B2BD3165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_0666C4E0AA96D4B158700B10B2BDAE15" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_TreasuryStockValue_0666C4E0AA96D4B158700B10B2BDAE15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_791B359E05483204F0EB0B10B2BDFD11" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_791B359E05483204F0EB0B10B2BDFD11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_9586456B20F4DC2B9EC60B10B2BEB16A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_027D556B3D7648F0A7950B10B2BC5A6A" xlink:to="loc_us-gaap_StockholdersEquity_9586456B20F4DC2B9EC60B10B2BEB16A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0777160A34B8772E12400B10B2BE95A3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_2A6759E432B0E0449E220B10B2B86DC6" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_0777160A34B8772E12400B10B2BE95A3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_9E0B7A1D7FE6EFEF0AF2E1CA7C67B756" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_StatementTable_9E0B7A1D7FE6EFEF0AF2E1CA7C67B756" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0B08825118C09510E683E1CA7C676BC9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_9E0B7A1D7FE6EFEF0AF2E1CA7C67B756" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0B08825118C09510E683E1CA7C676BC9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0B08825118C09510E683E1CA7C676BC9" xlink:to="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0B08825118C09510E683E1CA7C676BC9" xlink:to="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_DACC07D81135705987F2E1CA7C68CF6C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5" xlink:to="loc_us-gaap_CommonClassAMember_DACC07D81135705987F2E1CA7C68CF6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_1F72B1B45BCF173BDE59E1CA7C689A01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_98199EC12194D56AD9A5E1CA7C6767E5" xlink:to="loc_us-gaap_CommonClassBMember_1F72B1B45BCF173BDE59E1CA7C689A01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_E387163384E7429F7A18E1CA7C683A08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_E387163384E7429F7A18E1CA7C683A08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_0BE21D2E647909770001E1CA7C69D8FC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_0BE21D2E647909770001E1CA7C69D8FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_4A983E29A0EACD9347A4E1CA7C698319" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_PreferredStockSharesIssued_4A983E29A0EACD9347A4E1CA7C698319" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_14A6464DA36D94AB051FE1CA7C699248" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_14A6464DA36D94AB051FE1CA7C699248" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_3D41033B4F12AE95519DE1CA7C693469" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_3D41033B4F12AE95519DE1CA7C693469" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_16F33C050631136D966BE1CA7C6914DF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_16F33C050631136D966BE1CA7C6914DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_805F7A5D32D8BFF43EB1E1CA7C694EFC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_CommonStockSharesIssued_805F7A5D32D8BFF43EB1E1CA7C694EFC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_4FEC553F9B87C112E710E1CA7C6AA527" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_4FEC553F9B87C112E710E1CA7C6AA527" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_B3877F54B3C5227F6F3EE1CA7C6AFA5C" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_30B4A60B54A45D3B145BE1CA7C683546" xlink:to="loc_us-gaap_TreasuryStockShares_B3877F54B3C5227F6F3EE1CA7C6AFA5C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfCashFlowsCashReconciliation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CondensedConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_8EE59657D025B89440800605D0951E1C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8051508F2DAA9478DF8E0605D09238F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_8EE59657D025B89440800605D0951E1C" xlink:to="loc_us-gaap_StatementTable_8051508F2DAA9478DF8E0605D09238F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_DC49A23E71A67173D2280605D0931FBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8051508F2DAA9478DF8E0605D09238F2" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_DC49A23E71A67173D2280605D0931FBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_DC49A23E71A67173D2280605D0931FBC" xlink:to="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_DC49A23E71A67173D2280605D0931FBC" xlink:to="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_378AA32DE6AE300B8D540605D093C105" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:to="loc_us-gaap_CommonStockMember_378AA32DE6AE300B8D540605D093C105" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_B1246B3E2A3762E4572E0605D09499A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_B1246B3E2A3762E4572E0605D09499A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2D86B286B6730A8CFBEB0605D09430BE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2D86B286B6730A8CFBEB0605D09430BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_7C35027CF4208F2EDE190605D094FC92" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:to="loc_us-gaap_TreasuryStockMember_7C35027CF4208F2EDE190605D094FC92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_062DE58E166C1B796A670605D094095F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_EA8A433064F076AB098A0605D093A633" xlink:to="loc_us-gaap_RetainedEarningsMember_062DE58E166C1B796A670605D094095F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2CC57CCD7F9562B3D3A70605D094F9BB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8051508F2DAA9478DF8E0605D09238F2" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2CC57CCD7F9562B3D3A70605D094F9BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2CC57CCD7F9562B3D3A70605D094F9BB" xlink:to="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2CC57CCD7F9562B3D3A70605D094F9BB" xlink:to="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_81DC385E7D32280746B10605D095F364" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7" xlink:to="loc_us-gaap_CommonClassAMember_81DC385E7D32280746B10605D095F364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_19DAA40AB74689E01FC30605D09525F6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E6238FC920C40B5CF6370605D0949BA7" xlink:to="loc_us-gaap_CommonClassBMember_19DAA40AB74689E01FC30605D09525F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8EE59657D025B89440800605D0951E1C" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D05131E070A83718B2340605D096E869" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_StockholdersEquity_D05131E070A83718B2340605D096E869" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_46250E7008BA833FFCA30605D096522F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_SharesOutstanding_46250E7008BA833FFCA30605D096522F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_C889900FA46C3504CB010605D0964D8B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_C889900FA46C3504CB010605D0964D8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_C647BDF779F9CBB9349D0605D096CF57" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_C647BDF779F9CBB9349D0605D096CF57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5C1A2BCE6D054FECBF8E0605D0973197" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5C1A2BCE6D054FECBF8E0605D0973197" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings" xlink:label="loc_appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings_0E840B5F28E362AD3B3F0605D097C0E4" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings_0E840B5F28E362AD3B3F0605D097C0E4" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings" xlink:label="loc_appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings_D1832F70F1830DB2AADE0605D0976FD4" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings_D1832F70F1830DB2AADE0605D0976FD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_714833505696C9A51D6A0605D0978FBB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_714833505696C9A51D6A0605D0978FBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConversionOfStockAmountConverted1" xlink:label="loc_us-gaap_ConversionOfStockAmountConverted1_7B4715BD8BE889E791690605D0977656" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_ConversionOfStockAmountConverted1_7B4715BD8BE889E791690605D0977656" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConversionOfStockSharesConverted1" xlink:label="loc_us-gaap_ConversionOfStockSharesConverted1_B8A9C6969D1A814EF74B0605D0976B51" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_ConversionOfStockSharesConverted1_B8A9C6969D1A814EF74B0605D0976B51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_9065F7EC2B4EC1CEFCF30605D09814E7" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_9065F7EC2B4EC1CEFCF30605D09814E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_1F5D99509E3931FE2D610605D098C699" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_1F5D99509E3931FE2D610605D098C699" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7B8A28D6A2C151FB62F10605D0986F11" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7B8A28D6A2C151FB62F10605D0986F11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F1D2C56FF8CC92C834C40605D0983A67" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_F1D2C56FF8CC92C834C40605D0983A67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_3CE36F605CB545CAF8180605D0991F70" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_106DF0AA771F590DCD4B0605D095F560" xlink:to="loc_us-gaap_NetIncomeLoss_3CE36F605CB545CAF8180605D0991F70" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:type="locator" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_7C1CBB512F746543567F39A549F88A34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentInformationTable_7C1CBB512F746543567F39A549F88A34" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_F9589AE45A37028738DC39A549F90EA2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_7C1CBB512F746543567F39A549F88A34" xlink:to="loc_us-gaap_StatementClassOfStockAxis_F9589AE45A37028738DC39A549F90EA2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F9589AE45A37028738DC39A549F90EA2" xlink:to="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F9589AE45A37028738DC39A549F90EA2" xlink:to="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_A159455FB30D023E195E39A549F9C92A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD" xlink:to="loc_us-gaap_CommonClassAMember_A159455FB30D023E195E39A549F9C92A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_080131B3EE0CD89CBCAA39A549F92FE7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_B7A19C09FA36C61A3D9039A549F979AD" xlink:to="loc_us-gaap_CommonClassBMember_080131B3EE0CD89CBCAA39A549F92FE7" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_FC64B3A4B42BFA11E9DD39A549FA325E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentType_FC64B3A4B42BFA11E9DD39A549FA325E" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentQuarterlyReport" xlink:label="loc_dei_DocumentQuarterlyReport_53F53EBDC538F6B3855439A549FA6982" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentQuarterlyReport_53F53EBDC538F6B3855439A549FA6982" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_37236D12D486D913B68039A549FA4B11" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentPeriodEndDate_37236D12D486D913B68039A549FA4B11" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentTransitionReport" xlink:label="loc_dei_DocumentTransitionReport_8E5F0A05D3D9527295A539A549FAAFF2" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentTransitionReport_8E5F0A05D3D9527295A539A549FAAFF2" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityFileNumber" xlink:label="loc_dei_EntityFileNumber_68F94CBCCC37A426842539A549FB6E63" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityFileNumber_68F94CBCCC37A426842539A549FB6E63" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_5C49A64B6566B132E0B539A549FB2D93" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityRegistrantName_5C49A64B6566B132E0B539A549FB2D93" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="loc_dei_EntityIncorporationStateCountryCode_96A3AB825B5D5E1BC92D39A549FB44B1" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityIncorporationStateCountryCode_96A3AB825B5D5E1BC92D39A549FB44B1" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityTaxIdentificationNumber" xlink:label="loc_dei_EntityTaxIdentificationNumber_CE6E8F56DEB854A379EE39A549FB75E2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityTaxIdentificationNumber_CE6E8F56DEB854A379EE39A549FB75E2" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityAddressAddressLine1" xlink:label="loc_dei_EntityAddressAddressLine1_8A03AD80024BC10F3AD139A549FB8D03" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityAddressAddressLine1_8A03AD80024BC10F3AD139A549FB8D03" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityAddressCityOrTown" xlink:label="loc_dei_EntityAddressCityOrTown_62960E6D7FC536F70CB039A549FB0F25" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityAddressCityOrTown_62960E6D7FC536F70CB039A549FB0F25" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityAddressStateOrProvince" xlink:label="loc_dei_EntityAddressStateOrProvince_55FCDE31B6989CDDB22239A549FBB832" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityAddressStateOrProvince_55FCDE31B6989CDDB22239A549FBB832" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityAddressPostalZipCode" xlink:label="loc_dei_EntityAddressPostalZipCode_728FEFF0C0C5F987618939A549FCD4B4" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityAddressPostalZipCode_728FEFF0C0C5F987618939A549FCD4B4" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_CityAreaCode" xlink:label="loc_dei_CityAreaCode_D3348ABF0436B831511139A549FCEC01" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_CityAreaCode_D3348ABF0436B831511139A549FCEC01" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LocalPhoneNumber" xlink:label="loc_dei_LocalPhoneNumber_4CDBE37D1B16A4ACF6F339A549FCFC77" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_LocalPhoneNumber_4CDBE37D1B16A4ACF6F339A549FCFC77" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_7EB70276A49162F6DEB539A549FC36F8" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityCurrentReportingStatus_7EB70276A49162F6DEB539A549FC36F8" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityInteractiveDataCurrent" xlink:label="loc_dei_EntityInteractiveDataCurrent_55A732C3ABD5EA9A5BD039A549FC3A57" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityInteractiveDataCurrent_55A732C3ABD5EA9A5BD039A549FC3A57" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_BB9AD6D9A022B69BA60E39A549FC2C7B" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityFilerCategory_BB9AD6D9A022B69BA60E39A549FC2C7B" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntitySmallBusiness" xlink:label="loc_dei_EntitySmallBusiness_6C9D5CEBDE8950A3152439A549FCDFD8" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntitySmallBusiness_6C9D5CEBDE8950A3152439A549FCDFD8" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany_6F1938F231F2917F1AB739A549FC9781" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityEmergingGrowthCompany_6F1938F231F2917F1AB739A549FC9781" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityShellCompany" xlink:label="loc_dei_EntityShellCompany_56C2BDF9A5E1EEE1E60A39A549FD0FC5" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityShellCompany_56C2BDF9A5E1EEE1E60A39A549FD0FC5" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_Security12bTitle" xlink:label="loc_dei_Security12bTitle_42C62CC89BF38CF6E06839A549FDD9EC" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_Security12bTitle_42C62CC89BF38CF6E06839A549FDD9EC" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_B2C070F85559F98B491139A549FDA4E1" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_TradingSymbol_B2C070F85559F98B491139A549FDA4E1" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_SecurityExchangeName" xlink:label="loc_dei_SecurityExchangeName_81AF7736E2856B80594839A549FD20A1" xlink:type="locator" />
    <link:definitionArc order="23" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_SecurityExchangeName_81AF7736E2856B80594839A549FD20A1" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_A8FE1CF0EF79D4C1E1D639A549FDE7C5" xlink:type="locator" />
    <link:definitionArc order="24" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_A8FE1CF0EF79D4C1E1D639A549FDE7C5" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_0C89038AD8BD7BF49FC239A549FDDF8C" xlink:type="locator" />
    <link:definitionArc order="25" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_EntityCentralIndexKey_0C89038AD8BD7BF49FC239A549FDDF8C" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_F5761320AB02137BA6C239A549FE5BBE" xlink:type="locator" />
    <link:definitionArc order="26" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_CurrentFiscalYearEndDate_F5761320AB02137BA6C239A549FE5BBE" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_B2D65E7DC5CD937DB2AA39A549FEF407" xlink:type="locator" />
    <link:definitionArc order="27" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentFiscalYearFocus_B2D65E7DC5CD937DB2AA39A549FEF407" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_14540124F9BC227EB62F39A549FE1BCA" xlink:type="locator" />
    <link:definitionArc order="28" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_DocumentFiscalPeriodFocus_14540124F9BC227EB62F39A549FE1BCA" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_1B0E17C0539B5C5D4C5439A549FE99C4" xlink:type="locator" />
    <link:definitionArc order="29" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_53050BF052F847D9A69939A549FAD2B1" xlink:to="loc_dei_AmendmentFlag_1B0E17C0539B5C5D4C5439A549FE99C4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsAndGoodwill" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_5FB935EB840692D85D38E1CA7CD5249E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_5FB935EB840692D85D38E1CA7CD5249E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3784AFBFC199D31F8886E1CA7CD6247D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_5FB935EB840692D85D38E1CA7CD5249E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3784AFBFC199D31F8886E1CA7CD6247D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3784AFBFC199D31F8886E1CA7CD6247D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_3784AFBFC199D31F8886E1CA7CD6247D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_4541C6707872FB7FC187E1CA7CD66CEC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_CustomerRelationshipsMember_4541C6707872FB7FC187E1CA7CD66CEC" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_DatabaseMember" xlink:label="loc_appf_DatabaseMember_EFA5E1A148ABB02898F6E1CA7CD7B4FA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_appf_DatabaseMember_EFA5E1A148ABB02898F6E1CA7CD7B4FA" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_TechnologyMember" xlink:label="loc_appf_TechnologyMember_B5C768FCCF6166ED5EF5E1CA7CD7DB98" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_appf_TechnologyMember_B5C768FCCF6166ED5EF5E1CA7CD7DB98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_6E9A2F605550E5F72B28E1CA7CD77643" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_6E9A2F605550E5F72B28E1CA7CD77643" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PartnerRelationshipsMember" xlink:label="loc_appf_PartnerRelationshipsMember_473BB4FC5D2531B4D835E1CA7CD79733" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_appf_PartnerRelationshipsMember_473BB4FC5D2531B4D835E1CA7CD79733" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncompeteAgreementsMember" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_E3049067D69F48F5D384E1CA7CD8762F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_E3049067D69F48F5D384E1CA7CD8762F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InternetDomainNamesMember" xlink:label="loc_us-gaap_InternetDomainNamesMember_579AF68569B52A1ECA37E1CA7CD8BD05" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_InternetDomainNamesMember_579AF68569B52A1ECA37E1CA7CD8BD05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_B5E1D8B5490C7A501543E1CA7CD8ECD1" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_PatentsMember_B5E1D8B5490C7A501543E1CA7CD8ECD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_CE7F46835D10DCCC0264E1CA7CD88403" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_A168F3E29A77B52352C7E1CA7CD6A9DC" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_CE7F46835D10DCCC0264E1CA7CD88403" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_48A19A46FDEF8A5243E2E1CA7CD81E57" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_5FB935EB840692D85D38E1CA7CD5249E" xlink:to="loc_srt_RangeAxis_48A19A46FDEF8A5243E2E1CA7CD81E57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_427F5B33B22D422A397CE1CA7CD8C876_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_48A19A46FDEF8A5243E2E1CA7CD81E57" xlink:to="loc_srt_RangeMember_427F5B33B22D422A397CE1CA7CD8C876_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_427F5B33B22D422A397CE1CA7CD8C876" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_48A19A46FDEF8A5243E2E1CA7CD81E57" xlink:to="loc_srt_RangeMember_427F5B33B22D422A397CE1CA7CD8C876" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember_790F0A98C6B3B7D058DAE1CA7CD90893" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_427F5B33B22D422A397CE1CA7CD8C876" xlink:to="loc_srt_WeightedAverageMember_790F0A98C6B3B7D058DAE1CA7CD90893" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7CC9224F9E1D87775892E1CA7CD9F1B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7CC9224F9E1D87775892E1CA7CD9F1B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_DE796BC7C258EA38748EE1CA7CDA36C5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_DE796BC7C258EA38748EE1CA7CDA36C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_16DC6EAC43869D7638F7E1CA7CDAA83A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_16DC6EAC43869D7638F7E1CA7CDAA83A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_78B3ABEE3525394F3B42E1CA7CDAB98C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_78B3ABEE3525394F3B42E1CA7CDAB98C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_EC406F9D517653F5948CE1CA7CDA775B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_3F37A3AEC768781F43B7E1CA7CD9F591" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_EC406F9D517653F5948CE1CA7CDA775B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsAndGoodwillTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCosts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsCapitalizedComputerSoftwareFutureAmortizationExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InternalUseSoftwareDevelopmentCostsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsAvailableForSaleInvestmentsByRemainingContractMaturityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsFairValueAssetsMeasuredOnRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_623011F170BEE76B44003E1EF2F4DAB3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_623011F170BEE76B44003E1EF2F4DAB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7B0E6DF9C90A36FA7F723E1EF2F5101A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_623011F170BEE76B44003E1EF2F4DAB3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7B0E6DF9C90A36FA7F723E1EF2F5101A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7B0E6DF9C90A36FA7F723E1EF2F5101A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_623011F170BEE76B44003E1EF2F4DAB3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7B0E6DF9C90A36FA7F723E1EF2F5101A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_040EF358B0087DCD86C83E1EF2F544B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_7B0E6DF9C90A36FA7F723E1EF2F5101A" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_040EF358B0087DCD86C83E1EF2F544B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_92049B2B74868B54824D3E1EF2F5BE66" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_92049B2B74868B54824D3E1EF2F5BE66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_92049B2B74868B54824D3E1EF2F5BE66" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_92049B2B74868B54824D3E1EF2F5BE66" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_0881F65EAE346879D5913E1EF2F6A3B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_0881F65EAE346879D5913E1EF2F6A3B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_B7E0F676803C0647D5013E1EF2F61A36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_B7E0F676803C0647D5013E1EF2F61A36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_3627BD9808CD05DBA5973E1EF2F6A91B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_9B334EB8552C74D0126D3E1EF2F50FC3" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_3627BD9808CD05DBA5973E1EF2F6A91B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_79F8CDBF04D5ACC8364D3E1EF2F682BF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_79F8CDBF04D5ACC8364D3E1EF2F682BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_79F8CDBF04D5ACC8364D3E1EF2F682BF" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_79F8CDBF04D5ACC8364D3E1EF2F682BF" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_7BEEF790C54696C91F153E1EF2F7CB6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C" xlink:to="loc_us-gaap_MoneyMarketFundsMember_7BEEF790C54696C91F153E1EF2F7CB6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_7A4C8169D21DCF2CB49D3E1EF2F70587" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9D53E83251132F1083C33E1EF2F68B8C" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_7A4C8169D21DCF2CB49D3E1EF2F70587" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_17138D2E1282142FE21A3E1EF2F7E758" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_FinancialInstrumentAxis_17138D2E1282142FE21A3E1EF2F7E758" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_17138D2E1282142FE21A3E1EF2F7E758" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_17138D2E1282142FE21A3E1EF2F7E758" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_CCA4E714B3D3366A716E3E1EF2F8510D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_CCA4E714B3D3366A716E3E1EF2F8510D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember_F6510FCF98B56EE0AEF83E1EF2F88407" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F" xlink:to="loc_us-gaap_AgencySecuritiesMember_F6510FCF98B56EE0AEF83E1EF2F88407" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_AB9339248D41621C06893E1EF2F84AD9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_6A9369D016EC97B9CFFC3E1EF2F7F69F" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_AB9339248D41621C06893E1EF2F84AD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_B856E7FC2B076357DD173E1EF2F8061D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_B856E7FC2B076357DD173E1EF2F8061D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_EB2C1018015C6414BFBB3E1EF2F8F960_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_B856E7FC2B076357DD173E1EF2F8061D" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_EB2C1018015C6414BFBB3E1EF2F8F960_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_EB2C1018015C6414BFBB3E1EF2F8F960" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_B856E7FC2B076357DD173E1EF2F8061D" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_EB2C1018015C6414BFBB3E1EF2F8F960" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_E0B37107C26574B964573E1EF2F9B7B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_EB2C1018015C6414BFBB3E1EF2F8F960" xlink:to="loc_us-gaap_LineOfCreditMember_E0B37107C26574B964573E1EF2F9B7B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_7736D0D3E4C7D9D1BEC93E1EF2F9AFC3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_CreditFacilityAxis_7736D0D3E4C7D9D1BEC93E1EF2F9AFC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_7068A8BB3106FAF115B43E1EF2F9CAC6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_7736D0D3E4C7D9D1BEC93E1EF2F9AFC3" xlink:to="loc_us-gaap_CreditFacilityDomain_7068A8BB3106FAF115B43E1EF2F9CAC6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_7068A8BB3106FAF115B43E1EF2F9CAC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_7736D0D3E4C7D9D1BEC93E1EF2F9AFC3" xlink:to="loc_us-gaap_CreditFacilityDomain_7068A8BB3106FAF115B43E1EF2F9CAC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_502206A46BCCED6592523E1EF2F9FF81" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_7068A8BB3106FAF115B43E1EF2F9CAC6" xlink:to="loc_us-gaap_SecuredDebtMember_502206A46BCCED6592523E1EF2F9FF81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_6A745E9F2AE58CAFB58E3E229767346F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_868D11FABC30B5AE97033E1EF2F4F7C2" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_6A745E9F2AE58CAFB58E3E229767346F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_993E3822FA6D09A571373E233BDF671B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_6A745E9F2AE58CAFB58E3E229767346F" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_993E3822FA6D09A571373E233BDF671B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DBB06E1CEF000851F0D03E230DD25C7F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_6A745E9F2AE58CAFB58E3E229767346F" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DBB06E1CEF000851F0D03E230DD25C7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_993E3822FA6D09A571373E233BDF671B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DBB06E1CEF000851F0D03E230DD25C7F" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_993E3822FA6D09A571373E233BDF671B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_4BDCC56F92BA7772A32B3E2372270E6B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_DBB06E1CEF000851F0D03E230DD25C7F" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_4BDCC56F92BA7772A32B3E2372270E6B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_62BE6B8FD1E816924E693E1EF2FA9227" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_62BE6B8FD1E816924E693E1EF2FA9227" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_EE6C83FBA22E96B05DD83E1EF2FA9CE5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_EE6C83FBA22E96B05DD83E1EF2FA9CE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_286362D7436F1F3D5DF83E1EF2FAC17C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_286362D7436F1F3D5DF83E1EF2FAC17C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue_DD9DAC656F2BBC856C3C3E241C20DCB8" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_BDD29E383B88F046CB933E1EF2FA2223" xlink:to="loc_us-gaap_DebtInstrumentFairValue_DD9DAC656F2BBC856C3C3E241C20DCB8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DC7F90709B55A66BB7A7E23A8476C039" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DC7F90709B55A66BB7A7E23A8476C039" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_9E0309B0950B47F06F6AE23A847775EB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_DC7F90709B55A66BB7A7E23A8476C039" xlink:to="loc_us-gaap_FinancialInstrumentAxis_9E0309B0950B47F06F6AE23A847775EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9E0309B0950B47F06F6AE23A847775EB" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9E0309B0950B47F06F6AE23A847775EB" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_DF75963DD2E75FF87C49E23A847767CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_DF75963DD2E75FF87C49E23A847767CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember_3B4A3D96604E4C0E79C3E23A84787945" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15" xlink:to="loc_us-gaap_AgencySecuritiesMember_3B4A3D96604E4C0E79C3E23A84787945" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_FC4FD6606B559E818852E28DA9C015F5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_112CED70624556D61C18E23A84770C15" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_FC4FD6606B559E818852E28DA9C015F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4AA8985756A2823447D5E23A8478F459" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_4AA8985756A2823447D5E23A8478F459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_EB7FB6D0815E08F9B295E23A84791BF1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_EB7FB6D0815E08F9B295E23A84791BF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_141D6B59E950D4C967A4E23A84791275" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_141D6B59E950D4C967A4E23A84791275" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_EE1BDEDE4CCC7CC29852E23A847A8EAF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_EE1BDEDE4CCC7CC29852E23A847A8EAF" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_AvailableForSaleSecuritiesMaximumContractualMaturity" xlink:label="loc_appf_AvailableForSaleSecuritiesMaximumContractualMaturity_E9A66BC7389915F9261EE23A847A4CEB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_5B6BFCA8A11A56B434FAE23A8478E63F" xlink:to="loc_appf_AvailableForSaleSecuritiesMaximumContractualMaturity_E9A66BC7389915F9261EE23A847A4CEB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsScheduleOfSalesCallsAndMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_EB0DBE185D8816D50353F75EBBA172A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_EB0DBE185D8816D50353F75EBBA172A4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_DD439CFFBFA8B803F0D4F75EBBA13C88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_EB0DBE185D8816D50353F75EBBA172A4" xlink:to="loc_us-gaap_FinancialInstrumentAxis_DD439CFFBFA8B803F0D4F75EBBA13C88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_DD439CFFBFA8B803F0D4F75EBBA13C88" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_DD439CFFBFA8B803F0D4F75EBBA13C88" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_7934304D9605C2C357F2F75EBBA2B96F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_7934304D9605C2C357F2F75EBBA2B96F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AgencySecuritiesMember" xlink:label="loc_us-gaap_AgencySecuritiesMember_96B57D501AFC369B262FF75EBBA334AB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:to="loc_us-gaap_AgencySecuritiesMember_96B57D501AFC369B262FF75EBBA334AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_B1E9F6CA95039616B882F75EBBA3AB12" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:to="loc_us-gaap_CertificatesOfDepositMember_B1E9F6CA95039616B882F75EBBA3AB12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_E91E2A0DBA1C7383770BF75EBBA3D0AE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_EC9DB1B6E73F79F1ED5EF75EBBA2B5AB" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_E91E2A0DBA1C7383770BF75EBBA3D0AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_28B48F75278CD37BB81AF75EBBA4277F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_28B48F75278CD37BB81AF75EBBA4277F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_E873A920E78CD8B2DA6FF75EBBA4532B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_E873A920E78CD8B2DA6FF75EBBA4532B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_8B78D0CF7727D06CB492F75EBBA43FB6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_8B78D0CF7727D06CB492F75EBBA43FB6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_153B58C204CBD53DF9BFF75EBBA5B9D9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_153B58C204CBD53DF9BFF75EBBA5B9D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_62B85129EFBC45B9A5A9F75EBBA5C32E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_37922884CB5F39DA0F0AF75EBBA33DCA" xlink:to="loc_us-gaap_InvestmentIncomeInterest_62B85129EFBC45B9A5A9F75EBBA5C32E" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesAndFairValueMeasurementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/Leases" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_35FBEF14F38CED594DA1F75EBB1A44A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_35FBEF14F38CED594DA1F75EBB1A44A4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_D0D1792484FEF7C5E5B7F75EBB1B1B56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_35FBEF14F38CED594DA1F75EBB1A44A4" xlink:to="loc_srt_RangeAxis_D0D1792484FEF7C5E5B7F75EBB1B1B56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_D0D1792484FEF7C5E5B7F75EBB1B1B56" xlink:to="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_D0D1792484FEF7C5E5B7F75EBB1B1B56" xlink:to="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_F72B41C6ECD5E763ADA0F75EBB1B9F43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD" xlink:to="loc_srt_MinimumMember_F72B41C6ECD5E763ADA0F75EBB1B9F43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_C6F18DF63ED134570329F75EBB1C9212" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_DC215D5409C04C56F3EEF75EBB1B0FBD" xlink:to="loc_srt_MaximumMember_C6F18DF63ED134570329F75EBB1C9212" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA1CE67387EF35ECEE5EF75EBB1CFD05" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_35FBEF14F38CED594DA1F75EBB1A44A4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA1CE67387EF35ECEE5EF75EBB1CFD05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA1CE67387EF35ECEE5EF75EBB1CFD05" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_EA1CE67387EF35ECEE5EF75EBB1CFD05" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A130CastilianDriveSantaBarbaraCaliforniaMember" xlink:label="loc_appf_A130CastilianDriveSantaBarbaraCaliforniaMember_28AB10572E2FA3D9D033F75EBB1C245C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E" xlink:to="loc_appf_A130CastilianDriveSantaBarbaraCaliforniaMember_28AB10572E2FA3D9D033F75EBB1C245C" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A9201SpectrumCenterBoulevardInSanDiegoCaliforniaMember" xlink:label="loc_appf_A9201SpectrumCenterBoulevardInSanDiegoCaliforniaMember_A89E3875326BE34F45E9F75EBB1D4A8B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E" xlink:to="loc_appf_A9201SpectrumCenterBoulevardInSanDiegoCaliforniaMember_A89E3875326BE34F45E9F75EBB1D4A8B" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A215221RoseAvenueVeniceCaliforniaMember" xlink:label="loc_appf_A215221RoseAvenueVeniceCaliforniaMember_0389DEC777D4F329ECEBF75EBB1DCA5D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_CB8712F7900FD3379B8FF75EBB1C5F1E" xlink:to="loc_appf_A215221RoseAvenueVeniceCaliforniaMember_0389DEC777D4F329ECEBF75EBB1DCA5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_2DBE267A0A0A8A4CC693F75EBB1ED3F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_2DBE267A0A0A8A4CC693F75EBB1ED3F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseCost" xlink:label="loc_us-gaap_OperatingLeaseCost_0E775ECB147EB76B333CF75EBB1ECC3E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_us-gaap_OperatingLeaseCost_0E775ECB147EB76B333CF75EBB1ECC3E" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_OperatingLeaseLiabilityLeaseNotYetCommenced" xlink:label="loc_appf_OperatingLeaseLiabilityLeaseNotYetCommenced_EB974C0342FE484B13CCF75EBB1F30C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_appf_OperatingLeaseLiabilityLeaseNotYetCommenced_EB974C0342FE484B13CCF75EBB1F30C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1" xlink:label="loc_us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1_B30D8E8B9950595E5D44F75EBB1FAE1A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1_B30D8E8B9950595E5D44F75EBB1FAE1A" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LesseeOperatingLeaseSquareFeetOfLeasedArea" xlink:label="loc_appf_LesseeOperatingLeaseSquareFeetOfLeasedArea_532BE5185AF367D0F86FF75EBB1F956A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_appf_LesseeOperatingLeaseSquareFeetOfLeasedArea_532BE5185AF367D0F86FF75EBB1F956A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_48DC477A4336EC174100F75EBB1FF243" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_30A24F02DC0D5CBF6C3DF75EBB1E905B" xlink:to="loc_us-gaap_OperatingLeaseLiability_48DC477A4336EC174100F75EBB1FF243" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesScheduleOfComponentsOfLeaseExpenseDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesScheduleOfMinimumLeasePaymentsUnderLeasesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesSummaryOfFutureMinimumPaymentsForObligationsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongTermDebt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongTermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_5D03DD91D814A6CA74A10B10B12E540A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_5D03DD91D814A6CA74A10B10B12E540A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_22E7E4CEB6540994B3CB0B10B12F3FF1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5D03DD91D814A6CA74A10B10B12E540A" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_22E7E4CEB6540994B3CB0B10B12F3FF1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_22E7E4CEB6540994B3CB0B10B12F3FF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5D03DD91D814A6CA74A10B10B12E540A" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_22E7E4CEB6540994B3CB0B10B12F3FF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_EF1D24C7862D74F4B9F60B10B12F5B5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_22E7E4CEB6540994B3CB0B10B12F3FF1" xlink:to="loc_us-gaap_LineOfCreditMember_EF1D24C7862D74F4B9F60B10B12F5B5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis_942F8770AACA9763F4E60B10B12F83C8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_srt_CounterpartyNameAxis_942F8770AACA9763F4E60B10B12F83C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3EA1C2FB8B555979371A0B10B130D192_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_942F8770AACA9763F4E60B10B12F83C8" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3EA1C2FB8B555979371A0B10B130D192_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3EA1C2FB8B555979371A0B10B130D192" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_942F8770AACA9763F4E60B10B12F83C8" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3EA1C2FB8B555979371A0B10B130D192" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_WellsFargoBankN.AMember" xlink:label="loc_appf_WellsFargoBankN.AMember_D38F94C5BC76619795620B10B130A7B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3EA1C2FB8B555979371A0B10B130D192" xlink:to="loc_appf_WellsFargoBankN.AMember_D38F94C5BC76619795620B10B130A7B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_DB8C1C38E517353E1A5D0B10B130C78C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_us-gaap_CreditFacilityAxis_DB8C1C38E517353E1A5D0B10B130C78C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_DB8C1C38E517353E1A5D0B10B130C78C" xlink:to="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_DB8C1C38E517353E1A5D0B10B130C78C" xlink:to="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_ED12DD5AEF5E0420BC300B10B1313D18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0" xlink:to="loc_us-gaap_SecuredDebtMember_ED12DD5AEF5E0420BC300B10B1313D18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_F61CEB59D2CA660403AE0B10B13101E9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_E1CBA0F06CD770612D2F0B10B1300FB0" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_F61CEB59D2CA660403AE0B10B13101E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_D35544C34CC2D5395BDB0B10B1319717" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_D35544C34CC2D5395BDB0B10B1319717" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1335AD557FAD9FCB307A0B10B131E625_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D35544C34CC2D5395BDB0B10B1319717" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1335AD557FAD9FCB307A0B10B131E625_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1335AD557FAD9FCB307A0B10B131E625" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D35544C34CC2D5395BDB0B10B1319717" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1335AD557FAD9FCB307A0B10B131E625" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsMember" xlink:label="loc_us-gaap_OtherAssetsMember_EA6206584940A75981CC0B10B13267F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1335AD557FAD9FCB307A0B10B131E625" xlink:to="loc_us-gaap_OtherAssetsMember_EA6206584940A75981CC0B10B13267F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_1924CE0487A55D2D6D690B10B132B21E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_srt_RangeAxis_1924CE0487A55D2D6D690B10B132B21E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1924CE0487A55D2D6D690B10B132B21E" xlink:to="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1924CE0487A55D2D6D690B10B132B21E" xlink:to="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_4436AD9AAB0C2C08333D0B10B1320ECA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1" xlink:to="loc_srt_MinimumMember_4436AD9AAB0C2C08333D0B10B1320ECA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_D28A9F8AC8B0A9E81CC50B10B1327E35" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_CF628979A1109599614C0B10B132ECF1" xlink:to="loc_srt_MaximumMember_D28A9F8AC8B0A9E81CC50B10B1327E35" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_98E268DF4936097F8A360B10B133D72F" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E867AA6BD959F8D6C7600B10B12E1677" xlink:to="loc_us-gaap_VariableRateAxis_98E268DF4936097F8A360B10B133D72F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_98E268DF4936097F8A360B10B133D72F" xlink:to="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_98E268DF4936097F8A360B10B133D72F" xlink:to="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_7E8A1EAEDECC62FFE62F0B10B133B518" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_7E8A1EAEDECC62FFE62F0B10B133B518" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FederalFundsEffectiveSwapRateMember" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_7E903309D8D81B7CA8310B10B134E37C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_06196F6F58329AB5E78F0B10B133DCB2" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_7E903309D8D81B7CA8310B10B134E37C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_03EBC5908A2C05F11D670B10B134B444" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_LineOfCredit_03EBC5908A2C05F11D670B10B134B444" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8EE30E7A1BD53CD0EA020B10B134B744" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8EE30E7A1BD53CD0EA020B10B134B744" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio_7FBF9B30E67F8DCBD77A0B10B1341223" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio_7FBF9B30E67F8DCBD77A0B10B1341223" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio_DB9C4734A76463D2341C0B10B1355880" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio_DB9C4734A76463D2341C0B10B1355880" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio_C3750B16ECEBE276435C0B10B13550EE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio_C3750B16ECEBE276435C0B10B13550EE" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio_A0DB23B6B07AC32B65160B10B136A5B3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio_A0DB23B6B07AC32B65160B10B136A5B3" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts_C8C8EE2ACE653E1D1DE70B10B13612EB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts_C8C8EE2ACE653E1D1DE70B10B13612EB" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate_08AFC36455EA98E0549E0B10B1364B4D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate_08AFC36455EA98E0549E0B10B1364B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_1997066539C5BFAF78A60B10B1376E32" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_1997066539C5BFAF78A60B10B1376E32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateDuringPeriod" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_E9FC89F0CBD4E668EED40B10B1371945" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_E9FC89F0CBD4E668EED40B10B1371945" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_AD428B3D84EB1F3BFD2F0B10B137FE93" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_AD428B3D84EB1F3BFD2F0B10B137FE93" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage" xlink:label="loc_appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage_366D18C261C02A8765890B10B138246E" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage_366D18C261C02A8765890B10B138246E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_559F35FDD66F9E41EA170B10B1386999" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_559F35FDD66F9E41EA170B10B1386999" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_D98701C2B79924510EE20B10B138A74C" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_D98701C2B79924510EE20B10B138A74C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentForAmortization" xlink:label="loc_us-gaap_AdjustmentForAmortization_0662C095D029BAE071440B10B1391133" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_D13971043AFDB98B98A50B10B1348979" xlink:to="loc_us-gaap_AdjustmentForAmortization_0662C095D029BAE071440B10B1391133" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongTermDebtScheduleOfPrincipalPaymentsForTermLoanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_8EB3B01ADA9B0E1A3685E23A83805750" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_DebtInstrumentTable_8EB3B01ADA9B0E1A3685E23A83805750" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_24CEEE366677B26FE86EE23A8381BFD8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8EB3B01ADA9B0E1A3685E23A83805750" xlink:to="loc_us-gaap_CreditFacilityAxis_24CEEE366677B26FE86EE23A8381BFD8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_85B82C43D8E0CC424540E23A83817061_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_24CEEE366677B26FE86EE23A8381BFD8" xlink:to="loc_us-gaap_CreditFacilityDomain_85B82C43D8E0CC424540E23A83817061_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_85B82C43D8E0CC424540E23A83817061" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_24CEEE366677B26FE86EE23A8381BFD8" xlink:to="loc_us-gaap_CreditFacilityDomain_85B82C43D8E0CC424540E23A83817061" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_A1C839A349D79211CF3CE23A83828977" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_85B82C43D8E0CC424540E23A83817061" xlink:to="loc_us-gaap_SecuredDebtMember_A1C839A349D79211CF3CE23A83828977" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_A343D92F431F0E875387E23A838390BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8EB3B01ADA9B0E1A3685E23A83805750" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_A343D92F431F0E875387E23A838390BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_A25EF381E415FD71A59FE23A838463C8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A343D92F431F0E875387E23A838390BC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_A25EF381E415FD71A59FE23A838463C8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_A25EF381E415FD71A59FE23A838463C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A343D92F431F0E875387E23A838390BC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_A25EF381E415FD71A59FE23A838463C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_286D88611B7B3DE977B1E23A83842E96" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_A25EF381E415FD71A59FE23A838463C8" xlink:to="loc_us-gaap_LineOfCreditMember_286D88611B7B3DE977B1E23A83842E96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_885D19397A392B9A70EAE2B8043CABC7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_885D19397A392B9A70EAE2B8043CABC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_157B4835B4B34B4C6A23E23A83855F07" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_157B4835B4B34B4C6A23E23A83855F07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_B5CD5269F6CB3722ECDAE23A8386CB96" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_B5CD5269F6CB3722ECDAE23A8386CB96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_84906E6EA8968B9A9DA1E23A8386E903" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_84906E6EA8968B9A9DA1E23A8386E903" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_26231339660DD27FB3C7E23A8386FE57" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_26231339660DD27FB3C7E23A8386FE57" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_CEA7E2737FA478BA3DADE23A83860BE2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9603E32FCD39113B5DCCE23A8384EF42" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_CEA7E2737FA478BA3DADE23A83860BE2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongTermDebtSummaryOfLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_8E2AB2A0701DE6844ED4E1CA7C1D65CC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_DebtInstrumentTable_8E2AB2A0701DE6844ED4E1CA7C1D65CC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_FF442A376387D3C98E4FE1CA7C1D537A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8E2AB2A0701DE6844ED4E1CA7C1D65CC" xlink:to="loc_us-gaap_CreditFacilityAxis_FF442A376387D3C98E4FE1CA7C1D537A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_6BBF378A19E92C3E03BAE1CA7C1E9BD3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_FF442A376387D3C98E4FE1CA7C1D537A" xlink:to="loc_us-gaap_CreditFacilityDomain_6BBF378A19E92C3E03BAE1CA7C1E9BD3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_6BBF378A19E92C3E03BAE1CA7C1E9BD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_FF442A376387D3C98E4FE1CA7C1D537A" xlink:to="loc_us-gaap_CreditFacilityDomain_6BBF378A19E92C3E03BAE1CA7C1E9BD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_DD3F9C28B05B8752BD3CE1CA7C1EC61B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6BBF378A19E92C3E03BAE1CA7C1E9BD3" xlink:to="loc_us-gaap_SecuredDebtMember_DD3F9C28B05B8752BD3CE1CA7C1EC61B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_A50FC4BE6F753546F4E2E1CA7C1EC8E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8E2AB2A0701DE6844ED4E1CA7C1D65CC" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_A50FC4BE6F753546F4E2E1CA7C1EC8E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_1F3D0EC703298E9DFF35E1CA7C1EC40C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A50FC4BE6F753546F4E2E1CA7C1EC8E3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_1F3D0EC703298E9DFF35E1CA7C1EC40C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_1F3D0EC703298E9DFF35E1CA7C1EC40C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A50FC4BE6F753546F4E2E1CA7C1EC8E3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_1F3D0EC703298E9DFF35E1CA7C1EC40C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_8258A72805EB4230AC53E1CA7C1F7052" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_1F3D0EC703298E9DFF35E1CA7C1EC40C" xlink:to="loc_us-gaap_LineOfCreditMember_8258A72805EB4230AC53E1CA7C1F7052" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_6CB11D4E7DC0EF8982E5E1CA7C1FFC02" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_6CB11D4E7DC0EF8982E5E1CA7C1FFC02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_4FB3FAC060DACD360ABDE1CA7C1F026D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_4FB3FAC060DACD360ABDE1CA7C1F026D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_48CB62C63A159A249285E1CA7C1F7021" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_LongTermDebt_48CB62C63A159A249285E1CA7C1F7021" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_A2C458555CEBDB366412E1CA7C20AE4B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_LongTermDebtCurrent_A2C458555CEBDB366412E1CA7C20AE4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_D193A987524316795D16E1CA7C2009E8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_AD613C5928AB811A64E0E1CA7C1FAAAB" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_D193A987524316795D16E1CA7C2009E8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongTermDebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/NatureOfBusiness" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueAndOtherInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueAndOtherInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_B6B0F9F92FD2E4D20AEBE1CA7D1C0566" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_0AAD53087556ED857B88E1CA7D1B974C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_B6B0F9F92FD2E4D20AEBE1CA7D1C0566" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_0AAD53087556ED857B88E1CA7D1B974C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_1A11AD553EFCA7A75500E1CA7D1BE691" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_0AAD53087556ED857B88E1CA7D1B974C" xlink:to="loc_srt_ProductOrServiceAxis_1A11AD553EFCA7A75500E1CA7D1BE691" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_1A11AD553EFCA7A75500E1CA7D1BE691" xlink:to="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_1A11AD553EFCA7A75500E1CA7D1BE691" xlink:to="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_CoreSolutionsMember" xlink:label="loc_appf_CoreSolutionsMember_31BFBBF8DE5D4E7D5BF9E1CA7D1C3CBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E" xlink:to="loc_appf_CoreSolutionsMember_31BFBBF8DE5D4E7D5BF9E1CA7D1C3CBC" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_ValuePlusServicesMember" xlink:label="loc_appf_ValuePlusServicesMember_E0A493183DEB8D9C4FECE1CA7D1C0656" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E" xlink:to="loc_appf_ValuePlusServicesMember_E0A493183DEB8D9C4FECE1CA7D1C0656" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_OtherServicesMember" xlink:label="loc_appf_OtherServicesMember_855B245920BD8BA908CFE1CA7D1C321B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_40EE692E36E834359364E1CA7D1B955E" xlink:to="loc_appf_OtherServicesMember_855B245920BD8BA908CFE1CA7D1C321B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6486CD49D6F4CFCA4740E1CA7D1DDC1C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_B6B0F9F92FD2E4D20AEBE1CA7D1C0566" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6486CD49D6F4CFCA4740E1CA7D1DDC1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_4FB55D1667D12AE1B2F9E1CA7D1D06F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_B6B0F9F92FD2E4D20AEBE1CA7D1C0566" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_4FB55D1667D12AE1B2F9E1CA7D1D06F2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueAndOtherInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ShareRepurchaseProgram" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ShareRepurchaseProgramDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AAA8ABF17D04560AD3E7E1F6297D427C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AAA8ABF17D04560AD3E7E1F6297D427C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_507834EE62343920E033E1F6297D60F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AAA8ABF17D04560AD3E7E1F6297D427C" xlink:to="loc_us-gaap_AwardTypeAxis_507834EE62343920E033E1F6297D60F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D1A75005FDB30A5E9573E1F6297E7CD2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_507834EE62343920E033E1F6297D60F7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D1A75005FDB30A5E9573E1F6297E7CD2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D1A75005FDB30A5E9573E1F6297E7CD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_507834EE62343920E033E1F6297D60F7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D1A75005FDB30A5E9573E1F6297E7CD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_0ADAC0C68CBF9915B067E1F6297E4AFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D1A75005FDB30A5E9573E1F6297E7CD2" xlink:to="loc_us-gaap_RestrictedStockMember_0ADAC0C68CBF9915B067E1F6297E4AFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualAxis" xlink:label="loc_srt_TitleOfIndividualAxis_4FA9ED385A78DC47C6DCE1F6297E40B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AAA8ABF17D04560AD3E7E1F6297D427C" xlink:to="loc_srt_TitleOfIndividualAxis_4FA9ED385A78DC47C6DCE1F6297E40B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_4FA9ED385A78DC47C6DCE1F6297E40B4" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_4FA9ED385A78DC47C6DCE1F6297E40B4" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_EmployeeMember" xlink:label="loc_appf_EmployeeMember_785105AABDC33AD56460E1F6297F5798" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF" xlink:to="loc_appf_EmployeeMember_785105AABDC33AD56460E1F6297F5798" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_NonEmployeeDirectorMember" xlink:label="loc_appf_NonEmployeeDirectorMember_6BDAEFF5B6217854E351E1F6297F8500" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_3E02A543031A1AC0B556E1F6297F4FBF" xlink:to="loc_appf_NonEmployeeDirectorMember_6BDAEFF5B6217854E351E1F6297F8500" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2573307BE2E118BF917BE1F629800539" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_2573307BE2E118BF917BE1F629800539" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_19EA2F0E9EC73DD098E7E1F6298095BD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_19EA2F0E9EC73DD098E7E1F6298095BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_847C5C5869B24EB4710EE1F62981E6B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_847C5C5869B24EB4710EE1F62981E6B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_D48F73111F0FC5C802FFE1F629814314" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_988D527F5D504BB8C3BAE1F629801D3F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_D48F73111F0FC5C802FFE1F629814314" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_BD094C6F41DB8811206CE1F629838D0C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_BD094C6F41DB8811206CE1F629838D0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5701E640D62523C5E592E1F629840FB3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5701E640D62523C5E592E1F629840FB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ABE862EE92031924A4B7E1F62984679E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_ABE862EE92031924A4B7E1F62984679E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_000725C66D2FAD992ECDE1F62984DF10" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract_D3E4AD9F7BC7B9CA8989E1F62982D553" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_000725C66D2FAD992ECDE1F62984DF10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_642C99AD35CAEC85E171E1F6298454EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_642C99AD35CAEC85E171E1F6298454EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_1A6BCDEEC12C31E8B2AFE1F629851BCF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_1A6BCDEEC12C31E8B2AFE1F629851BCF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_0E6746EC12373F46E8BBE1F629854F2E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_0E6746EC12373F46E8BBE1F629854F2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3D31A9BCBC2CCFF389A7E1F629855708" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED0EAA10472DCA49F5E2E1F629802608" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_3D31A9BCBC2CCFF389A7E1F629855708" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9695DC3348554D9EA5E2E1CA7C559EEE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBFB07985E40158F2DBE1CA7C54B58F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9695DC3348554D9EA5E2E1CA7C559EEE" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBFB07985E40158F2DBE1CA7C54B58F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5A4CC689D635C01B74C3E1CA7C54C7D5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_EBBFB07985E40158F2DBE1CA7C54B58F" xlink:to="loc_us-gaap_AwardTypeAxis_5A4CC689D635C01B74C3E1CA7C54C7D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3955EBF70D0F53CFC745E1CA7C54A410_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5A4CC689D635C01B74C3E1CA7C54C7D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3955EBF70D0F53CFC745E1CA7C54A410_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3955EBF70D0F53CFC745E1CA7C54A410" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5A4CC689D635C01B74C3E1CA7C54C7D5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3955EBF70D0F53CFC745E1CA7C54A410" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_RestrictedStockUnitsAndPerformanceStockUnitsMember" xlink:label="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_A7C3CA75335EB244554CE1CA7C55D389" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3955EBF70D0F53CFC745E1CA7C54A410" xlink:to="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_A7C3CA75335EB244554CE1CA7C55D389" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9695DC3348554D9EA5E2E1CA7C559EEE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4883812F1CA11EFA1B36E1CA7C55C237" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4883812F1CA11EFA1B36E1CA7C55C237" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_64E7467F06B4849CD8B6E1CA7C56D264" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_64E7467F06B4849CD8B6E1CA7C56D264" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_71D0494B311A4F42DB93E1CA7C56C049" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_71D0494B311A4F42DB93E1CA7C56C049" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4830CB8733B6C36C4E0BE1CA7C56ED7F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_34E7667FF6A191B1A3B9E1CA7C5599D2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4830CB8733B6C36C4E0BE1CA7C56ED7F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9695DC3348554D9EA5E2E1CA7C559EEE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_F66308B9DBB22AE3E56FE1CA7C57C8DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_F66308B9DBB22AE3E56FE1CA7C57C8DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_C5D31305FE947D3E4D52E1CA7C5790EF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_C5D31305FE947D3E4D52E1CA7C5790EF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_345A14B74E975A000496E1CA7C57BA83" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_345A14B74E975A000496E1CA7C57BA83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_912C805F6456D167B8ABE1CA7C572B38" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_CA6D00214CC3F6C93839E1CA7C566596" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_912C805F6456D167B8ABE1CA7C572B38" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_985C1FD404335D1A34C3E23A82FBCE2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:to="loc_us-gaap_AwardTypeAxis_985C1FD404335D1A34C3E23A82FBCE2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A059F28A41B8076F7326E23A82FBBCA3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_985C1FD404335D1A34C3E23A82FBCE2F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A059F28A41B8076F7326E23A82FBBCA3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A059F28A41B8076F7326E23A82FBBCA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_985C1FD404335D1A34C3E23A82FBCE2F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A059F28A41B8076F7326E23A82FBBCA3" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_RestrictedStockUnitsAndPerformanceStockUnitsMember" xlink:label="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_3D7EF2517F5ED13C554BE23A82FBF7AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A059F28A41B8076F7326E23A82FBBCA3" xlink:to="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_3D7EF2517F5ED13C554BE23A82FBF7AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_C495C1D1B4DF29FAC6BEE23A82FBB3B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_3D7EF2517F5ED13C554BE23A82FBF7AD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_C495C1D1B4DF29FAC6BEE23A82FBB3B4" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PerformanceStockUnitsMember" xlink:label="loc_appf_PerformanceStockUnitsMember_F76B791DA927C753A937E23A82FC332B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_3D7EF2517F5ED13C554BE23A82FBF7AD" xlink:to="loc_appf_PerformanceStockUnitsMember_F76B791DA927C753A937E23A82FC332B" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PerformanceStockUnitsGrantedin2018Member" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2018Member_C35AC403DD7B4D2F7214E23A82FCA0CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_PerformanceStockUnitsMember_F76B791DA927C753A937E23A82FC332B" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2018Member_C35AC403DD7B4D2F7214E23A82FCA0CD" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PerformanceStockUnitsGrantedin2017Member" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2017Member_F0A9B21238319A840A4AE23A82FC2732" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_PerformanceStockUnitsMember_F76B791DA927C753A937E23A82FC332B" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2017Member_F0A9B21238319A840A4AE23A82FC2732" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PerformanceStockUnitsGrantedin2019Member" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2019Member_B5BB368F7D4892F7CFE0E23A82FDFBC5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_PerformanceStockUnitsMember_F76B791DA927C753A937E23A82FC332B" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2019Member_B5BB368F7D4892F7CFE0E23A82FDFBC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_2DA629279F7FE014716EE23A82FD5719" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:to="loc_us-gaap_PlanNameAxis_2DA629279F7FE014716EE23A82FD5719" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_2DA629279F7FE014716EE23A82FD5719" xlink:to="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_2DA629279F7FE014716EE23A82FD5719" xlink:to="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2017PerformanceMetricMember" xlink:label="loc_appf_A2017PerformanceMetricMember_5E94525C6937B296B0E3E23A82FDD198" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27" xlink:to="loc_appf_A2017PerformanceMetricMember_5E94525C6937B296B0E3E23A82FDD198" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2016PerformanceMetricMember" xlink:label="loc_appf_A2016PerformanceMetricMember_EF5A8D3300E927192C86E23A82FD103D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_35D2D8B3DB05E1E54D09E23A82FDBC27" xlink:to="loc_appf_A2016PerformanceMetricMember_EF5A8D3300E927192C86E23A82FD103D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_5357F6627AA57E1EE3B8E23A82FE2EF9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:to="loc_us-gaap_VestingAxis_5357F6627AA57E1EE3B8E23A82FE2EF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_5357F6627AA57E1EE3B8E23A82FE2EF9" xlink:to="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_5357F6627AA57E1EE3B8E23A82FE2EF9" xlink:to="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_0BDD919292252F788E05E23A82FEF88B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_0BDD919292252F788E05E23A82FEF88B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_860DB649034250F3CC67E23A82FEF215" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_AB0FAA88D52521406F68E23A82FEEE9B" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_860DB649034250F3CC67E23A82FEF215" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_FBA6DA55638CD0FD7678E23A82FF1762" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0BDE1E479B1C641EDFECE23A82FAA4C7" xlink:to="loc_srt_RangeAxis_FBA6DA55638CD0FD7678E23A82FF1762" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_FBA6DA55638CD0FD7678E23A82FF1762" xlink:to="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_FBA6DA55638CD0FD7678E23A82FF1762" xlink:to="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_BE3723C2E01E729DFBA0E23A82FF331B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE" xlink:to="loc_srt_MinimumMember_BE3723C2E01E729DFBA0E23A82FF331B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_93C21F13721A30D513E3E23A830080C2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_77EDD67056DF4895296BE23A82FF23DE" xlink:to="loc_srt_MaximumMember_93C21F13721A30D513E3E23A830080C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_9A3ACCB7CD4EC9D3F3D5E23A830062A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_9A3ACCB7CD4EC9D3F3D5E23A830062A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_31753B36BD532C208BBDE23A8301FB09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_31753B36BD532C208BBDE23A8301FB09" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_8A54EDE096AF850C5077E23A83012E62" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_8A54EDE096AF850C5077E23A83012E62" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent_A136E8BB6ADEF6A3C51AE23A83018798" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent_A136E8BB6ADEF6A3C51AE23A83018798" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_3CDF377F8BF02F678879E23A830225E6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_3CDF377F8BF02F678879E23A830225E6" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_6778E9F2053EFE896051E23A8302D0DB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_6778E9F2053EFE896051E23A8302D0DB" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets" xlink:label="loc_appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets_4A8986AB723882F40C5EE23A8303F1D8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets_4A8986AB723882F40C5EE23A8303F1D8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_58CF66F9F1B15CC49CAFE23A83033A17" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_58CF66F9F1B15CC49CAFE23A83033A17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_8133D67D5E275C24A19FE23A8303F32F" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_8133D67D5E275C24A19FE23A8303F32F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_EB87B12C5B1AC7E0B483E23A8304A48C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_DD069A2462300D7CF893E23A8300C0C3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_EB87B12C5B1AC7E0B483E23A8304A48C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CE79BE0CBBF9FA0072D90605CDB145E1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CE79BE0CBBF9FA0072D90605CDB145E1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_F6D25EF9499AC26FD69F0605CDB2EE4B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CE79BE0CBBF9FA0072D90605CDB145E1" xlink:to="loc_us-gaap_AwardTypeAxis_F6D25EF9499AC26FD69F0605CDB2EE4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAF14BBAA5EB6167BE250605CDB32714_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F6D25EF9499AC26FD69F0605CDB2EE4B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAF14BBAA5EB6167BE250605CDB32714_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAF14BBAA5EB6167BE250605CDB32714" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F6D25EF9499AC26FD69F0605CDB2EE4B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAF14BBAA5EB6167BE250605CDB32714" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_EmployeeStockOptionsAndPerformanceStockOptionsMember" xlink:label="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_F4F9015762C153327F570605CDB3F01A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_DAF14BBAA5EB6167BE250605CDB32714" xlink:to="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_F4F9015762C153327F570605CDB3F01A" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_PerformanceStockOptionMember" xlink:label="loc_appf_PerformanceStockOptionMember_5E9160A5420136ED60EA0605CDB336FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_F4F9015762C153327F570605CDB3F01A" xlink:to="loc_appf_PerformanceStockOptionMember_5E9160A5420136ED60EA0605CDB336FB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_2DEBDC4E99E53BAA273B0605CDB4DE42" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CE79BE0CBBF9FA0072D90605CDB145E1" xlink:to="loc_us-gaap_PlanNameAxis_2DEBDC4E99E53BAA273B0605CDB4DE42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_2DEBDC4E99E53BAA273B0605CDB4DE42" xlink:to="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_2DEBDC4E99E53BAA273B0605CDB4DE42" xlink:to="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2019and2018PerformanceMetricGrantedin2017Member" xlink:label="loc_appf_A2019and2018PerformanceMetricGrantedin2017Member_0FF37B07AEA47C140A730605CDB57E5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:to="loc_appf_A2019and2018PerformanceMetricGrantedin2017Member_0FF37B07AEA47C140A730605CDB57E5A" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2019PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember" xlink:label="loc_appf_A2019PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_4223331F53742E2F720B0605CDB6FE4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:to="loc_appf_A2019PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_4223331F53742E2F720B0605CDB6FE4D" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2019PerformanceMetricAdjustedGrossMarginTargetMember" xlink:label="loc_appf_A2019PerformanceMetricAdjustedGrossMarginTargetMember_DD31D589096887B819000605CDB6B040" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:to="loc_appf_A2019PerformanceMetricAdjustedGrossMarginTargetMember_DD31D589096887B819000605CDB6B040" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember" xlink:label="loc_appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_FAB070CE561C9A69BDC20605CDB7550C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:to="loc_appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_FAB070CE561C9A69BDC20605CDB7550C" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_A2016PerformanceMetricMember" xlink:label="loc_appf_A2016PerformanceMetricMember_EC0E21E21B6DE24920000605CDB7A01E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_287AF4DF3A870A9DE3660605CDB4F209" xlink:to="loc_appf_A2016PerformanceMetricMember_EC0E21E21B6DE24920000605CDB7A01E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_C5695AC07C9E09B932F00605CDB752D7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CE79BE0CBBF9FA0072D90605CDB145E1" xlink:to="loc_us-gaap_VestingAxis_C5695AC07C9E09B932F00605CDB752D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_C5695AC07C9E09B932F00605CDB752D7" xlink:to="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_C5695AC07C9E09B932F00605CDB752D7" xlink:to="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_47D0703ECFC6B6EDBB450605CDB82556" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_47D0703ECFC6B6EDBB450605CDB82556" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_8F3A5B93E5FB9793CA320605CDB8AE2C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_833742319917B3EFC3B80605CDB79C54" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_8F3A5B93E5FB9793CA320605CDB8AE2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_6CDA3DB4639E9A5936A50605CDB909D2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_6CDA3DB4639E9A5936A50605CDB909D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_4388B6A6A0248850D78C0605CDB99E36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_4388B6A6A0248850D78C0605CDB99E36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_AA4DD0F8BB9AE01CC3880605CDBACCFF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_AA4DD0F8BB9AE01CC3880605CDBACCFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_9C0DBD26A07B0D712CB90605CDBADDAA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_0F83EA3E22AC187B19B20605CDB98FB9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_9C0DBD26A07B0D712CB90605CDBADDAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_F918216ED717C5AEA1030605CDBB599B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_F918216ED717C5AEA1030605CDBB599B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_E151BEAF926D9EE59DF30605CDBB4BCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_E151BEAF926D9EE59DF30605CDBB4BCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_8D51D11312FEDFEF37D60605CDBB808D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_8D51D11312FEDFEF37D60605CDBB808D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_2F49743560C0728F833A0605CDBB01F0" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_78FF7E7C31360D8C64940605CDBA5C68" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_2F49743560C0728F833A0605CDBB01F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_5F95660D708E9EA472020605CDBC944D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_5F95660D708E9EA472020605CDBC944D" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardVestingPercentOfAwardsGranted" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardVestingPercentOfAwardsGranted_0019D87D9EA17AAFA1810605CDBC934A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardVestingPercentOfAwardsGranted_0019D87D9EA17AAFA1810605CDBC934A" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_FA5D9AB2932F17BFADB60605CDBD9F58" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_FA5D9AB2932F17BFADB60605CDBD9F58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_C24E3749E01A5A43D0580605CDBD8469" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_C24E3749E01A5A43D0580605CDBD8469" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_F6E123DDAFD285F3DBA30605CDBDE727" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_F6E123DDAFD285F3DBA30605CDBDE727" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_85E23A7648326596EDBA0605CDBD0380" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_A17D637C94719AC2120A0605CDB834AE" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_85E23A7648326596EDBA0605CDBD0380" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EA15A8FCB33A93E75766E23A831BF263" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_413B02A7504DDFA64F9CE23A831AFABE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EA15A8FCB33A93E75766E23A831BF263" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_413B02A7504DDFA64F9CE23A831AFABE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_98C465DACA4352818E87E23A831A6B66" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_413B02A7504DDFA64F9CE23A831AFABE" xlink:to="loc_us-gaap_AwardTypeAxis_98C465DACA4352818E87E23A831A6B66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E507BBC448F243809ED3E23A831B722B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_98C465DACA4352818E87E23A831A6B66" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E507BBC448F243809ED3E23A831B722B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E507BBC448F243809ED3E23A831B722B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_98C465DACA4352818E87E23A831A6B66" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E507BBC448F243809ED3E23A831B722B" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_EmployeeStockOptionsAndPerformanceStockOptionsMember" xlink:label="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_B2CDD27B11182FFFFE6DE23A831BF45B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E507BBC448F243809ED3E23A831B722B" xlink:to="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_B2CDD27B11182FFFFE6DE23A831BF45B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_DC9D891ABB243635BE57E23A831B4322" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EA15A8FCB33A93E75766E23A831BF263" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_DC9D891ABB243635BE57E23A831B4322" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_61C5B8B64F6905F9272AE23A831CDF09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EA15A8FCB33A93E75766E23A831BF263" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_61C5B8B64F6905F9272AE23A831CDF09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_EA73A81EDC967B5CFC9FE23A831C2835" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EA15A8FCB33A93E75766E23A831BF263" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_EA73A81EDC967B5CFC9FE23A831C2835" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesImpactOfAdoptionOfNewRevenueStandardOnCondensedConsolidatedBalanceSheetAndStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B4A3FC20A5921FD09B49E1CA7D25E5D6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_F50B7DC7112E2550755FE1CA7D248860" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B4A3FC20A5921FD09B49E1CA7D25E5D6" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_F50B7DC7112E2550755FE1CA7D248860" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FA12272E457665F48409E1CA7D257BB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_F50B7DC7112E2550755FE1CA7D248860" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FA12272E457665F48409E1CA7D257BB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_3BC13F03773DCEFA18C7E1CA7D25F685_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FA12272E457665F48409E1CA7D257BB8" xlink:to="loc_us-gaap_TypeOfAdoptionMember_3BC13F03773DCEFA18C7E1CA7D25F685_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_3BC13F03773DCEFA18C7E1CA7D25F685" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_FA12272E457665F48409E1CA7D257BB8" xlink:to="loc_us-gaap_TypeOfAdoptionMember_3BC13F03773DCEFA18C7E1CA7D25F685" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_D295FA22CF4295AA37A2E1CA7D25FF5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_3BC13F03773DCEFA18C7E1CA7D25F685" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_D295FA22CF4295AA37A2E1CA7D25FF5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_24EDE350B41A6F21DCECE1CA7D2640E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B4A3FC20A5921FD09B49E1CA7D25E5D6" xlink:to="loc_us-gaap_AssetsAbstract_24EDE350B41A6F21DCECE1CA7D2640E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_1FBBA7E79B71CDCEA195E1CA7D263D78" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_24EDE350B41A6F21DCECE1CA7D2640E3" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_1FBBA7E79B71CDCEA195E1CA7D263D78" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_526E6B6D0F1A76B6D890E1CA7D26FE4F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_24EDE350B41A6F21DCECE1CA7D2640E3" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_526E6B6D0F1A76B6D890E1CA7D26FE4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_07BAA25B92AEFA6B30AEE1CA7D271C09" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_B4A3FC20A5921FD09B49E1CA7D25E5D6" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_07BAA25B92AEFA6B30AEE1CA7D271C09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_99EF347CE9433CCF5F0AE1CA7D27DCDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_07BAA25B92AEFA6B30AEE1CA7D271C09" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_99EF347CE9433CCF5F0AE1CA7D27DCDF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_AF72D2E51E6024F43B70E1CA7D270072" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_07BAA25B92AEFA6B30AEE1CA7D271C09" xlink:to="loc_us-gaap_OperatingLeaseLiability_AF72D2E51E6024F43B70E1CA7D270072" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_E7A8FCFD1F3330824A47E1CA7D2727D8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_07BAA25B92AEFA6B30AEE1CA7D271C09" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_E7A8FCFD1F3330824A47E1CA7D2727D8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesNetIncomeLossScheduleOfAntidilutiveSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_1A7D37AF20EAFC2C4D0CE1CA7D367985" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4463B3C5E39851C2C92FE1CA7D35A2A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_1A7D37AF20EAFC2C4D0CE1CA7D367985" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4463B3C5E39851C2C92FE1CA7D35A2A5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2ABF66ED8D94DCAFE084E1CA7D35D07F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4463B3C5E39851C2C92FE1CA7D35A2A5" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2ABF66ED8D94DCAFE084E1CA7D35D07F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2ABF66ED8D94DCAFE084E1CA7D35D07F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_2ABF66ED8D94DCAFE084E1CA7D35D07F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_A0CA5FD00D2A59D6C83BE1CA7D36D527" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A0CA5FD00D2A59D6C83BE1CA7D36D527" xlink:type="arc" />
    <link:loc xlink:href="appf-20190630.xsd#appf_FixedPriceRestrictedStockUnitMember" xlink:label="loc_appf_FixedPriceRestrictedStockUnitMember_859147CFED5EB4C476EEE1CA7D3622AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0D8501AF13CF0927125AE1CA7D359C40" xlink:to="loc_appf_FixedPriceRestrictedStockUnitMember_859147CFED5EB4C476EEE1CA7D3622AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_7A66864C54EDCA02B3A8E1CA7D36BE15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_1A7D37AF20EAFC2C4D0CE1CA7D367985" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_7A66864C54EDCA02B3A8E1CA7D36BE15" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesNetIncomePerShareScheduleOfWeightedAverageNumberOfSharesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_338669A66B5D8BB18307E1CA7C82AD0F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_338669A66B5D8BB18307E1CA7C82AD0F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FE221E054E5D263A69A6E1CA7C82AA26" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_338669A66B5D8BB18307E1CA7C82AD0F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FE221E054E5D263A69A6E1CA7C82AA26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7FDDE3AB040D680DBAFAE1CA7C83E8D0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FE221E054E5D263A69A6E1CA7C82AA26" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7FDDE3AB040D680DBAFAE1CA7C83E8D0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7FDDE3AB040D680DBAFAE1CA7C83E8D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_FE221E054E5D263A69A6E1CA7C82AA26" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7FDDE3AB040D680DBAFAE1CA7C83E8D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_854FA285290CEE5E4E1FE1CA7C83589E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_7FDDE3AB040D680DBAFAE1CA7C83E8D0" xlink:to="loc_us-gaap_PerformanceSharesMember_854FA285290CEE5E4E1FE1CA7C83589E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_0C76DFE3AFB84D818818E1CA7C8303C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_0C76DFE3AFB84D818818E1CA7C8303C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesRestrictedStock" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_CCEE3EF93377491D6050E1CA7C84D244" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_CCEE3EF93377491D6050E1CA7C84D244" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0D0DABE7D93DE3C88A38E1CA7C840470" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0D0DABE7D93DE3C88A38E1CA7C840470" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_B8651874844449DF203FE1CA7C846F94" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_B8651874844449DF203FE1CA7C846F94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_E957BAA839199CF77EFAE1CA7C844448" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_E957BAA839199CF77EFAE1CA7C844448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_657EE3776E368FE98BB5E1CA7C84E7F3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_84389DE9EB3A8E5F1656E1CA7C83C775" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_657EE3776E368FE98BB5E1CA7C84E7F3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
</link:linkbase>
</XBRL>
