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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019fd3cf-e28f-7483-afc1-5356c4bf895a,g:c763bad5-9dcd-4621-9ad1-306bc4de2aca-->
<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://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="fsly-20260930.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd3cf-e321-7090-91fa-8e041f49e45a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd3cf-e321-7e13-a72d-7b0d90300827" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7090-91fa-8e041f49e45a" xlink:to="loc_us-gaap_StatementTable_019fd3cf-e321-7e13-a72d-7b0d90300827" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-740f-acd4-e68adfe76042" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd3cf-e321-7e13-a72d-7b0d90300827" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-740f-acd4-e68adfe76042" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-740f-acd4-e68adfe76042_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-740f-acd4-e68adfe76042" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-740f-acd4-e68adfe76042_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7a60-bf6c-f9cc0597c8b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-740f-acd4-e68adfe76042" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7a60-bf6c-f9cc0597c8b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019fd3cf-e321-7e52-939e-79fdbb3b4507" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7a60-bf6c-f9cc0597c8b6" xlink:to="loc_us-gaap_CommonClassAMember_019fd3cf-e321-7e52-939e-79fdbb3b4507" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019fd3cf-e321-7db1-8870-76e79a1b2108" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7a60-bf6c-f9cc0597c8b6" xlink:to="loc_us-gaap_CommonClassBMember_019fd3cf-e321-7db1-8870-76e79a1b2108" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7090-91fa-8e041f49e45a" xlink:to="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e321-79b3-8cdb-f2344b3cce68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e321-79b3-8cdb-f2344b3cce68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_019fd3cf-e321-7eba-8747-e3703a2474fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_019fd3cf-e321-7eba-8747-e3703a2474fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019fd3cf-e321-71fd-ba47-06e24a3d98ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019fd3cf-e321-71fd-ba47-06e24a3d98ef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019fd3cf-e321-7ac1-80ee-bbd27f593d10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019fd3cf-e321-7ac1-80ee-bbd27f593d10" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019fd3cf-e321-7250-ab54-0afa573787de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019fd3cf-e321-7bd7-a0a1-6984f4b18d32" xlink:to="loc_us-gaap_AssetsCurrent_019fd3cf-e321-7250-ab54-0afa573787de" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd3cf-e321-7371-bc77-f262eb1ccaa5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd3cf-e321-7371-bc77-f262eb1ccaa5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019fd3cf-e321-7f98-8bf2-47b4acc27d98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019fd3cf-e321-7f98-8bf2-47b4acc27d98" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd3cf-e321-7a93-86b8-1e03cee7df59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_Goodwill_019fd3cf-e321-7a93-86b8-1e03cee7df59" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019fd3cf-e321-7573-ab36-4949110a066d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019fd3cf-e321-7573-ab36-4949110a066d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019fd3cf-e321-7234-a347-29fdb6c7637a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019fd3cf-e321-7234-a347-29fdb6c7637a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019fd3cf-e321-77b4-83f3-782c7319c3fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd3cf-e321-7558-83c3-b9006d07b13d" xlink:to="loc_us-gaap_Assets_019fd3cf-e321-77b4-83f3-782c7319c3fb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7090-91fa-8e041f49e45a" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019fd3cf-e321-770d-91ff-ce09be42d6a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_AccountsPayableCurrent_019fd3cf-e321-770d-91ff-ce09be42d6a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019fd3cf-e321-7cf3-86c0-3057e1c62a9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019fd3cf-e321-7cf3-86c0-3057e1c62a9b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019fd3cf-e321-7b16-adb4-27b93a3540b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_LongTermDebtCurrent_019fd3cf-e321-7b16-adb4-27b93a3540b4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019fd3cf-e321-76c0-b12d-c7b07b6d9b43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019fd3cf-e321-76c0-b12d-c7b07b6d9b43" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019fd3cf-e321-705a-9b2a-2df71288c2c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019fd3cf-e321-705a-9b2a-2df71288c2c0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019fd3cf-e321-72de-8fc2-c6e57983e6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019fd3cf-e321-72de-8fc2-c6e57983e6fe" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019fd3cf-e321-7ca4-85d4-19f237bd9053" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019fd3cf-e321-78e6-bcaa-8814c04a8ee2" xlink:to="loc_us-gaap_LiabilitiesCurrent_019fd3cf-e321-7ca4-85d4-19f237bd9053" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019fd3cf-e321-7ebb-b3f4-246870ac3597" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019fd3cf-e321-7ebb-b3f4-246870ac3597" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019fd3cf-e321-752a-b254-ce45db5b547b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019fd3cf-e321-752a-b254-ce45db5b547b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019fd3cf-e321-7b36-8dd2-ff02ac467351" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019fd3cf-e321-7b36-8dd2-ff02ac467351" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019fd3cf-e321-7eed-a59f-b2afe40251c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_Liabilities_019fd3cf-e321-7eed-a59f-b2afe40251c4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019fd3cf-e321-7ae8-a206-41aa77afd5b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019fd3cf-e321-7ae8-a206-41aa77afd5b8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019fd3cf-e321-78f1-a5da-20840d33c367" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:to="loc_us-gaap_CommonStockValue_019fd3cf-e321-78f1-a5da-20840d33c367" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019fd3cf-e321-7eed-86f3-9319ac2fa293" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019fd3cf-e321-7eed-86f3-9319ac2fa293" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019fd3cf-e321-7eb6-9e05-3c77d43a44ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019fd3cf-e321-7eb6-9e05-3c77d43a44ef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019fd3cf-e321-7577-82df-f889b1bbf342" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019fd3cf-e321-7577-82df-f889b1bbf342" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019fd3cf-e321-740f-9330-10d51899a2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_019fd3cf-e321-7d22-9c10-65b73ae61d25" xlink:to="loc_us-gaap_StockholdersEquity_019fd3cf-e321-740f-9330-10d51899a2a3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019fd3cf-e321-75f7-8e4e-1a341fbd47c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019fd3cf-e321-7933-938f-7e26754625d5" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_019fd3cf-e321-75f7-8e4e-1a341fbd47c1" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="fsly-20260930.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd3cf-e321-72cc-a571-6a0c99742351" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_StatementTable_019fd3cf-e321-72cc-a571-6a0c99742351" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-7dd0-9825-dcaf10428682" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd3cf-e321-72cc-a571-6a0c99742351" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-7dd0-9825-dcaf10428682" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7dd0-9825-dcaf10428682_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-7dd0-9825-dcaf10428682" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7dd0-9825-dcaf10428682_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7b98-b5fb-8b50f43b5105" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd3cf-e321-7dd0-9825-dcaf10428682" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7b98-b5fb-8b50f43b5105" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019fd3cf-e321-75fd-b755-2c99f0ddd983" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7b98-b5fb-8b50f43b5105" xlink:to="loc_us-gaap_CommonClassAMember_019fd3cf-e321-75fd-b755-2c99f0ddd983" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019fd3cf-e321-7da8-ab7d-80c021516383" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019fd3cf-e321-7b98-b5fb-8b50f43b5105" xlink:to="loc_us-gaap_CommonClassBMember_019fd3cf-e321-7da8-ab7d-80c021516383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019fd3cf-e321-7e19-af20-ed7d0ea728cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019fd3cf-e321-7e19-af20-ed7d0ea728cf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_019fd3cf-e321-7436-b2c7-318dc9fdebc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_019fd3cf-e321-7436-b2c7-318dc9fdebc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_019fd3cf-e321-7dd6-ae63-e630a9b5f7d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_019fd3cf-e321-7dd6-ae63-e630a9b5f7d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019fd3cf-e321-7f04-a9cc-cbb07c229e53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_CommonStockSharesIssued_019fd3cf-e321-7f04-a9cc-cbb07c229e53" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e321-7571-9800-17f10953f698" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7c49-8e32-c0f11c586062" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e321-7571-9800-17f10953f698" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="fsly-20260930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd3cf-e321-7d01-b3dc-c06d4db66170" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd3cf-e321-701b-b936-3359135dfe9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7d01-b3dc-c06d4db66170" xlink:to="loc_us-gaap_StatementTable_019fd3cf-e321-701b-b936-3359135dfe9c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd3cf-e321-7880-b54d-c897bbaef67d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd3cf-e321-701b-b936-3359135dfe9c" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd3cf-e321-7880-b54d-c897bbaef67d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7880-b54d-c897bbaef67d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd3cf-e321-7880-b54d-c897bbaef67d" xlink:to="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7880-b54d-c897bbaef67d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd3cf-e321-7880-b54d-c897bbaef67d" xlink:to="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019fd3cf-e321-7d63-b6dd-68272ec4ff69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:to="loc_us-gaap_CommonStockMember_019fd3cf-e321-7d63-b6dd-68272ec4ff69" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019fd3cf-e321-7e0c-8bb9-0113025cd532" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019fd3cf-e321-7e0c-8bb9-0113025cd532" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019fd3cf-e321-7624-b5a6-a3430a87170d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019fd3cf-e321-7624-b5a6-a3430a87170d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019fd3cf-e321-79a8-b344-8d3d58b1bb8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd3cf-e321-7bfb-8612-0a3823291abe" xlink:to="loc_us-gaap_RetainedEarningsMember_019fd3cf-e321-79a8-b344-8d3d58b1bb8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd3cf-e321-7d01-b3dc-c06d4db66170" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e321-77e8-ad38-4f563e919bc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e321-77e8-ad38-4f563e919bc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019fd3cf-e321-705b-ba7c-6e5fdd77824f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockholdersEquity_019fd3cf-e321-705b-ba7c-6e5fdd77824f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019fd3cf-e321-788a-a3f3-19183ad564c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019fd3cf-e321-788a-a3f3-19183ad564c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_019fd3cf-e321-7065-892d-4e1404056542" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_019fd3cf-e321-7065-892d-4e1404056542" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_019fd3cf-e321-7c08-ae3b-687321c321e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_019fd3cf-e321-7c08-ae3b-687321c321e7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram_019fd3cf-e321-7207-a7d0-912b2b433278" xlink:href="fsly-20260930.xsd#fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram_019fd3cf-e321-7207-a7d0-912b2b433278" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram_019fd3cf-e321-7d63-848f-6f7fd1353fca" xlink:href="fsly-20260930.xsd#fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram_019fd3cf-e321-7d63-848f-6f7fd1353fca" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019fd3cf-e321-7b64-93b4-db5295e31774" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019fd3cf-e321-7b64-93b4-db5295e31774" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019fd3cf-e321-7716-902a-fb329019154c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019fd3cf-e321-7716-902a-fb329019154c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019fd3cf-e321-7daa-b304-2857df7d6405" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019fd3cf-e321-7daa-b304-2857df7d6405" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019fd3cf-e321-73c4-bc3c-fba6a85c701a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_NetIncomeLoss_019fd3cf-e321-73c4-bc3c-fba6a85c701a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019fd3cf-e321-7dab-8055-8ea45c8c6581" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd3cf-e321-7252-8b32-9e4ee35f2ea1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019fd3cf-e321-7dab-8055-8ea45c8c6581" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e321-732f-a4c2-69956d0245e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019fd3cf-e321-7591-a8c8-863c95d9aaee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#SummaryofSignificantAccountingPoliciesDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:to="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7302-885b-243486030143" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7302-885b-243486030143" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7302-885b-243486030143_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7302-885b-243486030143" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7302-885b-243486030143_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71f7-a14e-27e5f4eaae7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7302-885b-243486030143" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71f7-a14e-27e5f4eaae7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_ServersMember_019fd3cf-e3b5-77b9-9a47-2ed4d7f935cc" xlink:href="fsly-20260930.xsd#fsly_ServersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71f7-a14e-27e5f4eaae7b" xlink:to="loc_fsly_ServersMember_019fd3cf-e3b5-77b9-9a47-2ed4d7f935cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:to="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019fd3cf-e3b5-7a5e-9c6d-7133f1a55f20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019fd3cf-e3b5-7299-a0c5-b6b0f726f3dc" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019fd3cf-e3b5-7a5e-9c6d-7133f1a55f20" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceLifeMember_019fd3cf-e3b5-7ed9-86f3-89039d7bfba9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServiceLifeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019fd3cf-e3b5-7a5e-9c6d-7133f1a55f20" xlink:to="loc_us-gaap_ServiceLifeMember_019fd3cf-e3b5-7ed9-86f3-89039d7bfba9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019fd3cf-e3b5-717c-8ec6-5072e66ece08" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:to="loc_srt_MajorCustomersAxis_019fd3cf-e3b5-717c-8ec6-5072e66ece08" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019fd3cf-e3b5-717c-8ec6-5072e66ece08_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019fd3cf-e3b5-717c-8ec6-5072e66ece08" xlink:to="loc_srt_NameOfMajorCustomerDomain_019fd3cf-e3b5-717c-8ec6-5072e66ece08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019fd3cf-e3b5-70f0-88e2-64a74f5b3e3c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019fd3cf-e3b5-717c-8ec6-5072e66ece08" xlink:to="loc_srt_NameOfMajorCustomerDomain_019fd3cf-e3b5-70f0-88e2-64a74f5b3e3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_OneCustomerMember_019fd3cf-e3b5-77e0-8629-da03c5186fe6" xlink:href="fsly-20260930.xsd#fsly_OneCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019fd3cf-e3b5-70f0-88e2-64a74f5b3e3c" xlink:to="loc_fsly_OneCustomerMember_019fd3cf-e3b5-77e0-8629-da03c5186fe6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7798-9c1c-7ddc067a5978" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7798-9c1c-7ddc067a5978" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7798-9c1c-7ddc067a5978_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7798-9c1c-7ddc067a5978" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7798-9c1c-7ddc067a5978_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7d4b-8940-c7cb8992a6a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7798-9c1c-7ddc067a5978" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7d4b-8940-c7cb8992a6a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_019fd3cf-e3b5-70ee-a6d1-acb055f71904" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7d4b-8940-c7cb8992a6a4" xlink:to="loc_us-gaap_AccountsReceivableMember_019fd3cf-e3b5-70ee-a6d1-acb055f71904" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_019fd3cf-e3b5-726b-ad77-609192a0b694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7d4b-8940-c7cb8992a6a4" xlink:to="loc_us-gaap_SalesRevenueNetMember_019fd3cf-e3b5-726b-ad77-609192a0b694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-751c-a127-59798f0c0b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_019fd3cf-e3b5-7404-aa0b-80c188a180a2" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-751c-a127-59798f0c0b6b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-751c-a127-59798f0c0b6b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-751c-a127-59798f0c0b6b" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-751c-a127-59798f0c0b6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-73dc-b477-b8b5d506e327" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-751c-a127-59798f0c0b6b" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-73dc-b477-b8b5d506e327" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019fd3cf-e3b5-77c7-96d4-5a586f1bfd77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-73dc-b477-b8b5d506e327" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019fd3cf-e3b5-77c7-96d4-5a586f1bfd77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019fd3cf-e3b5-70a1-ae6c-57c622a99232" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019fd3cf-e3b5-70a1-ae6c-57c622a99232" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019fd3cf-e3b5-7b3b-ae28-ea6b30973c39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:to="loc_us-gaap_NetIncomeLoss_019fd3cf-e3b5-7b3b-ae28-ea6b30973c39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019fd3cf-e3b5-7f4c-a7db-24915fc806a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:to="loc_us-gaap_Depreciation_019fd3cf-e3b5-7f4c-a7db-24915fc806a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019fd3cf-e3b5-75b5-b078-33ef922c7b0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_019fd3cf-e3b5-77ef-888d-a21927baad55" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019fd3cf-e3b5-75b5-b078-33ef922c7b0c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/RevenueNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#RevenueNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/RevenueNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-7a02-989a-dfbafbd3454e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-77c4-982a-794ae91de05a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-7a02-989a-dfbafbd3454e" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-77c4-982a-794ae91de05a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7170-8f5a-554ad303d331" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-77c4-982a-794ae91de05a" xlink:to="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7170-8f5a-554ad303d331" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7170-8f5a-554ad303d331_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7170-8f5a-554ad303d331" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7170-8f5a-554ad303d331_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7013-8163-103f3ba86702" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7170-8f5a-554ad303d331" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7013-8163-103f3ba86702" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019fd3cf-e3b5-79d2-a44d-e0637874a0f9" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7013-8163-103f3ba86702" xlink:to="loc_country_US_019fd3cf-e3b5-79d2-a44d-e0637874a0f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7382-932c-004f7d86d049" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-77c4-982a-794ae91de05a" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7382-932c-004f7d86d049" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7382-932c-004f7d86d049_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7382-932c-004f7d86d049" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7382-932c-004f7d86d049_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7b88-b470-404a1c8a02e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019fd3cf-e3b5-7382-932c-004f7d86d049" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7b88-b470-404a1c8a02e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_019fd3cf-e3b5-71c2-bd05-8e97d64f1a22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019fd3cf-e3b5-7b88-b470-404a1c8a02e8" xlink:to="loc_us-gaap_SalesRevenueNetMember_019fd3cf-e3b5-71c2-bd05-8e97d64f1a22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-7a02-aa14-dd0c26689b12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-77c4-982a-794ae91de05a" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-7a02-aa14-dd0c26689b12" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-7a02-aa14-dd0c26689b12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-7a02-aa14-dd0c26689b12" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-7a02-aa14-dd0c26689b12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-774e-9cde-7e064ab0e0dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019fd3cf-e3b5-7a02-aa14-dd0c26689b12" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-774e-9cde-7e064ab0e0dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019fd3cf-e3b5-7f96-8fbe-405962e20b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019fd3cf-e3b5-774e-9cde-7e064ab0e0dd" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019fd3cf-e3b5-7f96-8fbe-405962e20b6c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019fd3cf-e3b5-7238-b436-b8e22f77ed68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-7a02-989a-dfbafbd3454e" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019fd3cf-e3b5-7238-b436-b8e22f77ed68" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/RevenueScheduleofNetRevenuebyGeographicRegionDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#RevenueScheduleofNetRevenuebyGeographicRegionDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/RevenueScheduleofNetRevenuebyGeographicRegionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-74da-851a-db955435f064" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-7720-8be7-14fe0d4f7749" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-74da-851a-db955435f064" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-7720-8be7-14fe0d4f7749" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7092-99de-c1cd1fe171f5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019fd3cf-e3b5-7720-8be7-14fe0d4f7749" xlink:to="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7092-99de-c1cd1fe171f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7092-99de-c1cd1fe171f5_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7092-99de-c1cd1fe171f5" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7092-99de-c1cd1fe171f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7900-be63-4720dab476d1" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e3b5-7092-99de-c1cd1fe171f5" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7900-be63-4720dab476d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019fd3cf-e3b5-7395-8b14-fe0310c7cca3" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7900-be63-4720dab476d1" xlink:to="loc_country_US_019fd3cf-e3b5-7395-8b14-fe0310c7cca3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_019fd3cf-e3b5-706a-8e67-23486ed5a47b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019fd3cf-e3b5-7900-be63-4720dab476d1" xlink:to="loc_us-gaap_NonUsMember_019fd3cf-e3b5-706a-8e67-23486ed5a47b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019fd3cf-e3b5-798f-bbdc-18b4b46333dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019fd3cf-e3b5-74da-851a-db955435f064" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019fd3cf-e3b5-798f-bbdc-18b4b46333dd" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/RevenueRemainingPerformanceObligationsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#RevenueRemainingPerformanceObligationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/RevenueRemainingPerformanceObligationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019fd3cf-e3b5-75f5-bf84-ce33a72da907" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019fd3cf-e3b5-75f5-bf84-ce33a72da907" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019fd3cf-e3b5-701f-8729-2818135d8f77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019fd3cf-e3b5-75f5-bf84-ce33a72da907" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019fd3cf-e3b5-701f-8729-2818135d8f77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019fd3cf-e3b5-7a08-a053-0890195d4da1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019fd3cf-e3b5-7a08-a053-0890195d4da1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019fd3cf-e3b5-7088-8ee9-4cc40ddb40e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019fd3cf-e3b5-7088-8ee9-4cc40ddb40e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019fd3cf-e3b5-7023-aea1-90cc16c936b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019fd3cf-e3b5-7023-aea1-90cc16c936b8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/RevenueRemainingPerformanceObligationsNarrativeDetails_1" xlink:type="simple" xlink:href="fsly-20260930.xsd#RevenueRemainingPerformanceObligationsNarrativeDetails_1"/>
  <link:definitionLink xlink:role="http://fastly.com/role/RevenueRemainingPerformanceObligationsNarrativeDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019fd3cf-e3b5-75f5-bf84-ce33a72da907" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_019fd3cf-e3b5-75f5-bf84-ce33a72da907" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019fd3cf-e3b5-7a08-a053-0890195d4da1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019fd3cf-e3b5-7a08-a053-0890195d4da1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019fd3cf-e3b5-7088-8ee9-4cc40ddb40e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019fd3cf-e3b5-7088-8ee9-4cc40ddb40e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019fd3cf-e3b5-7023-aea1-90cc16c936b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_019fd3cf-e3b5-7748-b695-705677c8a0db" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019fd3cf-e3b5-7023-aea1-90cc16c936b8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#InvestmentsandFairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_019fd3cf-e3b5-7a60-9340-125a89906d0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:to="loc_us-gaap_MoneyMarketFundsMember_019fd3cf-e3b5-7a60-9340-125a89906d0c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashMember_019fd3cf-e3b5-7580-9311-106c687d169e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:to="loc_us-gaap_CashMember_019fd3cf-e3b5-7580-9311-106c687d169e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019fd3cf-e3b5-7347-b3ae-d687d2ddcfad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019fd3cf-e3b5-7347-b3ae-d687d2ddcfad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019fd3cf-e3b5-7bec-9b87-8618f28c6b12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019fd3cf-e3b5-7bec-9b87-8618f28c6b12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019fd3cf-e3b5-77c6-bbf1-04523f65ab96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019fd3cf-e3b5-77c6-bbf1-04523f65ab96" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019fd3cf-e3b5-72be-a637-a5874f530da9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019fd3cf-e3b5-72be-a637-a5874f530da9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaperMember_019fd3cf-e3b5-7a13-b0a2-8cccd87b9a53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CommercialPaperMember_019fd3cf-e3b5-7a13-b0a2-8cccd87b9a53" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_01a15dac-246c-726e-967b-b1ce2e636694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_AgencySecuritiesMember_01a15dac-246c-726e-967b-b1ce2e636694" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_019fd3cf-e3b5-7ec0-8438-13481bc45d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_MunicipalBondsMember_019fd3cf-e3b5-7ec0-8438-13481bc45d4a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_019fd3cf-e3b5-7b67-bf6c-beb15ee34e21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CertificatesOfDepositMember_019fd3cf-e3b5-7b67-bf6c-beb15ee34e21" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019fd3cf-e3b5-7668-ba20-c0f15f050048" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019fd3cf-e3b5-7668-ba20-c0f15f050048" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e3b5-759f-8e9b-f0e2bc0e35fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e3b5-759f-8e9b-f0e2bc0e35fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019fd3cf-e3b5-7381-8cb3-740470a6e984" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019fd3cf-e3b5-7381-8cb3-740470a6e984" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019fd3cf-e3b5-7904-82e6-aff02e2ca5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019fd3cf-e3b5-7904-82e6-aff02e2ca5e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019fd3cf-e3b5-7316-907b-df76aa2fa954" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019fd3cf-e3b5-7316-907b-df76aa2fa954" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019fd3cf-e3b5-71bc-b4e7-422689c555a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019fd3cf-e3b5-71bc-b4e7-422689c555a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019fd3cf-e3b5-7ab4-a797-c7ef4bef5554" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019fd3cf-e3b5-7ab4-a797-c7ef4bef5554" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019fd3cf-e3b5-708f-b5ea-c1f44b584cfd" xlink:href="fsly-20260930.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019fd3cf-e3b5-708f-b5ea-c1f44b584cfd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019fd3cf-e3b5-7171-8de6-3d4f94369d08" xlink:href="fsly-20260930.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019fd3cf-e3b5-7171-8de6-3d4f94369d08" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails_1" xlink:type="simple" xlink:href="fsly-20260930.xsd#InvestmentsandFairValueMeasurementsDetails_1"/>
  <link:definitionLink xlink:role="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019fd3cf-e3b5-7a3a-9bd0-f5db6995697f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_019fd3cf-e3b5-7a60-9340-125a89906d0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:to="loc_us-gaap_MoneyMarketFundsMember_019fd3cf-e3b5-7a60-9340-125a89906d0c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashMember_019fd3cf-e3b5-7580-9311-106c687d169e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019fd3cf-e3b5-7b3c-bcba-e834746a288c" xlink:to="loc_us-gaap_CashMember_019fd3cf-e3b5-7580-9311-106c687d169e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd3cf-e3b5-7ccd-a8bb-9045090d1b04" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019fd3cf-e3b5-7347-b3ae-d687d2ddcfad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019fd3cf-e3b5-7347-b3ae-d687d2ddcfad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019fd3cf-e3b5-7bec-9b87-8618f28c6b12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd3cf-e3b5-775d-bdab-998b4ee8d1d1" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019fd3cf-e3b5-7bec-9b87-8618f28c6b12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019fd3cf-e3b5-774e-99a2-8310824986e0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019fd3cf-e3b5-7f51-9477-ad3bad4e66f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019fd3cf-e3b5-77c6-bbf1-04523f65ab96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019fd3cf-e3b5-77c6-bbf1-04523f65ab96" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019fd3cf-e3b5-72be-a637-a5874f530da9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019fd3cf-e3b5-72be-a637-a5874f530da9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaperMember_019fd3cf-e3b5-7a13-b0a2-8cccd87b9a53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CommercialPaperMember_019fd3cf-e3b5-7a13-b0a2-8cccd87b9a53" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_01a15dac-246c-726e-967b-b1ce2e636694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_AgencySecuritiesMember_01a15dac-246c-726e-967b-b1ce2e636694" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MunicipalBondsMember_019fd3cf-e3b5-7ec0-8438-13481bc45d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MunicipalBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_MunicipalBondsMember_019fd3cf-e3b5-7ec0-8438-13481bc45d4a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_019fd3cf-e3b5-7b67-bf6c-beb15ee34e21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019fd3cf-e3b5-7d84-9fbf-0def0b51c980" xlink:to="loc_us-gaap_CertificatesOfDepositMember_019fd3cf-e3b5-7b67-bf6c-beb15ee34e21" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e3b5-759f-8e9b-f0e2bc0e35fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd3cf-e3b5-759f-8e9b-f0e2bc0e35fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019fd3cf-e3b5-7381-8cb3-740470a6e984" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019fd3cf-e3b5-7381-8cb3-740470a6e984" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019fd3cf-e3b5-7904-82e6-aff02e2ca5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019fd3cf-e3b5-7904-82e6-aff02e2ca5e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019fd3cf-e3b5-7316-907b-df76aa2fa954" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019fd3cf-e3b5-7316-907b-df76aa2fa954" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019fd3cf-e3b5-71bc-b4e7-422689c555a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019fd3cf-e3b5-71bc-b4e7-422689c555a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019fd3cf-e3b5-7ab4-a797-c7ef4bef5554" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract_019fd3cf-e3b5-7225-be5b-36290c21d34f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019fd3cf-e3b5-7ab4-a797-c7ef4bef5554" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019fd3cf-e3b5-708f-b5ea-c1f44b584cfd" xlink:href="fsly-20260930.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019fd3cf-e3b5-708f-b5ea-c1f44b584cfd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019fd3cf-e3b5-7171-8de6-3d4f94369d08" xlink:href="fsly-20260930.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019fd3cf-e3b5-719a-8a9b-d712e4f6c3b5" xlink:to="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019fd3cf-e3b5-7171-8de6-3d4f94369d08" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7f4f-a3b4-04b27993e584" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-70e8-808b-4c9aea671c62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7f4f-a3b4-04b27993e584" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-70e8-808b-4c9aea671c62" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-70e8-808b-4c9aea671c62" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7d8f-9d2c-4bca26eff2cc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerEquipmentMember_019fd3cf-e3b5-7e63-af8c-c7ac50d23e76" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComputerEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:to="loc_us-gaap_ComputerEquipmentMember_019fd3cf-e3b5-7e63-af8c-c7ac50d23e76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_019fd3cf-e3b5-7386-b849-24804f3e4ddc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_019fd3cf-e3b5-7386-b849-24804f3e4ddc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_019fd3cf-e3b5-7282-a216-d84f75f23f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_019fd3cf-e3b5-7282-a216-d84f75f23f2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_019fd3cf-e3b5-79ad-8687-44e8228f4429" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:to="loc_us-gaap_OfficeEquipmentMember_019fd3cf-e3b5-79ad-8687-44e8228f4429" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_019fd3cf-e3b5-7468-ac62-95fb86bdcd4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7a02-a72a-932bea12f73d" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_019fd3cf-e3b5-7468-ac62-95fb86bdcd4e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-751d-892e-a15a5ef78ed0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7f4f-a3b4-04b27993e584" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-751d-892e-a15a5ef78ed0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-7b67-8b65-bc4b62503055" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7f4f-a3b4-04b27993e584" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-7b67-8b65-bc4b62503055" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-775d-ab47-a2eaa03c4179" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7f4f-a3b4-04b27993e584" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd3cf-e3b5-775d-ab47-a2eaa03c4179" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#BalanceSheetInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/BalanceSheetInformationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7332-bdd3-638056d642c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-7fbf-9844-a0ff1ed384cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7332-bdd3-638056d642c0" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-7fbf-9844-a0ff1ed384cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7278-900d-3fa705e6956b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd3cf-e3b5-7fbf-9844-a0ff1ed384cd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7278-900d-3fa705e6956b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7278-900d-3fa705e6956b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7278-900d-3fa705e6956b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-7278-900d-3fa705e6956b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71d1-9a49-39d4d3784302" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019fd3cf-e3b5-7278-900d-3fa705e6956b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71d1-9a49-39d4d3784302" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_019fd3cf-e3b5-7fb8-b631-c093a104678f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019fd3cf-e3b5-71d1-9a49-39d4d3784302" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_019fd3cf-e3b5-7fb8-b631-c093a104678f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges_01a11a5a-1db6-77c2-b214-39f6eec544f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TangibleAssetImpairmentCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7332-bdd3-638056d642c0" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges_01a11a5a-1db6-77c2-b214-39f6eec544f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019fd3cf-e3b5-757c-b9a5-06a4c0aad0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7332-bdd3-638056d642c0" xlink:to="loc_us-gaap_Depreciation_019fd3cf-e3b5-757c-b9a5-06a4c0aad0cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_019fd3cf-e3b5-7019-9d79-7b95f03606a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CapitalizedContractCostAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd3cf-e3b5-7332-bdd3-638056d642c0" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_019fd3cf-e3b5-7019-9d79-7b95f03606a4" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/LeasesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_019fd3cf-e3b5-7035-aa6b-6946f867452d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_019fd3cf-e3b5-76d5-9765-f3c1ce9ead7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019fd3cf-e3b5-7035-aa6b-6946f867452d" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_019fd3cf-e3b5-76d5-9765-f3c1ce9ead7a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_019fd3cf-e3b5-76d5-9765-f3c1ce9ead7a" xlink:to="loc_srt_RangeAxis_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e" xlink:to="loc_srt_RangeMember_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd3cf-e3b5-74f9-a3d8-774ae970e1f5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fd3cf-e3b5-77a0-a8b4-d9c13dbd0a3e" xlink:to="loc_srt_RangeMember_019fd3cf-e3b5-74f9-a3d8-774ae970e1f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fd3cf-e3b5-7f50-ab31-7a7ad29824c4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd3cf-e3b5-74f9-a3d8-774ae970e1f5" xlink:to="loc_srt_MinimumMember_019fd3cf-e3b5-7f50-ab31-7a7ad29824c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fd3cf-e3b5-7d90-8e71-6baff11ee6d4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd3cf-e3b5-74f9-a3d8-774ae970e1f5" xlink:to="loc_srt_MaximumMember_019fd3cf-e3b5-7d90-8e71-6baff11ee6d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_019fd3cf-e3b5-7d3f-8cc4-c9ce26b2c745" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019fd3cf-e3b5-7035-aa6b-6946f867452d" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_019fd3cf-e3b5-7d3f-8cc4-c9ce26b2c745" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#GoodwillandIntangibleAssetsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_01a17d47-08e0-776a-8d80-711951f88e05" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_01a17d47-08e0-776a-8d80-711951f88e05" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a17d47-08e0-7916-8a59-7984ceb058c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_01a17d47-08e0-776a-8d80-711951f88e05" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a17d47-08e0-7916-8a59-7984ceb058c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a17d47-08e0-7916-8a59-7984ceb058c3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a17d47-08e0-7916-8a59-7984ceb058c3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a17d47-08e0-7916-8a59-7984ceb058c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a17d47-08e0-771f-be4a-5eaf9b8c4b91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a17d47-08e0-7916-8a59-7984ceb058c3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a17d47-08e0-771f-be4a-5eaf9b8c4b91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_InternetProtocolAddressesMember_01a17d47-08e0-733d-b079-f85cd076e908" xlink:href="fsly-20260930.xsd#fsly_InternetProtocolAddressesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a17d47-08e0-771f-be4a-5eaf9b8c4b91" xlink:to="loc_fsly_InternetProtocolAddressesMember_01a17d47-08e0-733d-b079-f85cd076e908" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd3cf-e3b5-7588-b0e8-2532a57a11e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_Goodwill_019fd3cf-e3b5-7588-b0e8-2532a57a11e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019fd3cf-e3b5-7ad3-a78b-0f4be174ab9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019fd3cf-e3b5-7ad3-a78b-0f4be174ab9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_01a11057-462b-7539-8c20-3eb3c91c6f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_01a11057-462b-7539-8c20-3eb3c91c6f4d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a11055-d29e-7ccf-aa78-4fc009dd8750" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a11055-d29e-7ccf-aa78-4fc009dd8750" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019fd3cf-e3b5-72d1-bcdb-3a696c394d03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_01a17d47-08e0-7181-bcc7-c84531316077" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019fd3cf-e3b5-72d1-bcdb-3a696c394d03" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019fd3cf-e3b5-7b12-912e-575718843644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019fd3cf-e3b5-767d-a8b6-15845c3f30ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019fd3cf-e3b5-7b12-912e-575718843644" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019fd3cf-e3b5-767d-a8b6-15845c3f30ab" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019fd3cf-e3b5-7740-865a-7e006221930f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019fd3cf-e3b5-767d-a8b6-15845c3f30ab" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019fd3cf-e3b5-7740-865a-7e006221930f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-7740-865a-7e006221930f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019fd3cf-e3b5-7740-865a-7e006221930f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-7740-865a-7e006221930f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019fd3cf-e3b5-7740-865a-7e006221930f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019fd3cf-e3b5-71ce-ac1f-9a5553df7e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019fd3cf-e3b5-71ce-ac1f-9a5553df7e9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_019fd3cf-e3b5-7ba0-b444-6da5a8f8c89a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_019fd3cf-e3b5-7ba0-b444-6da5a8f8c89a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_019fd3cf-e3b5-7ff7-a22a-474177a7aa48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:to="loc_us-gaap_TradeNamesMember_019fd3cf-e3b5-7ff7-a22a-474177a7aa48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_InternetProtocolAddressesAndOtherMember_019fd3cf-e3b5-7bca-92fa-8ead983dbdff" xlink:href="fsly-20260930.xsd#fsly_InternetProtocolAddressesAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019fd3cf-e3b5-777d-8c9a-9d708cc22b1d" xlink:to="loc_fsly_InternetProtocolAddressesAndOtherMember_019fd3cf-e3b5-7bca-92fa-8ead983dbdff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019fd3cf-e3b5-7c9d-a2cc-dce87f08b7ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019fd3cf-e3b5-7b12-912e-575718843644" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019fd3cf-e3b5-7c9d-a2cc-dce87f08b7ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019fd3cf-e3b5-7481-a32b-98ce5b388405" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019fd3cf-e3b5-7b12-912e-575718843644" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019fd3cf-e3b5-7481-a32b-98ce5b388405" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019fd3cf-e3b5-7d19-af72-14b78ff7afee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019fd3cf-e3b5-7b12-912e-575718843644" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019fd3cf-e3b5-7d19-af72-14b78ff7afee" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsSeniorSecuredCreditFacilitiesCreditAgreementNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsSeniorSecuredCreditFacilitiesCreditAgreementNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsSeniorSecuredCreditFacilitiesCreditAgreementNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7fa0-93c6-da9a7167f1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7842-8ea8-e1f7c2644f96" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7fa0-93c6-da9a7167f1d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_SeniorSecuredCreditFacilitiesAgreementMember_019fd3cf-e3b5-7e59-b767-6f5df811f536" xlink:href="fsly-20260930.xsd#fsly_SeniorSecuredCreditFacilitiesAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7fa0-93c6-da9a7167f1d8" xlink:to="loc_fsly_SeniorSecuredCreditFacilitiesAgreementMember_019fd3cf-e3b5-7e59-b767-6f5df811f536" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2028ConvertibleNotesMember_01a18215-4ada-7568-afb4-a08e47d4febe" xlink:href="fsly-20260930.xsd#fsly_A2028ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7fa0-93c6-da9a7167f1d8" xlink:to="loc_fsly_A2028ConvertibleNotesMember_01a18215-4ada-7568-afb4-a08e47d4febe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_us-gaap_VariableRateAxis_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1" xlink:to="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-74f0-8116-4b182835c064" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_01a17d32-b5b1-77dd-b8cb-2a8c1f8aede1" xlink:to="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-74f0-8116-4b182835c064" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_01a17d32-b5b1-7664-b9bc-c54b36082e91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-74f0-8116-4b182835c064" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_01a17d32-b5b1-7664-b9bc-c54b36082e91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_01a17d32-b5b1-7f38-b40c-b260ac277c6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_01a17d32-b5b1-74f0-8116-4b182835c064" xlink:to="loc_us-gaap_BaseRateMember_01a17d32-b5b1-7f38-b40c-b260ac277c6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_01a17d32-b5b1-724e-b56c-e578c0b7e640" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_srt_RangeAxis_01a17d32-b5b1-724e-b56c-e578c0b7e640" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a17d32-b5b1-724e-b56c-e578c0b7e640_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_01a17d32-b5b1-724e-b56c-e578c0b7e640" xlink:to="loc_srt_RangeMember_01a17d32-b5b1-724e-b56c-e578c0b7e640_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a17d32-b5b1-7875-8a1b-25ba790f465c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_01a17d32-b5b1-724e-b56c-e578c0b7e640" xlink:to="loc_srt_RangeMember_01a17d32-b5b1-7875-8a1b-25ba790f465c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_01a17d32-b5b1-7440-9682-ef9da0aa36ed" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_01a17d32-b5b1-7875-8a1b-25ba790f465c" xlink:to="loc_srt_MinimumMember_01a17d32-b5b1-7440-9682-ef9da0aa36ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_01a17d32-b5b1-7a2a-8181-e1f8b088a96c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_01a17d32-b5b1-7875-8a1b-25ba790f465c" xlink:to="loc_srt_MaximumMember_01a17d32-b5b1-7a2a-8181-e1f8b088a96c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_01a18215-4ada-75c4-a9f0-d826cf2e9bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_01a18215-4ada-75c4-a9f0-d826cf2e9bdd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-75c4-a9f0-d826cf2e9bdd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a18215-4ada-75c4-a9f0-d826cf2e9bdd" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-75c4-a9f0-d826cf2e9bdd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-7b95-8fbc-89e4eed0704a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a18215-4ada-75c4-a9f0-d826cf2e9bdd" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-7b95-8fbc-89e4eed0704a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_01a183aa-ce0e-7872-bf05-e62420197647" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-7b95-8fbc-89e4eed0704a" xlink:to="loc_us-gaap_LineOfCreditMember_01a183aa-ce0e-7872-bf05-e62420197647" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_01a18215-4ada-75e4-99c5-427ab0a715be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_01a18215-4ada-7b95-8fbc-89e4eed0704a" xlink:to="loc_us-gaap_ConvertibleDebtMember_01a18215-4ada-75e4-99c5-427ab0a715be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CommitmentFeeTierAxis_01a183af-fa0c-7be1-8980-96adcbf0a9cb" xlink:href="fsly-20260930.xsd#fsly_CommitmentFeeTierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_fsly_CommitmentFeeTierAxis_01a183af-fa0c-7be1-8980-96adcbf0a9cb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-7be1-8980-96adcbf0a9cb_default" xlink:href="fsly-20260930.xsd#fsly_CommitmentFeeTierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fsly_CommitmentFeeTierAxis_01a183af-fa0c-7be1-8980-96adcbf0a9cb" xlink:to="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-7be1-8980-96adcbf0a9cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-787b-9e3a-01aff95a0fda" xlink:href="fsly-20260930.xsd#fsly_CommitmentFeeTierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fsly_CommitmentFeeTierAxis_01a183af-fa0c-7be1-8980-96adcbf0a9cb" xlink:to="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-787b-9e3a-01aff95a0fda" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CommitmentFeeTierOneMember_01a183b0-2f27-7c80-bfb8-09b367bd9e04" xlink:href="fsly-20260930.xsd#fsly_CommitmentFeeTierOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-787b-9e3a-01aff95a0fda" xlink:to="loc_fsly_CommitmentFeeTierOneMember_01a183b0-2f27-7c80-bfb8-09b367bd9e04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CommitmentFeeTierTwoMember_01a183b0-58e0-7b51-8af8-304ae77f2848" xlink:href="fsly-20260930.xsd#fsly_CommitmentFeeTierTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_CommitmentFeeTierDomain_01a183af-fa0c-787b-9e3a-01aff95a0fda" xlink:to="loc_fsly_CommitmentFeeTierTwoMember_01a183b0-58e0-7b51-8af8-304ae77f2848" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioAxis_01a183b8-11f5-730e-b5b5-94a5a05798b6" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-749d-bfaa-e45d9c254e7c" xlink:to="loc_fsly_DebtCovenantScenarioAxis_01a183b8-11f5-730e-b5b5-94a5a05798b6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-730e-b5b5-94a5a05798b6_default" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fsly_DebtCovenantScenarioAxis_01a183b8-11f5-730e-b5b5-94a5a05798b6" xlink:to="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-730e-b5b5-94a5a05798b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-750c-b898-90c3c3fb6a5b" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fsly_DebtCovenantScenarioAxis_01a183b8-11f5-730e-b5b5-94a5a05798b6" xlink:to="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-750c-b898-90c3c3fb6a5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioOneMember_01a183b8-6b06-7964-8648-3fae9535ec33" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-750c-b898-90c3c3fb6a5b" xlink:to="loc_fsly_DebtCovenantScenarioOneMember_01a183b8-6b06-7964-8648-3fae9535ec33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioTwoMember_01a183b8-927b-7900-9dac-33e7310911d7" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-750c-b898-90c3c3fb6a5b" xlink:to="loc_fsly_DebtCovenantScenarioTwoMember_01a183b8-927b-7900-9dac-33e7310911d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantScenarioThreeMember_01a183b8-bd24-7cdf-9866-bae5658cdd0e" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantScenarioThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_DebtCovenantScenarioDomain_01a183b8-11f5-750c-b898-90c3c3fb6a5b" xlink:to="loc_fsly_DebtCovenantScenarioThreeMember_01a183b8-bd24-7cdf-9866-bae5658cdd0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_01a17d32-b5b1-7628-bb6a-72a716e56b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_01a17d32-b5b1-7628-bb6a-72a716e56b6c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateIncreaseDecrease_01a183a8-048b-7a2e-bce0-350c4294407f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_DebtInstrumentInterestRateIncreaseDecrease_01a183a8-048b-7a2e-bce0-350c4294407f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_01a17d32-b5b1-7b74-9105-5162b768ea71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_01a17d32-b5b1-7b74-9105-5162b768ea71" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_01a17d32-b5b1-707e-8a47-7b3fa782503c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_01a17d32-b5b1-707e-8a47-7b3fa782503c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_LineOfCreditFacilityUnusedCapacityCommitmentFeeOutstandingBalanceThreshold_01a183af-72b7-7108-9ba3-8a6a58a243de" xlink:href="fsly-20260930.xsd#fsly_LineOfCreditFacilityUnusedCapacityCommitmentFeeOutstandingBalanceThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_LineOfCreditFacilityUnusedCapacityCommitmentFeeOutstandingBalanceThreshold_01a183af-72b7-7108-9ba3-8a6a58a243de" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentExtensionTerm_01a183b2-d6de-7946-a061-bc47199b50f1" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtInstrumentExtensionTerm_01a183b2-d6de-7946-a061-bc47199b50f1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentCovenantNetLiquidityThreshold_01a17d32-b5b1-762d-99d9-cba256722d0d" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentCovenantNetLiquidityThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtInstrumentCovenantNetLiquidityThreshold_01a17d32-b5b1-762d-99d9-cba256722d0d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a17d32-b5b1-744e-91b5-4d3cf46c7471" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a17d32-b5b1-744e-91b5-4d3cf46c7471" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentCovenantConvertibleDebtOutstandingThreshold_01a17d32-b5b1-76bc-8b55-5a2cb545b0d3" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentCovenantConvertibleDebtOutstandingThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtInstrumentCovenantConvertibleDebtOutstandingThreshold_01a17d32-b5b1-76bc-8b55-5a2cb545b0d3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantAdjustedQuickRatioMinimumRequirement_019fd3cf-e3b5-7d7d-850e-0760b2334a80" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantAdjustedQuickRatioMinimumRequirement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtCovenantAdjustedQuickRatioMinimumRequirement_019fd3cf-e3b5-7d7d-850e-0760b2334a80" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantSpringingRevenueGrowthQuarterlyBasisMinimum_019fd3cf-e3b5-74f4-a303-cc5b1226d7af" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantSpringingRevenueGrowthQuarterlyBasisMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtCovenantSpringingRevenueGrowthQuarterlyBasisMinimum_019fd3cf-e3b5-74f4-a303-cc5b1226d7af" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtCovenantAdjustedQuickRatioMinimumThresholdToTriggerRevenueGrowthCovenantRequirement_019fd3cf-e3b5-77b9-b84c-537b41625329" xlink:href="fsly-20260930.xsd#fsly_DebtCovenantAdjustedQuickRatioMinimumThresholdToTriggerRevenueGrowthCovenantRequirement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_fsly_DebtCovenantAdjustedQuickRatioMinimumThresholdToTriggerRevenueGrowthCovenantRequirement_019fd3cf-e3b5-77b9-b84c-537b41625329" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019fd3cf-e3b5-7f2c-83c8-973e14abd941" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019fd3cf-e3b5-7f2c-83c8-973e14abd941" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019fd3cf-e3b5-74de-996a-1f88b8ae8753" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-725d-9197-5cf2a7d015bc" xlink:to="loc_us-gaap_LineOfCredit_019fd3cf-e3b5-74de-996a-1f88b8ae8753" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsConvertibleSeniorNotesNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsConvertibleSeniorNotesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsConvertibleSeniorNotesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-78d6-82ea-75ec125861a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-78d6-82ea-75ec125861a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-78d6-82ea-75ec125861a4" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b0d-9d60-d1624478a8eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-74c9-8a9d-ed0c6a5f2221" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b0d-9d60-d1624478a8eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2026ConvertibleNotesMember_019fd3cf-e3b5-7231-b144-daf1907a6244" xlink:href="fsly-20260930.xsd#fsly_A2026ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b0d-9d60-d1624478a8eb" xlink:to="loc_fsly_A2026ConvertibleNotesMember_019fd3cf-e3b5-7231-b144-daf1907a6244" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-757a-93f3-dca98d4b57c6" xlink:href="fsly-20260930.xsd#fsly_A2028ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b0d-9d60-d1624478a8eb" xlink:to="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-757a-93f3-dca98d4b57c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7cf0-86c1-b302607f0c0d" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b0d-9d60-d1624478a8eb" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7cf0-86c1-b302607f0c0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-78d6-82ea-75ec125861a4" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71b1-abae-da2e3fde6c57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7f0a-bd77-3d396bf048d7" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71b1-abae-da2e3fde6c57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7824-9ff7-dc0f7a2ba521" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71b1-abae-da2e3fde6c57" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7824-9ff7-dc0f7a2ba521" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019fd3cf-e3b5-7b09-b3c8-7ea52916df2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019fd3cf-e3b5-7b09-b3c8-7ea52916df2d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019fd3cf-e3b5-7a51-9458-6ebb5d258d49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019fd3cf-e3b5-7a51-9458-6ebb5d258d49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentFaceAmountAdditionalPrincipalIssuable_019fd3cf-e3b5-7cbc-bac5-9fb6c8470a11" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentFaceAmountAdditionalPrincipalIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_fsly_DebtInstrumentFaceAmountAdditionalPrincipalIssuable_019fd3cf-e3b5-7cbc-bac5-9fb6c8470a11" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_019fd3cf-e3b5-7f61-a1c5-5a7b09ff3530" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_019fd3cf-e3b5-7f61-a1c5-5a7b09ff3530" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_019fd3cf-e3b5-7954-bf4e-41e3df1f90cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepurchasedFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_019fd3cf-e3b5-7954-bf4e-41e3df1f90cd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchaseAmount_019fd3cf-e3b5-72ee-9649-f3bcd3439c15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepurchaseAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_DebtInstrumentRepurchaseAmount_019fd3cf-e3b5-72ee-9649-f3bcd3439c15" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentRepurchaseTransactionCosts_019fd3cf-e3b5-77a7-a5c7-af517b934b09" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentRepurchaseTransactionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_fsly_DebtInstrumentRepurchaseTransactionCosts_019fd3cf-e3b5-77a7-a5c7-af517b934b09" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_019fd3cf-e3b5-71df-b79f-5f015af1cc2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExtinguishmentOfDebtAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_019fd3cf-e3b5-71df-b79f-5f015af1cc2e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019fd3cf-e3b5-769d-b480-e01a143e592a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ade-a3fd-8c2ec30b5f15" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019fd3cf-e3b5-769d-b480-e01a143e592a" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsScheduleofConvertibleSeniorNotesDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsScheduleofConvertibleSeniorNotesDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsScheduleofConvertibleSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ea8-ae07-6bcecc7c5545" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7737-80fe-7105516cb67d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ea8-ae07-6bcecc7c5545" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7737-80fe-7105516cb67d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7737-80fe-7105516cb67d" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7278-9be1-6c3fbf6b394a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7660-bcf1-ea8e86eb8134" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7278-9be1-6c3fbf6b394a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-7d5e-8f13-48f0ec09feab" xlink:href="fsly-20260930.xsd#fsly_A2028ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7278-9be1-6c3fbf6b394a" xlink:to="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-7d5e-8f13-48f0ec09feab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7ae2-aefd-2b372d179922" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7278-9be1-6c3fbf6b394a" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7ae2-aefd-2b372d179922" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7737-80fe-7105516cb67d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71a4-919f-af1df1d65728" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-752b-a3c0-c7bc6fc53e16" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71a4-919f-af1df1d65728" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-77fd-89aa-049fab166a10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-71a4-919f-af1df1d65728" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-77fd-89aa-049fab166a10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019fd3cf-e3b5-7fba-b06c-328d62b585de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ea8-ae07-6bcecc7c5545" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019fd3cf-e3b5-7fba-b06c-328d62b585de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019fd3cf-e3b5-7002-adbf-955f643761b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ea8-ae07-6bcecc7c5545" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019fd3cf-e3b5-7002-adbf-955f643761b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019fd3cf-e3b5-79ab-bd84-855dea74f3f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7ea8-ae07-6bcecc7c5545" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019fd3cf-e3b5-79ab-bd84-855dea74f3f7" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsCappedCallsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsCappedCallsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsCappedCallsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-716d-b5e0-08ddc226f887" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7a2a-bd90-e58da3b0867e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-716d-b5e0-08ddc226f887" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7a2a-bd90-e58da3b0867e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-78f5-8c17-b3036ad9548f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7a2a-bd90-e58da3b0867e" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-78f5-8c17-b3036ad9548f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-78f5-8c17-b3036ad9548f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-78f5-8c17-b3036ad9548f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-78f5-8c17-b3036ad9548f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-79df-9ce2-2d03fd495c03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-78f5-8c17-b3036ad9548f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-79df-9ce2-2d03fd495c03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7384-8a9d-425583148b39" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-79df-9ce2-2d03fd495c03" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7384-8a9d-425583148b39" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DerivativeInitialStrikePrice_019fd3cf-e3b5-73be-a228-8117102fca19" xlink:href="fsly-20260930.xsd#fsly_DerivativeInitialStrikePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-716d-b5e0-08ddc226f887" xlink:to="loc_fsly_DerivativeInitialStrikePrice_019fd3cf-e3b5-73be-a228-8117102fca19" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DerivativeInitialCapPrice_019fd3cf-e3b5-7373-ae9d-f84be27b2d78" xlink:href="fsly-20260930.xsd#fsly_DerivativeInitialCapPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-716d-b5e0-08ddc226f887" xlink:to="loc_fsly_DerivativeInitialCapPrice_019fd3cf-e3b5-7373-ae9d-f84be27b2d78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_AdjustmentsToAdditionalPaidInCapitalPurchasesOfCappedCalls_019fd3cf-e3b5-793e-8bb9-5b7e0fc8ce24" xlink:href="fsly-20260930.xsd#fsly_AdjustmentsToAdditionalPaidInCapitalPurchasesOfCappedCalls"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-716d-b5e0-08ddc226f887" xlink:to="loc_fsly_AdjustmentsToAdditionalPaidInCapitalPurchasesOfCappedCalls_019fd3cf-e3b5-793e-8bb9-5b7e0fc8ce24" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsRedemptionRightsoftheNotesNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsRedemptionRightsoftheNotesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsRedemptionRightsoftheNotesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-71ba-990b-0b3a5ddfcb7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-71ba-990b-0b3a5ddfcb7a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-71ba-990b-0b3a5ddfcb7a" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-738b-adc3-1a1b3e936f75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b3b-b573-e1131d1ceb27" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-738b-adc3-1a1b3e936f75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-71e6-80ab-6f8cd35c32e6" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-738b-adc3-1a1b3e936f75" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-71e6-80ab-6f8cd35c32e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7499-8516-77dfbf0e75ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-71ba-990b-0b3a5ddfcb7a" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7499-8516-77dfbf0e75ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7499-8516-77dfbf0e75ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7499-8516-77dfbf0e75ca" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7499-8516-77dfbf0e75ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7e3a-9458-747f9d6a06a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7499-8516-77dfbf0e75ca" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7e3a-9458-747f9d6a06a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7013-8294-c0a3f874649e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7e3a-9458-747f9d6a06a5" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7013-8294-c0a3f874649e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019fd3cf-e3b5-739e-93f8-f7ce33f8e649" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019fd3cf-e3b5-739e-93f8-f7ce33f8e649" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019fd3cf-e3b5-7b03-951a-aec59c1faf3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019fd3cf-e3b5-7b03-951a-aec59c1faf3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019fd3cf-e3b5-7145-ba25-9d100c4c6785" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019fd3cf-e3b5-7145-ba25-9d100c4c6785" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtInstrumentConvertiblePeriodOfNoticeRequired_019fd3cf-e3b5-7566-9857-c038423474fc" xlink:href="fsly-20260930.xsd#fsly_DebtInstrumentConvertiblePeriodOfNoticeRequired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_fsly_DebtInstrumentConvertiblePeriodOfNoticeRequired_019fd3cf-e3b5-7566-9857-c038423474fc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_019fd3cf-e3b5-72fa-9dbd-c32b699da321" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7f68-8d76-74af747bc166" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_019fd3cf-e3b5-72fa-9dbd-c32b699da321" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsConversionRightsoftheNotesNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsConversionRightsoftheNotesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsConversionRightsoftheNotesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7db1-884e-eacf1cd63f16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-767e-989b-6c4cffd90f5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7db1-884e-eacf1cd63f16" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-767e-989b-6c4cffd90f5b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtConversionByUniqueDescriptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-767e-989b-6c4cffd90f5b" xlink:to="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtConversionNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b" xlink:to="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-7789-8409-2877f9565093" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtConversionNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_019fd3cf-e3b5-71f2-9f67-c5abbcd4c95b" xlink:to="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-7789-8409-2877f9565093" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtConversionScenarioOneMember_019fd3cf-e3b5-7207-ac22-7d1acddd936a" xlink:href="fsly-20260930.xsd#fsly_DebtConversionScenarioOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-7789-8409-2877f9565093" xlink:to="loc_fsly_DebtConversionScenarioOneMember_019fd3cf-e3b5-7207-ac22-7d1acddd936a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_DebtConversionScenarioTwoMember_019fd3cf-e3b5-7f2b-aaba-c9ca84301fca" xlink:href="fsly-20260930.xsd#fsly_DebtConversionScenarioTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtConversionNameDomain_019fd3cf-e3b5-7789-8409-2877f9565093" xlink:to="loc_fsly_DebtConversionScenarioTwoMember_019fd3cf-e3b5-7f2b-aaba-c9ca84301fca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b7d-856d-2c006389100c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-767e-989b-6c4cffd90f5b" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b7d-856d-2c006389100c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b7d-856d-2c006389100c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b7d-856d-2c006389100c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7b7d-856d-2c006389100c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7595-b783-ed2e94fb44c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-7b7d-856d-2c006389100c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7595-b783-ed2e94fb44c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2026ConvertibleNotes2028ConvertibleNotesAnd2030ConvertibleNotesMember_019fd3cf-e3b5-729c-a657-ed24a6c9f334" xlink:href="fsly-20260930.xsd#fsly_A2026ConvertibleNotes2028ConvertibleNotesAnd2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-7595-b783-ed2e94fb44c3" xlink:to="loc_fsly_A2026ConvertibleNotes2028ConvertibleNotesAnd2030ConvertibleNotesMember_019fd3cf-e3b5-729c-a657-ed24a6c9f334" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-70a7-8aef-2b6225702d52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-767e-989b-6c4cffd90f5b" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-70a7-8aef-2b6225702d52" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-70a7-8aef-2b6225702d52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-70a7-8aef-2b6225702d52" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-70a7-8aef-2b6225702d52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-757a-8447-4b8fa4019b93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-70a7-8aef-2b6225702d52" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-757a-8447-4b8fa4019b93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7dc1-b805-72925d2e513e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-757a-8447-4b8fa4019b93" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7dc1-b805-72925d2e513e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019fd3cf-e3b5-7ecb-b139-c5ce6a06cbfe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7db1-884e-eacf1cd63f16" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019fd3cf-e3b5-7ecb-b139-c5ce6a06cbfe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019fd3cf-e3b5-7130-8a9f-735f16eeaf42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7db1-884e-eacf1cd63f16" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019fd3cf-e3b5-7130-8a9f-735f16eeaf42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019fd3cf-e3b5-74d3-8d7b-1ef903a1380c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7db1-884e-eacf1cd63f16" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019fd3cf-e3b5-74d3-8d7b-1ef903a1380c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsScheduleofConversionRightsofNotesDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsScheduleofConversionRightsofNotesDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsScheduleofConversionRightsofNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7478-b6a6-5c6dd5ab2d57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7365-b1c2-c51692e3a319" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7478-b6a6-5c6dd5ab2d57" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7365-b1c2-c51692e3a319" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7365-b1c2-c51692e3a319" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-70d1-8c18-d380a2356b4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-745e-86cf-adfbfeae0ba6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-70d1-8c18-d380a2356b4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-7483-8133-29e120b8c95d" xlink:href="fsly-20260930.xsd#fsly_A2028ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-70d1-8c18-d380a2356b4f" xlink:to="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-7483-8133-29e120b8c95d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7c9d-9691-9c299a456406" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-70d1-8c18-d380a2356b4f" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7c9d-9691-9c299a456406" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7365-b1c2-c51692e3a319" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-767a-9eb1-dbd9874d45ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7c2b-a3f3-afd27549b95a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-767a-9eb1-dbd9874d45ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7bf2-abbb-7eed8d01398b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-767a-9eb1-dbd9874d45ee" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-7bf2-abbb-7eed8d01398b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_019fd3cf-e3b5-7dd1-894a-9d39646983c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7478-b6a6-5c6dd5ab2d57" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_019fd3cf-e3b5-7dd1-894a-9d39646983c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_019fd3cf-e3b5-713e-8b4b-dba97b204f46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7478-b6a6-5c6dd5ab2d57" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_019fd3cf-e3b5-713e-8b4b-dba97b204f46" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsScheduleofCarryingValueofNotesDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#DebtInstrumentsScheduleofCarryingValueofNotesDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/DebtInstrumentsScheduleofCarryingValueofNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7191-818c-4844b086bf1a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7106-91ce-a382daaa24ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7191-818c-4844b086bf1a" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7106-91ce-a382daaa24ae" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-711a-8f09-228cf4989fd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7106-91ce-a382daaa24ae" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-711a-8f09-228cf4989fd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-711a-8f09-228cf4989fd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-711a-8f09-228cf4989fd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-711a-8f09-228cf4989fd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-742a-96f2-5a0147ed5cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd3cf-e3b5-711a-8f09-228cf4989fd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-742a-96f2-5a0147ed5cc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7ce7-b5c4-447cef804763" xlink:href="fsly-20260930.xsd#fsly_A2030ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-742a-96f2-5a0147ed5cc1" xlink:to="loc_fsly_A2030ConvertibleNotesMember_019fd3cf-e3b5-7ce7-b5c4-447cef804763" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-76e3-a7c7-b7317b844de9" xlink:href="fsly-20260930.xsd#fsly_A2028ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-742a-96f2-5a0147ed5cc1" xlink:to="loc_fsly_A2028ConvertibleNotesMember_019fd3cf-e3b5-76e3-a7c7-b7317b844de9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2026ConvertibleNotesMember_019fd3cf-e3b5-7f4a-8028-7c47fd1c92ad" xlink:href="fsly-20260930.xsd#fsly_A2026ConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd3cf-e3b5-742a-96f2-5a0147ed5cc1" xlink:to="loc_fsly_A2026ConvertibleNotesMember_019fd3cf-e3b5-7f4a-8028-7c47fd1c92ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7ec1-af37-6758262eff8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd3cf-e3b5-7106-91ce-a382daaa24ae" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7ec1-af37-6758262eff8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7ec1-af37-6758262eff8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7ec1-af37-6758262eff8e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7ec1-af37-6758262eff8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7ef6-9b19-7d3c4d10ccec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd3cf-e3b5-7ec1-af37-6758262eff8e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7ef6-9b19-7d3c4d10ccec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-77fc-adf0-59b9755be633" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd3cf-e3b5-7ef6-9b19-7d3c4d10ccec" xlink:to="loc_us-gaap_ConvertibleDebtMember_019fd3cf-e3b5-77fc-adf0-59b9755be633" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019fd3cf-e3b5-76f1-8d0f-52c122436ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7191-818c-4844b086bf1a" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019fd3cf-e3b5-76f1-8d0f-52c122436ed7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019fd3cf-e3b5-777d-ae6c-e42cd200a69c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7191-818c-4844b086bf1a" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019fd3cf-e3b5-777d-ae6c-e42cd200a69c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019fd3cf-e3b5-707c-b0a2-567c2582c57d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd3cf-e3b5-7191-818c-4844b086bf1a" xlink:to="loc_us-gaap_LongTermDebt_019fd3cf-e3b5-707c-b0a2-567c2582c57d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityEquityIncentivePlansNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityEquityIncentivePlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityEquityIncentivePlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7ad0-bcfc-54551b480389" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7ad0-bcfc-54551b480389" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-746e-a339-aa8e0cae267e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7ad0-bcfc-54551b480389" xlink:to="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-746e-a339-aa8e0cae267e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-746e-a339-aa8e0cae267e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-746e-a339-aa8e0cae267e" xlink:to="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-746e-a339-aa8e0cae267e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-72ad-ad62-fd1bbbb00587" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-746e-a339-aa8e0cae267e" xlink:to="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-72ad-ad62-fd1bbbb00587" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_SignalSciences2014EquityStockOptionsPlanMember_019fd3cf-e3b5-723a-9278-efbba87c9ea0" xlink:href="fsly-20260930.xsd#fsly_SignalSciences2014EquityStockOptionsPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-72ad-ad62-fd1bbbb00587" xlink:to="loc_fsly_SignalSciences2014EquityStockOptionsPlanMember_019fd3cf-e3b5-723a-9278-efbba87c9ea0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2019EquityIncentivePlanMember_019fd3cf-e3b5-7d9a-85ab-9322cc7c9aee" xlink:href="fsly-20260930.xsd#fsly_A2019EquityIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-72ad-ad62-fd1bbbb00587" xlink:to="loc_fsly_A2019EquityIncentivePlanMember_019fd3cf-e3b5-7d9a-85ab-9322cc7c9aee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_A2025EmploymentInducementIncentivePlanMember_019fd3cf-e3b5-72cf-85ee-f43b10d0b4ca" xlink:href="fsly-20260930.xsd#fsly_A2025EmploymentInducementIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-72ad-ad62-fd1bbbb00587" xlink:to="loc_fsly_A2025EmploymentInducementIncentivePlanMember_019fd3cf-e3b5-72cf-85ee-f43b10d0b4ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_NumberOfEquityIncentivePlans_019fd3cf-e3b5-7f08-b6f2-4932b63c05b7" xlink:href="fsly-20260930.xsd#fsly_NumberOfEquityIncentivePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_fsly_NumberOfEquityIncentivePlans_019fd3cf-e3b5-7f08-b6f2-4932b63c05b7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_BusinessCombinationUnvestedStockOptionAssumedShares_019fd3cf-e3b5-7d49-8915-b0f6062abfd6" xlink:href="fsly-20260930.xsd#fsly_BusinessCombinationUnvestedStockOptionAssumedShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_fsly_BusinessCombinationUnvestedStockOptionAssumedShares_019fd3cf-e3b5-7d49-8915-b0f6062abfd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019fd3cf-e3b5-7c03-bd78-fa911f3d37cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019fd3cf-e3b5-7c03-bd78-fa911f3d37cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019fd3cf-e3b5-71cc-86ed-6cfd6a8ad6f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_us-gaap_CommonStockSharesIssued_019fd3cf-e3b5-71cc-86ed-6cfd6a8ad6f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e3b5-7502-b6b7-588d01b5ddc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7773-b099-59385a02e975" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019fd3cf-e3b5-7502-b6b7-588d01b5ddc0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityRestrictedStockUnitsRSUsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityRestrictedStockUnitsRSUsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityRestrictedStockUnitsRSUsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72a7-b686-004575b733f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7823-bbdc-b22ffbbf4e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72a7-b686-004575b733f7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7823-bbdc-b22ffbbf4e4b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fd3cf-e3b5-7378-ab6b-1076890cb394" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7823-bbdc-b22ffbbf4e4b" xlink:to="loc_srt_RangeAxis_019fd3cf-e3b5-7378-ab6b-1076890cb394" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd3cf-e3b5-7378-ab6b-1076890cb394_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fd3cf-e3b5-7378-ab6b-1076890cb394" xlink:to="loc_srt_RangeMember_019fd3cf-e3b5-7378-ab6b-1076890cb394_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd3cf-e3b5-7fcb-9557-95db76bc0eef" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fd3cf-e3b5-7378-ab6b-1076890cb394" xlink:to="loc_srt_RangeMember_019fd3cf-e3b5-7fcb-9557-95db76bc0eef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fd3cf-e3b5-7ad8-ba95-aed5460d233c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd3cf-e3b5-7fcb-9557-95db76bc0eef" xlink:to="loc_srt_MinimumMember_019fd3cf-e3b5-7ad8-ba95-aed5460d233c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fd3cf-e3b5-7d26-8918-98ef8a4bfad4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd3cf-e3b5-7fcb-9557-95db76bc0eef" xlink:to="loc_srt_MaximumMember_019fd3cf-e3b5-7d26-8918-98ef8a4bfad4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7f74-aded-d1ff94f32499" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7823-bbdc-b22ffbbf4e4b" xlink:to="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7f74-aded-d1ff94f32499" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7f74-aded-d1ff94f32499_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7f74-aded-d1ff94f32499" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7f74-aded-d1ff94f32499_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7db9-8209-bbc2b713b322" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7f74-aded-d1ff94f32499" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7db9-8209-bbc2b713b322" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e3b5-7c9d-ac1f-8be0cc317237" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7db9-8209-bbc2b713b322" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e3b5-7c9d-ac1f-8be0cc317237" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7823-bbdc-b22ffbbf4e4b" xlink:to="loc_us-gaap_VestingAxis_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74" xlink:to="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7b8d-94ba-6deae09dbdf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_019fd3cf-e3b5-7ed4-b261-2a27a0bb8a74" xlink:to="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7b8d-94ba-6deae09dbdf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_019fd3cf-e3b5-7302-96be-d9cfeb586b4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7b8d-94ba-6deae09dbdf1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_019fd3cf-e3b5-7302-96be-d9cfeb586b4e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_019fd3cf-e3b5-7f25-9ea1-bcceda97f823" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019fd3cf-e3b5-7b8d-94ba-6deae09dbdf1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_019fd3cf-e3b5-7f25-9ea1-bcceda97f823" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019fd3cf-e3b5-7d8f-b694-e2eef1c5efac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72a7-b686-004575b733f7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019fd3cf-e3b5-7d8f-b694-e2eef1c5efac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019fd3cf-e3b5-7498-8ec5-c934c971b814" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72a7-b686-004575b733f7" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019fd3cf-e3b5-7498-8ec5-c934c971b814" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7cc1-a1ec-22aa38beaa2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72a7-b686-004575b733f7" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7cc1-a1ec-22aa38beaa2b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityScheduleofRSUandPSUActivityDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityScheduleofRSUandPSUActivityDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityScheduleofRSUandPSUActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7136-9912-96006b8db5aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-78f6-bbfa-cbda4c9c2877" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7136-9912-96006b8db5aa" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-78f6-bbfa-cbda4c9c2877" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-78f6-bbfa-cbda4c9c2877" xlink:to="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7cb8-a55d-704c0647ab19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-71ed-91bf-3c841d6f4ae0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7cb8-a55d-704c0647ab19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e3b5-7c40-b0b0-e8abc1185084" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7cb8-a55d-704c0647ab19" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e3b5-7c40-b0b0-e8abc1185084" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019fd3cf-e3b5-7f5e-8c91-e31c0e24c20e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7cb8-a55d-704c0647ab19" xlink:to="loc_us-gaap_PerformanceSharesMember_019fd3cf-e3b5-7f5e-8c91-e31c0e24c20e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7136-9912-96006b8db5aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019fd3cf-e3b5-7a05-9e99-232c2c0d1f7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019fd3cf-e3b5-7a05-9e99-232c2c0d1f7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019fd3cf-e3b5-7a36-8098-ba5803abf6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019fd3cf-e3b5-7a36-8098-ba5803abf6ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019fd3cf-e3b5-78d8-865c-bfee804ac2de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019fd3cf-e3b5-78d8-865c-bfee804ac2de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019fd3cf-e3b5-7649-901c-1c535e519fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019fd3cf-e3b5-7e19-979c-b7a0f48f4dba" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019fd3cf-e3b5-7649-901c-1c535e519fe4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019fd3cf-e3b5-7640-a8b4-70688d564a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7136-9912-96006b8db5aa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019fd3cf-e3b5-73a7-bdd1-7cd8a61a53d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019fd3cf-e3b5-73a7-bdd1-7cd8a61a53d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019fd3cf-e3b5-733f-b5c4-2a95ca28fc72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019fd3cf-e3b5-733f-b5c4-2a95ca28fc72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019fd3cf-e3b5-7b80-bc87-855a46651d87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019fd3cf-e3b5-7b80-bc87-855a46651d87" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019fd3cf-e3b5-7607-be2f-177f1bede3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019fd3cf-e3b5-7f6d-b2a1-83bd7fb65bb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019fd3cf-e3b5-7607-be2f-177f1bede3dc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019fd3cf-e3b5-7160-b0fa-eb41eefeef3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityPerformanceBasedRestrictedStockUnitsPSUsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityPerformanceBasedRestrictedStockUnitsPSUsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityPerformanceBasedRestrictedStockUnitsPSUsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72e7-88f7-a0de20983773" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-74fc-a6f8-582ffc491867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72e7-88f7-a0de20983773" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-74fc-a6f8-582ffc491867" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7961-89fc-92b354b5e118" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-74fc-a6f8-582ffc491867" xlink:to="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7961-89fc-92b354b5e118" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7961-89fc-92b354b5e118_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7961-89fc-92b354b5e118" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7961-89fc-92b354b5e118_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7056-a8e0-c746009581ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-7961-89fc-92b354b5e118" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7056-a8e0-c746009581ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019fd3cf-e3b5-745a-8737-063de28a1b07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7056-a8e0-c746009581ce" xlink:to="loc_us-gaap_PerformanceSharesMember_019fd3cf-e3b5-745a-8737-063de28a1b07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-798b-b6da-aaaa401dc37f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-72e7-88f7-a0de20983773" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-798b-b6da-aaaa401dc37f" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityCompanywideBonusProgramsBonusProgramsNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityCompanywideBonusProgramsBonusProgramsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityCompanywideBonusProgramsBonusProgramsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7a71-a0d3-b8fe83528427" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7a71-a0d3-b8fe83528427" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7a71-a0d3-b8fe83528427" xlink:to="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b" xlink:to="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-7d9f-984d-dd1669af13cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019fd3cf-e3b5-73b7-8a10-2f2d0525b34b" xlink:to="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-7d9f-984d-dd1669af13cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CompanyWideBonusProgramsMember_019fd3cf-e3b5-769d-a929-47e705c78ef1" xlink:href="fsly-20260930.xsd#fsly_CompanyWideBonusProgramsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019fd3cf-e3b5-7d9f-984d-dd1669af13cc" xlink:to="loc_fsly_CompanyWideBonusProgramsMember_019fd3cf-e3b5-769d-a929-47e705c78ef1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetAxis_019fd3cf-e3b5-7d18-a76c-eca934029239" xlink:href="fsly-20260930.xsd#fsly_ShareBasedPaymentArrangementPerformanceTargetAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7a71-a0d3-b8fe83528427" xlink:to="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetAxis_019fd3cf-e3b5-7d18-a76c-eca934029239" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-7d18-a76c-eca934029239_default" xlink:href="fsly-20260930.xsd#fsly_ShareBasedPaymentArrangementPerformanceTargetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetAxis_019fd3cf-e3b5-7d18-a76c-eca934029239" xlink:to="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-7d18-a76c-eca934029239_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-784a-8488-604caf82b4f1" xlink:href="fsly-20260930.xsd#fsly_ShareBasedPaymentArrangementPerformanceTargetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetAxis_019fd3cf-e3b5-7d18-a76c-eca934029239" xlink:to="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-784a-8488-604caf82b4f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PerformanceTargetPayoutLevelOneMember_019fd3cf-e3b5-70d0-b77e-cecacba3ee62" xlink:href="fsly-20260930.xsd#fsly_PerformanceTargetPayoutLevelOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-784a-8488-604caf82b4f1" xlink:to="loc_fsly_PerformanceTargetPayoutLevelOneMember_019fd3cf-e3b5-70d0-b77e-cecacba3ee62" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PerformanceTargetPayoutLevelTwoMember_019fd3cf-e3b5-7283-96de-70608ef55c5b" xlink:href="fsly-20260930.xsd#fsly_PerformanceTargetPayoutLevelTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-784a-8488-604caf82b4f1" xlink:to="loc_fsly_PerformanceTargetPayoutLevelTwoMember_019fd3cf-e3b5-7283-96de-70608ef55c5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PerformanceTargetPayoutLevelThreeMember_019fd3cf-e3b5-7977-ae26-68ee4c103556" xlink:href="fsly-20260930.xsd#fsly_PerformanceTargetPayoutLevelThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fsly_ShareBasedPaymentArrangementPerformanceTargetDomain_019fd3cf-e3b5-784a-8488-604caf82b4f1" xlink:to="loc_fsly_PerformanceTargetPayoutLevelThreeMember_019fd3cf-e3b5-7977-ae26-68ee4c103556" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram_019fd3cf-e3b5-7792-8cf1-03c36cb1ced6" xlink:href="fsly-20260930.xsd#fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:to="loc_fsly_StockIssuedDuringPeriodSharesRestrictedStockAwardBonusProgram_019fd3cf-e3b5-7792-8cf1-03c36cb1ced6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram_019fd3cf-e3b5-7fbc-98e6-ac66f8c79703" xlink:href="fsly-20260930.xsd#fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:to="loc_fsly_StockIssuedDuringPeriodValueRestrictedStockAwardBonusProgram_019fd3cf-e3b5-7fbc-98e6-ac66f8c79703" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PayoutOfPerformanceBasedRestrictedStockUnitsPercentage_019fd3cf-e3b5-77aa-996d-7a9a8b4efe55" xlink:href="fsly-20260930.xsd#fsly_PayoutOfPerformanceBasedRestrictedStockUnitsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:to="loc_fsly_PayoutOfPerformanceBasedRestrictedStockUnitsPercentage_019fd3cf-e3b5-77aa-996d-7a9a8b4efe55" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7379-af12-9484e1e14c80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-780c-93f5-761a80591455" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7379-af12-9484e1e14c80" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityEmployeeStockPurchasePlanESPPNarrativeDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityEmployeeStockPurchasePlanESPPNarrativeDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityEmployeeStockPurchasePlanESPPNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7bed-93b0-25d40e992092" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7bed-93b0-25d40e992092" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-7bed-93b0-25d40e992092" xlink:to="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7ea8-9d64-c2a351083b4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019fd3cf-e3b5-79b5-9ecf-7033a1b7d9af" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7ea8-9d64-c2a351083b4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_019fd3cf-e3b5-7623-9112-c69331f0adf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019fd3cf-e3b5-7ea8-9d64-c2a351083b4a" xlink:to="loc_us-gaap_EmployeeStockMember_019fd3cf-e3b5-7623-9112-c69331f0adf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_019fd3cf-e3b5-79f4-a2ce-e3ec6c314017" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_019fd3cf-e3b5-79f4-a2ce-e3ec6c314017" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_SharebasedCompensationArrangementbySharebasedPaymentAwardStockPlanOfferingPeriod_019fd3cf-e3b5-7f87-95ba-7d39df7b8c5c" xlink:href="fsly-20260930.xsd#fsly_SharebasedCompensationArrangementbySharebasedPaymentAwardStockPlanOfferingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_fsly_SharebasedCompensationArrangementbySharebasedPaymentAwardStockPlanOfferingPeriod_019fd3cf-e3b5-7f87-95ba-7d39df7b8c5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_019fd3cf-e3b5-7721-9bcc-ce80812923e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_019fd3cf-e3b5-7721-9bcc-ce80812923e6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7680-b148-c2f620a8ba08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7680-b148-c2f620a8ba08" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019fd3cf-e3b5-7135-95b5-ac7c2a26e0fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-764e-910a-e5352056918a" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019fd3cf-e3b5-7135-95b5-ac7c2a26e0fe" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityScheduleofStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityScheduleofStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityScheduleofStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-766a-a5d0-450d3aa33aea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-766a-a5d0-450d3aa33aea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019fd3cf-e3b5-7d78-8092-62d4ded283b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-766a-a5d0-450d3aa33aea" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019fd3cf-e3b5-7d78-8092-62d4ded283b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7f23-a1d0-c627079b4ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7f23-a1d0-c627079b4ae3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/StockholdersEquityScheduleofStockBasedCompensationExpenseDetails_1" xlink:type="simple" xlink:href="fsly-20260930.xsd#StockholdersEquityScheduleofStockBasedCompensationExpenseDetails_1"/>
  <link:definitionLink xlink:role="http://fastly.com/role/StockholdersEquityScheduleofStockBasedCompensationExpenseDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-766a-a5d0-450d3aa33aea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019fd3cf-e3b5-766a-a5d0-450d3aa33aea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7f23-a1d0-c627079b4ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019fd3cf-e3b5-7ad1-92a3-ca91a3eea020" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019fd3cf-e3b5-7f23-a1d0-c627079b4ae3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/NetLossPerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofDilutedNetLossPerShareDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#NetLossPerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofDilutedNetLossPerShareDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/NetLossPerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019fd3cf-e44c-7dd7-a7da-2670631ac4a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019fd3cf-e44c-78f1-943d-96ee7c5e58fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019fd3cf-e44c-7dd7-a7da-2670631ac4a6" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019fd3cf-e44c-78f1-943d-96ee7c5e58fe" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019fd3cf-e44c-7853-8e67-00594da389d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019fd3cf-e44c-78f1-943d-96ee7c5e58fe" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019fd3cf-e44c-7853-8e67-00594da389d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7853-8e67-00594da389d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019fd3cf-e44c-7853-8e67-00594da389d9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7853-8e67-00594da389d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019fd3cf-e44c-7853-8e67-00594da389d9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019fd3cf-e44c-7263-bd2f-76101648220c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019fd3cf-e44c-7263-bd2f-76101648220c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e44c-71d0-b3c8-c05b6400eee9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019fd3cf-e44c-71d0-b3c8-c05b6400eee9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019fd3cf-e44c-7210-889d-4a2ff85ddd6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:to="loc_us-gaap_PerformanceSharesMember_019fd3cf-e44c-7210-889d-4a2ff85ddd6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_019fd3cf-e44c-7606-acec-23d7752222ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:to="loc_us-gaap_EmployeeStockMember_019fd3cf-e44c-7606-acec-23d7752222ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_019fd3cf-e44c-70b7-b12c-14a2f8c87fca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019fd3cf-e44c-7f9a-9f63-6f225746757b" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_019fd3cf-e44c-70b7-b12c-14a2f8c87fca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019fd3cf-e44c-7108-b60e-8f009ae86915" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019fd3cf-e44c-7dd7-a7da-2670631ac4a6" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019fd3cf-e44c-7108-b60e-8f009ae86915" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fastly.com/role/SegmentandGeographicInformationScheduleofPropertyandEquipmentandOperatingLeaseRightofUseAssetsNetbyGeographicAreaDetails" xlink:type="simple" xlink:href="fsly-20260930.xsd#SegmentandGeographicInformationScheduleofPropertyandEquipmentandOperatingLeaseRightofUseAssetsNetbyGeographicAreaDetails"/>
  <link:definitionLink xlink:role="http://fastly.com/role/SegmentandGeographicInformationScheduleofPropertyandEquipmentandOperatingLeaseRightofUseAssetsNetbyGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019fd3cf-e44c-7163-9861-4b52c0ce4004" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019fd3cf-e44c-7e16-adb7-da6e74437907" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019fd3cf-e44c-7163-9861-4b52c0ce4004" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019fd3cf-e44c-7e16-adb7-da6e74437907" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019fd3cf-e44c-7e29-98ab-1d5515bffe2f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019fd3cf-e44c-7e16-adb7-da6e74437907" xlink:to="loc_srt_StatementGeographicalAxis_019fd3cf-e44c-7e29-98ab-1d5515bffe2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7e29-98ab-1d5515bffe2f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e44c-7e29-98ab-1d5515bffe2f" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7e29-98ab-1d5515bffe2f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7f13-b4a9-106613233104" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019fd3cf-e44c-7e29-98ab-1d5515bffe2f" xlink:to="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7f13-b4a9-106613233104" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019fd3cf-e44c-7766-8495-c722abd1f017" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7f13-b4a9-106613233104" xlink:to="loc_country_US_019fd3cf-e44c-7766-8495-c722abd1f017" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_019fd3cf-e44c-7308-aa94-e9cacf2d1489" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019fd3cf-e44c-7f13-b4a9-106613233104" xlink:to="loc_us-gaap_NonUsMember_019fd3cf-e44c-7308-aa94-e9cacf2d1489" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PropertyPlantAndEquipmentNetAndOperatingLeaseRightOfUseAssetsNet_019fd3cf-e44c-7c1a-bd5f-82786dfd2233" xlink:href="fsly-20260930.xsd#fsly_PropertyPlantAndEquipmentNetAndOperatingLeaseRightOfUseAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019fd3cf-e44c-7163-9861-4b52c0ce4004" xlink:to="loc_fsly_PropertyPlantAndEquipmentNetAndOperatingLeaseRightOfUseAssetsNet_019fd3cf-e44c-7c1a-bd5f-82786dfd2233" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#IndividualsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_RichardDanielsMember_01a15de5-a053-713b-9d11-0fc753196ef4" xlink:href="fsly-20260930.xsd#fsly_RichardDanielsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_fsly_RichardDanielsMember_01a15de5-a053-713b-9d11-0fc753196ef4" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
