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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:bc091c1c-a5b5-4031-8047-9885e75f0019,g:909042be-9ffb-4b7a-a391-e162ab8e3f01-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/Cover" xlink:type="simple" xlink:href="appf-20201231.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/Cover" xlink:type="extended" id="ie3557e9465394030a37585579caf814b_Cover">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_f1d9dfc1-09bd-4e9c-84e3-6273c365d203" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentType_f1d9dfc1-09bd-4e9c-84e3-6273c365d203" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_d5efc8d2-004c-47db-829d-874c9d5f8e4a" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentAnnualReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentAnnualReport_d5efc8d2-004c-47db-829d-874c9d5f8e4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_1ad530e0-ea7a-4ce2-999c-4048ea6f85bf" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentPeriodEndDate_1ad530e0-ea7a-4ce2-999c-4048ea6f85bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_fea3fda7-1499-4ef7-8746-74a91cb21c55" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_CurrentFiscalYearEndDate_fea3fda7-1499-4ef7-8746-74a91cb21c55" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_35fa8959-ab98-4e8d-b3fc-42d81208311b" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentTransitionReport_35fa8959-ab98-4e8d-b3fc-42d81208311b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_312e2e94-391c-4e0a-9ae5-88599b47f269" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityFileNumber_312e2e94-391c-4e0a-9ae5-88599b47f269" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_65b24ec5-3c2c-464c-8ffd-0768c3e3c690" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityRegistrantName_65b24ec5-3c2c-464c-8ffd-0768c3e3c690" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_ce429835-817a-4a42-ba6b-4e98e41de8f3" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityIncorporationStateCountryCode_ce429835-817a-4a42-ba6b-4e98e41de8f3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_4f0bb5ca-2abb-408b-902a-cf7c4ed8e4d6" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityTaxIdentificationNumber_4f0bb5ca-2abb-408b-902a-cf7c4ed8e4d6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_d3af76c4-ff55-4a79-990d-1bd5f08e35fa" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityAddressAddressLine1_d3af76c4-ff55-4a79-990d-1bd5f08e35fa" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_30ae7f05-d1e1-4376-b6d7-99b08426f12e" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityAddressCityOrTown_30ae7f05-d1e1-4376-b6d7-99b08426f12e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_09e5f1b5-20b3-4048-8ccc-1775ca86a3ac" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityAddressStateOrProvince_09e5f1b5-20b3-4048-8ccc-1775ca86a3ac" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_2b012fc1-2b65-4219-ba4d-e6208bfb9854" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityAddressPostalZipCode_2b012fc1-2b65-4219-ba4d-e6208bfb9854" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_a01fcded-ce05-45e6-a1a2-d2d2d909a351" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_CityAreaCode_a01fcded-ce05-45e6-a1a2-d2d2d909a351" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_27fcb985-7aa3-4fa7-a563-768c0b7b2575" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_LocalPhoneNumber_27fcb985-7aa3-4fa7-a563-768c0b7b2575" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_b7ed83ce-68f8-42fb-a587-fcb510843f91" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_Security12bTitle_b7ed83ce-68f8-42fb-a587-fcb510843f91" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_73965b3b-601c-453e-a979-813ed162f0bb" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_TradingSymbol_73965b3b-601c-453e-a979-813ed162f0bb" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_817bd7fc-c68c-4594-9f36-c98366e94e27" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_SecurityExchangeName_817bd7fc-c68c-4594-9f36-c98366e94e27" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_9736b813-bccc-4ad5-b4ba-0acbcf2dc4b7" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_9736b813-bccc-4ad5-b4ba-0acbcf2dc4b7" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers_d9c814dc-d476-4e41-9de7-31b5d5ba4589" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityVoluntaryFilers_d9c814dc-d476-4e41-9de7-31b5d5ba4589" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_b1738bed-ff12-40c6-b65d-31ad43723cea" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityCurrentReportingStatus_b1738bed-ff12-40c6-b65d-31ad43723cea" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_d85be238-be75-4e06-a347-05bfd01d64a3" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityInteractiveDataCurrent_d85be238-be75-4e06-a347-05bfd01d64a3" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_f359cf08-e827-4a0b-a57f-5c30b08f3144" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityFilerCategory_f359cf08-e827-4a0b-a57f-5c30b08f3144" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_cb9a54e9-d7f4-4591-9edb-a23e781cedf7" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntitySmallBusiness_cb9a54e9-d7f4-4591-9edb-a23e781cedf7" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_55f50310-2efb-47ed-89b9-345783e6e89a" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityEmergingGrowthCompany_55f50310-2efb-47ed-89b9-345783e6e89a" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_e92a9665-3cab-41e1-9401-207d26b035ed" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_IcfrAuditorAttestationFlag_e92a9665-3cab-41e1-9401-207d26b035ed" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_1372b835-43e8-4df6-8bc9-c1edb7641267" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityShellCompany_1372b835-43e8-4df6-8bc9-c1edb7641267" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat_80a062d2-7cf9-45b6-b433-df6940ce9950" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityPublicFloat"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityPublicFloat_80a062d2-7cf9-45b6-b433-df6940ce9950" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_332e56ec-0d30-41e2-8089-46e97d6f6dd9" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_332e56ec-0d30-41e2-8089-46e97d6f6dd9" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentsIncorporatedByReferenceTextBlock_a39a6278-82dc-44d4-85ad-68003a908da3" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentsIncorporatedByReferenceTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentsIncorporatedByReferenceTextBlock_a39a6278-82dc-44d4-85ad-68003a908da3" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_50ec9af9-2c1c-42da-a0db-6c942f99ed6d" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_EntityCentralIndexKey_50ec9af9-2c1c-42da-a0db-6c942f99ed6d" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_f599a05b-39e1-481d-99dd-a8d0128c0865" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentFiscalYearFocus_f599a05b-39e1-481d-99dd-a8d0128c0865" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_62bcd0dc-8669-4a52-8994-dc2c8b37f240" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentFiscalPeriodFocus_62bcd0dc-8669-4a52-8994-dc2c8b37f240" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_8ffdb59f-4e9f-4613-abea-d7dca154b6ba" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_AmendmentFlag_8ffdb59f-4e9f-4613-abea-d7dca154b6ba" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_1fdbdeac-e11d-477a-9292-d685ee19b6ef" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_50a98cb9-5e57-44c4-9280-094ccc61845f" xlink:to="loc_dei_DocumentInformationTable_1fdbdeac-e11d-477a-9292-d685ee19b6ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_d64631c7-05eb-40ea-86c2-5b63067f718f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_1fdbdeac-e11d-477a-9292-d685ee19b6ef" xlink:to="loc_us-gaap_StatementClassOfStockAxis_d64631c7-05eb-40ea-86c2-5b63067f718f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_d64631c7-05eb-40ea-86c2-5b63067f718f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_d64631c7-05eb-40ea-86c2-5b63067f718f" xlink:to="loc_us-gaap_ClassOfStockDomain_d64631c7-05eb-40ea-86c2-5b63067f718f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_46e503d9-b14c-42ae-8eaa-fd36660d5122" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_d64631c7-05eb-40ea-86c2-5b63067f718f" xlink:to="loc_us-gaap_ClassOfStockDomain_46e503d9-b14c-42ae-8eaa-fd36660d5122" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_b3d2b713-b1bf-4a3f-931c-e1230ed92c2d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_46e503d9-b14c-42ae-8eaa-fd36660d5122" xlink:to="loc_us-gaap_CommonClassAMember_b3d2b713-b1bf-4a3f-931c-e1230ed92c2d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_6ab8d8c3-4f11-4904-adc9-18726676333b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_46e503d9-b14c-42ae-8eaa-fd36660d5122" xlink:to="loc_us-gaap_CommonClassBMember_6ab8d8c3-4f11-4904-adc9-18726676333b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedBalanceSheets" xlink:type="extended" id="i44fae5b0c84448bc93b2b29f8e7436e2_ConsolidatedBalanceSheets">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_39e88274-6b5e-457c-a00a-d5f2d195016b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_39e88274-6b5e-457c-a00a-d5f2d195016b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_fc15d74e-56fa-49b7-b510-21418ba3339d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_fc15d74e-56fa-49b7-b510-21418ba3339d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_5bf0dbf6-e9e8-4af1-93bc-376ae545cedc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_5bf0dbf6-e9e8-4af1-93bc-376ae545cedc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a9f71801-7924-4335-81f4-ef5248d35350" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_a9f71801-7924-4335-81f4-ef5248d35350" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_40680689-eac9-4c77-b617-448386fec74c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_503bb5f3-16a4-47c6-8391-a2e15475507e" xlink:to="loc_us-gaap_AssetsCurrent_40680689-eac9-4c77-b617-448386fec74c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_e4c51396-9774-4239-938b-d5af12080b0b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_e4c51396-9774-4239-938b-d5af12080b0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_5ea31a82-c1aa-4a29-aac1-906a1c395721" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_5ea31a82-c1aa-4a29-aac1-906a1c395721" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_dffeac8f-a03f-4ea1-bd1c-6112c636a8fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_dffeac8f-a03f-4ea1-bd1c-6112c636a8fd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_14e2311c-dcf0-4db7-8660-4a262f0a742e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedComputerSoftwareNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_14e2311c-dcf0-4db7-8660-4a262f0a742e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_8e93095f-a899-466b-9c5a-5b5f1630e4d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_Goodwill_8e93095f-a899-466b-9c5a-5b5f1630e4d1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_e9a7b9ef-cf11-45df-88c3-493968dd82da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_e9a7b9ef-cf11-45df-88c3-493968dd82da" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_f78ef3c2-d4f8-4a59-bfa1-4fbb0d869d45" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_f78ef3c2-d4f8-4a59-bfa1-4fbb0d869d45" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9212e399-00c6-4245-a10f-970221c4388f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9212e399-00c6-4245-a10f-970221c4388f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_52b9a62e-9d6f-4ab0-b2b3-948675672596" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_8917ff63-f7be-4af0-b3ed-f4dc0700fd35" xlink:to="loc_us-gaap_Assets_52b9a62e-9d6f-4ab0-b2b3-948675672596" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_38a84d1c-d25a-4a36-8cc4-131ec86c2807" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_AccountsPayableCurrent_38a84d1c-d25a-4a36-8cc4-131ec86c2807" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_b887fc2e-89aa-4b50-9627-f11ab05d8049" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_b887fc2e-89aa-4b50-9627-f11ab05d8049" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_0d23324e-5db6-4987-9f2e-060282785e62" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_0d23324e-5db6-4987-9f2e-060282785e62" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c8274f0d-4a40-40c0-bd5e-59a83605b958" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c8274f0d-4a40-40c0-bd5e-59a83605b958" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_2ea8984c-c1c5-4d1c-aa09-84e0136bf24e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_TaxesPayableCurrent_2ea8984c-c1c5-4d1c-aa09-84e0136bf24e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_879feb22-43cc-44f2-8bc9-e9beb4507a3a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_879feb22-43cc-44f2-8bc9-e9beb4507a3a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_82bdc2da-7cb2-4d8b-9868-6956e81aebf1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_LongTermDebtCurrent_82bdc2da-7cb2-4d8b-9868-6956e81aebf1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_18b9deaf-01ed-4db3-a2d6-44f4af0dfdd2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_032bc17e-6335-4092-abc1-2c2a98b6bc97" xlink:to="loc_us-gaap_LiabilitiesCurrent_18b9deaf-01ed-4db3-a2d6-44f4af0dfdd2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_944cbf05-9c5f-4359-a37c-627d85df44ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_944cbf05-9c5f-4359-a37c-627d85df44ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_b7fc0cfa-0c2c-4b3a-b322-e1a825bb83e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_SecuredLongTermDebt_b7fc0cfa-0c2c-4b3a-b322-e1a825bb83e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5b6c6fa8-5e52-4aa3-a9a7-c7a2f9f4c191" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5b6c6fa8-5e52-4aa3-a9a7-c7a2f9f4c191" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5af080a0-98f0-4168-a951-d6a4589db4d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_Liabilities_5af080a0-98f0-4168-a951-d6a4589db4d4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_bdf4e9fa-a7db-405d-b3f1-995191931c6b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_CommitmentsAndContingencies_bdf4e9fa-a7db-405d-b3f1-995191931c6b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_208a60a8-f4c0-4408-ba3d-702a86d0c8c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_PreferredStockValue_208a60a8-f4c0-4408-ba3d-702a86d0c8c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d3315591-86d8-4129-b512-edf350db683d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_CommonStockValue_d3315591-86d8-4129-b512-edf350db683d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_2cd1eac7-efb4-468e-95dc-f99affdab81a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_AdditionalPaidInCapital_2cd1eac7-efb4-468e-95dc-f99affdab81a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0a344fdc-b953-40a7-b4d6-363430a819e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0a344fdc-b953-40a7-b4d6-363430a819e1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_43b83c4f-b08c-42d9-ae1a-a7776589e535" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_TreasuryStockValue_43b83c4f-b08c-42d9-ae1a-a7776589e535" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_87a11a9b-42f5-4ba8-bfda-551005d7b39d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_87a11a9b-42f5-4ba8-bfda-551005d7b39d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bfc27da7-8d71-44a2-bb0f-eb2681bc8282" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_a286a601-ab95-4e70-97af-cfd1e7b3c698" xlink:to="loc_us-gaap_StockholdersEquity_bfc27da7-8d71-44a2-bb0f-eb2681bc8282" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_ffafd5cf-3c41-475a-9d54-30a92f5b81c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_1e33c7ca-c180-4c4a-a063-f8132a19352f" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_ffafd5cf-3c41-475a-9d54-30a92f5b81c1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_e1d5395f-b5a4-46eb-a6bc-912b8cfac76f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_e1d5395f-b5a4-46eb-a6bc-912b8cfac76f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_48e28ce6-8012-44a5-8beb-8b04a5366c8b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_48e28ce6-8012-44a5-8beb-8b04a5366c8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_430fb47f-d761-4055-a148-75ca3721db31" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_PreferredStockSharesIssued_430fb47f-d761-4055-a148-75ca3721db31" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_22404db2-89f7-489d-bf26-bb0f0e320ba8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_22404db2-89f7-489d-bf26-bb0f0e320ba8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_63091d3b-4f1a-486a-a93c-50909187c06d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_63091d3b-4f1a-486a-a93c-50909187c06d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_09135f19-58a7-4087-a615-577009e5c013" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_09135f19-58a7-4087-a615-577009e5c013" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_06b6c7d0-0ece-4ac9-887f-e0c65621acd9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_CommonStockSharesIssued_06b6c7d0-0ece-4ac9-887f-e0c65621acd9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_eb8f89f7-205c-40fa-b78e-3884da121a6a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_eb8f89f7-205c-40fa-b78e-3884da121a6a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockShares_8f514d23-4e3b-4009-9e40-0ae8eb87ab20" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_TreasuryStockShares_8f514d23-4e3b-4009-9e40-0ae8eb87ab20" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_0a63e0b0-7a0e-4342-b7b9-7156262339b3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_d3153515-ece7-4928-b25c-261113153786" xlink:to="loc_us-gaap_StatementTable_0a63e0b0-7a0e-4342-b7b9-7156262339b3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c485a9b3-ba63-463e-b895-ca4ea06ef890" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0a63e0b0-7a0e-4342-b7b9-7156262339b3" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c485a9b3-ba63-463e-b895-ca4ea06ef890" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c485a9b3-ba63-463e-b895-ca4ea06ef890_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c485a9b3-ba63-463e-b895-ca4ea06ef890" xlink:to="loc_us-gaap_ClassOfStockDomain_c485a9b3-ba63-463e-b895-ca4ea06ef890_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_76eb6784-0824-43cc-8806-69325e7402e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c485a9b3-ba63-463e-b895-ca4ea06ef890" xlink:to="loc_us-gaap_ClassOfStockDomain_76eb6784-0824-43cc-8806-69325e7402e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_2d2b0459-256e-491d-a24c-0424c62b69ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_76eb6784-0824-43cc-8806-69325e7402e2" xlink:to="loc_us-gaap_CommonClassAMember_2d2b0459-256e-491d-a24c-0424c62b69ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_e14b367f-1f3d-42b9-81e1-2ebaa5262dc9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_76eb6784-0824-43cc-8806-69325e7402e2" xlink:to="loc_us-gaap_CommonClassBMember_e14b367f-1f3d-42b9-81e1-2ebaa5262dc9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" id="if85ec2bb44c3460685463a07f67af2f4_ConsolidatedBalanceSheetsParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_72720601-9986-458d-a574-204ee013fc5b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_72720601-9986-458d-a574-204ee013fc5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_683a8cae-6fa5-4999-954e-21745676667a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_683a8cae-6fa5-4999-954e-21745676667a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_304f2954-bcb4-47cc-85af-41c1419f4258" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_PreferredStockSharesIssued_304f2954-bcb4-47cc-85af-41c1419f4258" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_99d29075-f1fc-450e-9f13-a3cab77726b5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_99d29075-f1fc-450e-9f13-a3cab77726b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_f388b821-21b5-46a9-bdfa-60cab7ca0bcc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_f388b821-21b5-46a9-bdfa-60cab7ca0bcc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_62f32698-fde1-40c8-9bd8-e2aecd32fca0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_62f32698-fde1-40c8-9bd8-e2aecd32fca0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_cca0811a-2656-44f0-a620-b785dc3f379c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_CommonStockSharesIssued_cca0811a-2656-44f0-a620-b785dc3f379c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_7c9eb3d7-cb70-4dab-a945-7ea407621b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_7c9eb3d7-cb70-4dab-a945-7ea407621b2b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockShares_5590b604-8e2f-468f-8e32-ab88f669ae83" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_TreasuryStockShares_5590b604-8e2f-468f-8e32-ab88f669ae83" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_46202890-92ad-417a-9ca3-363f6e2f9280" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_c5298a3a-6cea-48f6-8ae9-0102aafe4ccc" xlink:to="loc_us-gaap_StatementTable_46202890-92ad-417a-9ca3-363f6e2f9280" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_cf126385-8465-4449-8f66-6d7700bbc7fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_46202890-92ad-417a-9ca3-363f6e2f9280" xlink:to="loc_us-gaap_StatementClassOfStockAxis_cf126385-8465-4449-8f66-6d7700bbc7fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cf126385-8465-4449-8f66-6d7700bbc7fd_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cf126385-8465-4449-8f66-6d7700bbc7fd" xlink:to="loc_us-gaap_ClassOfStockDomain_cf126385-8465-4449-8f66-6d7700bbc7fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7a15628b-475e-42a6-8f6d-bd572c98e474" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cf126385-8465-4449-8f66-6d7700bbc7fd" xlink:to="loc_us-gaap_ClassOfStockDomain_7a15628b-475e-42a6-8f6d-bd572c98e474" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_8c6098e7-fb1a-465c-a7fa-b6614886d3ab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7a15628b-475e-42a6-8f6d-bd572c98e474" xlink:to="loc_us-gaap_CommonClassAMember_8c6098e7-fb1a-465c-a7fa-b6614886d3ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_266b3cf4-7aa3-44f5-97b2-127ad84abd1f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7a15628b-475e-42a6-8f6d-bd572c98e474" xlink:to="loc_us-gaap_CommonClassBMember_266b3cf4-7aa3-44f5-97b2-127ad84abd1f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedStatementsofOperations" xlink:type="extended" id="i165884af81df4a38888e1311a2a538e5_ConsolidatedStatementsofOperations"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended" id="id8f27a0e39364f4fb73fa6dc6e63d17a_ConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedStatementsofStockholdersEquityDeficit" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedStatementsofStockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedStatementsofStockholdersEquityDeficit" xlink:type="extended" id="iaaeecb190d9242069a25a3210f7d3b68_ConsolidatedStatementsofStockholdersEquityDeficit">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_fbec78cc-647b-44e5-9cd1-e36252329535" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_fbec78cc-647b-44e5-9cd1-e36252329535" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_9d8d3c35-373d-4146-a43f-9d4b68ef61b6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_SharesOutstanding_9d8d3c35-373d-4146-a43f-9d4b68ef61b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4e6d166c-90a9-4c3f-9dd8-bb4344296aff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockholdersEquity_4e6d166c-90a9-4c3f-9dd8-bb4344296aff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7d11673d-e403-4a69-9ef0-b9c65dd5831a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7d11673d-e403-4a69-9ef0-b9c65dd5831a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_7d5fa515-db65-4cd3-9c6a-281d29748e0e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_7d5fa515-db65-4cd3-9c6a-281d29748e0e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_ef160174-3e41-4d2b-af5e-437e1892afcc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_ef160174-3e41-4d2b-af5e-437e1892afcc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings_20ccd02e-2b27-4844-a987-a051a0ad6233" xlink:href="appf-20201231.xsd#appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_appf_RestrictedStockUnitsSharesIssuedNetOfSharesForTaxWithholdings_20ccd02e-2b27-4844-a987-a051a0ad6233" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings_be4a0e39-b9c7-44d0-9bed-48c83ac92ac6" xlink:href="appf-20201231.xsd#appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_appf_RestrictedStockUnitsValueSharesIssuedNetOfTaxWithholdings_be4a0e39-b9c7-44d0-9bed-48c83ac92ac6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_81eda0ff-3762-46e5-befe-cbeca3984dc9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_81eda0ff-3762-46e5-befe-cbeca3984dc9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockSharesConverted1_52d1593b-533a-4434-b389-49e3af184011" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConversionOfStockSharesConverted1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_ConversionOfStockSharesConverted1_52d1593b-533a-4434-b389-49e3af184011" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockAmountConverted1_c7036929-634b-4e10-aa01-d3bea324ec83" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConversionOfStockAmountConverted1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_ConversionOfStockAmountConverted1_c7036929-634b-4e10-aa01-d3bea324ec83" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_721c26c5-dd6b-4271-bcd0-206d63a1b180" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_721c26c5-dd6b-4271-bcd0-206d63a1b180" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_52ecf01b-f8cb-4635-be49-1a2c445791cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_52ecf01b-f8cb-4635-be49-1a2c445791cb" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_188954ba-1a85-44f0-b013-b7373d78e154" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_188954ba-1a85-44f0-b013-b7373d78e154" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_914eb907-0a99-4de8-b978-f77b66f0a4c5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_914eb907-0a99-4de8-b978-f77b66f0a4c5" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_7070f002-9eb1-4f27-88e4-3cd3db384ece" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_7070f002-9eb1-4f27-88e4-3cd3db384ece" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdateExtensibleList_7da8060c-a63a-440a-9324-911637afab75" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdateExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_AccountingStandardsUpdateExtensibleList_7da8060c-a63a-440a-9324-911637afab75" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e66a4c7e-c0cc-4244-a5a2-f72e0e3c3f84" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_3100157a-3b38-4c29-8694-e39603d70083" xlink:to="loc_us-gaap_NetIncomeLoss_e66a4c7e-c0cc-4244-a5a2-f72e0e3c3f84" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_a9e5ca1f-c56a-4295-b605-f15cd6a88ce8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_fda1f920-9757-414c-8fda-bfcd956c4289" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_5583b1f2-87bf-416b-925c-3d3ae6ff3c15" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_fbec78cc-647b-44e5-9cd1-e36252329535" xlink:to="loc_us-gaap_StatementTable_5583b1f2-87bf-416b-925c-3d3ae6ff3c15" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_67f10ff0-446a-4fb5-bb80-8693119dc530" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5583b1f2-87bf-416b-925c-3d3ae6ff3c15" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_67f10ff0-446a-4fb5-bb80-8693119dc530" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_67f10ff0-446a-4fb5-bb80-8693119dc530_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_67f10ff0-446a-4fb5-bb80-8693119dc530" xlink:to="loc_us-gaap_EquityComponentDomain_67f10ff0-446a-4fb5-bb80-8693119dc530_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_67f10ff0-446a-4fb5-bb80-8693119dc530" xlink:to="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_477bcdee-6ad4-4d74-b2f8-3975e840786a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:to="loc_us-gaap_CommonStockMember_477bcdee-6ad4-4d74-b2f8-3975e840786a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_14538369-aeb9-4dbd-849d-0e67812b7e90" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_14538369-aeb9-4dbd-849d-0e67812b7e90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_00f547ae-a0ce-4ff1-9545-4124a491e7ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_00f547ae-a0ce-4ff1-9545-4124a491e7ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockMember_7c54b1a7-50de-4862-902b-cdcb1c15bf42" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:to="loc_us-gaap_TreasuryStockMember_7c54b1a7-50de-4862-902b-cdcb1c15bf42" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_b2df796e-8a6c-4e3c-92e8-3d480d0de8a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_fdcf459b-a7da-45b6-9a65-a27f403ac83c" xlink:to="loc_us-gaap_RetainedEarningsMember_b2df796e-8a6c-4e3c-92e8-3d480d0de8a4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_636a60c6-2f1f-4ca7-bb96-e2e16579daa0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5583b1f2-87bf-416b-925c-3d3ae6ff3c15" xlink:to="loc_us-gaap_StatementClassOfStockAxis_636a60c6-2f1f-4ca7-bb96-e2e16579daa0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_636a60c6-2f1f-4ca7-bb96-e2e16579daa0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_636a60c6-2f1f-4ca7-bb96-e2e16579daa0" xlink:to="loc_us-gaap_ClassOfStockDomain_636a60c6-2f1f-4ca7-bb96-e2e16579daa0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_3a56e94d-5219-4766-91bd-1e7b27513269" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_636a60c6-2f1f-4ca7-bb96-e2e16579daa0" xlink:to="loc_us-gaap_ClassOfStockDomain_3a56e94d-5219-4766-91bd-1e7b27513269" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_8a84415f-5a3f-40b3-85fc-e20b28c7226a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3a56e94d-5219-4766-91bd-1e7b27513269" xlink:to="loc_us-gaap_CommonClassAMember_8a84415f-5a3f-40b3-85fc-e20b28c7226a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_bf438bbc-e293-49ee-a59f-366b3d5b825c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3a56e94d-5219-4766-91bd-1e7b27513269" xlink:to="loc_us-gaap_CommonClassBMember_bf438bbc-e293-49ee-a59f-366b3d5b825c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9c84cf74-beed-424a-846c-203194f386ed" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5583b1f2-87bf-416b-925c-3d3ae6ff3c15" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9c84cf74-beed-424a-846c-203194f386ed" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9c84cf74-beed-424a-846c-203194f386ed_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9c84cf74-beed-424a-846c-203194f386ed" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_9c84cf74-beed-424a-846c-203194f386ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_c12f46be-60ce-4635-91bc-71542530915d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_9c84cf74-beed-424a-846c-203194f386ed" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_c12f46be-60ce-4635-91bc-71542530915d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_32f9e407-0554-4620-983b-489a6077fb51" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_c12f46be-60ce-4635-91bc-71542530915d" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_32f9e407-0554-4620-983b-489a6077fb51" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended" id="i27380b4523eb45d0b057c72ad7f050fe_ConsolidatedStatementsofCashFlows"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/ConsolidatedStatementsofCashFlowsReconciliation" xlink:type="simple" xlink:href="appf-20201231.xsd#ConsolidatedStatementsofCashFlowsReconciliation"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/ConsolidatedStatementsofCashFlowsReconciliation" xlink:type="extended" id="i99cc5b0a6ffc4271b484f641f56b4e78_ConsolidatedStatementsofCashFlowsReconciliation"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/NatureofBusiness" xlink:type="simple" xlink:href="appf-20201231.xsd#NatureofBusiness"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/NatureofBusiness" xlink:type="extended" id="i20b6ec2742a64b9983c8d680eb1a0f2a_NatureofBusiness"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/NatureofBusinessDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#NatureofBusinessDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/NatureofBusinessDetails" xlink:type="extended" id="i7564fbe772474ebe9205c6e4a4ec786e_NatureofBusinessDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3a2e58dd-6093-4de7-9364-71a13bc9e8ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3a2e58dd-6093-4de7-9364-71a13bc9e8ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DisposalGroupIncludingDiscontinuedOperationOwnershipPercentageInDisposedSubsidiary_11418a8a-9906-4741-b6e9-14759a787d1f" xlink:href="appf-20201231.xsd#appf_DisposalGroupIncludingDiscontinuedOperationOwnershipPercentageInDisposedSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:to="loc_appf_DisposalGroupIncludingDiscontinuedOperationOwnershipPercentageInDisposedSubsidiary_11418a8a-9906-4741-b6e9-14759a787d1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_da169533-8bf0-406a-a7ef-830d340231eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_da169533-8bf0-406a-a7ef-830d340231eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax_ee21adaa-2d85-493d-8957-d33cf9001e4e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax_ee21adaa-2d85-493d-8957-d33cf9001e4e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_125f3081-906b-434b-aee2-d81c1a844c9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_6b6461b7-7727-450f-baa4-cb07f79de574" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_125f3081-906b-434b-aee2-d81c1a844c9e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_dcbe69f7-6516-42a7-a863-134cc84375f6" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_125f3081-906b-434b-aee2-d81c1a844c9e" xlink:to="loc_srt_ProductOrServiceAxis_dcbe69f7-6516-42a7-a863-134cc84375f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_dcbe69f7-6516-42a7-a863-134cc84375f6_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_dcbe69f7-6516-42a7-a863-134cc84375f6" xlink:to="loc_srt_ProductsAndServicesDomain_dcbe69f7-6516-42a7-a863-134cc84375f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_a2737ba4-400d-401a-852f-6a3846b8dd3a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_dcbe69f7-6516-42a7-a863-134cc84375f6" xlink:to="loc_srt_ProductsAndServicesDomain_a2737ba4-400d-401a-852f-6a3846b8dd3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_SoftwareAndServicesOfferedToRealEstateVerticalMember_05901773-c515-41bd-9229-5627e5cbb39a" xlink:href="appf-20201231.xsd#appf_SoftwareAndServicesOfferedToRealEstateVerticalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_a2737ba4-400d-401a-852f-6a3846b8dd3a" xlink:to="loc_appf_SoftwareAndServicesOfferedToRealEstateVerticalMember_05901773-c515-41bd-9229-5627e5cbb39a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_de7458a7-23e8-4ed4-8f44-113151c86cc3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_125f3081-906b-434b-aee2-d81c1a844c9e" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_de7458a7-23e8-4ed4-8f44-113151c86cc3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_de7458a7-23e8-4ed4-8f44-113151c86cc3_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_de7458a7-23e8-4ed4-8f44-113151c86cc3" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_de7458a7-23e8-4ed4-8f44-113151c86cc3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_18d65305-3cd4-405e-9d41-e6c92e595508" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_de7458a7-23e8-4ed4-8f44-113151c86cc3" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_18d65305-3cd4-405e-9d41-e6c92e595508" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_ac9b8c39-37b0-4072-b3fb-9acfbe1700bf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_18d65305-3cd4-405e-9d41-e6c92e595508" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_ac9b8c39-37b0-4072-b3fb-9acfbe1700bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_252419e5-9f5e-4716-8fc8-39088c6e56c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_125f3081-906b-434b-aee2-d81c1a844c9e" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_252419e5-9f5e-4716-8fc8-39088c6e56c1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_252419e5-9f5e-4716-8fc8-39088c6e56c1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_252419e5-9f5e-4716-8fc8-39088c6e56c1" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_252419e5-9f5e-4716-8fc8-39088c6e56c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_26b447aa-5f27-41c8-b365-60c797bdf2f4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_252419e5-9f5e-4716-8fc8-39088c6e56c1" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_26b447aa-5f27-41c8-b365-60c797bdf2f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_MyCaseMember_3a223f7e-c9dd-48b4-8184-52ed263a884a" xlink:href="appf-20201231.xsd#appf_MyCaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_26b447aa-5f27-41c8-b365-60c797bdf2f4" xlink:to="loc_appf_MyCaseMember_3a223f7e-c9dd-48b4-8184-52ed263a884a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended" id="i385368fa4acd4398a348e239fe7b3177_SummaryofSignificantAccountingPolicies"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended" id="i6a1abb8e35fb4a2c9f2e443740c169b7_SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="extended" id="ice0848ffb9b047bfa07af2642cad0c3d_SummaryofSignificantAccountingPoliciesTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended" id="i7d8f02cf51ea4d70aa447c2221295c37_SummaryofSignificantAccountingPoliciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_0a2ded1c-982b-4d69-8400-434c621586e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_NumberOfOperatingSegments_0a2ded1c-982b-4d69-8400-434c621586e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_823eb230-fec4-4f44-89fb-35495996486c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_NumberOfReportableSegments_823eb230-fec4-4f44-89fb-35495996486c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_82596b8c-9ff3-4d9e-ac91-815fa4df2b32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_82596b8c-9ff3-4d9e-ac91-815fa4df2b32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_61bddbe4-2a16-40f4-bfcb-3bf7afc13909" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_61bddbe4-2a16-40f4-bfcb-3bf7afc13909" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5497f793-a4aa-4da2-83ed-1a4bc5e7ba93" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5497f793-a4aa-4da2-83ed-1a4bc5e7ba93" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportingUnits_cf10a206-d61a-4c8e-89ea-953e0908116a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfReportingUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_NumberOfReportingUnits_cf10a206-d61a-4c8e-89ea-953e0908116a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLossNetOfTax_04b60b17-1582-4bea-8553-5dc1635a964b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillImpairmentLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_GoodwillImpairmentLossNetOfTax_04b60b17-1582-4bea-8553-5dc1635a964b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_e0f662c6-ecc2-438d-87c9-a9222d60c58d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_e0f662c6-ecc2-438d-87c9-a9222d60c58d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_ContractTermSubscriptionAgreement_774a3a6a-04cb-4068-8c13-38b2ef76975e" xlink:href="appf-20201231.xsd#appf_ContractTermSubscriptionAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_appf_ContractTermSubscriptionAgreement_774a3a6a-04cb-4068-8c13-38b2ef76975e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_ca440916-1409-4156-980f-c44f1d151c99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_ca440916-1409-4156-980f-c44f1d151c99" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortizationPeriod_11353676-af08-492a-b50b-6ee887cc35ee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostAmortizationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_CapitalizedContractCostAmortizationPeriod_11353676-af08-492a-b50b-6ee887cc35ee" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNet_d935c0f0-df2a-44bf-997c-4486d4292c62" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_CapitalizedContractCostNet_d935c0f0-df2a-44bf-997c-4486d4292c62" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNetCurrent_23a0a305-6ee8-4324-a409-41ee3bf47b4f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_CapitalizedContractCostNetCurrent_23a0a305-6ee8-4324-a409-41ee3bf47b4f" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNetNoncurrent_548a379f-7970-4fcb-9cdc-8f99c1a9b838" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostNetNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_CapitalizedContractCostNetNoncurrent_548a379f-7970-4fcb-9cdc-8f99c1a9b838" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_b57ef8fb-7b17-45de-8453-6b9d2d54af54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_b57ef8fb-7b17-45de-8453-6b9d2d54af54" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_007b0ecf-d1e4-49a5-a951-25e7ecc15a41" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_AdvertisingExpense_007b0ecf-d1e4-49a5-a951-25e7ecc15a41" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_8619c45f-248e-45c0-99d5-f132c10b5f9f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_8619c45f-248e-45c0-99d5-f132c10b5f9f" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_77aa9f39-48ab-4946-877a-7406d629328b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_77aa9f39-48ab-4946-877a-7406d629328b" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_73a82bb9-4ae0-4587-b086-2a916b0d9850" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_eb4875c9-0f8d-48c5-b47b-39fa9b5a7e0d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_20fcb4e9-cb2b-4ed2-a769-c7a82137e80d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_eb4875c9-0f8d-48c5-b47b-39fa9b5a7e0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_b6ab095e-6f77-40f5-95bd-2435d017d678" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_eb4875c9-0f8d-48c5-b47b-39fa9b5a7e0d" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_b6ab095e-6f77-40f5-95bd-2435d017d678" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillMember_110044b3-84d4-49b4-a146-961954c60904" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_eb4875c9-0f8d-48c5-b47b-39fa9b5a7e0d" xlink:to="loc_us-gaap_GoodwillMember_110044b3-84d4-49b4-a146-961954c60904" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e8a109a1-55cf-41c9-b5dd-ecce14df85cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e8a109a1-55cf-41c9-b5dd-ecce14df85cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e8a109a1-55cf-41c9-b5dd-ecce14df85cb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e8a109a1-55cf-41c9-b5dd-ecce14df85cb" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e8a109a1-55cf-41c9-b5dd-ecce14df85cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4c3f1de9-cb47-40c0-9176-5ff445e6cb7d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e8a109a1-55cf-41c9-b5dd-ecce14df85cb" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4c3f1de9-cb47-40c0-9176-5ff445e6cb7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_37653aab-0fee-4cd9-a2e3-8a778da80754" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_4c3f1de9-cb47-40c0-9176-5ff445e6cb7d" xlink:to="loc_us-gaap_PerformanceSharesMember_37653aab-0fee-4cd9-a2e3-8a778da80754" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_550a16e3-1ae4-4821-99c4-ab436b85f6c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:to="loc_us-gaap_AwardTypeAxis_550a16e3-1ae4-4821-99c4-ab436b85f6c9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_550a16e3-1ae4-4821-99c4-ab436b85f6c9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_550a16e3-1ae4-4821-99c4-ab436b85f6c9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_550a16e3-1ae4-4821-99c4-ab436b85f6c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2fd5d409-2702-4166-9330-cfc95db46549" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_550a16e3-1ae4-4821-99c4-ab436b85f6c9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2fd5d409-2702-4166-9330-cfc95db46549" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2fab3e42-dada-479f-8158-d31fbb97f1ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2fd5d409-2702-4166-9330-cfc95db46549" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2fab3e42-dada-479f-8158-d31fbb97f1ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_66fe49f3-3beb-4a9c-a4a0-2cd70e6ce047" xlink:to="loc_srt_RangeAxis_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a" xlink:to="loc_srt_RangeMember_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ba1f2419-1587-4b19-903f-9f82261b254b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9f74caa4-07e1-4e4d-a9ec-44c5f8baf49a" xlink:to="loc_srt_RangeMember_ba1f2419-1587-4b19-903f-9f82261b254b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_083d3d86-a414-47eb-b17d-d0b1357483b8" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ba1f2419-1587-4b19-903f-9f82261b254b" xlink:to="loc_srt_MinimumMember_083d3d86-a414-47eb-b17d-d0b1357483b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_7ddad158-a8e9-44c1-8ddd-3f0dbd1a18ad" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ba1f2419-1587-4b19-903f-9f82261b254b" xlink:to="loc_srt_MaximumMember_7ddad158-a8e9-44c1-8ddd-3f0dbd1a18ad" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails" xlink:type="extended" id="idf38041db3c54187a1dfc2b61aae0d45_SummaryofSignificantAccountingPoliciesPropertyandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_a6d5575c-f303-47d6-b130-a63db839c918" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f873b431-0e42-442c-8fb2-c29c2329588f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_a6d5575c-f303-47d6-b130-a63db839c918" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f873b431-0e42-442c-8fb2-c29c2329588f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_c4f213d2-4670-42ea-b55f-06e760ba43f3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_a6d5575c-f303-47d6-b130-a63db839c918" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_c4f213d2-4670-42ea-b55f-06e760ba43f3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7de11f2e-3917-4e44-8373-e9dfd97bd0b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_c4f213d2-4670-42ea-b55f-06e760ba43f3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7de11f2e-3917-4e44-8373-e9dfd97bd0b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7de11f2e-3917-4e44-8373-e9dfd97bd0b9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7de11f2e-3917-4e44-8373-e9dfd97bd0b9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7de11f2e-3917-4e44-8373-e9dfd97bd0b9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2e6eb745-3060-40d4-a925-c196e514cd68" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7de11f2e-3917-4e44-8373-e9dfd97bd0b9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2e6eb745-3060-40d4-a925-c196e514cd68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_0eb8c354-4095-4b60-9c6a-3bab465f8442" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2e6eb745-3060-40d4-a925-c196e514cd68" xlink:to="loc_us-gaap_ComputerEquipmentMember_0eb8c354-4095-4b60-9c6a-3bab465f8442" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_c8cba6c4-4711-4e84-8d10-ffcffa74fe95" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2e6eb745-3060-40d4-a925-c196e514cd68" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_c8cba6c4-4711-4e84-8d10-ffcffa74fe95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_9a5f31bd-ec3c-418b-b012-33a2a9f855a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2e6eb745-3060-40d4-a925-c196e514cd68" xlink:to="loc_us-gaap_OfficeEquipmentMember_9a5f31bd-ec3c-418b-b012-33a2a9f855a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a1197efe-43f1-478a-b7ae-0e70614e2f3d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_c4f213d2-4670-42ea-b55f-06e760ba43f3" xlink:to="loc_srt_RangeAxis_a1197efe-43f1-478a-b7ae-0e70614e2f3d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a1197efe-43f1-478a-b7ae-0e70614e2f3d_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a1197efe-43f1-478a-b7ae-0e70614e2f3d" xlink:to="loc_srt_RangeMember_a1197efe-43f1-478a-b7ae-0e70614e2f3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a02e98aa-1c21-4305-a9a5-f0ed9a69f6ea" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a1197efe-43f1-478a-b7ae-0e70614e2f3d" xlink:to="loc_srt_RangeMember_a02e98aa-1c21-4305-a9a5-f0ed9a69f6ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_fe4628d3-0620-4b9c-b443-ab61314d2d1f" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a02e98aa-1c21-4305-a9a5-f0ed9a69f6ea" xlink:to="loc_srt_MinimumMember_fe4628d3-0620-4b9c-b443-ab61314d2d1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_88655645-b13e-4fff-afba-943f90fd0a43" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a02e98aa-1c21-4305-a9a5-f0ed9a69f6ea" xlink:to="loc_srt_MaximumMember_88655645-b13e-4fff-afba-943f90fd0a43" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesNetIncomeperShareScheduleofWeightedAverageNumberofSharesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesNetIncomeperShareScheduleofWeightedAverageNumberofSharesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesNetIncomeperShareScheduleofWeightedAverageNumberofSharesDetails" xlink:type="extended" id="idd5c0386f8884ce1bf5d75267284ad60_SummaryofSignificantAccountingPoliciesNetIncomeperShareScheduleofWeightedAverageNumberofSharesDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201409Details" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201409Details"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201409Details" xlink:type="extended" id="i80055c1578554228b59dee444079d680_SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201409Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_fc1199c0-5f15-4e35-b61b-6b8749d0541c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_90c4c728-646f-4b1f-b1c2-b3ccd736a705" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_fc1199c0-5f15-4e35-b61b-6b8749d0541c" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_90c4c728-646f-4b1f-b1c2-b3ccd736a705" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_8375fad1-bff4-4018-ac15-7f07d0ada8aa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_fc1199c0-5f15-4e35-b61b-6b8749d0541c" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_8375fad1-bff4-4018-ac15-7f07d0ada8aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_36e3a7f6-d53a-4f8f-9862-86615bbd703c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_fc1199c0-5f15-4e35-b61b-6b8749d0541c" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_36e3a7f6-d53a-4f8f-9862-86615bbd703c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_b82be1ce-23b5-4a53-bf94-03c6f0b0f77c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_fc1199c0-5f15-4e35-b61b-6b8749d0541c" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_b82be1ce-23b5-4a53-bf94-03c6f0b0f77c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_5e9228d2-370b-415a-b7fb-7a5f90aa3567" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_b82be1ce-23b5-4a53-bf94-03c6f0b0f77c" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_5e9228d2-370b-415a-b7fb-7a5f90aa3567" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5e9228d2-370b-415a-b7fb-7a5f90aa3567_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_5e9228d2-370b-415a-b7fb-7a5f90aa3567" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_5e9228d2-370b-415a-b7fb-7a5f90aa3567_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_c87897f1-9f21-4ff9-8a7b-566cdcf23e12" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_5e9228d2-370b-415a-b7fb-7a5f90aa3567" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_c87897f1-9f21-4ff9-8a7b-566cdcf23e12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CalculatedUnderRevenueGuidanceInEffectBeforeTopic606Member_83288555-7810-4ae7-b43d-6c810ff16ae7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CalculatedUnderRevenueGuidanceInEffectBeforeTopic606Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_c87897f1-9f21-4ff9-8a7b-566cdcf23e12" xlink:to="loc_us-gaap_CalculatedUnderRevenueGuidanceInEffectBeforeTopic606Member_83288555-7810-4ae7-b43d-6c810ff16ae7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_2c4bf791-585e-49c4-8e4e-cc2d95b4e6fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_c87897f1-9f21-4ff9-8a7b-566cdcf23e12" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_2c4bf791-585e-49c4-8e4e-cc2d95b4e6fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a4fe9aca-eb70-4476-b549-908e469ce24a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_b82be1ce-23b5-4a53-bf94-03c6f0b0f77c" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a4fe9aca-eb70-4476-b549-908e469ce24a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_a4fe9aca-eb70-4476-b549-908e469ce24a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a4fe9aca-eb70-4476-b549-908e469ce24a" xlink:to="loc_us-gaap_TypeOfAdoptionMember_a4fe9aca-eb70-4476-b549-908e469ce24a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_18ad6c40-6f6e-4cbf-8df6-e00d6b7f9ff0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a4fe9aca-eb70-4476-b549-908e469ce24a" xlink:to="loc_us-gaap_TypeOfAdoptionMember_18ad6c40-6f6e-4cbf-8df6-e00d6b7f9ff0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_a2d86e2d-1697-423f-9694-7fc9e1f62548" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_18ad6c40-6f6e-4cbf-8df6-e00d6b7f9ff0" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_a2d86e2d-1697-423f-9694-7fc9e1f62548" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201602Details" xlink:type="simple" xlink:href="appf-20201231.xsd#SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201602Details"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201602Details" xlink:type="extended" id="idaa250a3be88409f8ec77051670c004a_SummaryofSignificantAccountingPoliciesRecentlyAdoptedAccountingPronouncements201602Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_b98d690e-dbc4-41b8-9451-9ff67ce6ce92" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_9803a563-9c1d-4120-aedf-6756cd48cca2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_b98d690e-dbc4-41b8-9451-9ff67ce6ce92" xlink:to="loc_us-gaap_AssetsAbstract_9803a563-9c1d-4120-aedf-6756cd48cca2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e2565043-5614-4a54-87c4-5cbd5265fd2e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_9803a563-9c1d-4120-aedf-6756cd48cca2" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_e2565043-5614-4a54-87c4-5cbd5265fd2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_01c3c344-a5d8-456a-8963-168d140d0f22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_9803a563-9c1d-4120-aedf-6756cd48cca2" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_01c3c344-a5d8-456a-8963-168d140d0f22" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9abf1ddb-3c6c-4424-9488-1634d13b046d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_b98d690e-dbc4-41b8-9451-9ff67ce6ce92" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9abf1ddb-3c6c-4424-9488-1634d13b046d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_025b1633-79bc-4246-8134-79f970604257" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9abf1ddb-3c6c-4424-9488-1634d13b046d" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_025b1633-79bc-4246-8134-79f970604257" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_2f6d24da-a443-43f0-a851-8e0911349f41" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9abf1ddb-3c6c-4424-9488-1634d13b046d" xlink:to="loc_us-gaap_OperatingLeaseLiability_2f6d24da-a443-43f0-a851-8e0911349f41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_999b26fe-ebdb-4681-b56e-34e5cccba9d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9abf1ddb-3c6c-4424-9488-1634d13b046d" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_999b26fe-ebdb-4681-b56e-34e5cccba9d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6103a6f6-f6f8-420e-9ab1-285cd69b4be9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_b98d690e-dbc4-41b8-9451-9ff67ce6ce92" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6103a6f6-f6f8-420e-9ab1-285cd69b4be9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1bb03b9f-7730-435d-8d47-4dd6ace5c535" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_6103a6f6-f6f8-420e-9ab1-285cd69b4be9" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1bb03b9f-7730-435d-8d47-4dd6ace5c535" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_1bb03b9f-7730-435d-8d47-4dd6ace5c535_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1bb03b9f-7730-435d-8d47-4dd6ace5c535" xlink:to="loc_us-gaap_TypeOfAdoptionMember_1bb03b9f-7730-435d-8d47-4dd6ace5c535_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_b3c77a87-c5c7-4342-82ad-1e5ea15d770d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_1bb03b9f-7730-435d-8d47-4dd6ace5c535" xlink:to="loc_us-gaap_TypeOfAdoptionMember_b3c77a87-c5c7-4342-82ad-1e5ea15d770d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_b49ae35c-2acf-402f-a9d8-fd4b235cce5f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_b3c77a87-c5c7-4342-82ad-1e5ea15d770d" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_b49ae35c-2acf-402f-a9d8-fd4b235cce5f" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/DivesturesandBusinessCombinations" xlink:type="simple" xlink:href="appf-20201231.xsd#DivesturesandBusinessCombinations"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/DivesturesandBusinessCombinations" xlink:type="extended" id="ica022525fd504549938a114a4dc4ef4e_DivesturesandBusinessCombinations"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/Tables" xlink:type="simple" xlink:href="appf-20201231.xsd#Tables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/Tables" xlink:type="extended" id="ie067eda01310479fa0bcc2d389465764_Tables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/DivesturesandBusinessCombinationsNarrativeDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#DivesturesandBusinessCombinationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/DivesturesandBusinessCombinationsNarrativeDetails" xlink:type="extended" id="i786149fb0ff544a7b351c3475ef97a5d_DivesturesandBusinessCombinationsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_45c92b27-061b-4c77-9cdd-fcbb1fd1a40c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_45c92b27-061b-4c77-9cdd-fcbb1fd1a40c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries_e548350f-0206-4b94-89ca-0e211034f8e4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries_e548350f-0206-4b94-89ca-0e211034f8e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashDivestitureAmountOfConsiderationReceived1_f01c4911-4407-4368-8a2e-16e61d31bdaa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncashOrPartNoncashDivestitureAmountOfConsiderationReceived1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_NoncashOrPartNoncashDivestitureAmountOfConsiderationReceived1_f01c4911-4407-4368-8a2e-16e61d31bdaa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashDivestedFromDeconsolidation_14c2a005-e3d3-425e-bba4-51c558d1c144" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashDivestedFromDeconsolidation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_CashDivestedFromDeconsolidation_14c2a005-e3d3-425e-bba4-51c558d1c144" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DisposalGroupIncludingDiscontinuedOperationWorkingCapitalAdjustment_352d180d-69d6-4465-ab94-bad31d531ac3" xlink:href="appf-20201231.xsd#appf_DisposalGroupIncludingDiscontinuedOperationWorkingCapitalAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_appf_DisposalGroupIncludingDiscontinuedOperationWorkingCapitalAdjustment_352d180d-69d6-4465-ab94-bad31d531ac3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DisposalGroupIncludingDiscontinuedOperationRetentionPeriod_4fb603eb-0985-48f1-8ae6-478fc9ca5a2e" xlink:href="appf-20201231.xsd#appf_DisposalGroupIncludingDiscontinuedOperationRetentionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_appf_DisposalGroupIncludingDiscontinuedOperationRetentionPeriod_4fb603eb-0985-48f1-8ae6-478fc9ca5a2e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax_ac228b7c-8ca4-4be5-aa41-246af3e4ec45" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax_ac228b7c-8ca4-4be5-aa41-246af3e4ec45" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_2b15caed-d673-4444-b414-38f8ba49810e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_2b15caed-d673-4444-b414-38f8ba49810e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware_4f6f5732-cbfe-4941-9f69-7eeb303719dd" xlink:href="appf-20201231.xsd#appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware_4f6f5732-cbfe-4941-9f69-7eeb303719dd" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredRevenue_d302158d-a574-4949-bfee-5cdfa2a7b97d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredRevenue_d302158d-a574-4949-bfee-5cdfa2a7b97d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1_f6807be0-34f9-436e-9b9b-6be8a48f8315" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1_f6807be0-34f9-436e-9b9b-6be8a48f8315" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_f120411c-3ff9-4cff-91e0-163d8f4e863b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_f120411c-3ff9-4cff-91e0-163d8f4e863b" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_08c94b11-9897-469f-8eb0-5b145e0581ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_08c94b11-9897-469f-8eb0-5b145e0581ac" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_BusinessCombinationConsiderationTotalPriorToAdjustments_d0974fa2-4ff8-473f-8992-5e52773f6334" xlink:href="appf-20201231.xsd#appf_BusinessCombinationConsiderationTotalPriorToAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_appf_BusinessCombinationConsiderationTotalPriorToAdjustments_d0974fa2-4ff8-473f-8992-5e52773f6334" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_BusinessCombinationConsiderationTransferredEscrowAmount_b916024e-72fe-4878-9d5a-58a58ea3130a" xlink:href="appf-20201231.xsd#appf_BusinessCombinationConsiderationTransferredEscrowAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_appf_BusinessCombinationConsiderationTransferredEscrowAmount_b916024e-72fe-4878-9d5a-58a58ea3130a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_f947bfd2-7e1d-4fe3-9438-fd56ae110576" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts_f947bfd2-7e1d-4fe3-9438-fd56ae110576" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3c0d9476-3b21-422f-82a5-605bffd0e031" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_da826518-33af-4b14-8b01-d9f961aa7053" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3c0d9476-3b21-422f-82a5-605bffd0e031" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_4eebd279-83c0-43e9-9278-162b0ae28aec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3c0d9476-3b21-422f-82a5-605bffd0e031" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_4eebd279-83c0-43e9-9278-162b0ae28aec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_4eebd279-83c0-43e9-9278-162b0ae28aec_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_4eebd279-83c0-43e9-9278-162b0ae28aec" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_4eebd279-83c0-43e9-9278-162b0ae28aec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_c381069d-9421-4726-b141-4a14359e28eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_4eebd279-83c0-43e9-9278-162b0ae28aec" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_c381069d-9421-4726-b141-4a14359e28eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_MyCaseMember_a72c4a01-5d15-433d-bdae-37d3b6248d18" xlink:href="appf-20201231.xsd#appf_MyCaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_c381069d-9421-4726-b141-4a14359e28eb" xlink:to="loc_appf_MyCaseMember_a72c4a01-5d15-433d-bdae-37d3b6248d18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_4c8352db-9ec1-4759-9a3c-09c0e7834439" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3c0d9476-3b21-422f-82a5-605bffd0e031" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_4c8352db-9ec1-4759-9a3c-09c0e7834439" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_4c8352db-9ec1-4759-9a3c-09c0e7834439_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_4c8352db-9ec1-4759-9a3c-09c0e7834439" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_4c8352db-9ec1-4759-9a3c-09c0e7834439_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_4ccecd19-0bc0-4e6d-a8b9-a37844c97e0c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_4c8352db-9ec1-4759-9a3c-09c0e7834439" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_4ccecd19-0bc0-4e6d-a8b9-a37844c97e0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_81ea7540-f2af-4872-8853-dc90b3620551" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_4ccecd19-0bc0-4e6d-a8b9-a37844c97e0c" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_81ea7540-f2af-4872-8853-dc90b3620551" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_657d623f-4a77-417b-93ff-921562501ca7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3c0d9476-3b21-422f-82a5-605bffd0e031" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_657d623f-4a77-417b-93ff-921562501ca7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_657d623f-4a77-417b-93ff-921562501ca7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_657d623f-4a77-417b-93ff-921562501ca7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_657d623f-4a77-417b-93ff-921562501ca7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_16de058b-c2a2-4fdd-90ad-b9411b5f781e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_657d623f-4a77-417b-93ff-921562501ca7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_16de058b-c2a2-4fdd-90ad-b9411b5f781e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DynastyMarketplaceInc.Member_f37e481d-78aa-46c5-80c1-843be2fd17b5" xlink:href="appf-20201231.xsd#appf_DynastyMarketplaceInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_16de058b-c2a2-4fdd-90ad-b9411b5f781e" xlink:to="loc_appf_DynastyMarketplaceInc.Member_f37e481d-78aa-46c5-80c1-843be2fd17b5" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsPurchasePriceAllocationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#BusinessCombinationsPurchasePriceAllocationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsPurchasePriceAllocationDetails" xlink:type="extended" id="idd41a24c094248ed972eb18cc87be021_BusinessCombinationsPurchasePriceAllocationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_31c39539-c8d9-4785-a4e9-d47c8c318de1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_31c39539-c8d9-4785-a4e9-d47c8c318de1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5e74b1d0-c98c-43c8-9846-55ad0210f98e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_5e74b1d0-c98c-43c8-9846-55ad0210f98e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_56387b88-c10d-4222-be02-2dd3f3e1a0cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_56387b88-c10d-4222-be02-2dd3f3e1a0cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_d718161b-2c8a-40b6-8dcb-735c37bc4c49" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_Goodwill_d718161b-2c8a-40b6-8dcb-735c37bc4c49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_9bbfbc61-5e21-42f0-b5e1-a1eb96ef2000" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_9bbfbc61-5e21-42f0-b5e1-a1eb96ef2000" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2019df78-85de-4f76-9a2a-03753a480f99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2019df78-85de-4f76-9a2a-03753a480f99" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_70d24b35-1a26-427b-befc-443f586a813b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_70d24b35-1a26-427b-befc-443f586a813b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_4f32f069-4646-46aa-818b-725f292fd289" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_4f32f069-4646-46aa-818b-725f292fd289" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_fd1af01f-9047-4d35-ad3c-52f57c189be8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_fd1af01f-9047-4d35-ad3c-52f57c189be8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_731b5929-020c-4ea6-b4e7-4d9a2f76df88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_731b5929-020c-4ea6-b4e7-4d9a2f76df88" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b255070d-1d32-42c5-9e0e-8fee7150cce0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_c74fcef9-31b2-48fd-88bb-b7a3e31f1ace" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b255070d-1d32-42c5-9e0e-8fee7150cce0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_58d44474-042e-4256-b23b-47a230401e0c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b255070d-1d32-42c5-9e0e-8fee7150cce0" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_58d44474-042e-4256-b23b-47a230401e0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_58d44474-042e-4256-b23b-47a230401e0c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_58d44474-042e-4256-b23b-47a230401e0c" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_58d44474-042e-4256-b23b-47a230401e0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_05686c0d-9d5d-474e-b286-006686645635" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_58d44474-042e-4256-b23b-47a230401e0c" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_05686c0d-9d5d-474e-b286-006686645635" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DynastyMarketplaceInc.Member_b7a72a58-c2d0-4c48-961d-1e9045cf5f31" xlink:href="appf-20201231.xsd#appf_DynastyMarketplaceInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_05686c0d-9d5d-474e-b286-006686645635" xlink:to="loc_appf_DynastyMarketplaceInc.Member_b7a72a58-c2d0-4c48-961d-1e9045cf5f31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_abd5d43b-a14b-47ee-9101-5ec16c0723f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_b255070d-1d32-42c5-9e0e-8fee7150cce0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_abd5d43b-a14b-47ee-9101-5ec16c0723f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_abd5d43b-a14b-47ee-9101-5ec16c0723f2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_abd5d43b-a14b-47ee-9101-5ec16c0723f2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_abd5d43b-a14b-47ee-9101-5ec16c0723f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_abd5d43b-a14b-47ee-9101-5ec16c0723f2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_ea47560a-47ea-487b-9466-57a453d13e1e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_ea47560a-47ea-487b-9466-57a453d13e1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DatabasesMember_e2a39a61-a940-4e81-b879-8a80ba751652" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DatabasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_DatabasesMember_e2a39a61-a940-4e81-b879-8a80ba751652" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_b5d16d41-2be3-4d58-978d-cf229eed13f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_CustomerRelationshipsMember_b5d16d41-2be3-4d58-978d-cf229eed13f0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_68524e38-14b9-4973-b846-7b7ae01adf77" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OrderOrProductionBacklogMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_68524e38-14b9-4973-b846-7b7ae01adf77" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_9277bbac-e355-4123-b023-1a992347c20f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_9277bbac-e355-4123-b023-1a992347c20f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_f97c2674-d111-43df-b419-7fc5d531b438" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b42d118b-e766-4a8a-9a2d-87920bcb47fc" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_f97c2674-d111-43df-b419-7fc5d531b438" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#BusinessCombinationsProFormaInformationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended" id="ic262f6ba63e14779a32d6c628d08ebf5_BusinessCombinationsProFormaInformationDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurements" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurements" xlink:type="extended" id="iaaae9dd7dc0b46b98a852ac22c0e1986_InvestmentSecuritiesandFairValueMeasurements"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsTables" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurementsTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsTables" xlink:type="extended" id="i154437b2c54542d7a8acd30dd6c33258_InvestmentSecuritiesandFairValueMeasurementsTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsInvestmentSecuritiesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurementsInvestmentSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsInvestmentSecuritiesDetails" xlink:type="extended" id="i387f2e98c1cf4d868eca939da6b88d62_InvestmentSecuritiesandFairValueMeasurementsInvestmentSecuritiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_a231aea7-3e22-4c96-a5f9-73ff76b85139" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_a231aea7-3e22-4c96-a5f9-73ff76b85139" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_605fe5bc-b6f4-41e4-bf6d-1383d0b73462" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_605fe5bc-b6f4-41e4-bf6d-1383d0b73462" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_79533496-7805-4af9-8411-25022a5d5056" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_79533496-7805-4af9-8411-25022a5d5056" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_03baf72d-e675-42f2-b03c-25036dd4c8d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_03baf72d-e675-42f2-b03c-25036dd4c8d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_AvailableForSaleSecuritiesMaximumContractualMaturity_eba8acf7-3911-485e-9a8d-c0b585580bd0" xlink:href="appf-20201231.xsd#appf_AvailableForSaleSecuritiesMaximumContractualMaturity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_appf_AvailableForSaleSecuritiesMaximumContractualMaturity_eba8acf7-3911-485e-9a8d-c0b585580bd0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_233f30fe-6433-4683-b4af-a48da8184e59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_233f30fe-6433-4683-b4af-a48da8184e59" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_bcf4c6aa-b781-46d7-8fc1-3b4803568541" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_bcf4c6aa-b781-46d7-8fc1-3b4803568541" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_0470217b-cef5-4549-ad32-2a8000a1dec1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_0470217b-cef5-4549-ad32-2a8000a1dec1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_71836c2c-7c26-4c76-baf2-dd39b2eb263b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_71836c2c-7c26-4c76-baf2-dd39b2eb263b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_b4b664a1-c9a5-4292-9559-c905e5d7346d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_1d06384f-718d-4d6c-96a4-1730e1238d59" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_b4b664a1-c9a5-4292-9559-c905e5d7346d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_b4b664a1-c9a5-4292-9559-c905e5d7346d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d7dd7a48-991d-415c-8620-9518f114ebe9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_a090b756-ff9f-4974-bdc7-47e0f6cd4ce8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d7dd7a48-991d-415c-8620-9518f114ebe9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_1a5b2fba-4121-4b47-922d-85b52c37c3e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateBondSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d7dd7a48-991d-415c-8620-9518f114ebe9" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_1a5b2fba-4121-4b47-922d-85b52c37c3e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_6c45c91e-0658-40c9-9292-9bc30e7f30e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d7dd7a48-991d-415c-8620-9518f114ebe9" xlink:to="loc_us-gaap_AgencySecuritiesMember_6c45c91e-0658-40c9-9292-9bc30e7f30e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_ac9a6a9c-f00c-4c4f-8766-d8e3b3d295ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d7dd7a48-991d-415c-8620-9518f114ebe9" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_ac9a6a9c-f00c-4c4f-8766-d8e3b3d295ce" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsSalesandMaturitiesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurementsSalesandMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsSalesandMaturitiesDetails" xlink:type="extended" id="i69ea72b83cfd4dd2aff34ba6a5278978_InvestmentSecuritiesandFairValueMeasurementsSalesandMaturitiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_11e30b8b-1e62-4554-b78a-dd8bd2576b77" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_11e30b8b-1e62-4554-b78a-dd8bd2576b77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_bcb50f0f-86d7-411d-ab43-4bfe69566b1f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_bcb50f0f-86d7-411d-ab43-4bfe69566b1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_a95bd598-b7e1-47c3-8762-ccfd69136e41" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_a95bd598-b7e1-47c3-8762-ccfd69136e41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_e62543a6-4f0c-4baf-a455-96e211a73e49" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_e62543a6-4f0c-4baf-a455-96e211a73e49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_c178e8d4-5921-4b8f-884c-97f3724f4d37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_39673622-3e3a-4607-af25-a543e2bb3804" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_c178e8d4-5921-4b8f-884c-97f3724f4d37" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_c388f940-0463-4c13-af41-7ceb710c546b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_c178e8d4-5921-4b8f-884c-97f3724f4d37" xlink:to="loc_us-gaap_FinancialInstrumentAxis_c388f940-0463-4c13-af41-7ceb710c546b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c388f940-0463-4c13-af41-7ceb710c546b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c388f940-0463-4c13-af41-7ceb710c546b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c388f940-0463-4c13-af41-7ceb710c546b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa4e8539-fcf8-4a29-abe3-cebd14b54065" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c388f940-0463-4c13-af41-7ceb710c546b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa4e8539-fcf8-4a29-abe3-cebd14b54065" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_a125dd9d-aa43-4781-9045-af441753aaf0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateBondSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa4e8539-fcf8-4a29-abe3-cebd14b54065" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_a125dd9d-aa43-4781-9045-af441753aaf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_226f6e20-f7d0-4fa9-b9b6-dec642e13821" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa4e8539-fcf8-4a29-abe3-cebd14b54065" xlink:to="loc_us-gaap_AgencySecuritiesMember_226f6e20-f7d0-4fa9-b9b6-dec642e13821" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_1f9197ba-1e06-442b-a6de-4d127c3f08d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa4e8539-fcf8-4a29-abe3-cebd14b54065" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_1f9197ba-1e06-442b-a6de-4d127c3f08d2" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsNarrativeDetails" xlink:type="extended" id="ic56df2fc56cd4fb2bd4b9240e2d69da2_InvestmentSecuritiesandFairValueMeasurementsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_1bb9e50f-cdbe-43c8-af42-3ecac18a56bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d61f4ee7-6ca6-4549-ae3c-924d0c6fc1ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_1bb9e50f-cdbe-43c8-af42-3ecac18a56bd" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d61f4ee7-6ca6-4549-ae3c-924d0c6fc1ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_e9aa9733-768d-405f-be2d-1f72ed04567c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_1bb9e50f-cdbe-43c8-af42-3ecac18a56bd" xlink:to="loc_us-gaap_DebtInstrumentFairValue_e9aa9733-768d-405f-be2d-1f72ed04567c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_1bb9e50f-cdbe-43c8-af42-3ecac18a56bd" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f930e87b-8769-41f7-a215-35775e5a6943" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f930e87b-8769-41f7-a215-35775e5a6943" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f930e87b-8769-41f7-a215-35775e5a6943_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f930e87b-8769-41f7-a215-35775e5a6943" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f930e87b-8769-41f7-a215-35775e5a6943_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ac0fcb68-4006-4421-b3d2-a39f7b24b3ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f930e87b-8769-41f7-a215-35775e5a6943" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ac0fcb68-4006-4421-b3d2-a39f7b24b3ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_a6c86b76-6511-40da-8a07-defa7407b45a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ac0fcb68-4006-4421-b3d2-a39f7b24b3ba" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_a6c86b76-6511-40da-8a07-defa7407b45a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_a62ff6ef-d415-4180-8a20-556ab8cab478" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_a62ff6ef-d415-4180-8a20-556ab8cab478" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a62ff6ef-d415-4180-8a20-556ab8cab478_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_a62ff6ef-d415-4180-8a20-556ab8cab478" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_a62ff6ef-d415-4180-8a20-556ab8cab478_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3477a1d4-a973-45c2-971c-255846f51a61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_a62ff6ef-d415-4180-8a20-556ab8cab478" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3477a1d4-a973-45c2-971c-255846f51a61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_511c5db3-4c46-4727-b743-97430883405a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3477a1d4-a973-45c2-971c-255846f51a61" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_511c5db3-4c46-4727-b743-97430883405a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_9b0226dc-74a1-4ca4-a153-c79b233f11c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3477a1d4-a973-45c2-971c-255846f51a61" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_9b0226dc-74a1-4ca4-a153-c79b233f11c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_0b1e7abf-fb4d-4833-80f5-731988bfcb3a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_0b1e7abf-fb4d-4833-80f5-731988bfcb3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0b1e7abf-fb4d-4833-80f5-731988bfcb3a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0b1e7abf-fb4d-4833-80f5-731988bfcb3a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0b1e7abf-fb4d-4833-80f5-731988bfcb3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7826e9e3-7be3-4091-b126-d6d7ca24b1c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0b1e7abf-fb4d-4833-80f5-731988bfcb3a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7826e9e3-7be3-4091-b126-d6d7ca24b1c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_eb8e22cb-203c-472d-be9c-7f122c0cd830" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7826e9e3-7be3-4091-b126-d6d7ca24b1c1" xlink:to="loc_us-gaap_SecuredDebtMember_eb8e22cb-203c-472d-be9c-7f122c0cd830" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_9aa1f113-42bb-4796-be51-2ac344fc220f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7826e9e3-7be3-4091-b126-d6d7ca24b1c1" xlink:to="loc_us-gaap_LineOfCreditMember_9aa1f113-42bb-4796-be51-2ac344fc220f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_57b0ea3d-9e2e-4ad7-b841-693b45c9e889" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6e7569b5-8aa5-4788-9130-91b68462a017" xlink:to="loc_us-gaap_CreditFacilityAxis_57b0ea3d-9e2e-4ad7-b841-693b45c9e889" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_57b0ea3d-9e2e-4ad7-b841-693b45c9e889_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_57b0ea3d-9e2e-4ad7-b841-693b45c9e889" xlink:to="loc_us-gaap_CreditFacilityDomain_57b0ea3d-9e2e-4ad7-b841-693b45c9e889_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_1198a086-6393-4450-a36c-4f0397427682" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_57b0ea3d-9e2e-4ad7-b841-693b45c9e889" xlink:to="loc_us-gaap_CreditFacilityDomain_1198a086-6393-4450-a36c-4f0397427682" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_c8fa904a-41ee-47c7-b9a1-d45b40473270" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_1198a086-6393-4450-a36c-4f0397427682" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_c8fa904a-41ee-47c7-b9a1-d45b40473270" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsFairValueMeasurementsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#InvestmentSecuritiesandFairValueMeasurementsFairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/InvestmentSecuritiesandFairValueMeasurementsFairValueMeasurementsDetails" xlink:type="extended" id="if44a36ced9f044e680c3c689c9ce8291_InvestmentSecuritiesandFairValueMeasurementsFairValueMeasurementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_26b9e05b-37f2-440e-ba8a-5488d07f77c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3a4c5ece-1f04-434b-92cb-fed74c591a94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_26b9e05b-37f2-440e-ba8a-5488d07f77c4" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_3a4c5ece-1f04-434b-92cb-fed74c591a94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d8bd939e-2bf4-4774-869e-e3252d6bfbf7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_26b9e05b-37f2-440e-ba8a-5488d07f77c4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d8bd939e-2bf4-4774-869e-e3252d6bfbf7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_e53c4c63-0cb2-401b-bbe2-4dad23b16d32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_26b9e05b-37f2-440e-ba8a-5488d07f77c4" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_e53c4c63-0cb2-401b-bbe2-4dad23b16d32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_26b9e05b-37f2-440e-ba8a-5488d07f77c4" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6799c21f-6e68-41b6-87e5-655970bfe52a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6799c21f-6e68-41b6-87e5-655970bfe52a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6799c21f-6e68-41b6-87e5-655970bfe52a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6799c21f-6e68-41b6-87e5-655970bfe52a" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6799c21f-6e68-41b6-87e5-655970bfe52a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1a54c906-1e3d-4a3f-9df3-679fc577e840" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_6799c21f-6e68-41b6-87e5-655970bfe52a" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1a54c906-1e3d-4a3f-9df3-679fc577e840" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_020b47f2-dfeb-4ce6-a209-30a892b0a6f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_1a54c906-1e3d-4a3f-9df3-679fc577e840" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_020b47f2-dfeb-4ce6-a209-30a892b0a6f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b97f6e9b-85d6-478b-afad-8221ff7185de" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b97f6e9b-85d6-478b-afad-8221ff7185de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b97f6e9b-85d6-478b-afad-8221ff7185de_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b97f6e9b-85d6-478b-afad-8221ff7185de" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b97f6e9b-85d6-478b-afad-8221ff7185de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_517481db-0c25-4dd6-a26c-55c83b4801da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b97f6e9b-85d6-478b-afad-8221ff7185de" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_517481db-0c25-4dd6-a26c-55c83b4801da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_228bb3a7-744e-416d-94cf-30aeed013a0e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_517481db-0c25-4dd6-a26c-55c83b4801da" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_228bb3a7-744e-416d-94cf-30aeed013a0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_df25a1d1-4b8c-4a23-91d1-fffb7f61358a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_517481db-0c25-4dd6-a26c-55c83b4801da" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_df25a1d1-4b8c-4a23-91d1-fffb7f61358a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_8864facd-e5b5-44fd-836a-452e512faae5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_517481db-0c25-4dd6-a26c-55c83b4801da" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_8864facd-e5b5-44fd-836a-452e512faae5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_facd076a-6375-4ea6-bf87-174d58228806" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_000c6fc9-16ab-4fb5-8b8d-a9ac907b87a2" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_facd076a-6375-4ea6-bf87-174d58228806" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_e729dea9-a5b6-43f7-8c5e-5d5c79006ac7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_facd076a-6375-4ea6-bf87-174d58228806" xlink:to="loc_us-gaap_MoneyMarketFundsMember_e729dea9-a5b6-43f7-8c5e-5d5c79006ac7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_f42dd389-93ba-4d8a-bb6e-af2da0805084" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_facd076a-6375-4ea6-bf87-174d58228806" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_f42dd389-93ba-4d8a-bb6e-af2da0805084" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_10b565c3-24b8-400e-8de0-12e0d270edde" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_37700603-b51c-41b4-91a1-0a5a4189e615" xlink:to="loc_us-gaap_FinancialInstrumentAxis_10b565c3-24b8-400e-8de0-12e0d270edde" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10b565c3-24b8-400e-8de0-12e0d270edde_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_10b565c3-24b8-400e-8de0-12e0d270edde" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10b565c3-24b8-400e-8de0-12e0d270edde_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_34569b4d-bfd9-4d12-b841-425316a48a2c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_10b565c3-24b8-400e-8de0-12e0d270edde" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_34569b4d-bfd9-4d12-b841-425316a48a2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_6e2bf52d-c7df-4fdf-8da4-1068d68d61d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateBondSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_34569b4d-bfd9-4d12-b841-425316a48a2c" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_6e2bf52d-c7df-4fdf-8da4-1068d68d61d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_7f593b82-c849-4ecb-b9f7-d8654ba5e51c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_34569b4d-bfd9-4d12-b841-425316a48a2c" xlink:to="loc_us-gaap_AgencySecuritiesMember_7f593b82-c849-4ecb-b9f7-d8654ba5e51c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_d76c7d7d-835a-4acf-8646-e1ccbd4534af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_34569b4d-bfd9-4d12-b841-425316a48a2c" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_d76c7d7d-835a-4acf-8646-e1ccbd4534af" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/PropertyandEquipmentnet" xlink:type="simple" xlink:href="appf-20201231.xsd#PropertyandEquipmentnet"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/PropertyandEquipmentnet" xlink:type="extended" id="ib03b03c0a0324248b9fbee4dc13f741a_PropertyandEquipmentnet"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/PropertyandEquipmentnetTables" xlink:type="simple" xlink:href="appf-20201231.xsd#PropertyandEquipmentnetTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/PropertyandEquipmentnetTables" xlink:type="extended" id="i2d0557372d5a4105b069cb732d5f36d6_PropertyandEquipmentnetTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/PropertyandEquipmentnetDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#PropertyandEquipmentnetDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/PropertyandEquipmentnetDetails" xlink:type="extended" id="i96ef0f1648344dec961de9cc36b455a9_PropertyandEquipmentnetDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_8e370eb8-43a0-4ceb-ab2a-219646c6b909" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_8e370eb8-43a0-4ceb-ab2a-219646c6b909" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_18363793-fab8-4b47-a299-6b0a7be17d67" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_18363793-fab8-4b47-a299-6b0a7be17d67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_27914453-f2d8-4a7b-9d7e-b8d8e5592e9f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_27914453-f2d8-4a7b-9d7e-b8d8e5592e9f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_b2d2df2e-dcd9-4991-944a-d7b9c2bae2e3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:to="loc_us-gaap_Depreciation_b2d2df2e-dcd9-4991-944a-d7b9c2bae2e3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_03c2285c-36c0-4595-80f1-a46e10f35666" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc70a71c-3b72-4cb3-aaed-bac29922c784" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_03c2285c-36c0-4595-80f1-a46e10f35666" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_18abffbd-fab3-4112-86a5-67a7ea3af2c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_03c2285c-36c0-4595-80f1-a46e10f35666" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_18abffbd-fab3-4112-86a5-67a7ea3af2c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_18abffbd-fab3-4112-86a5-67a7ea3af2c0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_18abffbd-fab3-4112-86a5-67a7ea3af2c0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_18abffbd-fab3-4112-86a5-67a7ea3af2c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_18abffbd-fab3-4112-86a5-67a7ea3af2c0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DataCenterAndComputerEquipmentMember_dbe4474d-8ae2-4531-aeec-e8dfb896bb40" xlink:href="appf-20201231.xsd#appf_DataCenterAndComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_appf_DataCenterAndComputerEquipmentMember_dbe4474d-8ae2-4531-aeec-e8dfb896bb40" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_37e1a2a5-fb6c-4895-bbf4-04353d9aaacf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_37e1a2a5-fb6c-4895-bbf4-04353d9aaacf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_54ccf689-60ad-402b-bc81-2b03e4c88fd2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_us-gaap_OfficeEquipmentMember_54ccf689-60ad-402b-bc81-2b03e4c88fd2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_102cc23a-dbd5-4851-9ac3-efd177cc707e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_102cc23a-dbd5-4851-9ac3-efd177cc707e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_0b1a60cc-a0c0-45ec-b8cb-e26e4c387b13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_us-gaap_ConstructionInProgressMember_0b1a60cc-a0c0-45ec-b8cb-e26e4c387b13" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_FurnitureAndFixturesAndLeaseholdImprovementsMember_97bd3486-032e-45ef-9f64-0969ef7f5096" xlink:href="appf-20201231.xsd#appf_FurnitureAndFixturesAndLeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d152735b-a85b-435c-8f18-fb19e5abcfbc" xlink:to="loc_appf_FurnitureAndFixturesAndLeaseholdImprovementsMember_97bd3486-032e-45ef-9f64-0969ef7f5096" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnet" xlink:type="simple" xlink:href="appf-20201231.xsd#CapitalizedSoftwareDevelopmentCostsnet"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnet" xlink:type="extended" id="i4327740f990a4e4e9a2fa43ac8bf4409_CapitalizedSoftwareDevelopmentCostsnet"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetTables" xlink:type="simple" xlink:href="appf-20201231.xsd#CapitalizedSoftwareDevelopmentCostsnetTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetTables" xlink:type="extended" id="iaf67186970bf408a946a22dcea71f662_CapitalizedSoftwareDevelopmentCostsnetTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetSoftwareDevelopmentCostsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#CapitalizedSoftwareDevelopmentCostsnetSoftwareDevelopmentCostsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetSoftwareDevelopmentCostsDetails" xlink:type="extended" id="i9c4e48b650d848b59e236ea18a03f904_CapitalizedSoftwareDevelopmentCostsnetSoftwareDevelopmentCostsDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetNarrativeDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#CapitalizedSoftwareDevelopmentCostsnetNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetNarrativeDetails" xlink:type="extended" id="i471da5dfc9754e0aa9d3d28a878fc41d_CapitalizedSoftwareDevelopmentCostsnetNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_b31a582b-ce1c-4835-b799-01cb75176854" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareAdditions_f3c14d41-a3ef-4730-9387-ced227e5b0ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedComputerSoftwareAdditions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_b31a582b-ce1c-4835-b799-01cb75176854" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareAdditions_f3c14d41-a3ef-4730-9387-ced227e5b0ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_61f5ab5a-e696-4dfc-b677-396591f78732" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedComputerSoftwareAmortization1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_b31a582b-ce1c-4835-b799-01cb75176854" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_61f5ab5a-e696-4dfc-b677-396591f78732" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware_3d4049d8-5b32-46e1-be8e-a64b2a388420" xlink:href="appf-20201231.xsd#appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_b31a582b-ce1c-4835-b799-01cb75176854" xlink:to="loc_appf_DisposalGroupIncludingDiscontinuedOperationCapitalizedSoftware_3d4049d8-5b32-46e1-be8e-a64b2a388420" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_44419868-f03e-4c08-8ee7-6f538e28a463" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_b31a582b-ce1c-4835-b799-01cb75176854" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_44419868-f03e-4c08-8ee7-6f538e28a463" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_68584000-5f9a-4454-8156-cdfd109be284" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_44419868-f03e-4c08-8ee7-6f538e28a463" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_68584000-5f9a-4454-8156-cdfd109be284" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_68584000-5f9a-4454-8156-cdfd109be284_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_68584000-5f9a-4454-8156-cdfd109be284" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_68584000-5f9a-4454-8156-cdfd109be284_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_815c31b2-4f34-4146-b0bc-4619626f3f3d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_68584000-5f9a-4454-8156-cdfd109be284" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_815c31b2-4f34-4146-b0bc-4619626f3f3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_143920c4-b26b-4590-a120-1a4996af883a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_815c31b2-4f34-4146-b0bc-4619626f3f3d" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_143920c4-b26b-4590-a120-1a4996af883a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_553f03f7-04c6-41dc-801e-612d06450b31" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_44419868-f03e-4c08-8ee7-6f538e28a463" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_553f03f7-04c6-41dc-801e-612d06450b31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_553f03f7-04c6-41dc-801e-612d06450b31_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_553f03f7-04c6-41dc-801e-612d06450b31" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_553f03f7-04c6-41dc-801e-612d06450b31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_59df03d8-90f9-442c-a7f7-5eed5b5af395" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_553f03f7-04c6-41dc-801e-612d06450b31" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_59df03d8-90f9-442c-a7f7-5eed5b5af395" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_MyCaseMember_eb7a7d0e-4192-45c8-b08f-03f1416dc7c0" xlink:href="appf-20201231.xsd#appf_MyCaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_59df03d8-90f9-442c-a7f7-5eed5b5af395" xlink:to="loc_appf_MyCaseMember_eb7a7d0e-4192-45c8-b08f-03f1416dc7c0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetAmortizationExpenseDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#CapitalizedSoftwareDevelopmentCostsnetAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CapitalizedSoftwareDevelopmentCostsnetAmortizationExpenseDetails" xlink:type="extended" id="i0bec039055084fbe9ee2a86e2eccf954_CapitalizedSoftwareDevelopmentCostsnetAmortizationExpenseDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwill" xlink:type="simple" xlink:href="appf-20201231.xsd#IntangibleAssetsnetandGoodwill"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwill" xlink:type="extended" id="i2b132ef4a8034989a6fef13e2ba1a79b_IntangibleAssetsnetandGoodwill"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillTables" xlink:type="simple" xlink:href="appf-20201231.xsd#IntangibleAssetsnetandGoodwillTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillTables" xlink:type="extended" id="i859416edf829466bae23e9be12c1d65f_IntangibleAssetsnetandGoodwillTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillFiniteLivedIntangibleAssetsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IntangibleAssetsnetandGoodwillFiniteLivedIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillFiniteLivedIntangibleAssetsDetails" xlink:type="extended" id="i63f6f2a791264a08b2d283cd0b4d9a48_IntangibleAssetsnetandGoodwillFiniteLivedIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_65f168fd-bd77-45df-a9f7-6514ecf26ab1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_65f168fd-bd77-45df-a9f7-6514ecf26ab1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2d4d6247-6910-4afa-aa4e-e7aa8d22b9cf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_2d4d6247-6910-4afa-aa4e-e7aa8d22b9cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_69ba3b55-849d-4fa7-9ef3-0dce3c8b4138" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_69ba3b55-849d-4fa7-9ef3-0dce3c8b4138" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_3154513f-cc90-4e3e-9276-e1acadae74a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_3154513f-cc90-4e3e-9276-e1acadae74a6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_ecb5b8f6-96eb-47f2-aba9-71e19e831de7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_80f49bac-dc23-448d-b9e9-66c87c4f2dfb" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_ecb5b8f6-96eb-47f2-aba9-71e19e831de7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_226844dc-fea0-4830-9c7a-38f6ccb96140" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_ecb5b8f6-96eb-47f2-aba9-71e19e831de7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_226844dc-fea0-4830-9c7a-38f6ccb96140" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_226844dc-fea0-4830-9c7a-38f6ccb96140_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_226844dc-fea0-4830-9c7a-38f6ccb96140" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_226844dc-fea0-4830-9c7a-38f6ccb96140_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_226844dc-fea0-4830-9c7a-38f6ccb96140" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_7c27974b-f031-4af1-925a-1a4e39d9eea9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_CustomerRelationshipsMember_7c27974b-f031-4af1-925a-1a4e39d9eea9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_DatabaseMember_db70199a-aab7-4603-9d29-09efc260141a" xlink:href="appf-20201231.xsd#appf_DatabaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_appf_DatabaseMember_db70199a-aab7-4603-9d29-09efc260141a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_TechnologyMember_6396ead9-d479-43a3-be98-19b9874276c7" xlink:href="appf-20201231.xsd#appf_TechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_appf_TechnologyMember_6396ead9-d479-43a3-be98-19b9874276c7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_f2ccec10-e4c1-43e3-bddc-070280e071a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_f2ccec10-e4c1-43e3-bddc-070280e071a0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PartnerRelationshipsMember_03667b62-d8bf-4e7e-b48b-a5e2105d169f" xlink:href="appf-20201231.xsd#appf_PartnerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_appf_PartnerRelationshipsMember_03667b62-d8bf-4e7e-b48b-a5e2105d169f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_3a2ca08c-9718-461c-b133-ea508ab175f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_3a2ca08c-9718-461c-b133-ea508ab175f7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternetDomainNamesMember_7adcb88f-28f1-49d0-a84b-36f407c4fa59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InternetDomainNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_InternetDomainNamesMember_7adcb88f-28f1-49d0-a84b-36f407c4fa59" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PatentsMember_18b8dc8a-e1d9-4541-b213-0559447e9105" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PatentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_PatentsMember_18b8dc8a-e1d9-4541-b213-0559447e9105" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_0b6542de-4e8d-487d-b3aa-3be528c09950" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OrderOrProductionBacklogMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7408abd1-56b8-413e-b510-f87b84baadab" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_0b6542de-4e8d-487d-b3aa-3be528c09950" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_95a87761-9114-4eb4-bfbb-66c37c2752bd" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_ecb5b8f6-96eb-47f2-aba9-71e19e831de7" xlink:to="loc_srt_RangeAxis_95a87761-9114-4eb4-bfbb-66c37c2752bd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_95a87761-9114-4eb4-bfbb-66c37c2752bd_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_95a87761-9114-4eb4-bfbb-66c37c2752bd" xlink:to="loc_srt_RangeMember_95a87761-9114-4eb4-bfbb-66c37c2752bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_85192f65-c797-41b8-a20b-08984ab71d75" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_95a87761-9114-4eb4-bfbb-66c37c2752bd" xlink:to="loc_srt_RangeMember_85192f65-c797-41b8-a20b-08984ab71d75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_5910f315-9767-44b0-9f0b-82dceeca2705" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_85192f65-c797-41b8-a20b-08984ab71d75" xlink:to="loc_srt_WeightedAverageMember_5910f315-9767-44b0-9f0b-82dceeca2705" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillAmortizationExpenseDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IntangibleAssetsnetandGoodwillAmortizationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillAmortizationExpenseDetails" xlink:type="extended" id="i2b2c59af560c4ec89d5438f08075e2f9_IntangibleAssetsnetandGoodwillAmortizationExpenseDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillGoodwillDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IntangibleAssetsnetandGoodwillGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IntangibleAssetsnetandGoodwillGoodwillDetails" xlink:type="extended" id="i2b793928061d4874bc1edcd51911a5fd_IntangibleAssetsnetandGoodwillGoodwillDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/AccruedEmployeeExpenses" xlink:type="simple" xlink:href="appf-20201231.xsd#AccruedEmployeeExpenses"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/AccruedEmployeeExpenses" xlink:type="extended" id="i9bd02e67438d4611a0bebe1723ae2fb7_AccruedEmployeeExpenses"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/AccruedEmployeeExpensesTables" xlink:type="simple" xlink:href="appf-20201231.xsd#AccruedEmployeeExpensesTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/AccruedEmployeeExpensesTables" xlink:type="extended" id="iabaaefcebb084dc085255e2f477ef927_AccruedEmployeeExpensesTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/AccruedEmployeeExpensesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#AccruedEmployeeExpensesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/AccruedEmployeeExpensesDetails" xlink:type="extended" id="i859985ce73c6472589a35f29ffe93e56_AccruedEmployeeExpensesDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/Leases" xlink:type="simple" xlink:href="appf-20201231.xsd#Leases"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/Leases" xlink:type="extended" id="i780f3bd71cbc4301aced2364fd360651_Leases"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesTables" xlink:type="simple" xlink:href="appf-20201231.xsd#LeasesTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesTables" xlink:type="extended" id="i0f2ec38e3c4c4fd48edf6da696386481_LeasesTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#LeasesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesDetails" xlink:type="extended" id="i626121a06da44a38a1e295acd2a584fd_LeasesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_f49ee7c3-a48d-47a2-8672-77f82001656b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_f49ee7c3-a48d-47a2-8672-77f82001656b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseRenewalTerm_648e6c25-7087-46e6-9ebd-f28e0c9819ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_LessorOperatingLeaseRenewalTerm_648e6c25-7087-46e6-9ebd-f28e0c9819ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_8627aafc-c8a5-4254-86bc-11995dae2239" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_OperatingLeaseCost_8627aafc-c8a5-4254-86bc-11995dae2239" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_5485dfaa-9cd6-47cf-af9f-68efa8870025" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_VariableLeaseCost_5485dfaa-9cd6-47cf-af9f-68efa8870025" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAndRentalExpense_609d7106-bb93-40e4-8b9f-0dbe2f0ada72" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseAndRentalExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_LeaseAndRentalExpense_609d7106-bb93-40e4-8b9f-0dbe2f0ada72" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LesseeOperatingLeaseSquareFeetOfLeasedArea_ee2ca0bd-9ad3-4f31-a3a7-73a5d11f60cd" xlink:href="appf-20201231.xsd#appf_LesseeOperatingLeaseSquareFeetOfLeasedArea"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_appf_LesseeOperatingLeaseSquareFeetOfLeasedArea_ee2ca0bd-9ad3-4f31-a3a7-73a5d11f60cd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_787c2104-1db3-4911-998a-a393a7a26836" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_OperatingLeaseLiability_787c2104-1db3-4911-998a-a393a7a26836" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_bdd9af3e-c90f-4246-9c53-c4f8385f94da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_082d9282-35cf-4e98-9259-53bef61cb3ff" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_bdd9af3e-c90f-4246-9c53-c4f8385f94da" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_bdd9af3e-c90f-4246-9c53-c4f8385f94da" xlink:to="loc_srt_RangeAxis_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b" xlink:to="loc_srt_RangeMember_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_91ddcfbc-16cb-4575-b82b-2722cdeb3011" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e2be0740-cb8a-42bc-b84a-36a68c1fcf2b" xlink:to="loc_srt_RangeMember_91ddcfbc-16cb-4575-b82b-2722cdeb3011" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_6b1489c0-e6de-4577-8657-580281f155ce" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_91ddcfbc-16cb-4575-b82b-2722cdeb3011" xlink:to="loc_srt_MinimumMember_6b1489c0-e6de-4577-8657-580281f155ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_1623ca40-cfc3-42ed-ad37-41ccb3fee49f" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_91ddcfbc-16cb-4575-b82b-2722cdeb3011" xlink:to="loc_srt_MaximumMember_1623ca40-cfc3-42ed-ad37-41ccb3fee49f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_bdd9af3e-c90f-4246-9c53-c4f8385f94da" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5e70edf4-b8b6-41cd-bad8-41496d302e32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7c823d5c-ac2d-4d68-b6f8-f5b87d8700cb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5e70edf4-b8b6-41cd-bad8-41496d302e32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_RichardsonTexasMember_c2a7f5dc-228d-4e43-a8ba-0ac5f03c2997" xlink:href="appf-20201231.xsd#appf_RichardsonTexasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5e70edf4-b8b6-41cd-bad8-41496d302e32" xlink:to="loc_appf_RichardsonTexasMember_c2a7f5dc-228d-4e43-a8ba-0ac5f03c2997" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesScheduleofComponentsofLeaseexpenseDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#LeasesScheduleofComponentsofLeaseexpenseDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesScheduleofComponentsofLeaseexpenseDetails" xlink:type="extended" id="ia1ec0d841bc946a48f4281e0bffdd7bc_LeasesScheduleofComponentsofLeaseexpenseDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/LeasesScheduleofMinimumLeasepaymentsUnderLeasesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#LeasesScheduleofMinimumLeasepaymentsUnderLeasesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LeasesScheduleofMinimumLeasepaymentsUnderLeasesDetails" xlink:type="extended" id="i47854eab26dd46ed9ba20ca19ef872e5_LeasesScheduleofMinimumLeasepaymentsUnderLeasesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_c347b9cc-77d3-4f44-9bdc-a696a070b3bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_c347b9cc-77d3-4f44-9bdc-a696a070b3bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e6a75c3b-3251-4a70-99e4-6c2e70326fa8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e6a75c3b-3251-4a70-99e4-6c2e70326fa8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_453b12b1-ff7d-4c98-b130-e9b9c74a5ce0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_453b12b1-ff7d-4c98-b130-e9b9c74a5ce0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_4bd26c1f-e1f7-498a-aede-75d788079d49" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_4bd26c1f-e1f7-498a-aede-75d788079d49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_4e17d8ff-9b90-4cc8-b25b-8da8b8258b19" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_4e17d8ff-9b90-4cc8-b25b-8da8b8258b19" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a3c3d122-25e2-4652-a477-0f03629a7dc9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_a3c3d122-25e2-4652-a477-0f03629a7dc9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_187094e1-c879-428a-9915-9eb4d709b1cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_187094e1-c879-428a-9915-9eb4d709b1cd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_e2c5bf13-529c-4268-98ae-2fe2a992b889" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_e2c5bf13-529c-4268-98ae-2fe2a992b889" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LesseeOperatingLeaseLiabilityNetOfCurrentPortion_203bc387-f646-477f-be17-1796d8665beb" xlink:href="appf-20201231.xsd#appf_LesseeOperatingLeaseLiabilityNetOfCurrentPortion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_appf_LesseeOperatingLeaseLiabilityNetOfCurrentPortion_203bc387-f646-477f-be17-1796d8665beb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_TenantImprovementAllowance_0431ed88-87fd-4ff7-9c41-bce895e3155c" xlink:href="appf-20201231.xsd#appf_TenantImprovementAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_appf_TenantImprovementAllowance_0431ed88-87fd-4ff7-9c41-bce895e3155c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_3ec14bfa-cf61-4279-8b2e-a6e5a9fb44bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_3ec14bfa-cf61-4279-8b2e-a6e5a9fb44bc" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_70f32e09-732d-4cac-add7-e28594b9cd8b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_e3b53ca8-3fa8-4a67-911c-a11262c36027" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_70f32e09-732d-4cac-add7-e28594b9cd8b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_58feea42-3e44-4f35-b531-0cc274b99f0e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_70f32e09-732d-4cac-add7-e28594b9cd8b" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_58feea42-3e44-4f35-b531-0cc274b99f0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_58feea42-3e44-4f35-b531-0cc274b99f0e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_58feea42-3e44-4f35-b531-0cc274b99f0e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_58feea42-3e44-4f35-b531-0cc274b99f0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_cb17c761-75e8-42f0-a479-fb255ae206f9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_58feea42-3e44-4f35-b531-0cc274b99f0e" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_cb17c761-75e8-42f0-a479-fb255ae206f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_7838043f-907d-49d3-8f6b-908a0cc39fe3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_cb17c761-75e8-42f0-a479-fb255ae206f9" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_7838043f-907d-49d3-8f6b-908a0cc39fe3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/LongtermDebt" xlink:type="simple" xlink:href="appf-20201231.xsd#LongtermDebt"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongtermDebt" xlink:type="extended" id="i4344296da60f4a65bb5143f9d6d11e95_LongtermDebt"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/LongtermDebtTables" xlink:type="simple" xlink:href="appf-20201231.xsd#LongtermDebtTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongtermDebtTables" xlink:type="extended" id="ia397f62ee6b64592bf92104f22006973_LongtermDebtTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/LongtermDebtDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#LongtermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongtermDebtDetails" xlink:type="extended" id="if19cb69cd9b240cfbe84ee706c185881_LongtermDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d9f79b36-de87-4bf6-80b4-8a496e0f4015" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d9f79b36-de87-4bf6-80b4-8a496e0f4015" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio_eadf401d-8a68-4b9c-b755-404a9c5f09ea" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsEBITDAToInterestExpenseRatio_eadf401d-8a68-4b9c-b755-404a9c5f09ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio_8665bbee-e289-493b-9649-0be5c3590ada" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsFundedIndebtednessToEBITDARatio_8665bbee-e289-493b-9649-0be5c3590ada" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio_944fa032-2ff8-4f4d-81f6-d3832f9422bb" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsAnnualDecreaseInRequiredLeverageRatio_944fa032-2ff8-4f4d-81f6-d3832f9422bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio_4a741828-e905-4887-a2b8-690bc1d9946c" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsRequiredLeverageRatio_4a741828-e905-4887-a2b8-690bc1d9946c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts_0ca23288-10be-423c-a0b4-f7fd3bc32c68" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsFloorPlus20PercentOfTheSumOftheCombinedOutstandingPrincipalAmounts_0ca23288-10be-423c-a0b4-f7fd3bc32c68" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate_e38afa11-a9f3-4341-a9df-43c18172bcdc" xlink:href="appf-20201231.xsd#appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCovenantRestrictionsAcquisitionPurchasePriceFloorFor0.5IncreaseInRequiredLeverageRatioFor12MonthPeriodFollowingTheCloseDate_e38afa11-a9f3-4341-a9df-43c18172bcdc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3ca8ba47-ce50-477a-ac79-88f55326fad4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3ca8ba47-ce50-477a-ac79-88f55326fad4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_df836be8-4a1b-41c3-b204-3721dbb6117f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_df836be8-4a1b-41c3-b204-3721dbb6117f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage_15a8ad9a-e8e0-4155-b915-dcd264d39fa9" xlink:href="appf-20201231.xsd#appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_appf_LongtermDebtCommitmentFeeUsageThresholdFor37.5BasisPointsCommitmentFeePercentage_15a8ad9a-e8e0-4155-b915-dcd264d39fa9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_da4d4936-eec1-42db-80f3-23f22613e12b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_da4d4936-eec1-42db-80f3-23f22613e12b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_f53bfe1b-33b9-43c3-a921-56dcb9fe6dbe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_f53bfe1b-33b9-43c3-a921-56dcb9fe6dbe" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_030ae499-b1a8-45f4-9e52-97badc60a372" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_030ae499-b1a8-45f4-9e52-97badc60a372" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b3691145-0333-440f-9d10-5ce4e3bbb6e9" xlink:to="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_0d80a713-755c-4507-8c68-6e4d1d7945af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_0d80a713-755c-4507-8c68-6e4d1d7945af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_0d80a713-755c-4507-8c68-6e4d1d7945af_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_0d80a713-755c-4507-8c68-6e4d1d7945af" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_0d80a713-755c-4507-8c68-6e4d1d7945af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1cf46f88-72b1-43d1-b129-21ca9169b1b7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_0d80a713-755c-4507-8c68-6e4d1d7945af" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1cf46f88-72b1-43d1-b129-21ca9169b1b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_e03405b9-95d4-4dff-95cd-3071e56cefd4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_1cf46f88-72b1-43d1-b129-21ca9169b1b7" xlink:to="loc_us-gaap_OtherAssetsMember_e03405b9-95d4-4dff-95cd-3071e56cefd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_00720208-8c65-48de-8ee2-5b746c8c606c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_00720208-8c65-48de-8ee2-5b746c8c606c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_00720208-8c65-48de-8ee2-5b746c8c606c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_00720208-8c65-48de-8ee2-5b746c8c606c" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_00720208-8c65-48de-8ee2-5b746c8c606c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_bb6f7127-fec8-4510-a2bf-908c706437cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_00720208-8c65-48de-8ee2-5b746c8c606c" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_bb6f7127-fec8-4510-a2bf-908c706437cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_a54fa5be-be57-4046-88f0-92aa75b1fde4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_bb6f7127-fec8-4510-a2bf-908c706437cc" xlink:to="loc_us-gaap_LineOfCreditMember_a54fa5be-be57-4046-88f0-92aa75b1fde4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_ac81bd30-2a08-47fb-8ed8-efaa2d760882" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:to="loc_us-gaap_CreditFacilityAxis_ac81bd30-2a08-47fb-8ed8-efaa2d760882" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_ac81bd30-2a08-47fb-8ed8-efaa2d760882_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_ac81bd30-2a08-47fb-8ed8-efaa2d760882" xlink:to="loc_us-gaap_CreditFacilityDomain_ac81bd30-2a08-47fb-8ed8-efaa2d760882_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2ec8fde3-178a-446a-a120-c8653093ce5a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_ac81bd30-2a08-47fb-8ed8-efaa2d760882" xlink:to="loc_us-gaap_CreditFacilityDomain_2ec8fde3-178a-446a-a120-c8653093ce5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_019498ac-3eee-4caf-9c89-411ceeda0fdf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2ec8fde3-178a-446a-a120-c8653093ce5a" xlink:to="loc_us-gaap_SecuredDebtMember_019498ac-3eee-4caf-9c89-411ceeda0fdf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_2f655f74-5e87-4e41-8dee-ada40c89d712" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2ec8fde3-178a-446a-a120-c8653093ce5a" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_2f655f74-5e87-4e41-8dee-ada40c89d712" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_be9e5b90-d49b-4445-9f74-53276dc8a5ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:to="loc_us-gaap_VariableRateAxis_be9e5b90-d49b-4445-9f74-53276dc8a5ca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_be9e5b90-d49b-4445-9f74-53276dc8a5ca_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_be9e5b90-d49b-4445-9f74-53276dc8a5ca" xlink:to="loc_us-gaap_VariableRateDomain_be9e5b90-d49b-4445-9f74-53276dc8a5ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_928924ab-a24b-4bff-b135-8ab2b1bb2ef6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_be9e5b90-d49b-4445-9f74-53276dc8a5ca" xlink:to="loc_us-gaap_VariableRateDomain_928924ab-a24b-4bff-b135-8ab2b1bb2ef6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_b76863cd-de20-4da8-accc-24d6dd2422ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FederalFundsEffectiveSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_928924ab-a24b-4bff-b135-8ab2b1bb2ef6" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_b76863cd-de20-4da8-accc-24d6dd2422ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_6ce9011b-8c88-4013-bca5-f4e74d5349d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_928924ab-a24b-4bff-b135-8ab2b1bb2ef6" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_6ce9011b-8c88-4013-bca5-f4e74d5349d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_49de573e-1e79-405a-b717-78720f67f38b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_0f9174a1-7a86-4403-9211-f421ff4b012c" xlink:to="loc_srt_RangeAxis_49de573e-1e79-405a-b717-78720f67f38b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_49de573e-1e79-405a-b717-78720f67f38b_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_49de573e-1e79-405a-b717-78720f67f38b" xlink:to="loc_srt_RangeMember_49de573e-1e79-405a-b717-78720f67f38b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_82408cb6-7877-40b0-9475-74aadad8b764" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_49de573e-1e79-405a-b717-78720f67f38b" xlink:to="loc_srt_RangeMember_82408cb6-7877-40b0-9475-74aadad8b764" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d5068d44-17a4-4047-8e2e-3ed0d1060e92" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_82408cb6-7877-40b0-9475-74aadad8b764" xlink:to="loc_srt_MinimumMember_d5068d44-17a4-4047-8e2e-3ed0d1060e92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_64f525d2-780c-4d65-85cd-3f2329a786ca" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_82408cb6-7877-40b0-9475-74aadad8b764" xlink:to="loc_srt_MaximumMember_64f525d2-780c-4d65-85cd-3f2329a786ca" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/LongtermDebtSummaryofLongtemDebtDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#LongtermDebtSummaryofLongtemDebtDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/LongtermDebtSummaryofLongtemDebtDetails" xlink:type="extended" id="i92ae0b087a7e457d89f81fc01a5865cc_LongtermDebtSummaryofLongtemDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_38b92353-2885-4278-9856-7ed6628fbe9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_e4489339-0ec7-4f07-b8c1-81901e7686d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_38b92353-2885-4278-9856-7ed6628fbe9e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_e4489339-0ec7-4f07-b8c1-81901e7686d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_cf5522e9-5a24-4fae-b192-0b7d4e1d36cf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_38b92353-2885-4278-9856-7ed6628fbe9e" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_cf5522e9-5a24-4fae-b192-0b7d4e1d36cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_03e45529-926c-45f7-8db6-3968f101f3f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_38b92353-2885-4278-9856-7ed6628fbe9e" xlink:to="loc_us-gaap_LongTermDebt_03e45529-926c-45f7-8db6-3968f101f3f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_2c507279-d4bb-4719-9023-0b23b2dce839" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_38b92353-2885-4278-9856-7ed6628fbe9e" xlink:to="loc_us-gaap_DebtInstrumentTable_2c507279-d4bb-4719-9023-0b23b2dce839" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_0d059261-3c96-4fa9-a24e-78be677ab49d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2c507279-d4bb-4719-9023-0b23b2dce839" xlink:to="loc_us-gaap_CreditFacilityAxis_0d059261-3c96-4fa9-a24e-78be677ab49d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_0d059261-3c96-4fa9-a24e-78be677ab49d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_0d059261-3c96-4fa9-a24e-78be677ab49d" xlink:to="loc_us-gaap_CreditFacilityDomain_0d059261-3c96-4fa9-a24e-78be677ab49d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_098a40ae-ee67-4370-a0a5-7da6002933ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_0d059261-3c96-4fa9-a24e-78be677ab49d" xlink:to="loc_us-gaap_CreditFacilityDomain_098a40ae-ee67-4370-a0a5-7da6002933ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_8c5b3171-c81d-4575-9d5d-74f2a955d70b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_098a40ae-ee67-4370-a0a5-7da6002933ca" xlink:to="loc_us-gaap_SecuredDebtMember_8c5b3171-c81d-4575-9d5d-74f2a955d70b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_51d351fb-f643-4d08-af61-ae54743ba128" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2c507279-d4bb-4719-9023-0b23b2dce839" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_51d351fb-f643-4d08-af61-ae54743ba128" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_51d351fb-f643-4d08-af61-ae54743ba128_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51d351fb-f643-4d08-af61-ae54743ba128" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_51d351fb-f643-4d08-af61-ae54743ba128_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cc591194-6efc-4f7d-a878-9a0a04474128" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51d351fb-f643-4d08-af61-ae54743ba128" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cc591194-6efc-4f7d-a878-9a0a04474128" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_a7f1a44d-0559-4c61-a5db-5356e41b2646" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cc591194-6efc-4f7d-a878-9a0a04474128" xlink:to="loc_us-gaap_LineOfCreditMember_a7f1a44d-0559-4c61-a5db-5356e41b2646" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/CommitmentandContingencies" xlink:type="simple" xlink:href="appf-20201231.xsd#CommitmentandContingencies"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CommitmentandContingencies" xlink:type="extended" id="i13c7d6c9cb3546a49875a286d54290a6_CommitmentandContingencies"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/CommitmentandContingenciesAdditionalInformationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#CommitmentandContingenciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/CommitmentandContingenciesAdditionalInformationDetails" xlink:type="extended" id="i0ebe6c9e307145e79e6e21ffe92872de_CommitmentandContingenciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit_19455d30-deee-432e-9979-ddd8fabe0960" xlink:href="appf-20201231.xsd#appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_appf_PropertyLiabilityAndCasualtyInsurancePerIncidentAndPerResidenceCoverageLimit_19455d30-deee-432e-9979-ddd8fabe0960" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_e98a7479-9b9e-483e-b34f-b06fcab83b4f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_ReinsuranceRetentionPolicyReinsuredRiskPercentage_e98a7479-9b9e-483e-b34f-b06fcab83b4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_fdea002a-b3a1-4043-b037-9a9c42a52fde" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_fdea002a-b3a1-4043-b037-9a9c42a52fde" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices_fac0cd5b-e229-4189-9f43-c02af635b0ac" xlink:href="appf-20201231.xsd#appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_appf_PropertyLiabilityAndCasualtyInsuranceDepositsHeldWithThirdPartyAsCollateralForServices_fac0cd5b-e229-4189-9f43-c02af635b0ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_4375f2d2-ebfb-42c6-aeee-7feffcf0c0cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_4375f2d2-ebfb-42c6-aeee-7feffcf0c0cc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_822941c4-2cb0-4f35-af86-74401cf82c1d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_822941c4-2cb0-4f35-af86-74401cf82c1d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForLegalSettlements_308ef37e-d359-4ca3-a0e9-2e298b930853" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForLegalSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_PaymentsForLegalSettlements_308ef37e-d359-4ca3-a0e9-2e298b930853" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_becaa72d-415c-4e3e-93f2-744e92eeea2c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_a3957984-99f3-40c7-a3a8-913ff3927054" xlink:to="loc_us-gaap_LossContingenciesTable_becaa72d-415c-4e3e-93f2-744e92eeea2c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_c64003b9-a009-42da-8137-9343f35cefbb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_becaa72d-415c-4e3e-93f2-744e92eeea2c" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_c64003b9-a009-42da-8137-9343f35cefbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_c64003b9-a009-42da-8137-9343f35cefbb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c64003b9-a009-42da-8137-9343f35cefbb" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_c64003b9-a009-42da-8137-9343f35cefbb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_77c66bd5-9638-40a6-bd89-6cfc5ea5e306" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_c64003b9-a009-42da-8137-9343f35cefbb" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_77c66bd5-9638-40a6-bd89-6cfc5ea5e306" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_f31d749c-4078-4c94-8b9d-101b0ab143c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_77c66bd5-9638-40a6-bd89-6cfc5ea5e306" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_f31d749c-4078-4c94-8b9d-101b0ab143c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_9e4bec63-5338-4eb8-bec9-280301b03fec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_77c66bd5-9638-40a6-bd89-6cfc5ea5e306" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_9e4bec63-5338-4eb8-bec9-280301b03fec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_8aeb5f04-472f-4ac1-a85d-775b9fc5565f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_becaa72d-415c-4e3e-93f2-744e92eeea2c" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_8aeb5f04-472f-4ac1-a85d-775b9fc5565f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_8aeb5f04-472f-4ac1-a85d-775b9fc5565f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8aeb5f04-472f-4ac1-a85d-775b9fc5565f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_8aeb5f04-472f-4ac1-a85d-775b9fc5565f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_56159bbc-b44e-4dcb-8951-d807e19c691c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8aeb5f04-472f-4ac1-a85d-775b9fc5565f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_56159bbc-b44e-4dcb-8951-d807e19c691c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_1af0319d-87c9-4356-a8ee-bc6d92eadb1d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_56159bbc-b44e-4dcb-8951-d807e19c691c" xlink:to="loc_us-gaap_SubsequentEventMember_1af0319d-87c9-4356-a8ee-bc6d92eadb1d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockholdersEquity" xlink:type="simple" xlink:href="appf-20201231.xsd#StockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockholdersEquity" xlink:type="extended" id="i6bf103891bbd41789a9e8732738df56b_StockholdersEquity"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockholdersEquityAmendedandRestatedCertificateofIncorporationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockholdersEquityAmendedandRestatedCertificateofIncorporationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockholdersEquityAmendedandRestatedCertificateofIncorporationDetails" xlink:type="extended" id="id19fb67f8d93490a8df68a3888553d2d_StockholdersEquityAmendedandRestatedCertificateofIncorporationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalUnitsAuthorized_1bf48fe8-4b8c-4ee7-bcd9-ee577c0005f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalUnitsAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:to="loc_us-gaap_CapitalUnitsAuthorized_1bf48fe8-4b8c-4ee7-bcd9-ee577c0005f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_00fce947-f23e-443f-b013-d08510091d0c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_00fce947-f23e-443f-b013-d08510091d0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_5e759bf5-3006-4726-879b-dcaf23e2bfc5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_5e759bf5-3006-4726-879b-dcaf23e2bfc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_c619e2a1-7ddd-4f5f-940b-4361d8d27a42" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_c619e2a1-7ddd-4f5f-940b-4361d8d27a42" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_346115e0-02aa-425a-b98c-b92f7d6ba0e6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_8488590c-8292-4011-ae61-292629212594" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_346115e0-02aa-425a-b98c-b92f7d6ba0e6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_3b863c4b-4e61-4853-878d-293ecacb9580" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_346115e0-02aa-425a-b98c-b92f7d6ba0e6" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_3b863c4b-4e61-4853-878d-293ecacb9580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_3b863c4b-4e61-4853-878d-293ecacb9580_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3b863c4b-4e61-4853-878d-293ecacb9580" xlink:to="loc_us-gaap_EquityComponentDomain_3b863c4b-4e61-4853-878d-293ecacb9580_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_205f3d32-bb03-4908-bbf6-c5a057fcdcd3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_3b863c4b-4e61-4853-878d-293ecacb9580" xlink:to="loc_us-gaap_EquityComponentDomain_205f3d32-bb03-4908-bbf6-c5a057fcdcd3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_48648da1-e266-4b05-8cc1-fc3ecc3d8509" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_205f3d32-bb03-4908-bbf6-c5a057fcdcd3" xlink:to="loc_us-gaap_CommonStockMember_48648da1-e266-4b05-8cc1-fc3ecc3d8509" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_efb23fac-1ba3-4b03-bf61-b47980bec6ad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_205f3d32-bb03-4908-bbf6-c5a057fcdcd3" xlink:to="loc_us-gaap_PreferredStockMember_efb23fac-1ba3-4b03-bf61-b47980bec6ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_319eadd2-7a0a-4b49-947b-b547061fb81c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_346115e0-02aa-425a-b98c-b92f7d6ba0e6" xlink:to="loc_us-gaap_StatementClassOfStockAxis_319eadd2-7a0a-4b49-947b-b547061fb81c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_319eadd2-7a0a-4b49-947b-b547061fb81c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_319eadd2-7a0a-4b49-947b-b547061fb81c" xlink:to="loc_us-gaap_ClassOfStockDomain_319eadd2-7a0a-4b49-947b-b547061fb81c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_451a4508-738f-4b77-8a74-2706d28b9a35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_319eadd2-7a0a-4b49-947b-b547061fb81c" xlink:to="loc_us-gaap_ClassOfStockDomain_451a4508-738f-4b77-8a74-2706d28b9a35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_e14c5085-85a5-451d-91d8-dce4f6457b25" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_451a4508-738f-4b77-8a74-2706d28b9a35" xlink:to="loc_us-gaap_CommonClassAMember_e14c5085-85a5-451d-91d8-dce4f6457b25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_963a3452-43a4-44e0-a9d2-2e4ae05ddd86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_451a4508-738f-4b77-8a74-2706d28b9a35" xlink:to="loc_us-gaap_CommonClassBMember_963a3452-43a4-44e0-a9d2-2e4ae05ddd86" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockholdersEquityClassACommonStockandClassBCommonStockReverseStockSplitDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockholdersEquityClassACommonStockandClassBCommonStockReverseStockSplitDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockholdersEquityClassACommonStockandClassBCommonStockReverseStockSplitDetails" xlink:type="extended" id="i330f63c0efdb4178b2f38b319a3be094_StockholdersEquityClassACommonStockandClassBCommonStockReverseStockSplitDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_CommonStockNumberOfVotesPerShare_578f926a-09d7-46e9-99d1-700576c40eda" xlink:href="appf-20201231.xsd#appf_CommonStockNumberOfVotesPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:to="loc_appf_CommonStockNumberOfVotesPerShare_578f926a-09d7-46e9-99d1-700576c40eda" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_ConversionOfStockNumberOfSharesIssuableUponConversion_90bf86c6-dacd-4e8c-9ac6-17d16ced0e89" xlink:href="appf-20201231.xsd#appf_ConversionOfStockNumberOfSharesIssuableUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:to="loc_appf_ConversionOfStockNumberOfSharesIssuableUponConversion_90bf86c6-dacd-4e8c-9ac6-17d16ced0e89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_ConversionOfStockNumberOfSharesIssuableUponConversionDueToTransfer_19336fc4-bdbd-4257-8919-572215fe3d28" xlink:href="appf-20201231.xsd#appf_ConversionOfStockNumberOfSharesIssuableUponConversionDueToTransfer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:to="loc_appf_ConversionOfStockNumberOfSharesIssuableUponConversionDueToTransfer_19336fc4-bdbd-4257-8919-572215fe3d28" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_CommonStockAutomaticConversionThreshold_c7bb1dc4-e023-4ddd-bd01-7ef6558413e2" xlink:href="appf-20201231.xsd#appf_CommonStockAutomaticConversionThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:to="loc_appf_CommonStockAutomaticConversionThreshold_c7bb1dc4-e023-4ddd-bd01-7ef6558413e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_571c42bf-8d9a-4aa8-a1b7-207d41d8eaba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_3004b419-4d3a-455c-9ba1-2763efbb5448" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_571c42bf-8d9a-4aa8-a1b7-207d41d8eaba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1cad491c-c2db-4dbe-9cc6-31f948a483aa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_571c42bf-8d9a-4aa8-a1b7-207d41d8eaba" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1cad491c-c2db-4dbe-9cc6-31f948a483aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1cad491c-c2db-4dbe-9cc6-31f948a483aa_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1cad491c-c2db-4dbe-9cc6-31f948a483aa" xlink:to="loc_us-gaap_ClassOfStockDomain_1cad491c-c2db-4dbe-9cc6-31f948a483aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_d6060905-7747-4201-af71-724f4682eccc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1cad491c-c2db-4dbe-9cc6-31f948a483aa" xlink:to="loc_us-gaap_ClassOfStockDomain_d6060905-7747-4201-af71-724f4682eccc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_ecfb52f8-4f5c-4a10-b39f-71231a572f96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d6060905-7747-4201-af71-724f4682eccc" xlink:to="loc_us-gaap_CommonClassAMember_ecfb52f8-4f5c-4a10-b39f-71231a572f96" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_315bc5de-0bc9-4f4e-ace2-fdceec2af0cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d6060905-7747-4201-af71-724f4682eccc" xlink:to="loc_us-gaap_CommonClassBMember_315bc5de-0bc9-4f4e-ace2-fdceec2af0cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockByUniqueDescriptionAxis_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConversionOfStockByUniqueDescriptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_571c42bf-8d9a-4aa8-a1b7-207d41d8eaba" xlink:to="loc_us-gaap_ConversionOfStockByUniqueDescriptionAxis_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockNameDomain_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConversionOfStockNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConversionOfStockByUniqueDescriptionAxis_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a" xlink:to="loc_us-gaap_ConversionOfStockNameDomain_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockNameDomain_efa9b935-4d10-4ede-a534-31bdf9565b10" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConversionOfStockNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConversionOfStockByUniqueDescriptionAxis_85d7e0eb-e806-4ea3-ace2-73ae6d3f250a" xlink:to="loc_us-gaap_ConversionOfStockNameDomain_efa9b935-4d10-4ede-a534-31bdf9565b10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_CommonClassBToCommonClassAMember_13ede028-36ce-4e71-a137-8b8389032833" xlink:href="appf-20201231.xsd#appf_CommonClassBToCommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConversionOfStockNameDomain_efa9b935-4d10-4ede-a534-31bdf9565b10" xlink:to="loc_appf_CommonClassBToCommonClassAMember_13ede028-36ce-4e71-a137-8b8389032833" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockholdersEquityPreferredStockDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockholdersEquityPreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockholdersEquityPreferredStockDetails" xlink:type="extended" id="if2a24cd96e9a402f8803b49cc602aa87_StockholdersEquityPreferredStockDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockholdersEquityShareRepurchaseProgramDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockholdersEquityShareRepurchaseProgramDetails" xlink:type="extended" id="idaaf7467f31a416da31d14a1f12bd023_StockholdersEquityShareRepurchaseProgramDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensation"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensation" xlink:type="extended" id="ibe689ac0b2394641a6696218c6cdba0c_StockBasedCompensation"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationTables" xlink:type="extended" id="i14ccc5988ac24e1a89802088f65fc6fb_StockBasedCompensationTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationStockOptionPlansDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationStockOptionPlansDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationStockOptionPlansDetails" xlink:type="extended" id="i6881793fd74241d6b5956b98a0665bd7_StockBasedCompensationStockOptionPlansDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualCommonStockReservedForFutureIssuance_5b2606c5-cda4-45c6-a03a-3e7bb8af9a84" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualCommonStockReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualCommonStockReservedForFutureIssuance_5b2606c5-cda4-45c6-a03a-3e7bb8af9a84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_11cd26f7-b0f8-4d03-91b0-c1a82be147f9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_11cd26f7-b0f8-4d03-91b0-c1a82be147f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_8aad86a1-e958-4c3f-82fd-5bd4575f9692" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_8aad86a1-e958-4c3f-82fd-5bd4575f9692" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_ff72566e-85a1-411e-a626-b9e43eb8c7c5" xlink:href="appf-20201231.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_ff72566e-85a1-411e-a626-b9e43eb8c7c5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_744e5281-3803-4934-b3b1-0455a8b21d59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_744e5281-3803-4934-b3b1-0455a8b21d59" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_9a37fb3a-0fe9-4339-b8f8-5c6b58bd54d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_9a37fb3a-0fe9-4339-b8f8-5c6b58bd54d4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_bf6216c3-0bce-4a8a-9a4c-46946605f74c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_bf6216c3-0bce-4a8a-9a4c-46946605f74c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_38c505f3-db82-4252-9535-a958ed819b57" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_38c505f3-db82-4252-9535-a958ed819b57" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions_7d714703-ecf3-42a9-b82a-9031726381b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions_7d714703-ecf3-42a9-b82a-9031726381b0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_abe3d1cc-e895-49ce-a1de-c50944428c1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b8e39b41-b60f-4311-ab55-0b92a3a2f11b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_abe3d1cc-e895-49ce-a1de-c50944428c1a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6bba78a6-f8d5-4530-819b-57e89395f613" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_abe3d1cc-e895-49ce-a1de-c50944428c1a" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6bba78a6-f8d5-4530-819b-57e89395f613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_6bba78a6-f8d5-4530-819b-57e89395f613_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6bba78a6-f8d5-4530-819b-57e89395f613" xlink:to="loc_us-gaap_ClassOfStockDomain_6bba78a6-f8d5-4530-819b-57e89395f613_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_8df92d9d-d8a6-4cb4-9dda-de84b01512cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6bba78a6-f8d5-4530-819b-57e89395f613" xlink:to="loc_us-gaap_ClassOfStockDomain_8df92d9d-d8a6-4cb4-9dda-de84b01512cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_176f3ee2-02f7-4c86-af6a-8f93f8c1e41b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_8df92d9d-d8a6-4cb4-9dda-de84b01512cc" xlink:to="loc_us-gaap_CommonClassAMember_176f3ee2-02f7-4c86-af6a-8f93f8c1e41b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_e27d1221-ad8e-4142-b23a-31b7bd390fea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_abe3d1cc-e895-49ce-a1de-c50944428c1a" xlink:to="loc_us-gaap_PlanNameAxis_e27d1221-ad8e-4142-b23a-31b7bd390fea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_e27d1221-ad8e-4142-b23a-31b7bd390fea_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_e27d1221-ad8e-4142-b23a-31b7bd390fea" xlink:to="loc_us-gaap_PlanNameDomain_e27d1221-ad8e-4142-b23a-31b7bd390fea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_c861804a-24cc-4db3-a68f-fe7a45001318" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_e27d1221-ad8e-4142-b23a-31b7bd390fea" xlink:to="loc_us-gaap_PlanNameDomain_c861804a-24cc-4db3-a68f-fe7a45001318" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_TwoThousandFifteenStockIncentivePlanMember_ea6d629d-1884-4d83-be8b-1f6014098c7b" xlink:href="appf-20201231.xsd#appf_TwoThousandFifteenStockIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_c861804a-24cc-4db3-a68f-fe7a45001318" xlink:to="loc_appf_TwoThousandFifteenStockIncentivePlanMember_ea6d629d-1884-4d83-be8b-1f6014098c7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_09f14fe1-fbea-44f7-bbd1-f1a2a0462851" xlink:href="appf-20201231.xsd#appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_c861804a-24cc-4db3-a68f-fe7a45001318" xlink:to="loc_appf_A2017PerformanceMetricTargetedFreeCashFlowPerformanceMetricMember_09f14fe1-fbea-44f7-bbd1-f1a2a0462851" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_d3355aa4-8585-4ba6-a813-aedef903f71e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_abe3d1cc-e895-49ce-a1de-c50944428c1a" xlink:to="loc_us-gaap_AwardTypeAxis_d3355aa4-8585-4ba6-a813-aedef903f71e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d3355aa4-8585-4ba6-a813-aedef903f71e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_d3355aa4-8585-4ba6-a813-aedef903f71e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d3355aa4-8585-4ba6-a813-aedef903f71e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_13562360-db78-4de1-be12-2118ef35ff02" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_d3355aa4-8585-4ba6-a813-aedef903f71e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_13562360-db78-4de1-be12-2118ef35ff02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_105b5140-0039-4955-b3b6-09365a6f36aa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_13562360-db78-4de1-be12-2118ef35ff02" xlink:to="loc_us-gaap_EmployeeStockOptionMember_105b5140-0039-4955-b3b6-09365a6f36aa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PerformanceStockOptionMember_9aaf7433-790b-48a3-9e37-091bea26b117" xlink:href="appf-20201231.xsd#appf_PerformanceStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_13562360-db78-4de1-be12-2118ef35ff02" xlink:to="loc_appf_PerformanceStockOptionMember_9aaf7433-790b-48a3-9e37-091bea26b117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_69272f10-d09e-43c4-b146-a63eed6f60b5" xlink:href="appf-20201231.xsd#appf_EmployeeStockOptionsAndPerformanceStockOptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_13562360-db78-4de1-be12-2118ef35ff02" xlink:to="loc_appf_EmployeeStockOptionsAndPerformanceStockOptionsMember_69272f10-d09e-43c4-b146-a63eed6f60b5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="extended" id="iea1e125f582e4db599959af4e8b209fe_StockBasedCompensationStockOptionActivityDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsDetails" xlink:type="extended" id="i506b3d7d20c1443692f02f3d300e9566_StockBasedCompensationRestrictedStockUnitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7cbc4f50-bc7b-43bc-88de-d61df4e53875" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7cbc4f50-bc7b-43bc-88de-d61df4e53875" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_d49fd0df-7ad0-4858-a19d-45a1cfcb0d9c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_d49fd0df-7ad0-4858-a19d-45a1cfcb0d9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_124b10a4-5496-4769-b098-d4d76e2cb172" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_124b10a4-5496-4769-b098-d4d76e2cb172" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_043a4e20-2430-4683-a369-c0bb16c5509d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_043a4e20-2430-4683-a369-c0bb16c5509d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3ace4c96-a0be-4b58-b8e5-6348bebdc2d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_dce603e2-2359-4425-bfaa-ccf9a247af6e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3ace4c96-a0be-4b58-b8e5-6348bebdc2d0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9f3e5903-8fe8-4403-8449-0c598ec90a08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7cbc4f50-bc7b-43bc-88de-d61df4e53875" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_93a33cca-1347-4c37-8cff-ba1698daa545" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_93a33cca-1347-4c37-8cff-ba1698daa545" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_d58664c2-9269-4b53-8b37-87ae36610a8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_d58664c2-9269-4b53-8b37-87ae36610a8d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_afe0aafa-531b-45e1-8967-cb81fdaf370e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_afe0aafa-531b-45e1-8967-cb81fdaf370e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_d34d494b-aaec-4897-8681-cfc326950a55" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_0678f8a5-db75-4f39-973e-3dca6e030110" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_d34d494b-aaec-4897-8681-cfc326950a55" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_4749e09a-f8c3-4e42-8111-a1dabfc3e7c5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_85a21726-f5b7-4e9d-a457-ba6a5769a88f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_7cbc4f50-bc7b-43bc-88de-d61df4e53875" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_85a21726-f5b7-4e9d-a457-ba6a5769a88f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_515569df-369b-4fef-8b89-37e1abdd22ab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_85a21726-f5b7-4e9d-a457-ba6a5769a88f" xlink:to="loc_us-gaap_AwardTypeAxis_515569df-369b-4fef-8b89-37e1abdd22ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_515569df-369b-4fef-8b89-37e1abdd22ab_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_515569df-369b-4fef-8b89-37e1abdd22ab" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_515569df-369b-4fef-8b89-37e1abdd22ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_250c11e2-ec0e-40b9-a483-63ca53a53b35" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_515569df-369b-4fef-8b89-37e1abdd22ab" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_250c11e2-ec0e-40b9-a483-63ca53a53b35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_af6e7388-28ed-4d9e-9698-ceaa756efacc" xlink:href="appf-20201231.xsd#appf_RestrictedStockUnitsAndPerformanceStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_250c11e2-ec0e-40b9-a483-63ca53a53b35" xlink:to="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_af6e7388-28ed-4d9e-9698-ceaa756efacc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationRestrictedStockUnitsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="extended" id="i5f7050b0272e4a1386c87f5c164b5fed_StockBasedCompensationRestrictedStockUnitsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_09bab94a-1df6-404e-be7a-33836d720134" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_09bab94a-1df6-404e-be7a-33836d720134" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_666de4a2-8477-4efc-b858-d5d8261f6672" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_666de4a2-8477-4efc-b858-d5d8261f6672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_c37a7a94-4726-49e6-a65e-c30f10d85180" xlink:href="appf-20201231.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAwardTargetPerformanceMetric_c37a7a94-4726-49e6-a65e-c30f10d85180" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent_b96e5645-061f-4761-a4d1-aba1afa01172" xlink:href="appf-20201231.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPerformanceBasedCashBonusPaymentPercent_b96e5645-061f-4761-a4d1-aba1afa01172" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_ed0eaee4-9ed2-4db6-9602-59ff602afabe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_ed0eaee4-9ed2-4db6-9602-59ff602afabe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_37412d02-6f6c-4ada-8ed4-99568e699c3a" xlink:href="appf-20201231.xsd#appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_appf_SharebasedCompensationArrangementsbySharebasedPaymentAwardPercentOfAchievementOfAwardTargetPerformanceMetric_37412d02-6f6c-4ada-8ed4-99568e699c3a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets_479b7657-76a9-4569-93a6-285a8b464fd2" xlink:href="appf-20201231.xsd#appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_appf_ShareBasedCompensationArrangementsByShareBasedPaymentAwardPercentOfCashBonusPaymentOnInitialTargets_479b7657-76a9-4569-93a6-285a8b464fd2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_b3d7a3cf-854f-4291-9cd4-255a1bde93a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_b3d7a3cf-854f-4291-9cd4-255a1bde93a8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_aab53899-eaa9-45b7-a70e-aa1fb07b5db2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_aab53899-eaa9-45b7-a70e-aa1fb07b5db2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_aaae7363-1220-4cb0-bc57-2636fc855ac1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_aaae7363-1220-4cb0-bc57-2636fc855ac1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_87cc6ece-ced5-4616-94e9-d0eff698a2a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_87cc6ece-ced5-4616-94e9-d0eff698a2a0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c156c2a8-b90c-4d6c-8941-754062a3e8aa" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_e01737cd-44ef-4074-af05-d5e53f83d7ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:to="loc_us-gaap_AwardTypeAxis_e01737cd-44ef-4074-af05-d5e53f83d7ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e01737cd-44ef-4074-af05-d5e53f83d7ed_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_e01737cd-44ef-4074-af05-d5e53f83d7ed" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e01737cd-44ef-4074-af05-d5e53f83d7ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_e01737cd-44ef-4074-af05-d5e53f83d7ed" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_fd9b0da8-9385-420b-aed2-b654737b8d47" xlink:href="appf-20201231.xsd#appf_RestrictedStockUnitsAndPerformanceStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:to="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_fd9b0da8-9385-420b-aed2-b654737b8d47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_e27ac384-3297-47c1-ba30-3456ad464ef1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_fd9b0da8-9385-420b-aed2-b654737b8d47" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_e27ac384-3297-47c1-ba30-3456ad464ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PerformanceStockUnitsMember_fe60527a-a2b7-4126-87fb-b4ee76d785a1" xlink:href="appf-20201231.xsd#appf_PerformanceStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_appf_RestrictedStockUnitsAndPerformanceStockUnitsMember_fd9b0da8-9385-420b-aed2-b654737b8d47" xlink:to="loc_appf_PerformanceStockUnitsMember_fe60527a-a2b7-4126-87fb-b4ee76d785a1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2019Member_d511bf2b-abff-4be1-8ce0-9746a450ea38" xlink:href="appf-20201231.xsd#appf_PerformanceStockUnitsGrantedin2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2019Member_d511bf2b-abff-4be1-8ce0-9746a450ea38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2018Member_f6f7e554-41ea-4ce1-bf81-571e443e79f0" xlink:href="appf-20201231.xsd#appf_PerformanceStockUnitsGrantedin2018Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2018Member_f6f7e554-41ea-4ce1-bf81-571e443e79f0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_PerformanceStockUnitsGrantedin2019and2018Member_712ba9fe-af21-442f-ae17-4507808a6dbd" xlink:href="appf-20201231.xsd#appf_PerformanceStockUnitsGrantedin2019and2018Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:to="loc_appf_PerformanceStockUnitsGrantedin2019and2018Member_712ba9fe-af21-442f-ae17-4507808a6dbd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_290296d3-e01b-4f07-8f69-0e82db64bff3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1ade40af-c9fc-46f8-a2b3-02637e29eea5" xlink:to="loc_us-gaap_RestrictedStockMember_290296d3-e01b-4f07-8f69-0e82db64bff3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_569d7236-73d8-4613-bf75-8eb5c334e6d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:to="loc_us-gaap_PlanNameAxis_569d7236-73d8-4613-bf75-8eb5c334e6d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_569d7236-73d8-4613-bf75-8eb5c334e6d0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_569d7236-73d8-4613-bf75-8eb5c334e6d0" xlink:to="loc_us-gaap_PlanNameDomain_569d7236-73d8-4613-bf75-8eb5c334e6d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_ef2ab081-c728-471b-ac49-ec2aeda58efe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_569d7236-73d8-4613-bf75-8eb5c334e6d0" xlink:to="loc_us-gaap_PlanNameDomain_ef2ab081-c728-471b-ac49-ec2aeda58efe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_A2016PerformanceMetricMember_262bd003-6125-474b-b217-fe09c720467d" xlink:href="appf-20201231.xsd#appf_A2016PerformanceMetricMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_ef2ab081-c728-471b-ac49-ec2aeda58efe" xlink:to="loc_appf_A2016PerformanceMetricMember_262bd003-6125-474b-b217-fe09c720467d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_cab2c566-2ab6-4732-bd9d-72a0a7b89a16" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:to="loc_srt_RangeAxis_cab2c566-2ab6-4732-bd9d-72a0a7b89a16" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cab2c566-2ab6-4732-bd9d-72a0a7b89a16_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_cab2c566-2ab6-4732-bd9d-72a0a7b89a16" xlink:to="loc_srt_RangeMember_cab2c566-2ab6-4732-bd9d-72a0a7b89a16_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b21dae90-cde8-49c1-bc70-f4e93e41973e" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_cab2c566-2ab6-4732-bd9d-72a0a7b89a16" xlink:to="loc_srt_RangeMember_b21dae90-cde8-49c1-bc70-f4e93e41973e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d6d3c6ef-3953-45c3-a1c8-0468cb6eaa0d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b21dae90-cde8-49c1-bc70-f4e93e41973e" xlink:to="loc_srt_MinimumMember_d6d3c6ef-3953-45c3-a1c8-0468cb6eaa0d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_591b9063-6871-4e06-a57d-ce328dcd6a03" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b21dae90-cde8-49c1-bc70-f4e93e41973e" xlink:to="loc_srt_MaximumMember_591b9063-6871-4e06-a57d-ce328dcd6a03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_be403a9e-8809-4c13-a3a3-737fbb611698" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_464a8786-28f0-423c-ae93-3d5115621e33" xlink:to="loc_us-gaap_VestingAxis_be403a9e-8809-4c13-a3a3-737fbb611698" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_be403a9e-8809-4c13-a3a3-737fbb611698_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_be403a9e-8809-4c13-a3a3-737fbb611698" xlink:to="loc_us-gaap_VestingDomain_be403a9e-8809-4c13-a3a3-737fbb611698_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_d83c65d7-896e-422f-b282-2b63c8f05eee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_be403a9e-8809-4c13-a3a3-737fbb611698" xlink:to="loc_us-gaap_VestingDomain_d83c65d7-896e-422f-b282-2b63c8f05eee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_9ec16971-7b4d-40f6-b69b-0989792ed207" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_d83c65d7-896e-422f-b282-2b63c8f05eee" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_9ec16971-7b4d-40f6-b69b-0989792ed207" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_33f9f11d-0103-4cf1-b254-eceabf3f0b43" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_d83c65d7-896e-422f-b282-2b63c8f05eee" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_33f9f11d-0103-4cf1-b254-eceabf3f0b43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_9c4afdb3-d765-4a21-aa84-8228c290701a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_d83c65d7-896e-422f-b282-2b63c8f05eee" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_9c4afdb3-d765-4a21-aa84-8228c290701a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#StockBasedCompensationRestrictedStockAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/StockBasedCompensationRestrictedStockAwardsDetails" xlink:type="extended" id="id5cee305b0fc4470bd5228735b57572a_StockBasedCompensationRestrictedStockAwardsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2975f9c-ad73-4a85-9380-64ef57c88d41" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2975f9c-ad73-4a85-9380-64ef57c88d41" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0bc6026d-a46a-4c01-87c0-3c266677d672" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0bc6026d-a46a-4c01-87c0-3c266677d672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4d8c83af-a45e-4bae-9822-1756f866ba1f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_4d8c83af-a45e-4bae-9822-1756f866ba1f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_be62a9bb-a1cc-4fde-aa47-4c63e9673d63" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_be62a9bb-a1cc-4fde-aa47-4c63e9673d63" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_91622bc5-7219-4a88-a231-ecf06fe6e27f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_198510b5-2e59-42e2-95ce-0606b91e16ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_91622bc5-7219-4a88-a231-ecf06fe6e27f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_85f7818f-2db5-4b17-b722-39b4cdc5ee7b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2975f9c-ad73-4a85-9380-64ef57c88d41" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b82d3df2-b720-459b-9097-65961ff28963" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b82d3df2-b720-459b-9097-65961ff28963" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_747f02aa-3bd5-4d19-9dbf-518f69599a08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_747f02aa-3bd5-4d19-9dbf-518f69599a08" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_549e8839-bc02-46bc-a1b4-21be9da1107d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_549e8839-bc02-46bc-a1b4-21be9da1107d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_6f36b188-b20d-4641-af34-b699d9bde2a2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_65b34cf6-186c-4194-9c37-852392e44128" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_6f36b188-b20d-4641-af34-b699d9bde2a2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_d7303112-55c0-4f9b-846f-6af6784c7428" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c5e27221-ce4c-41c0-bc50-9f820f78044b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2975f9c-ad73-4a85-9380-64ef57c88d41" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c5e27221-ce4c-41c0-bc50-9f820f78044b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_89110127-c561-4dde-a94a-03083c0a8c5e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c5e27221-ce4c-41c0-bc50-9f820f78044b" xlink:to="loc_us-gaap_AwardTypeAxis_89110127-c561-4dde-a94a-03083c0a8c5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_89110127-c561-4dde-a94a-03083c0a8c5e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_89110127-c561-4dde-a94a-03083c0a8c5e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_89110127-c561-4dde-a94a-03083c0a8c5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f3af3c42-633e-4d5c-8f8a-219fb6496af4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_89110127-c561-4dde-a94a-03083c0a8c5e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f3af3c42-633e-4d5c-8f8a-219fb6496af4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_09f86ff0-6b6f-488f-a978-751fc3136087" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f3af3c42-633e-4d5c-8f8a-219fb6496af4" xlink:to="loc_us-gaap_RestrictedStockMember_09f86ff0-6b6f-488f-a978-751fc3136087" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxes" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxes" xlink:type="extended" id="i75c1b44a7f82477e8ffb5b81c749ff32_IncomeTaxes"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesTables" xlink:type="extended" id="i21240664e0ba49c6b17eaefdc7421a10_IncomeTaxesTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" id="i6196cdd2dcf948c8a2e45150a9943d1b_IncomeTaxesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_761b0f9a-f092-461a-84cc-0af011d19193" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_761b0f9a-f092-461a-84cc-0af011d19193" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_5f3f8fe2-22e4-45e1-ae44-0b3d705e85cc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_5f3f8fe2-22e4-45e1-ae44-0b3d705e85cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfIncomeLossFromDisposalOfDiscontinuedOperation_9f555e4c-6fb1-428e-bf6b-98de3f6ef559" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfIncomeLossFromDisposalOfDiscontinuedOperation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfIncomeLossFromDisposalOfDiscontinuedOperation_9f555e4c-6fb1-428e-bf6b-98de3f6ef559" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_ca5c4c13-9cae-4ed9-822a-3c26462f5de0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_ca5c4c13-9cae-4ed9-822a-3c26462f5de0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_6042678f-571c-4699-b048-62de7cfc5e81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_OperatingLossCarryforwards_6042678f-571c-4699-b048-62de7cfc5e81" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_b95b974d-77a5-43a0-87dc-8e147932a275" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_b95b974d-77a5-43a0-87dc-8e147932a275" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_4c802623-f22a-4989-87ec-bb1d26efe4a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_4c802623-f22a-4989-87ec-bb1d26efe4a8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_9ebb0156-9939-4955-8a89-6e5a1bde336b" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_107f511d-7512-47f4-af92-f56596c6086f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_107f511d-7512-47f4-af92-f56596c6086f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_107f511d-7512-47f4-af92-f56596c6086f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_107f511d-7512-47f4-af92-f56596c6086f" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_107f511d-7512-47f4-af92-f56596c6086f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_bdb5163d-db39-42db-a02e-e37b0d747ea0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_107f511d-7512-47f4-af92-f56596c6086f" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_bdb5163d-db39-42db-a02e-e37b0d747ea0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_27cde466-0af7-4656-b466-e99ec889b2a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_bdb5163d-db39-42db-a02e-e37b0d747ea0" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_27cde466-0af7-4656-b466-e99ec889b2a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_82b8070e-7055-4b54-8a9f-38a400b10296" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_82b8070e-7055-4b54-8a9f-38a400b10296" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_82b8070e-7055-4b54-8a9f-38a400b10296_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_82b8070e-7055-4b54-8a9f-38a400b10296" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_82b8070e-7055-4b54-8a9f-38a400b10296_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_9b02610f-0b55-46fc-a8f8-b8dfdc818a54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_82b8070e-7055-4b54-8a9f-38a400b10296" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_9b02610f-0b55-46fc-a8f8-b8dfdc818a54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_MyCaseMember_c975ea6d-3c9f-4dc8-82aa-9755e236cebb" xlink:href="appf-20201231.xsd#appf_MyCaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_9b02610f-0b55-46fc-a8f8-b8dfdc818a54" xlink:to="loc_appf_MyCaseMember_c975ea6d-3c9f-4dc8-82aa-9755e236cebb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_c8ba4660-e25f-4acd-a663-bd1ec01f23da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_fc6fe0d5-8da9-49f5-80b2-9a3acb794eae" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_c8ba4660-e25f-4acd-a663-bd1ec01f23da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_da7cf45a-b639-4dd0-b737-acc6b5030dd4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_c8ba4660-e25f-4acd-a663-bd1ec01f23da" xlink:to="loc_us-gaap_DomesticCountryMember_da7cf45a-b639-4dd0-b737-acc6b5030dd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_50a47f58-aa2f-42a6-aa29-a8248c6e27d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_c8ba4660-e25f-4acd-a663-bd1ec01f23da" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_50a47f58-aa2f-42a6-aa29-a8248c6e27d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_c469105d-5221-4e7e-bead-c9427ae16272" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_5fe5cb8d-e1ce-4aa2-b985-c99b10db3d8c" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_c469105d-5221-4e7e-bead-c9427ae16272" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_c469105d-5221-4e7e-bead-c9427ae16272_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_c469105d-5221-4e7e-bead-c9427ae16272" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_c469105d-5221-4e7e-bead-c9427ae16272_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_e1743f2f-454e-460c-9841-c1a41e3cb8ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_c469105d-5221-4e7e-bead-c9427ae16272" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_e1743f2f-454e-460c-9841-c1a41e3cb8ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchMember_8fdd90d4-12e3-4916-aab3-5a6e0b4b4e7e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_e1743f2f-454e-460c-9841-c1a41e3cb8ce" xlink:to="loc_us-gaap_ResearchMember_8fdd90d4-12e3-4916-aab3-5a6e0b4b4e7e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesEffectiveIncomeTaxReconciliationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesEffectiveIncomeTaxReconciliationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesEffectiveIncomeTaxReconciliationDetails" xlink:type="extended" id="i5f0e323792ce4e598bea6d216ffd2b1b_IncomeTaxesEffectiveIncomeTaxReconciliationDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesComponentsofIncomeTaxesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesComponentsofIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesComponentsofIncomeTaxesDetails" xlink:type="extended" id="id710f6b202de4a039b89dcb51bd9c634_IncomeTaxesComponentsofIncomeTaxesDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesComponentsofDeferredTaxAssetsLiabilitiesDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesComponentsofDeferredTaxAssetsLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesComponentsofDeferredTaxAssetsLiabilitiesDetails" xlink:type="extended" id="i0fc6dd79280949b08dd213acd601a30b_IncomeTaxesComponentsofDeferredTaxAssetsLiabilitiesDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesChangesinValuationAllowanceDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesChangesinValuationAllowanceDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesChangesinValuationAllowanceDetails" xlink:type="extended" id="i57bf894f95374bcaa8945d3efd6f5e1d_IncomeTaxesChangesinValuationAllowanceDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" id="id95659c150d1428ebed3b7ee6b044a60_IncomeTaxesUnrecognizedTaxBenefitsDetails"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueandOtherInformation" xlink:type="simple" xlink:href="appf-20201231.xsd#RevenueandOtherInformation"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueandOtherInformation" xlink:type="extended" id="i7909fa03d21740f5b1e33b415f160df0_RevenueandOtherInformation"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueandOtherInformationTables" xlink:type="simple" xlink:href="appf-20201231.xsd#RevenueandOtherInformationTables"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueandOtherInformationTables" xlink:type="extended" id="iaaa70d487ac040878aa41a5c9a1656ce_RevenueandOtherInformationTables"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/RevenueandOtherInformationDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#RevenueandOtherInformationDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RevenueandOtherInformationDetails" xlink:type="extended" id="i3c50484bda6149f78f339572ecae51eb_RevenueandOtherInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductInformationLineItems_48471dad-b09f-4896-8f23-fce8c29f7167" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_e75e69e1-2441-4883-b662-a1f1ea0d2b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_48471dad-b09f-4896-8f23-fce8c29f7167" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_e75e69e1-2441-4883-b662-a1f1ea0d2b2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfProductInformationTable_2add2e0c-87b5-49d3-939c-8dab54fe058f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfProductInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductInformationLineItems_48471dad-b09f-4896-8f23-fce8c29f7167" xlink:to="loc_us-gaap_ScheduleOfProductInformationTable_2add2e0c-87b5-49d3-939c-8dab54fe058f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_fa1d257a-334e-482f-801d-b21c6d850cd8" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_2add2e0c-87b5-49d3-939c-8dab54fe058f" xlink:to="loc_srt_ProductOrServiceAxis_fa1d257a-334e-482f-801d-b21c6d850cd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_fa1d257a-334e-482f-801d-b21c6d850cd8_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_fa1d257a-334e-482f-801d-b21c6d850cd8" xlink:to="loc_srt_ProductsAndServicesDomain_fa1d257a-334e-482f-801d-b21c6d850cd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8ce52ac3-30e3-4f89-9146-683d7856b5ec" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_fa1d257a-334e-482f-801d-b21c6d850cd8" xlink:to="loc_srt_ProductsAndServicesDomain_8ce52ac3-30e3-4f89-9146-683d7856b5ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_CoreSolutionsMember_7509bd1e-4b2f-434d-ae20-4bae391ecbf8" xlink:href="appf-20201231.xsd#appf_CoreSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8ce52ac3-30e3-4f89-9146-683d7856b5ec" xlink:to="loc_appf_CoreSolutionsMember_7509bd1e-4b2f-434d-ae20-4bae391ecbf8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_ValuePlusServicesMember_eeb8b4aa-0fe7-4ab2-a094-8f6c47a9acec" xlink:href="appf-20201231.xsd#appf_ValuePlusServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8ce52ac3-30e3-4f89-9146-683d7856b5ec" xlink:to="loc_appf_ValuePlusServicesMember_eeb8b4aa-0fe7-4ab2-a094-8f6c47a9acec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_appf_OtherServicesMember_2df98588-1d6b-41a4-906d-6abb8ea708ac" xlink:href="appf-20201231.xsd#appf_OtherServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8ce52ac3-30e3-4f89-9146-683d7856b5ec" xlink:to="loc_appf_OtherServicesMember_2df98588-1d6b-41a4-906d-6abb8ea708ac" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.appfolio.com/role/RetirementPlans" xlink:type="simple" xlink:href="appf-20201231.xsd#RetirementPlans"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RetirementPlans" xlink:type="extended" id="i436ee41245cb4e10852290743b07d769_RetirementPlans"/>
  <link:roleRef roleURI="http://www.appfolio.com/role/RetirementPlansDetails" xlink:type="simple" xlink:href="appf-20201231.xsd#RetirementPlansDetails"/>
  <link:definitionLink xlink:role="http://www.appfolio.com/role/RetirementPlansDetails" xlink:type="extended" id="ia645922583964adb917309b1d69ba762_RetirementPlansDetails"/>
</link:linkbase>
