<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.guidewire.com/role/AcquisitionNarrativeDetails" xlink:href="gwre-20170731.xsd#AcquisitionNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/AcquisitionNotes" xlink:href="gwre-20170731.xsd#AcquisitionNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/AcquisitionProFormaInformationDetails" xlink:href="gwre-20170731.xsd#AcquisitionProFormaInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/AcquisitionPurchasePriceAllocationDetails" xlink:href="gwre-20170731.xsd#AcquisitionPurchasePriceAllocationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/AcquisitionTables" xlink:href="gwre-20170731.xsd#AcquisitionTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponents" xlink:href="gwre-20170731.xsd#BalanceSheetComponents" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsBalanceSheetComponentsDetails6" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsBalanceSheetComponentsDetails6" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails1" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails2" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails3" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails4" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails5" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails5" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetails7" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetails7" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsDetailsTextual" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/BalanceSheetComponentsTables" xlink:href="gwre-20170731.xsd#BalanceSheetComponentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CommitmentsAndContingencies" xlink:href="gwre-20170731.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CommitmentsAndContingenciesDetails" xlink:href="gwre-20170731.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CommitmentsAndContingenciesDetailsTextual" xlink:href="gwre-20170731.xsd#CommitmentsAndContingenciesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CommitmentsAndContingenciesTables" xlink:href="gwre-20170731.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates" xlink:href="gwre-20170731.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetails" xlink:href="gwre-20170731.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetailsTextual" xlink:href="gwre-20170731.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies" xlink:href="gwre-20170731.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTables" xlink:href="gwre-20170731.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedBalanceSheets" xlink:href="gwre-20170731.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="gwre-20170731.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="gwre-20170731.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement" xlink:href="gwre-20170731.xsd#ConsolidatedStatementsOfComprehensiveIncomeStatement" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatementParenthetical" xlink:href="gwre-20170731.xsd#ConsolidatedStatementsOfComprehensiveIncomeStatementParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedStatementsOfIncome" xlink:href="gwre-20170731.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit" xlink:href="gwre-20170731.xsd#ConsolidatedStatementsOfStockholdersEquityDeficit" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/DefinedContributionsAndOtherPostretirementPlans" xlink:href="gwre-20170731.xsd#DefinedContributionsAndOtherPostretirementPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/DefinedContributionsAndOtherPostretirementPlansDetailsTextual" xlink:href="gwre-20170731.xsd#DefinedContributionsAndOtherPostretirementPlansDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/DocumentAndEntityInformation" xlink:href="gwre-20170731.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueDisclosuresDetailsTextual" xlink:href="gwre-20170731.xsd#FairValueDisclosuresDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstruments" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails1" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstrumentsDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails2" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstrumentsDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails3" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstrumentsDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails4" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstrumentsDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="gwre-20170731.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxes" xlink:href="gwre-20170731.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails1" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails2" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails3" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails4" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetails5" xlink:href="gwre-20170731.xsd#IncomeTaxesDetails5" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesDetailsTextual" xlink:href="gwre-20170731.xsd#IncomeTaxesDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/IncomeTaxesTables" xlink:href="gwre-20170731.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/NetIncomePerShare" xlink:href="gwre-20170731.xsd#NetIncomePerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/NetIncomePerShareDetails" xlink:href="gwre-20170731.xsd#NetIncomePerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/NetIncomePerShareDetails1" xlink:href="gwre-20170731.xsd#NetIncomePerShareDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/NetIncomePerShareTables" xlink:href="gwre-20170731.xsd#NetIncomePerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/SegmentInformation" xlink:href="gwre-20170731.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/SegmentInformationDetails" xlink:href="gwre-20170731.xsd#SegmentInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/SegmentInformationDetails1" xlink:href="gwre-20170731.xsd#SegmentInformationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/SegmentInformationDetailsTextual" xlink:href="gwre-20170731.xsd#SegmentInformationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/SegmentInformationTables" xlink:href="gwre-20170731.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensation" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails1" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails1" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails2" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails2" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails3" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails3" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails4" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails4" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails6" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails6" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails7" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetails7" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetailsTextual" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationDetailsTextual" xlink:type="simple" />
  <roleRef roleURI="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationTables" xlink:href="gwre-20170731.xsd#StockholdersEquityAndStockBasedCompensationTables" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.guidewire.com/role/AcquisitionNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2CAD1B824A03E6605FF67CAEBDDC932A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2CAD1B824A03E6605FF67CAEBDDC932A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_6E877088F618A3C78D1F7CAEBDDC65A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2CAD1B824A03E6605FF67CAEBDDC932A" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_6E877088F618A3C78D1F7CAEBDDC65A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6E877088F618A3C78D1F7CAEBDDC65A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6E877088F618A3C78D1F7CAEBDDC65A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ISCSMember" xlink:label="loc_gwre_ISCSMember_DEE4FD030BCF09CE83EE7CAEBDDC7354" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386" xlink:to="loc_gwre_ISCSMember_DEE4FD030BCF09CE83EE7CAEBDDC7354" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_FirstBestSystemsIncMember" xlink:label="loc_gwre_FirstBestSystemsIncMember_CA08118B1EE2D7B876D97CAEBDDC8378" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386" xlink:to="loc_gwre_FirstBestSystemsIncMember_CA08118B1EE2D7B876D97CAEBDDC8378" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_EagleEyeAnalyticsInc.EagleEyeMember" xlink:label="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_76C1DBFC34B6F895A4C37CAEBDDCF77B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_ADEDDF4BBDF6F3B5A6E27CAEBDDC4386" xlink:to="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_76C1DBFC34B6F895A4C37CAEBDDCF77B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_0C17CF5F6F382619E72A7CAEBDDCC87A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_2CAD1B824A03E6605FF67CAEBDDC932A" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_0C17CF5F6F382619E72A7CAEBDDCC87A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A103A544C81C321F79BD7CAEBDDCAC52_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C17CF5F6F382619E72A7CAEBDDCC87A" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A103A544C81C321F79BD7CAEBDDCAC52_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_A103A544C81C321F79BD7CAEBDDCAC52" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_0C17CF5F6F382619E72A7CAEBDDCC87A" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_A103A544C81C321F79BD7CAEBDDCAC52" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_E485FCCC6A247125299F7CAEBDDCEC0E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_A103A544C81C321F79BD7CAEBDDCAC52" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_E485FCCC6A247125299F7CAEBDDCEC0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_074D6B81D0DFECA9CDD07CAEBDDD4886" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_074D6B81D0DFECA9CDD07CAEBDDD4886" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_E4D70B074E1CF86E99327CAEBDDD2877" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_E4D70B074E1CF86E99327CAEBDDD2877" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_BusinessCombinationFuturePaymentstoEmployees" xlink:label="loc_gwre_BusinessCombinationFuturePaymentstoEmployees_74C494AC27579C5919A67CAEBDDD6060" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_gwre_BusinessCombinationFuturePaymentstoEmployees_74C494AC27579C5919A67CAEBDDD6060" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9FFC01AF909C0891403C7CAEBDDD29A4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_9FFC01AF909C0891403C7CAEBDDD29A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationIndemnificationAssetsAmountAsOfAcquisitionDate" xlink:label="loc_us-gaap_BusinessCombinationIndemnificationAssetsAmountAsOfAcquisitionDate_5ECED82BD5A0CB29E1557CAEBDDD31D9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_BusinessCombinationIndemnificationAssetsAmountAsOfAcquisitionDate_5ECED82BD5A0CB29E1557CAEBDDD31D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_1DA4DBAC84F9A53A3D6B7CAEBDDD749B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_Goodwill_1DA4DBAC84F9A53A3D6B7CAEBDDD749B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_E11FE5CA9E0B4946C0E57CAEBDDD5E7D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_E11FE5CA9E0B4946C0E57CAEBDDD5E7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_BE8DD9A0DF3BE7A3711E7CAEBDDDFDAA" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_Revenues_BE8DD9A0DF3BE7A3711E7CAEBDDDFDAA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_7345B3AA3FCE94D498707CAEBDDD3717" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7E425B69709D9BE3D29A7CAEBDDCA14D" xlink:to="loc_us-gaap_ProfitLoss_7345B3AA3FCE94D498707CAEBDDD3717" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/AcquisitionNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/AcquisitionProFormaInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FBCFA9088A05C7796717CAEBDCCE123" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FBCFA9088A05C7796717CAEBDCCE123" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_22B6F63E4ACEFEB3C38F7CAEBDCCA817" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FBCFA9088A05C7796717CAEBDCCE123" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_22B6F63E4ACEFEB3C38F7CAEBDCCA817" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F0DC586437C2C95FA0E07CAEBDCCD69A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_22B6F63E4ACEFEB3C38F7CAEBDCCA817" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F0DC586437C2C95FA0E07CAEBDCCD69A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F0DC586437C2C95FA0E07CAEBDCCD69A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_22B6F63E4ACEFEB3C38F7CAEBDCCA817" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F0DC586437C2C95FA0E07CAEBDCCD69A" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ISCSMember" xlink:label="loc_gwre_ISCSMember_12109CA7867F427B38587CAEBDCCA203" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F0DC586437C2C95FA0E07CAEBDCCD69A" xlink:to="loc_gwre_ISCSMember_12109CA7867F427B38587CAEBDCCA203" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_D5EAAF79409A42A423B87CAEBDCD5BC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_D5EAAF79409A42A423B87CAEBDCD5BC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_BD7CFFCA41E34093F8E17CAEBDCDABF9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_BD7CFFCA41E34093F8E17CAEBDCDABF9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D098A8CB22F4FE81BC3D7CAEBDCDF064" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_D098A8CB22F4FE81BC3D7CAEBDCDF064" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_9F1DD883BF6F4E88F7E07CAEBDCDDEDA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE087CCEE0084C1BC3497CAEBDCDA929" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_9F1DD883BF6F4E88F7E07CAEBDCDDEDA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/AcquisitionPurchasePriceAllocationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FF879B011D1BDC7848537CAEBDD3EE65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FF879B011D1BDC7848537CAEBDD3EE65" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_37E2B8597DBB6AAC6AA57CAEBDD4E5C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FF879B011D1BDC7848537CAEBDD3EE65" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_37E2B8597DBB6AAC6AA57CAEBDD4E5C7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_37E2B8597DBB6AAC6AA57CAEBDD4E5C7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_37E2B8597DBB6AAC6AA57CAEBDD4E5C7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_FirstBestSystemsIncMember" xlink:label="loc_gwre_FirstBestSystemsIncMember_B812182666E555FC14627CAEBDD4863D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613" xlink:to="loc_gwre_FirstBestSystemsIncMember_B812182666E555FC14627CAEBDD4863D" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ISCSMember" xlink:label="loc_gwre_ISCSMember_E4D8C87C010497DE90F17CAEBDD4DAB8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613" xlink:to="loc_gwre_ISCSMember_E4D8C87C010497DE90F17CAEBDD4DAB8" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_EagleEyeAnalyticsInc.EagleEyeMember" xlink:label="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_8702B501A5D98993D4FD7D1483CB589C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AF4966D59E9A53AFEED07CAEBDD44613" xlink:to="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_8702B501A5D98993D4FD7D1483CB589C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_BFAD00FA001005CEF0607CAEBDD4AC30" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_FF879B011D1BDC7848537CAEBDD3EE65" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_BFAD00FA001005CEF0607CAEBDD4AC30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_BFAD00FA001005CEF0607CAEBDD4AC30" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_BFAD00FA001005CEF0607CAEBDD4AC30" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_0D1BAB252F9677BC98AB7CAEBDD43C6F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_0D1BAB252F9677BC98AB7CAEBDD43C6F" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CustomerRelationshipsandCustomerContractsMember" xlink:label="loc_gwre_CustomerRelationshipsandCustomerContractsMember_3F5C9C3B3B961E4DD05C7CAEBDD4018C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:to="loc_gwre_CustomerRelationshipsandCustomerContractsMember_3F5C9C3B3B961E4DD05C7CAEBDD4018C" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_PartnerRelationshipsMember" xlink:label="loc_gwre_PartnerRelationshipsMember_2C7F36167894B0E267167CAEBDD5339B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:to="loc_gwre_PartnerRelationshipsMember_2C7F36167894B0E267167CAEBDD5339B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_F63B368722F6ADA193697CAEBDD59E25" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_B22795A34B76AE9873697CAEBDD40D19" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_F63B368722F6ADA193697CAEBDD59E25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0DD6EAA12885918F39167D13C2499212" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_0DD6EAA12885918F39167D13C2499212" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6C43E8C04BF1B5869B7A7CAEBDD55246" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6C43E8C04BF1B5869B7A7CAEBDD55246" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_88CF73F1878F77E1663B7CAEBDD53380" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_88CF73F1878F77E1663B7CAEBDD53380" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_4DD9707DAEB5F2229F587CAEBDD57418" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_Goodwill_4DD9707DAEB5F2229F587CAEBDD57418" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_8E2A0EFDA5E197AA79897CAEBDD63F64" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_8E2A0EFDA5E197AA79897CAEBDD63F64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_F96A840A1FCE594EDF897D198BDBA54F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_63BCA68E9EE683A9894E7CAEBDD5756B" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_F96A840A1FCE594EDF897D198BDBA54F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/AcquisitionTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponents" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsBalanceSheetComponentsDetails6" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_AEC652426EC4F00B45AF7CB5D28F2D22" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_425A4A06A815490CF94C7CB5D28F8CD4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_AEC652426EC4F00B45AF7CB5D28F2D22" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_425A4A06A815490CF94C7CB5D28F8CD4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A38E97E8C727DE91DFD77CB5FACA395A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_425A4A06A815490CF94C7CB5D28F8CD4" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A38E97E8C727DE91DFD77CB5FACA395A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A38E97E8C727DE91DFD77CB5FACA395A" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A38E97E8C727DE91DFD77CB5FACA395A" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_OneCustomerMember" xlink:label="loc_gwre_OneCustomerMember_6E92EFAA099006BC8C3A7CBC63C343B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:to="loc_gwre_OneCustomerMember_6E92EFAA099006BC8C3A7CBC63C343B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SoftwareLicenseArrangementMember" xlink:label="loc_us-gaap_SoftwareLicenseArrangementMember_78A551E704FCD400D8437CB5FB37F6E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:to="loc_us-gaap_SoftwareLicenseArrangementMember_78A551E704FCD400D8437CB5FB37F6E8" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SoftwareMaintenanceArrangementMember" xlink:label="loc_gwre_SoftwareMaintenanceArrangementMember_B90DB85C97E55DAFFA237CB6004179CA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:to="loc_gwre_SoftwareMaintenanceArrangementMember_B90DB85C97E55DAFFA237CB6004179CA" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SoftwareServicesArrangementMember" xlink:label="loc_gwre_SoftwareServicesArrangementMember_209DD4835C30DF94837D7CB60453D2D7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FC3ABE3D2704FFABE0347CBA19523373" xlink:to="loc_gwre_SoftwareServicesArrangementMember_209DD4835C30DF94837D7CB60453D2D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_E5DC50DCBD1E939A92BB7CB5FA26ACC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_AEC652426EC4F00B45AF7CB5D28F2D22" xlink:to="loc_us-gaap_DeferredRevenue_E5DC50DCBD1E939A92BB7CB5FA26ACC8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_824984FFE629450261BB783F73665B71" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_B0986C4A20EC669C6D75783F73648ADB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_824984FFE629450261BB783F73665B71" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_B0986C4A20EC669C6D75783F73648ADB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_BAFF0EBDB6A2CD796C98783FBF985EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_B0986C4A20EC669C6D75783F73648ADB" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_BAFF0EBDB6A2CD796C98783FBF985EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BAFF0EBDB6A2CD796C98783FBF985EB9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_BAFF0EBDB6A2CD796C98783FBF985EB9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_EagleEyeAnalyticsInc.EagleEyeMember" xlink:label="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_9B26975C1AAA5AC0F55378406109332E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2" xlink:to="loc_gwre_EagleEyeAnalyticsInc.EagleEyeMember_9B26975C1AAA5AC0F55378406109332E" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_FirstBestSystemsIncMember" xlink:label="loc_gwre_FirstBestSystemsIncMember_CC84BBC85CCCC2FF71AD7840D3AA385C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2" xlink:to="loc_gwre_FirstBestSystemsIncMember_CC84BBC85CCCC2FF71AD7840D3AA385C" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ISCSMember" xlink:label="loc_gwre_ISCSMember_C8A371C1E45DF5BD766178417503BE7B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_F868E3B4999BDDE6992D783FBFA153F2" xlink:to="loc_gwre_ISCSMember_C8A371C1E45DF5BD766178417503BE7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_E7FAE2C7C2054AF11EDC783917BDFA85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_824984FFE629450261BB783F73665B71" xlink:to="loc_us-gaap_GoodwillRollForward_E7FAE2C7C2054AF11EDC783917BDFA85" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_78FC7BF9B4155A437573783917BD1B79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_E7FAE2C7C2054AF11EDC783917BDFA85" xlink:to="loc_us-gaap_Goodwill_78FC7BF9B4155A437573783917BD1B79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillAcquiredDuringPeriod" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_53D4F73D19DC8011A04D783917BD89E5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_E7FAE2C7C2054AF11EDC783917BDFA85" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_53D4F73D19DC8011A04D783917BD89E5" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_B04B515F9C3B5D66A20BE17FEA855BEC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_F7278805C4D65211801BAD4093A27469" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_B04B515F9C3B5D66A20BE17FEA855BEC" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_F7278805C4D65211801BAD4093A27469" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_34A876CA2D865E26A1A5F7B4DC00AACD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_F7278805C4D65211801BAD4093A27469" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_34A876CA2D865E26A1A5F7B4DC00AACD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_EDA11F52854062D16286103EA3BB7CED_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_34A876CA2D865E26A1A5F7B4DC00AACD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_EDA11F52854062D16286103EA3BB7CED_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_34A876CA2D865E26A1A5F7B4DC00AACD" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_AcquiredTechnologyMember" xlink:label="loc_gwre_AcquiredTechnologyMember_7127B3DF4B71538A9F6660EE5F31D762" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:to="loc_gwre_AcquiredTechnologyMember_7127B3DF4B71538A9F6660EE5F31D762" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CustomerRelationshipsandCustomerContractsMember" xlink:label="loc_gwre_CustomerRelationshipsandCustomerContractsMember_C9120307407E53F0828500CAEB10BFCA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:to="loc_gwre_CustomerRelationshipsandCustomerContractsMember_C9120307407E53F0828500CAEB10BFCA" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_PartnerRelationshipsMember" xlink:label="loc_gwre_PartnerRelationshipsMember_CA9167C883895300AB0374E9E6B9BF50" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:to="loc_gwre_PartnerRelationshipsMember_CA9167C883895300AB0374E9E6B9BF50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OrderOrProductionBacklogMember" xlink:label="loc_us-gaap_OrderOrProductionBacklogMember_3D507779A9825BB28404DBC9BC78A83D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D5E588CC21A556C28018EFCC2D028AA9" xlink:to="loc_us-gaap_OrderOrProductionBacklogMember_3D507779A9825BB28404DBC9BC78A83D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_1E9A475DC6365937BC6D02DB05295585" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_B04B515F9C3B5D66A20BE17FEA855BEC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_1E9A475DC6365937BC6D02DB05295585" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9A61A497888C5DE983F5543778013DB0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_B04B515F9C3B5D66A20BE17FEA855BEC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_9A61A497888C5DE983F5543778013DB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_A5E2698A80AB5340BBEE59B84EF5051A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_B04B515F9C3B5D66A20BE17FEA855BEC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_A5E2698A80AB5340BBEE59B84EF5051A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails5" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetails7" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_33BD604AB550554F5BE07CAEBDA92ED6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E20694D74CCB4394D4DB7CAEBDA94D54" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_33BD604AB550554F5BE07CAEBDA92ED6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E20694D74CCB4394D4DB7CAEBDA94D54" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_51EFA89D10CE5B4D64B47CAEBDA95D05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_E20694D74CCB4394D4DB7CAEBDA94D54" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_51EFA89D10CE5B4D64B47CAEBDA95D05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_51EFA89D10CE5B4D64B47CAEBDA95D05" xlink:to="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_51EFA89D10CE5B4D64B47CAEBDA95D05" xlink:to="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedTranslationAdjustmentMember" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_4CD887757C2632A63EB67CAEBDA949F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_4CD887757C2632A63EB67CAEBDA949F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_8C5A62D940C8CB64F3947CAEBDA974F8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_076EC7EADB669588FC2C7CAEBDA98B16" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_8C5A62D940C8CB64F3947CAEBDA974F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_33BD604AB550554F5BE07CAEBDA92ED6" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_CD356F6ED2770A2921547CAEBDAA9E7E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_CD356F6ED2770A2921547CAEBDAA9E7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_B2C79C6AE7AA3FCAA2EF7CAEBDAA82CD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_B2C79C6AE7AA3FCAA2EF7CAEBDAA82CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_52D773F46F504A68E1A47CAEBDAAF575" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_52D773F46F504A68E1A47CAEBDAAF575" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_28A509BDF67CE77A536E7CAEBDAA1026" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_8B43EF2662E14C8B33377CAEBDAA9249" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_28A509BDF67CE77A536E7CAEBDAA1026" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_E2714E631B57DA4E65A69C8D0A11FF46" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_E2714E631B57DA4E65A69C8D0A11FF46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6ED2C73333B858719C0B9C8D0A116110_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E2714E631B57DA4E65A69C8D0A11FF46" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6ED2C73333B858719C0B9C8D0A116110_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6ED2C73333B858719C0B9C8D0A116110" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_E2714E631B57DA4E65A69C8D0A11FF46" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6ED2C73333B858719C0B9C8D0A116110" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_82341ACB18315CFD52709C8D0A119A5F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6ED2C73333B858719C0B9C8D0A116110" xlink:to="loc_us-gaap_PreferredStockMember_82341ACB18315CFD52709C8D0A119A5F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1F291142E468C0356FB59C8D0A1193C6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1F291142E468C0356FB59C8D0A1193C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_54FAA99B13386F6F73BB9C8D0A1180C8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1F291142E468C0356FB59C8D0A1193C6" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_54FAA99B13386F6F73BB9C8D0A1180C8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_54FAA99B13386F6F73BB9C8D0A1180C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1F291142E468C0356FB59C8D0A1193C6" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_54FAA99B13386F6F73BB9C8D0A1180C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_1AFA3F0BF9A9C0A996709C8D0A11F413" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_54FAA99B13386F6F73BB9C8D0A1180C8" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_1AFA3F0BF9A9C0A996709C8D0A11F413" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorCustomersAxis" xlink:label="loc_us-gaap_MajorCustomersAxis_5D3BBD6DA0AAF1983B5F9C8D0A11D6C1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:to="loc_us-gaap_MajorCustomersAxis_5D3BBD6DA0AAF1983B5F9C8D0A11D6C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_01506F91B2FE7D4A533D9C8D0A11D3AA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorCustomersAxis_5D3BBD6DA0AAF1983B5F9C8D0A11D6C1" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_01506F91B2FE7D4A533D9C8D0A11D3AA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NameOfMajorCustomerDomain" xlink:label="loc_us-gaap_NameOfMajorCustomerDomain_01506F91B2FE7D4A533D9C8D0A11D3AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorCustomersAxis_5D3BBD6DA0AAF1983B5F9C8D0A11D6C1" xlink:to="loc_us-gaap_NameOfMajorCustomerDomain_01506F91B2FE7D4A533D9C8D0A11D3AA" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_OneCustomerMember" xlink:label="loc_gwre_OneCustomerMember_0747A762B6EB4511ADE39C8D0A12B644" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NameOfMajorCustomerDomain_01506F91B2FE7D4A533D9C8D0A11D3AA" xlink:to="loc_gwre_OneCustomerMember_0747A762B6EB4511ADE39C8D0A12B644" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_6B25FEF1FF0E3CCE70139C8D0A1297E7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_2B40F056B3134167854B9C8D0A1193EE" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_6B25FEF1FF0E3CCE70139C8D0A1297E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_2EB16114B9B4430892639C8D0A12D233_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_6B25FEF1FF0E3CCE70139C8D0A1297E7" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_2EB16114B9B4430892639C8D0A12D233_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_2EB16114B9B4430892639C8D0A12D233" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_6B25FEF1FF0E3CCE70139C8D0A1297E7" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_2EB16114B9B4430892639C8D0A12D233" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SoftwareServicesArrangementMember" xlink:label="loc_gwre_SoftwareServicesArrangementMember_C119FF33CED51C35948C9C8D0A129B35" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_2EB16114B9B4430892639C8D0A12D233" xlink:to="loc_gwre_SoftwareServicesArrangementMember_C119FF33CED51C35948C9C8D0A129B35" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_PropertyAndEquipmentPledgedAsCollateral" xlink:label="loc_gwre_PropertyAndEquipmentPledgedAsCollateral_73844522ACEB426905CF9C8D0A12C061" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_gwre_PropertyAndEquipmentPledgedAsCollateral_73844522ACEB426905CF9C8D0A12C061" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_379CABA743C38175D6DE9C8D0A1228A9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_Depreciation_379CABA743C38175D6DE9C8D0A1228A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CapitalizedComputerSoftwareNet" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareNet_6B6822E2D121DFD0777C9C8D0A1297C0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareNet_6B6822E2D121DFD0777C9C8D0A1297C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_3AB60272E0D147C259CD9C8D0A121F56" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_3AB60272E0D147C259CD9C8D0A121F56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConvertibleLongTermNotesPayable" xlink:label="loc_us-gaap_ConvertibleLongTermNotesPayable_B3348DCEEA756088C2169C8D0A125902" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_ConvertibleLongTermNotesPayable_B3348DCEEA756088C2169C8D0A125902" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_B1B11740FA89C7B6AC1E9C8D0A12033A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_B1B11740FA89C7B6AC1E9C8D0A12033A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostMethodInvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_CostMethodInvestmentsFairValueDisclosure_C457D914C6166BF9ABEE9C8D0A126DD4" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_CostMethodInvestmentsFairValueDisclosure_C457D914C6166BF9ABEE9C8D0A126DD4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_60891FFF44B90EE2BC8E9C8D0A126265" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_60891FFF44B90EE2BC8E9C8D0A126265" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_BCBA699CC12BCA1F68E39C8D0A126F22" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_63A3995197271AE3CEA09C8D0A1219F2" xlink:to="loc_us-gaap_DeferredRevenue_BCBA699CC12BCA1F68E39C8D0A126F22" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/BalanceSheetComponentsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CommitmentsAndContingenciesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_C018D61EEF02522DA591003C0E0F7E1A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_40B22B208FE55D75B86B35AC2836B412" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_C018D61EEF02522DA591003C0E0F7E1A" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_40B22B208FE55D75B86B35AC2836B412" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_17EB5F97150D57298662C6CC69CF526D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_40B22B208FE55D75B86B35AC2836B412" xlink:to="loc_us-gaap_CreditFacilityAxis_17EB5F97150D57298662C6CC69CF526D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_94237147B3E01DA1D8E1105EBC6B8D76_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_17EB5F97150D57298662C6CC69CF526D" xlink:to="loc_us-gaap_CreditFacilityDomain_94237147B3E01DA1D8E1105EBC6B8D76_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_9240E5894FDD509F8D318BFE2D88253F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_17EB5F97150D57298662C6CC69CF526D" xlink:to="loc_us-gaap_CreditFacilityDomain_9240E5894FDD509F8D318BFE2D88253F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_697C8BC078035A67AFC0F399F73785A3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_9240E5894FDD509F8D318BFE2D88253F" xlink:to="loc_us-gaap_LetterOfCreditMember_697C8BC078035A67AFC0F399F73785A3" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_LineofCreditAssociatedWithOperatingLeaseMember" xlink:label="loc_gwre_LineofCreditAssociatedWithOperatingLeaseMember_13DC4F2652C950A28CF743E4F183AB93" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_9240E5894FDD509F8D318BFE2D88253F" xlink:to="loc_gwre_LineofCreditAssociatedWithOperatingLeaseMember_13DC4F2652C950A28CF743E4F183AB93" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CommitmentsAndContingenciesTextualAbstract" xlink:label="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_C018D61EEF02522DA591003C0E0F7E1A" xlink:to="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_DurationOfLeaseForFacilityToServeAsItsCorporateHeadquarters" xlink:label="loc_gwre_DurationOfLeaseForFacilityToServeAsItsCorporateHeadquarters_EAB9D4D3CDF7520496EA27D84DBA3FF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_gwre_DurationOfLeaseForFacilityToServeAsItsCorporateHeadquarters_EAB9D4D3CDF7520496EA27D84DBA3FF5" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_RentableAreaOfCurrentCorporateHeadquarters" xlink:label="loc_gwre_RentableAreaOfCurrentCorporateHeadquarters_6002560589BD5967B8B7CBCC4121BEE9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_gwre_RentableAreaOfCurrentCorporateHeadquarters_6002560589BD5967B8B7CBCC4121BEE9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7FEC80E1B3FC57BBA5C105F36C43D7D1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7FEC80E1B3FC57BBA5C105F36C43D7D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaap_LeaseAndRentalExpense_40BC211AAFF65BFC9CFF3E58B0CF3C10" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_us-gaap_LeaseAndRentalExpense_40BC211AAFF65BFC9CFF3E58B0CF3C10" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberOfUnsecuredCreditFacilitiesOutstanding" xlink:label="loc_gwre_NumberOfUnsecuredCreditFacilitiesOutstanding_CC59AB2BE73C5126B7FBCA4C71B07673" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_gwre_NumberOfUnsecuredCreditFacilitiesOutstanding_CC59AB2BE73C5126B7FBCA4C71B07673" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_CD4E533F606854C68A816C7E85A6A108" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_CD4E533F606854C68A816C7E85A6A108" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_8779FC58E6B95E5B8E2CCD2D68F2E370" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommitmentsAndContingenciesTextualAbstract_D6DD0669C6545FF19B762C1052B6C617" xlink:to="loc_us-gaap_LineOfCredit_8779FC58E6B95E5B8E2CCD2D68F2E370" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LossContingencyPendingClaimsNumber" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_D0EF6A231CC45D118572A49570E81990" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_C018D61EEF02522DA591003C0E0F7E1A" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_D0EF6A231CC45D118572A49570E81990" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8949B52CB3E6899020057838BF0FCC83" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6C3CCFBD72C3B90EED9D7838BF0EE505" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8949B52CB3E6899020057838BF0FCC83" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6C3CCFBD72C3B90EED9D7838BF0EE505" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4FE8718E1F5073D2BF797838BF0FDAC8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6C3CCFBD72C3B90EED9D7838BF0EE505" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4FE8718E1F5073D2BF797838BF0FDAC8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4FE8718E1F5073D2BF797838BF0FDAC8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4FE8718E1F5073D2BF797838BF0FDAC8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_D7B039C79CD4992A3FD47838BF0FBA37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:to="loc_us-gaap_ComputerEquipmentMember_D7B039C79CD4992A3FD47838BF0FBA37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_9AC56C34CE8F00A5288D7838BF0F4D43" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_9AC56C34CE8F00A5288D7838BF0F4D43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_D067AAFE61707EC79CFE7838BF0F39BB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_D067AAFE61707EC79CFE7838BF0F39BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_46AEBBE079953A8FBB967838BF0F2C4E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4E71DEB9B3B081B623727838BF0F083E" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_46AEBBE079953A8FBB967838BF0F2C4E" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_EstimatedUsefulLivesOfPropertyPlantAndEquipmentAbstract" xlink:label="loc_gwre_EstimatedUsefulLivesOfPropertyPlantAndEquipmentAbstract_89F140062457C032A39E7838BF0F12BB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8949B52CB3E6899020057838BF0FCC83" xlink:to="loc_gwre_EstimatedUsefulLivesOfPropertyPlantAndEquipmentAbstract_89F140062457C032A39E7838BF0F12BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_53638BA28D09783575F37838BF0F3F56" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_EstimatedUsefulLivesOfPropertyPlantAndEquipmentAbstract_89F140062457C032A39E7838BF0F12BB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_53638BA28D09783575F37838BF0F3F56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_A515D7E8D0C2699A2A437838BF0F0982" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_EstimatedUsefulLivesOfPropertyPlantAndEquipmentAbstract_89F140062457C032A39E7838BF0F12BB" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_A515D7E8D0C2699A2A437838BF0F0982" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E10B070F4DE93149D9E5955AB9DEBA3B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_20ADE38DBA791E99978C955AB9DDB699" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E10B070F4DE93149D9E5955AB9DEBA3B" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_20ADE38DBA791E99978C955AB9DDB699" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_61395C8D8D97D539B7A5955AB9DD82CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_20ADE38DBA791E99978C955AB9DDB699" xlink:to="loc_us-gaap_RangeAxis_61395C8D8D97D539B7A5955AB9DD82CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_61395C8D8D97D539B7A5955AB9DD82CA" xlink:to="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_61395C8D8D97D539B7A5955AB9DD82CA" xlink:to="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_6E60F96AA819286B33A0955AB9DEF857" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805" xlink:to="loc_us-gaap_MinimumMember_6E60F96AA819286B33A0955AB9DEF857" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_1D102ADD2F10DB42B01A955AB9DE5387" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_2E5FD701D9261265AC73955AB9DD0805" xlink:to="loc_us-gaap_MaximumMember_1D102ADD2F10DB42B01A955AB9DE5387" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_05C9B45B07C34DA1793E955AB9DE3CBE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_20ADE38DBA791E99978C955AB9DDB699" xlink:to="loc_us-gaap_AwardTypeAxis_05C9B45B07C34DA1793E955AB9DE3CBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340D065FB6A5A8281752955AB9DE82E7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_05C9B45B07C34DA1793E955AB9DE3CBE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340D065FB6A5A8281752955AB9DE82E7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340D065FB6A5A8281752955AB9DE82E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_05C9B45B07C34DA1793E955AB9DE3CBE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340D065FB6A5A8281752955AB9DE82E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_142A2FE85054EC9FF19E955AB9DE3F8F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_340D065FB6A5A8281752955AB9DE82E7" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_142A2FE85054EC9FF19E955AB9DE3F8F" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract" xlink:label="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_E10B070F4DE93149D9E5955AB9DEBA3B" xlink:to="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_GoodwillIntangibleAssetsandLongLivedAssetsImpairmentAbstract" xlink:label="loc_gwre_GoodwillIntangibleAssetsandLongLivedAssetsImpairmentAbstract_45DACA7973BCBBD2D8EB955AB9DE0ED2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:to="loc_gwre_GoodwillIntangibleAssetsandLongLivedAssetsImpairmentAbstract_45DACA7973BCBBD2D8EB955AB9DE0ED2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_E70F4D43F3DE0633ED97955AB9DF5CCC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_GoodwillIntangibleAssetsandLongLivedAssetsImpairmentAbstract_45DACA7973BCBBD2D8EB955AB9DE0ED2" xlink:to="loc_us-gaap_Goodwill_E70F4D43F3DE0633ED97955AB9DF5CCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_8C36671D68D121F5849D955AB9DFE597" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_GoodwillIntangibleAssetsandLongLivedAssetsImpairmentAbstract_45DACA7973BCBBD2D8EB955AB9DE0ED2" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_8C36671D68D121F5849D955AB9DFE597" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_899766DC8365413E3961955AB9DFFEC3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:to="loc_us-gaap_SegmentReportingAbstract_899766DC8365413E3961955AB9DFFEC3" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberOfCustomersConcentrationOfCreditRisk" xlink:label="loc_gwre_NumberOfCustomersConcentrationOfCreditRisk_9E776F13E01B7C1254CE955AB9DF08AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingAbstract_899766DC8365413E3961955AB9DFFEC3" xlink:to="loc_gwre_NumberOfCustomersConcentrationOfCreditRisk_9E776F13E01B7C1254CE955AB9DF08AD" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberOfCustomersConcentrationOfCreditRiskReceivables" xlink:label="loc_gwre_NumberOfCustomersConcentrationOfCreditRiskReceivables_7CA7D5EB9F64DF15E10D955AB9DFA113" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingAbstract_899766DC8365413E3961955AB9DFFEC3" xlink:to="loc_gwre_NumberOfCustomersConcentrationOfCreditRiskReceivables_7CA7D5EB9F64DF15E10D955AB9DFA113" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrentAbstract" xlink:label="loc_us-gaap_AccountsReceivableNetCurrentAbstract_A022F18F928148F3A01E955AB9DF023F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:to="loc_us-gaap_AccountsReceivableNetCurrentAbstract_A022F18F928148F3A01E955AB9DF023F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_AA6EA23017ECE7DB5067955AB9E095BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsReceivableNetCurrentAbstract_A022F18F928148F3A01E955AB9DF023F" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_AA6EA23017ECE7DB5067955AB9E095BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenueRecognitionAbstract" xlink:label="loc_us-gaap_RevenueRecognitionAbstract_CA071D213507EF5E34C8955AB9E0802B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:to="loc_us-gaap_RevenueRecognitionAbstract_CA071D213507EF5E34C8955AB9E0802B" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberofRevenueSources" xlink:label="loc_gwre_NumberofRevenueSources_6A751374017629A21854955AB9E09A91" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRecognitionAbstract_CA071D213507EF5E34C8955AB9E0802B" xlink:to="loc_gwre_NumberofRevenueSources_6A751374017629A21854955AB9E09A91" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_PeriodOfGeneralPaymentTermRangeConsideredCollectabilityProbableForRevenueRecognition" xlink:label="loc_gwre_PeriodOfGeneralPaymentTermRangeConsideredCollectabilityProbableForRevenueRecognition_9507B9F3562114303395955AB9E0C766" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRecognitionAbstract_CA071D213507EF5E34C8955AB9E0802B" xlink:to="loc_gwre_PeriodOfGeneralPaymentTermRangeConsideredCollectabilityProbableForRevenueRecognition_9507B9F3562114303395955AB9E0C766" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_TermLicenseDurationNoVSOEforMaintenance" xlink:label="loc_gwre_TermLicenseDurationNoVSOEforMaintenance_94394B0C56673C2AD371955AB9E0CE3D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRecognitionAbstract_CA071D213507EF5E34C8955AB9E0802B" xlink:to="loc_gwre_TermLicenseDurationNoVSOEforMaintenance_94394B0C56673C2AD371955AB9E0CE3D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandardProductWarrantyDisclosureAbstract" xlink:label="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_04320223E26A3B0238C4955AB9E0ADBD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTextualAbstract_8D8C7F8686A439BCF108955AB9DE6C4E" xlink:to="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_04320223E26A3B0238C4955AB9E0ADBD" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_WarrantyPeriodProvidedForSoftwareProductsAndServices" xlink:label="loc_gwre_WarrantyPeriodProvidedForSoftwareProductsAndServices_7D780655CE6DD78BF7A4955AB9E04292" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StandardProductWarrantyDisclosureAbstract_04320223E26A3B0238C4955AB9E0ADBD" xlink:to="loc_gwre_WarrantyPeriodProvidedForSoftwareProductsAndServices_7D780655CE6DD78BF7A4955AB9E04292" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatementParenthetical" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_7AB951D8C4DD4FD996ED95597212694C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_0DBEBE7DFEDCDEC927D19559721112EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7AB951D8C4DD4FD996ED95597212694C" xlink:to="loc_us-gaap_StatementTable_0DBEBE7DFEDCDEC927D19559721112EB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_52155082787DD2B0C4B495597211812E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0DBEBE7DFEDCDEC927D19559721112EB" xlink:to="loc_us-gaap_StatementClassOfStockAxis_52155082787DD2B0C4B495597211812E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_860D0B1993B9B6265B57955972116A6E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_52155082787DD2B0C4B495597211812E" xlink:to="loc_us-gaap_ClassOfStockDomain_860D0B1993B9B6265B57955972116A6E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_860D0B1993B9B6265B57955972116A6E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_52155082787DD2B0C4B495597211812E" xlink:to="loc_us-gaap_ClassOfStockDomain_860D0B1993B9B6265B57955972116A6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_88DD69AEEC9A43F7889F95597211ACB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_860D0B1993B9B6265B57955972116A6E" xlink:to="loc_us-gaap_CommonStockMember_88DD69AEEC9A43F7889F95597211ACB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_9D23E74C39B1C89274F195597211AD03" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0DBEBE7DFEDCDEC927D19559721112EB" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9D23E74C39B1C89274F195597211AD03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9D23E74C39B1C89274F195597211AD03" xlink:to="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9D23E74C39B1C89274F195597211AD03" xlink:to="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_4C0DDCF32D936641E51295597211F08C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:to="loc_us-gaap_CommonStockMember_4C0DDCF32D936641E51295597211F08C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_25C5F2F00ADC38761E5195597212AC58" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_25C5F2F00ADC38761E5195597212AC58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_656E00E520862D2D212595597212F14C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_656E00E520862D2D212595597212F14C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_5B9165E9C51AE2D942009559721284A3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0038DE8C7A0CD0D9A2CC95597211AD78" xlink:to="loc_us-gaap_RetainedEarningsMember_5B9165E9C51AE2D942009559721284A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7AB951D8C4DD4FD996ED95597212694C" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_9B882507FB3C10DDE7DA955972126B61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_SharesOutstanding_9B882507FB3C10DDE7DA955972126B61" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_76986ACF7FABB6B7BE17955972124FDB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockholdersEquity_76986ACF7FABB6B7BE17955972124FDB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_96F9CF2C2ACB7302C3AE95597218A939" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_96F9CF2C2ACB7302C3AE95597218A939" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_A5E49823D47A29658842955972185B17" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_A5E49823D47A29658842955972185B17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_45F897F38F91281ED950955972180108" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_45F897F38F91281ED950955972180108" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_37BB28E8AA72914C14A1955972186B72" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_37BB28E8AA72914C14A1955972186B72" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_137C904E523F843FF6A3955972181534" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_137C904E523F843FF6A3955972181534" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_86A32B01B71F13A75AD5955972182698" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_86A32B01B71F13A75AD5955972182698" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_4905E006841F1FAD6F2095597219DC80" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_4905E006841F1FAD6F2095597219DC80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_6F2A85384530881CB48A9559721960CF" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_6F2A85384530881CB48A9559721960CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_442ECDBD2AF7A2650B03955972191A39" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_ProfitLoss_442ECDBD2AF7A2650B03955972191A39" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_A938D670D8BEE93F9491955972198778" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_A938D670D8BEE93F9491955972198778" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_43AC6F209E455B86073595597219814C" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_43AC6F209E455B86073595597219814C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_4CAB81C14CB772C8877E95597219CD00" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_E8CEA00B4B29334A6B35955972123389" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_4CAB81C14CB772C8877E95597219CD00" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/DefinedContributionsAndOtherPostretirementPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/DefinedContributionsAndOtherPostretirementPlansDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueDisclosuresDetailsTextual" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstruments" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_495E97804F38555B885C3C94739D2BD9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_495E97804F38555B885C3C94739D2BD9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EB8B60DAD02250F9A26A33B912922102" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_495E97804F38555B885C3C94739D2BD9" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EB8B60DAD02250F9A26A33B912922102" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C93FFF1792136407D75E103EA3F01210_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EB8B60DAD02250F9A26A33B912922102" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_C93FFF1792136407D75E103EA3F01210_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_EB8B60DAD02250F9A26A33B912922102" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_06DB8F389C5055B7BC8D600ED63582B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_06DB8F389C5055B7BC8D600ED63582B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_5362AB4F16595DFAAD859A1EABA21770" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_CommercialPaperMember_5362AB4F16595DFAAD859A1EABA21770" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_877A1A54FC45571CB2655D5BCD309813" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_877A1A54FC45571CB2655D5BCD309813" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_326DAE3EA50F55E9A2EF45EFE7C3340F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_326DAE3EA50F55E9A2EF45EFE7C3340F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_921C129BC5825BE78AE3D576493C53CB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_921C129BC5825BE78AE3D576493C53CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_ECD09471981E5727A6C0B0421C787810" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_CertificatesOfDepositMember_ECD09471981E5727A6C0B0421C787810" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_963E6911BFDC5015B022BEA901768E06" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1954CCA2CCE55FC891DACFCB1EC45767" xlink:to="loc_us-gaap_MoneyMarketFundsMember_963E6911BFDC5015B022BEA901768E06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_E1589BB5BC7A5BB8A0094C47E38FC68D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_E1589BB5BC7A5BB8A0094C47E38FC68D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0E777769081457CB8624922FA425C0DC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0E777769081457CB8624922FA425C0DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_3B1FE8E676335E31A3883177AAD69852" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_3B1FE8E676335E31A3883177AAD69852" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_20790969AC53539ABCCAF7BEB0F8EB49" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_20A78EA2435253DDB0BD08EC0C4D005F" xlink:to="loc_us-gaap_AvailableForSaleSecurities_20790969AC53539ABCCAF7BEB0F8EB49" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_79D1F5228E236EA522F1956611EE6BF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_79D1F5228E236EA522F1956611EE6BF5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_663949B3376C46878F39956611EEEA5A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_79D1F5228E236EA522F1956611EE6BF5" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_663949B3376C46878F39956611EEEA5A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_663949B3376C46878F39956611EEEA5A" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_663949B3376C46878F39956611EEEA5A" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_23032D41606C37604DEC956611EF9F2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_23032D41606C37604DEC956611EF9F2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_06A0F42007EC55F2D9C8956611EF2B67" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_CommercialPaperMember_06A0F42007EC55F2D9C8956611EF2B67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_58ACD715239A4F9C3A20956611EFEFAA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_58ACD715239A4F9C3A20956611EFEFAA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_89863F1CF6EB7F935E60956611EFBC01" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_89863F1CF6EB7F935E60956611EFBC01" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8B1A57EC0840663DA2FF956611EF1240" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_8B1A57EC0840663DA2FF956611EF1240" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_92E38295BDA81B82171E956611EF0487" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8943CE71C27BEA420F51956611EECDAB" xlink:to="loc_us-gaap_CertificatesOfDepositMember_92E38295BDA81B82171E956611EF0487" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_A6ADBA34E9EF3926740B956611EF6F9B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_A6ADBA34E9EF3926740B956611EF6F9B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_D28C01FDD90694F8A24D956611EF64C5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_D28C01FDD90694F8A24D956611EF64C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_E090DC32616698397461956611EF08E5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_E090DC32616698397461956611EF08E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_2903904C9CFD3AD2D75A956611EFD9F8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_2903904C9CFD3AD2D75A956611EFD9F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_1F97A8283B1F4677765B956611F0AB1E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_1F97A8283B1F4677765B956611F0AB1E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_7B8F3CDAE6974414989A956611F06D02" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2B54C6E9039107A1AFB0956611EFFA25" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_7B8F3CDAE6974414989A956611F06D02" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems" xlink:label="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_03A16F7E19739DE3A7208701927AA2A0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_94DC5B7A88B311B5B97387019273695E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_03A16F7E19739DE3A7208701927AA2A0" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_94DC5B7A88B311B5B97387019273695E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2144B41533CEFF5685C2870192738D42" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_94DC5B7A88B311B5B97387019273695E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2144B41533CEFF5685C2870192738D42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2144B41533CEFF5685C2870192738D42" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_2144B41533CEFF5685C2870192738D42" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_5F1D5AD0DD45AA248BCD870192786C73" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_5F1D5AD0DD45AA248BCD870192786C73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_E4E7E804180B0FC8FDE8870192798D9D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_CommercialPaperMember_E4E7E804180B0FC8FDE8870192798D9D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_DD92BD6FFD4D00547A9187019279092A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_DD92BD6FFD4D00547A9187019279092A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_D359DB0CC7A22A638A71870192793D30" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_D359DB0CC7A22A638A71870192793D30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_10337EB597C285DB1AC18711B3F68B49" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_CertificatesOfDepositMember_10337EB597C285DB1AC18711B3F68B49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_62B6E68903CBA9094C0C87019279D1E7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_DD79D9B3730049CBB5AB87019273A209" xlink:to="loc_us-gaap_MoneyMarketFundsMember_62B6E68903CBA9094C0C87019279D1E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_A20B646368F5DB3512C18701927ADAA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_03A16F7E19739DE3A7208701927AA2A0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_A20B646368F5DB3512C18701927ADAA2" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_AvailableForSaleSecuritiesDebtMaturitiesNonCurrent" xlink:label="loc_gwre_AvailableForSaleSecuritiesDebtMaturitiesNonCurrent_1346303DDB3C7512E8798701927ADBC7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_03A16F7E19739DE3A7208701927AA2A0" xlink:to="loc_gwre_AvailableForSaleSecuritiesDebtMaturitiesNonCurrent_1346303DDB3C7512E8798701927ADBC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_9B20E36EA86B4D3103518701927A7FBC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_03A16F7E19739DE3A7208701927AA2A0" xlink:to="loc_us-gaap_AvailableForSaleSecurities_9B20E36EA86B4D3103518701927A7FBC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails4" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D8C7E29C7AE654C67C538701924900E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D8C7E29C7AE654C67C538701924900E7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_772B68E9361FBA12776187019249170D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D8C7E29C7AE654C67C538701924900E7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_772B68E9361FBA12776187019249170D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_772B68E9361FBA12776187019249170D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_772B68E9361FBA12776187019249170D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_209646044D9309875FE5870192497644" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_209646044D9309875FE5870192497644" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_FD6355018AE4C273E70A870192667123" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_CommercialPaperMember_FD6355018AE4C273E70A870192667123" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_86C7BED38DDA697AC88387019266C73C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_86C7BED38DDA697AC88387019266C73C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CertificatesOfDepositMember" xlink:label="loc_us-gaap_CertificatesOfDepositMember_42198EF6DD5ED0D3EB79870192670DD5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_CertificatesOfDepositMember_42198EF6DD5ED0D3EB79870192670DD5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_B4CC45C32CE0B7BC44DB87019267EED2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_MoneyMarketFundsMember_B4CC45C32CE0B7BC44DB87019267EED2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_4CD17505BB54BD5A6DC68701926735D1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_4CD17505BB54BD5A6DC68701926735D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_6D4843EDC5740628A0C4871502F15897" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_419E41E6C717E7789583870192496DEF" xlink:to="loc_us-gaap_ForeignGovernmentDebtSecuritiesMember_6D4843EDC5740628A0C4871502F15897" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_53861828F35C3FBE55C7870192686A10" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D8C7E29C7AE654C67C538701924900E7" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_53861828F35C3FBE55C7870192686A10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_53861828F35C3FBE55C7870192686A10" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_53861828F35C3FBE55C7870192686A10" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_6FE3FB66434666117AE387019268AAD7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_6FE3FB66434666117AE387019268AAD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_EEED12AF1B7956CCE81187019268A2D0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_EEED12AF1B7956CCE81187019268A2D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_0EAA38F92F9848B6B9098701926863E3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_E34E77DE0E6E343BF726870192680F0C" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_0EAA38F92F9848B6B9098701926863E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_F2F2D83451FC5E091A3A8701926808E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_F2F2D83451FC5E091A3A8701926808E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_4DFE659D1D1C5A9DBD32870192688C02" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_4DFE659D1D1C5A9DBD32870192688C02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_210855850027CE286E598701926956AC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_210855850027CE286E598701926956AC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_4D3F0F94C7CCB45E590087019269A6AE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A20F739283F1BCE35169870192686912" xlink:to="loc_us-gaap_AvailableForSaleSecurities_4D3F0F94C7CCB45E590087019269A6AE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_78D907BEB86453EABC335C9769C91151" xlink:type="locator" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTable" xlink:label="loc_gwre_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTable_0C7A29860BFA519ABAD378423CCFB82B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_78D907BEB86453EABC335C9769C91151" xlink:to="loc_gwre_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTable_0C7A29860BFA519ABAD378423CCFB82B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_6BE80901E85253CBB569E49F175DAFBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_gwre_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTable_0C7A29860BFA519ABAD378423CCFB82B" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_6BE80901E85253CBB569E49F175DAFBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_BD15AF85FDF02EDD4A7C3257903EEFD4_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_6BE80901E85253CBB569E49F175DAFBE" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_BD15AF85FDF02EDD4A7C3257903EEFD4_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_F3F81BFB7C9C570B83E691B05ADA8BC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_6BE80901E85253CBB569E49F175DAFBE" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_F3F81BFB7C9C570B83E691B05ADA8BC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_B1C4BA807FED5F11B85344F7C7B2CC4B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_F3F81BFB7C9C570B83E691B05ADA8BC3" xlink:to="loc_us-gaap_DomesticCountryMember_B1C4BA807FED5F11B85344F7C7B2CC4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_C1215744F9955452AE909AE539766F4E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_F3F81BFB7C9C570B83E691B05ADA8BC3" xlink:to="loc_us-gaap_ForeignCountryMember_C1215744F9955452AE909AE539766F4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestAbstract" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestAbstract_747C95D2F564542C8BA604A2944B515F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_78D907BEB86453EABC335C9769C91151" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestAbstract_747C95D2F564542C8BA604A2944B515F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3F7D03022BE25DD9AD46A9D8DEB915F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterestAbstract_747C95D2F564542C8BA604A2944B515F" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3F7D03022BE25DD9AD46A9D8DEB915F0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails1" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails2" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails3" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails4" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_DB3CD242724D56ADBC99B759085E9D72" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_B859F7ED68665982AE395AAA7B3BEC3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_DB3CD242724D56ADBC99B759085E9D72" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_B859F7ED68665982AE395AAA7B3BEC3C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_58A943946C765A2B97D9BE8B6C8B773B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_B859F7ED68665982AE395AAA7B3BEC3C" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_58A943946C765A2B97D9BE8B6C8B773B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_21C1D6D629787BA2CF0A3257906D9E35_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_58A943946C765A2B97D9BE8B6C8B773B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_21C1D6D629787BA2CF0A3257906D9E35_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_06966590615057578B6ED318D33E11E2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_58A943946C765A2B97D9BE8B6C8B773B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_06966590615057578B6ED318D33E11E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_7D0F43D054E15B0EB9475BCAD1012BFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_06966590615057578B6ED318D33E11E2" xlink:to="loc_us-gaap_DomesticCountryMember_7D0F43D054E15B0EB9475BCAD1012BFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/stpr/2011/stpr-2011-01-31.xsd#stpr_CA" xlink:label="loc_stpr_CA_0EB608AAC69451F795603EB83EFA6325" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_06966590615057578B6ED318D33E11E2" xlink:to="loc_stpr_CA_0EB608AAC69451F795603EB83EFA6325" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ResearchAndDevelopmentCreditsCarryforwards" xlink:label="loc_gwre_ResearchAndDevelopmentCreditsCarryforwards_682662663BC05433B2FB42E904A9BC14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_DB3CD242724D56ADBC99B759085E9D72" xlink:to="loc_gwre_ResearchAndDevelopmentCreditsCarryforwards_682662663BC05433B2FB42E904A9BC14" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetails5" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_D2CD97F602225527A557A6202ACD2332" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_FFCB9BD420FC53958B28045C2F443379" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_D2CD97F602225527A557A6202ACD2332" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_FFCB9BD420FC53958B28045C2F443379" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_096782A380BF501F92C363A0F7A3DE0B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_FFCB9BD420FC53958B28045C2F443379" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_096782A380BF501F92C363A0F7A3DE0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_72B2F2EB473B9EBFB4E11F69714975A8_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_096782A380BF501F92C363A0F7A3DE0B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_72B2F2EB473B9EBFB4E11F69714975A8_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_5DB5C50E5B2D59F6AE9FDA1180E04986" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_096782A380BF501F92C363A0F7A3DE0B" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_5DB5C50E5B2D59F6AE9FDA1180E04986" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_0E56428468B556F1B3FEAAC34E886AF6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5DB5C50E5B2D59F6AE9FDA1180E04986" xlink:to="loc_us-gaap_DomesticCountryMember_0E56428468B556F1B3FEAAC34E886AF6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/stpr/2011/stpr-2011-01-31.xsd#stpr_CA" xlink:label="loc_stpr_CA_9A1F70E0469C55ADA8393665CE406F58" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5DB5C50E5B2D59F6AE9FDA1180E04986" xlink:to="loc_stpr_CA_9A1F70E0469C55ADA8393665CE406F58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_082AF3B137F659D79BF5FADFBF7AD8FB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_5DB5C50E5B2D59F6AE9FDA1180E04986" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_082AF3B137F659D79BF5FADFBF7AD8FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_E48944804FAF5908837E443E6711629F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_FFCB9BD420FC53958B28045C2F443379" xlink:to="loc_us-gaap_RangeAxis_E48944804FAF5908837E443E6711629F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_AAF6BE72C3751757FFCB1F69714A7FB8_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_E48944804FAF5908837E443E6711629F" xlink:to="loc_us-gaap_RangeMember_AAF6BE72C3751757FFCB1F69714A7FB8_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_312972A4CB075BB68E35E7B12B5C05E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_E48944804FAF5908837E443E6711629F" xlink:to="loc_us-gaap_RangeMember_312972A4CB075BB68E35E7B12B5C05E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_767FBB6D80225DF5927F400170FE7899" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_312972A4CB075BB68E35E7B12B5C05E4" xlink:to="loc_us-gaap_MaximumMember_767FBB6D80225DF5927F400170FE7899" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_E5637C2CB247554083F7B507391247E7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_312972A4CB075BB68E35E7B12B5C05E4" xlink:to="loc_us-gaap_MinimumMember_E5637C2CB247554083F7B507391247E7" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_IncomeTaxesAdditionalTextualAbstract" xlink:label="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_D2CD97F602225527A557A6202ACD2332" xlink:to="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_6F420019785B525FAA2C8CF0DB0A9F41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_6F420019785B525FAA2C8CF0DB0A9F41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_19315D81130F57E292CAAE5E5889BE43" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_19315D81130F57E292CAAE5E5889BE43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_9BB6DA01C4D559C08B3F7AB67B907504" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_OperatingLossCarryforwards_9BB6DA01C4D559C08B3F7AB67B907504" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ResearchAndDevelopmentCreditExpirationDate" xlink:label="loc_gwre_ResearchAndDevelopmentCreditExpirationDate_1976DCA1AC7C519AA27A1360C126A3F7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_gwre_ResearchAndDevelopmentCreditExpirationDate_1976DCA1AC7C519AA27A1360C126A3F7" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_UnrealizedExcessTaxBenefitsResultingFromExercisesofStockOptions" xlink:label="loc_gwre_UnrealizedExcessTaxBenefitsResultingFromExercisesofStockOptions_79CBECB7A81B5B349E78E2F755241DE3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_gwre_UnrealizedExcessTaxBenefitsResultingFromExercisesofStockOptions_79CBECB7A81B5B349E78E2F755241DE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_DB42B71F42F051E2BC7C4CB3CB6E321B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_DB42B71F42F051E2BC7C4CB3CB6E321B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_91239EA94FC550E99F5EEA49E8114001" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_91239EA94FC550E99F5EEA49E8114001" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_66A2C6CE28FD5FA9834D162B9F3B7180" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_66A2C6CE28FD5FA9834D162B9F3B7180" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_7F8C6C2401825759ACF90BACD61DE2DA" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_IncomeTaxesAdditionalTextualAbstract_305B3C49BF245F73AEFDB21492C88F44" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_7F8C6C2401825759ACF90BACD61DE2DA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/NetIncomePerShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/NetIncomePerShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/NetIncomePerShareDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_5E97BF4CAB62511787B9B6F80E2B4BF9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_3E4489C225D45D0CA34F0007737CC6CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_5E97BF4CAB62511787B9B6F80E2B4BF9" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_3E4489C225D45D0CA34F0007737CC6CB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_9B2710C06EE357DD9EE9FBD478413991" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_3E4489C225D45D0CA34F0007737CC6CB" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_9B2710C06EE357DD9EE9FBD478413991" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_696191A8814E0200413332578F3315FE_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_9B2710C06EE357DD9EE9FBD478413991" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_696191A8814E0200413332578F3315FE_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_71E9308852D8581A89A432A440672FA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_9B2710C06EE357DD9EE9FBD478413991" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_71E9308852D8581A89A432A440672FA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_AA354B99152B51FE90757093561B6DAC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_71E9308852D8581A89A432A440672FA0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_AA354B99152B51FE90757093561B6DAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaap_RestrictedStockMember_8E06AEFA7AA45EF3A9225C78FAE90725" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_71E9308852D8581A89A432A440672FA0" xlink:to="loc_us-gaap_RestrictedStockMember_8E06AEFA7AA45EF3A9225C78FAE90725" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_EEDA097D5BC95E9EBF320D29BC609A5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_5E97BF4CAB62511787B9B6F80E2B4BF9" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_EEDA097D5BC95E9EBF320D29BC609A5E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/NetIncomePerShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/SegmentInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/SegmentInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_28491B104AB25F339090E420B18D3035" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_B5B8561B65C85666BC4C463286DDEE75" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_28491B104AB25F339090E420B18D3035" xlink:to="loc_us-gaap_StatementTable_B5B8561B65C85666BC4C463286DDEE75" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_D6DBE7CDF8055B4289D398AD88E57104" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_B5B8561B65C85666BC4C463286DDEE75" xlink:to="loc_us-gaap_StatementGeographicalAxis_D6DBE7CDF8055B4289D398AD88E57104" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_0792C8C1D394770573ED32579017E816_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_D6DBE7CDF8055B4289D398AD88E57104" xlink:to="loc_us-gaap_SegmentGeographicalDomain_0792C8C1D394770573ED32579017E816_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_D6DBE7CDF8055B4289D398AD88E57104" xlink:to="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_US" xlink:label="loc_country_US_2F1FD2EC4DE458F18E8F1CF8C91954AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_country_US_2F1FD2EC4DE458F18E8F1CF8C91954AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_CA" xlink:label="loc_country_CA_4F6210A1DA44515CA425EB3E2544EF67" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_country_CA_4F6210A1DA44515CA425EB3E2544EF67" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_OtherAmericasMember" xlink:label="loc_gwre_OtherAmericasMember_4467153AF5235C09B34C3939DF3FB6DD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_gwre_OtherAmericasMember_4467153AF5235C09B34C3939DF3FB6DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AmericasMember" xlink:label="loc_us-gaap_AmericasMember_D855A6026417593E86E677C715FBB978" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_us-gaap_AmericasMember_D855A6026417593E86E677C715FBB978" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2016/country-2016-01-31.xsd#country_GB" xlink:label="loc_country_GB_22B9686ECB085D89B6F75423A98DF157" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_country_GB_22B9686ECB085D89B6F75423A98DF157" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_OtherEMEAMember" xlink:label="loc_gwre_OtherEMEAMember_6D83DC6A54925CA2A53DA6023FEA11FE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_gwre_OtherEMEAMember_6D83DC6A54925CA2A53DA6023FEA11FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EMEAMember" xlink:label="loc_us-gaap_EMEAMember_E67FF2CF551E56B99D6A9BB6A52DE482" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_us-gaap_EMEAMember_E67FF2CF551E56B99D6A9BB6A52DE482" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_APACMember" xlink:label="loc_gwre_APACMember_65836C45676A5ADB84D3475422A98DE2" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_F81E7D0AAD5A51559BB1719725E47345" xlink:to="loc_gwre_APACMember_65836C45676A5ADB84D3475422A98DE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesAbstract" xlink:label="loc_us-gaap_RevenuesAbstract_CC3A3054CB205B648A9EBD3FABB8D663" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_28491B104AB25F339090E420B18D3035" xlink:to="loc_us-gaap_RevenuesAbstract_CC3A3054CB205B648A9EBD3FABB8D663" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_56724F477BE85B608CA73FB03841C51B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_CC3A3054CB205B648A9EBD3FABB8D663" xlink:to="loc_us-gaap_Revenues_56724F477BE85B608CA73FB03841C51B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/SegmentInformationDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:label="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_7DB4584A24E259CCAB2CA0752623CD8C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_47887EBDF0D65A9694163D7D4316FAE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_7DB4584A24E259CCAB2CA0752623CD8C" xlink:to="loc_us-gaap_StatementTable_47887EBDF0D65A9694163D7D4316FAE7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_935C8ED2647F507D852F7EA58F0F0DF7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_47887EBDF0D65A9694163D7D4316FAE7" xlink:to="loc_us-gaap_StatementGeographicalAxis_935C8ED2647F507D852F7EA58F0F0DF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_10165E265162A328772E32578E9AE719_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_935C8ED2647F507D852F7EA58F0F0DF7" xlink:to="loc_us-gaap_SegmentGeographicalDomain_10165E265162A328772E32578E9AE719_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3D44EA1E28DD57E0B435D08109935F37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_935C8ED2647F507D852F7EA58F0F0DF7" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3D44EA1E28DD57E0B435D08109935F37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NorthAmericaMember" xlink:label="loc_us-gaap_NorthAmericaMember_80BD9199CF575277A659A99A41F4B796" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3D44EA1E28DD57E0B435D08109935F37" xlink:to="loc_us-gaap_NorthAmericaMember_80BD9199CF575277A659A99A41F4B796" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EuropeMember" xlink:label="loc_us-gaap_EuropeMember_6C8D353AA7C85BA1B8EBE3455F4B9DC9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3D44EA1E28DD57E0B435D08109935F37" xlink:to="loc_us-gaap_EuropeMember_6C8D353AA7C85BA1B8EBE3455F4B9DC9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AsiaPacificMember" xlink:label="loc_us-gaap_AsiaPacificMember_7B84CFAA00525077992347841A01293B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_3D44EA1E28DD57E0B435D08109935F37" xlink:to="loc_us-gaap_AsiaPacificMember_7B84CFAA00525077992347841A01293B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_98A83A5C565C59598B698F0BC0B6E0D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_7DB4584A24E259CCAB2CA0752623CD8C" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAbstract_98A83A5C565C59598B698F0BC0B6E0D3" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_LonglivedAssetsIncludingGoodwillandIntangibleAssets" xlink:label="loc_gwre_LonglivedAssetsIncludingGoodwillandIntangibleAssets_3F6FC29D08A754CE93BC824A98AB2E39" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_98A83A5C565C59598B698F0BC0B6E0D3" xlink:to="loc_gwre_LonglivedAssetsIncludingGoodwillandIntangibleAssets_3F6FC29D08A754CE93BC824A98AB2E39" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/SegmentInformationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_26B497230D515F51BFE3BDE36F7EA4D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_26B497230D515F51BFE3BDE36F7EA4D5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_410E29DFA375528698521700FAD80A3F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_26B497230D515F51BFE3BDE36F7EA4D5" xlink:to="loc_us-gaap_RangeAxis_410E29DFA375528698521700FAD80A3F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_7120B255EED6E49F75980C347064A726_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_410E29DFA375528698521700FAD80A3F" xlink:to="loc_us-gaap_RangeMember_7120B255EED6E49F75980C347064A726_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_B8871B749FC551F398B0A8A7B0A815B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_410E29DFA375528698521700FAD80A3F" xlink:to="loc_us-gaap_RangeMember_B8871B749FC551F398B0A8A7B0A815B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_FDDCCDF3924953FEAD3B6343E5751053" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_B8871B749FC551F398B0A8A7B0A815B5" xlink:to="loc_us-gaap_MinimumMember_FDDCCDF3924953FEAD3B6343E5751053" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_8849EA7AEE2D509AA4F4FA7C75AF95C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:to="loc_us-gaap_NumberOfOperatingSegments_8849EA7AEE2D509AA4F4FA7C75AF95C4" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberofCountriesConcentrationofRevenue" xlink:label="loc_gwre_NumberofCountriesConcentrationofRevenue_505A4C48170D522FB262383BA00CE6BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:to="loc_gwre_NumberofCountriesConcentrationofRevenue_505A4C48170D522FB262383BA00CE6BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_75A483B5F227521489478E41FD044671" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_75A483B5F227521489478E41FD044671" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_NumberOfCustomersConcentrationOfCreditRisk" xlink:label="loc_gwre_NumberOfCustomersConcentrationOfCreditRisk_B7330C64E8BC59FFB9986E40CFCE348C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_208C0474604B514AA7F24097D9AAC0EB" xlink:to="loc_gwre_NumberOfCustomersConcentrationOfCreditRisk_B7330C64E8BC59FFB9986E40CFCE348C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails1" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C19DCCFE11D6FC90E7B7C7CC3637E4D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C19DCCFE11D6FC90E7B7C7CC3637E4D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_65CD092D8719E752F8547C7CC3631564" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_3C19DCCFE11D6FC90E7B7C7CC3637E4D" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_65CD092D8719E752F8547C7CC3631564" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_65CD092D8719E752F8547C7CC3631564" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_65CD092D8719E752F8547C7CC3631564" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CostofLicenseRevenuesMember" xlink:label="loc_gwre_CostofLicenseRevenuesMember_DB4F7AF1A228475372ED7C7CC36373FB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_gwre_CostofLicenseRevenuesMember_DB4F7AF1A228475372ED7C7CC36373FB" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CostOfMaintenanceRevenuesMember" xlink:label="loc_gwre_CostOfMaintenanceRevenuesMember_D2881C301DE4EDCAF2207C7CC364DCD6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_gwre_CostOfMaintenanceRevenuesMember_D2881C301DE4EDCAF2207C7CC364DCD6" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CostOfServicesRevenuesMember" xlink:label="loc_gwre_CostOfServicesRevenuesMember_2B1462776ED4480D5B7A7C7CC364EC73" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_gwre_CostOfServicesRevenuesMember_2B1462776ED4480D5B7A7C7CC364EC73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_422727FA8D2BC45E09147C7CC364EAB3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_422727FA8D2BC45E09147C7CC364EAB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_C2ACEE4FAF8594577F587C7CC364FD2C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_C2ACEE4FAF8594577F587C7CC364FD2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_F617D1AD305103EB693B7C7CC3646566" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_743DBBFC1FDFB90271E37C7CC36306D3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_F617D1AD305103EB693B7C7CC3646566" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_14D4B10989D7CA83654F7C7CC36448E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_14D4B10989D7CA83654F7C7CC36448E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_F03C40765D0C39823F107C7CC3641F9A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_F03C40765D0C39823F107C7CC3641F9A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5E01CA2B6A38444C6D0E7C7CC3643B25" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5E01CA2B6A38444C6D0E7C7CC3643B25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract_EBFD1EDFAA462FA805D57C7CC3640694" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_648B3DC8ED24DDD89EB37C7CC364722E" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract_EBFD1EDFAA462FA805D57C7CC3640694" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_BF064B01F3B0302E404A7C7CC3642CAD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract_EBFD1EDFAA462FA805D57C7CC3640694" xlink:to="loc_us-gaap_ShareBasedCompensation_BF064B01F3B0302E404A7C7CC3642CAD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_E977DFCBF1702DD129A67C7CC365467C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract_EBFD1EDFAA462FA805D57C7CC3640694" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_E977DFCBF1702DD129A67C7CC365467C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_43D1BFFE502A4AD2500B7C7CC3653C03" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAggregateDisclosuresAbstract_EBFD1EDFAA462FA805D57C7CC3640694" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_43D1BFFE502A4AD2500B7C7CC3653C03" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails2" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E5D3394DC5AE5B13A88013A328193068" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_ABFE47E08F485547BE059C593DC9003B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E5D3394DC5AE5B13A88013A328193068" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_ABFE47E08F485547BE059C593DC9003B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_40137F505AA95D37A1017DEFFB01FC07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_ABFE47E08F485547BE059C593DC9003B" xlink:to="loc_us-gaap_AwardTypeAxis_40137F505AA95D37A1017DEFFB01FC07" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_42E4678CDE9760644838325790480B96_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_40137F505AA95D37A1017DEFFB01FC07" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_42E4678CDE9760644838325790480B96_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_036AC7CAE7C65651933769A161522255" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_40137F505AA95D37A1017DEFFB01FC07" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_036AC7CAE7C65651933769A161522255" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0AD36BF15B895B83A63576AC9D71E2F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_036AC7CAE7C65651933769A161522255" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0AD36BF15B895B83A63576AC9D71E2F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_365788DDFAB35BB4A3B9A6247A7E69C7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_036AC7CAE7C65651933769A161522255" xlink:to="loc_us-gaap_EmployeeStockOptionMember_365788DDFAB35BB4A3B9A6247A7E69C7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_202885510D205969B210441ECF066A27" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E5D3394DC5AE5B13A88013A328193068" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_202885510D205969B210441ECF066A27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_122F3615542A594887AE23B4E3477E53" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_E5D3394DC5AE5B13A88013A328193068" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_122F3615542A594887AE23B4E3477E53" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails3" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED82B00F166ED1B74B22783917723085" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_256EACC2658D9E46C90E7839177275CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED82B00F166ED1B74B22783917723085" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_256EACC2658D9E46C90E7839177275CC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_C9DCCB4BF0A15280218D78391772989B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_256EACC2658D9E46C90E7839177275CC" xlink:to="loc_us-gaap_AwardTypeAxis_C9DCCB4BF0A15280218D78391772989B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A0AE86892BB9B289A0ED783917724BA7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_C9DCCB4BF0A15280218D78391772989B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A0AE86892BB9B289A0ED783917724BA7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A0AE86892BB9B289A0ED783917724BA7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_C9DCCB4BF0A15280218D78391772989B" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A0AE86892BB9B289A0ED783917724BA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_92881FEB1E44B2B0CED77839177204E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A0AE86892BB9B289A0ED783917724BA7" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_92881FEB1E44B2B0CED77839177204E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED82B00F166ED1B74B22783917723085" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_08333207C03F25ABE2457839177726BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_08333207C03F25ABE2457839177726BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_CB392E1B15EBEB1D753C78391777DB6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_CB392E1B15EBEB1D753C78391777DB6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_CAFFDCE8210BD88322CF783917779C96" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_CAFFDCE8210BD88322CF783917779C96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3283B7CEB796D00A018A78391777A050" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3283B7CEB796D00A018A78391777A050" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVest" xlink:label="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVest_59AD1417063CD04019D678391777F6E6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7F812F8D1249CB848F9D7839177214C8" xlink:to="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVest_59AD1417063CD04019D678391777F6E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED82B00F166ED1B74B22783917723085" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_33BB2E9FDAD166BD387578391778F884" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_33BB2E9FDAD166BD387578391778F884" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_82DAC66545D63566F19A78391778C36E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_82DAC66545D63566F19A78391778C36E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_927896F265DB2C6BD5FA78391778D31A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_927896F265DB2C6BD5FA78391778D31A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_CB1EEB67E3B846FD0E4578391778D9B4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_CB1EEB67E3B846FD0E4578391778D9B4" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVestWeightedAverageGrantDateFairValue" xlink:label="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVestWeightedAverageGrantDateFairValue_0CCBD3F2531561E90C7A7839177894D9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_887481D501AA9A8A96D1783917788E64" xlink:to="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsExpectedtoVestWeightedAverageGrantDateFairValue_0CCBD3F2531561E90C7A7839177894D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_29F03EEC405E14BCC70F7839177811E5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_ED82B00F166ED1B74B22783917723085" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_29F03EEC405E14BCC70F7839177811E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_138A6F03E71BE11CCFDB783917782147" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_29F03EEC405E14BCC70F7839177811E5" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueNonvested_138A6F03E71BE11CCFDB783917782147" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_62A555E238E5C73AC1B078391778757E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_29F03EEC405E14BCC70F7839177811E5" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_62A555E238E5C73AC1B078391778757E" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueExpectedtoVest" xlink:label="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueExpectedtoVest_CC49DE938B02720BAEF6783917783BC2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_29F03EEC405E14BCC70F7839177811E5" xlink:to="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueExpectedtoVest_CC49DE938B02720BAEF6783917783BC2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails4" xlink:type="extended" />
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails6" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0142C589D3CE0115123C9C783756D655" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0142C589D3CE0115123C9C783756D655" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_9538FD262BA540FD15EF9C783756BDD2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0142C589D3CE0115123C9C783756D655" xlink:to="loc_us-gaap_AwardTypeAxis_9538FD262BA540FD15EF9C783756BDD2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_514F02F5278A3112E18C9C783756E2CA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9538FD262BA540FD15EF9C783756BDD2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_514F02F5278A3112E18C9C783756E2CA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_514F02F5278A3112E18C9C783756E2CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9538FD262BA540FD15EF9C783756BDD2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_514F02F5278A3112E18C9C783756E2CA" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_TotalShareholderReturnPerformanceSharesTSRPSUsMember" xlink:label="loc_gwre_TotalShareholderReturnPerformanceSharesTSRPSUsMember_7B4DF7D043D6E477E3809C783756B270" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_514F02F5278A3112E18C9C783756E2CA" xlink:to="loc_gwre_TotalShareholderReturnPerformanceSharesTSRPSUsMember_7B4DF7D043D6E477E3809C783756B270" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_358F9B5B2D24EDA35A7E9C78375641AF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_0142C589D3CE0115123C9C783756D655" xlink:to="loc_us-gaap_RangeAxis_358F9B5B2D24EDA35A7E9C78375641AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_358F9B5B2D24EDA35A7E9C78375641AF" xlink:to="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_358F9B5B2D24EDA35A7E9C78375641AF" xlink:to="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_4AC1D8B9B1D697D685E29C7837561276" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F" xlink:to="loc_us-gaap_MinimumMember_4AC1D8B9B1D697D685E29C7837561276" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_2B4A067289659A6983F19C7837567027" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_991E46FBD5C88EE07D069C783756F89F" xlink:to="loc_us-gaap_MaximumMember_2B4A067289659A6983F19C7837567027" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_9EACAFC5D89C05DBC3BF9C78375691AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_9EACAFC5D89C05DBC3BF9C78375691AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_53926471B48A5FC0901D9C783756BADA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_53926471B48A5FC0901D9C783756BADA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_579438D39E24EEFBDAF59C783757861D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_579438D39E24EEFBDAF59C783757861D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_94941DFC971DFB1342119C783757E7D6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_94941DFC971DFB1342119C783757E7D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_63D660A71A51EDA199F69C7837570F84" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_63D660A71A51EDA199F69C7837570F84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_5677F562FFBEF83AB08D9C7837574698" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_E88535FA2703AF30A9319C7837568E11" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_5677F562FFBEF83AB08D9C7837574698" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D37681190DC30825D4CE9C783757E290" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_D37681190DC30825D4CE9C783757E290" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMinimum" xlink:label="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMinimum_20798EC4391CE681F9439C7837571C86" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:to="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMinimum_20798EC4391CE681F9439C7837571C86" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMaximum" xlink:label="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMaximum_A218B33342750AB22B5A9C7837575C89" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_B228BBD94585CE46981B9C7837564496" xlink:to="loc_gwre_SharebasedCompensationArrangementbySharebasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateofPeerCompaniesinIndexMaximum_A218B33342750AB22B5A9C7837575C89" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails7" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5A7153785D42537EBD533A14CBB4990F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_93F5BD396CDD57C4ADE18176194859B9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5A7153785D42537EBD533A14CBB4990F" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_93F5BD396CDD57C4ADE18176194859B9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_AD9B509F8EF057FEBC75C84FEFD43F02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_93F5BD396CDD57C4ADE18176194859B9" xlink:to="loc_us-gaap_AwardTypeAxis_AD9B509F8EF057FEBC75C84FEFD43F02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0F183D5C34F796DB4D20325790422A88_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_AD9B509F8EF057FEBC75C84FEFD43F02" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0F183D5C34F796DB4D20325790422A88_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E0483FA6D08053E5A2BD62427253E1FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_AD9B509F8EF057FEBC75C84FEFD43F02" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E0483FA6D08053E5A2BD62427253E1FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_496F9BEE4C7157E39C0777E08FFEABAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E0483FA6D08053E5A2BD62427253E1FC" xlink:to="loc_us-gaap_EmployeeStockOptionMember_496F9BEE4C7157E39C0777E08FFEABAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_F3C0507BCF38525694735C4C8DF10FC9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E0483FA6D08053E5A2BD62427253E1FC" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_F3C0507BCF38525694735C4C8DF10FC9" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_CommonStockReservedForIssuanceAbstract" xlink:label="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5A7153785D42537EBD533A14CBB4990F" xlink:to="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AEDC224F024B5C499CE6FA22A3264675" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_AEDC224F024B5C499CE6FA22A3264675" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EF9FB3936C975DCDA61EE01FBB1C1704" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EF9FB3936C975DCDA61EE01FBB1C1704" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_CBD794E78FCD5D7089B737D6EE755684" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_CBD794E78FCD5D7089B737D6EE755684" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_96FDEFD56D495E378704A203ED11B08E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gwre_CommonStockReservedForIssuanceAbstract_4A98EA95B31055CE82ABEE8723365D72" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_96FDEFD56D495E378704A203ED11B08E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetailsTextual" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_76AFFDD63E71553EA1E90601A61F6194" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_76AFFDD63E71553EA1E90601A61F6194" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_7406130498235C4892B44FA61EFBC555" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_76AFFDD63E71553EA1E90601A61F6194" xlink:to="loc_us-gaap_AwardTypeAxis_7406130498235C4892B44FA61EFBC555" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0F08B6C04BF7AC5B68AC105EBC45FE46_FD833229B3D757618F7F624489675EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_7406130498235C4892B44FA61EFBC555" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0F08B6C04BF7AC5B68AC105EBC45FE46_FD833229B3D757618F7F624489675EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E8378F486AB85901BB9505CF16814639" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_7406130498235C4892B44FA61EFBC555" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E8378F486AB85901BB9505CF16814639" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_8552C834FCDA5EB4BC95EEA7A93966E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E8378F486AB85901BB9505CF16814639" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_8552C834FCDA5EB4BC95EEA7A93966E4" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_StockPlanTwoThousandElevenMember" xlink:label="loc_gwre_StockPlanTwoThousandElevenMember_C2A30A93D633587C9B0B0451DB340BBE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E8378F486AB85901BB9505CF16814639" xlink:to="loc_gwre_StockPlanTwoThousandElevenMember_C2A30A93D633587C9B0B0451DB340BBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_A19D9D47BDA55CE19F69313AE10EF112" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_A19D9D47BDA55CE19F69313AE10EF112" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_MaximumIncreaseInPercentageOfOutstandingNumberOfSharesOfCompanysCommonStock" xlink:label="loc_gwre_MaximumIncreaseInPercentageOfOutstandingNumberOfSharesOfCompanysCommonStock_A4A8888C2A695DE6858DC4C951EE70CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:to="loc_gwre_MaximumIncreaseInPercentageOfOutstandingNumberOfSharesOfCompanysCommonStock_A4A8888C2A695DE6858DC4C951EE70CF" xlink:type="arc" />
    <loc xlink:href="gwre-20170731.xsd#gwre_ShareBasedCompensationExpensePerformanceBasedAwards" xlink:label="loc_gwre_ShareBasedCompensationExpensePerformanceBasedAwards_48FA999AE0455208BB018CFC4E65C74A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:to="loc_gwre_ShareBasedCompensationExpensePerformanceBasedAwards_48FA999AE0455208BB018CFC4E65C74A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_9AD35A983FC059A5A1883A5940F8510A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E568A43045325470BABDEC12A2927BB8" xlink:to="loc_us-gaap_SharePrice_9AD35A983FC059A5A1883A5940F8510A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationTables" xlink:type="extended" />
</linkbase>
