<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>244</ContextCount>
  <ElementCount>315</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>59</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statement of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CondensedConsolidatedStatementOfComprehensiveIncomeLoss</Role>
      <ShortName>Condensed Consolidated Statement of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004001 - Statement - Condensed Consolidated Statement of Comprehensive Income (Loss) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CondensedConsolidatedStatementOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Condensed Consolidated Statement of Comprehensive Income (Loss) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/Acquisition</Role>
      <ShortName>Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Net Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/NetLossPerShare</Role>
      <ShortName>Net Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Convertible Senior Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotes</Role>
      <ShortName>Convertible Senior Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Stockholders' Equity and Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensation</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/FairValueOfFinancialInstruments</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Acquisition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/AcquisitionTables</Role>
      <ShortName>Acquisition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/Acquisition</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponents</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Net Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/NetLossPerShareTables</Role>
      <ShortName>Net Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/NetLossPerShare</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Convertible Senior Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesTables</Role>
      <ShortName>Convertible Senior Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/ConvertibleSeniorNotes</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Stockholders' Equity and Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationTables</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensation</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/SegmentInformation</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2401402 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesDetailsTextual</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Fair Value of Financial Instruments (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails1</Role>
      <ShortName>Fair Value of Financial Instruments (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Fair Value of Financial Instruments (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails2</Role>
      <ShortName>Fair Value of Financial Instruments (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Fair Value of Financial Instruments (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails3</Role>
      <ShortName>Fair Value of Financial Instruments (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Fair Value of Financial Instruments (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsDetails4</Role>
      <ShortName>Fair Value of Financial Instruments (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/FairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Acquisition (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/AcquisitionNarrativeDetails</Role>
      <ShortName>Acquisition (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/AcquisitionTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Acquisition (Schedule of Preliminary Purchase Consideration) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/AcquisitionScheduleOfPreliminaryPurchaseConsiderationDetails</Role>
      <ShortName>Acquisition (Schedule of Preliminary Purchase Consideration) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/AcquisitionTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - (Purchase Price Allocation and Estimated Useful Lives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/PurchasePriceAllocationAndEstimatedUsefulLivesDetails</Role>
      <ShortName>(Purchase Price Allocation and Estimated Useful Lives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2403405 - Disclosure - Acquisition (Schedule of Pro Forma Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/AcquisitionScheduleOfProFormaInformationDetails</Role>
      <ShortName>Acquisition (Schedule of Pro Forma Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/AcquisitionTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Balance Sheet Components (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails1</Role>
      <ShortName>Balance Sheet Components (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Balance Sheet Components (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails2</Role>
      <ShortName>Balance Sheet Components (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Balance Sheet Components (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails3</Role>
      <ShortName>Balance Sheet Components (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Balance Sheet Components (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails4</Role>
      <ShortName>Balance Sheet Components (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Balance Sheet Components (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails5</Role>
      <ShortName>Balance Sheet Components (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2404407 - Disclosure - Balance Sheet Components (Details 6)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails6</Role>
      <ShortName>Balance Sheet Components (Details 6)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2404408 - Disclosure - Balance Sheet Components (Details 7)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetails7</Role>
      <ShortName>Balance Sheet Components (Details 7)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2404409 - Disclosure - Balance Sheet Components (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/BalanceSheetComponentsDetailsTextual</Role>
      <ShortName>Balance Sheet Components (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/BalanceSheetComponentsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Net Loss Per Share (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/NetLossPerShareDetails1</Role>
      <ShortName>Net Loss Per Share (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/NetLossPerShareTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Net Loss Per Share (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/NetLossPerShareDetails2</Role>
      <ShortName>Net Loss Per Share (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/NetLossPerShareTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Convertible Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesDetails</Role>
      <ShortName>Convertible Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.guidewire.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Convertible Senior Notes The net carrying value of the liability component (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesNetCarryingValueOfLiabilityComponentDetails</Role>
      <ShortName>Convertible Senior Notes The net carrying value of the liability component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2406404 - Disclosure - Convertible Senior Notes The net carrying value of the unamortized debt discount and issuance costs (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesNetCarryingValueOfUnamortizedDebtDiscountAndIssuanceCostsDetails</Role>
      <ShortName>Convertible Senior Notes The net carrying value of the unamortized debt discount and issuance costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2406405 - Disclosure - Convertible Senior Notes Schedule of interest expense recognized (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesScheduleOfInterestExpenseRecognizedDetails</Role>
      <ShortName>Convertible Senior Notes Schedule of interest expense recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2406406 - Disclosure - Convertible Senior Notes Capped Call</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.guidewire.com/role/ConvertibleSeniorNotesCappedCall</Role>
      <ShortName>Convertible Senior Notes Capped Call</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2407401 - Disclosure - Commitments and Contingencies (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/CommitmentsAndContingenciesDetailsTextual</Role>
      <ShortName>Commitments and Contingencies (Details Textual)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails1</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Details 1)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails2</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Details 2)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails3</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Details 3)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetails4</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Details 4)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2408406 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/StockholdersEquityAndStockBasedCompensationDetailsTextual</Role>
      <ShortName>Stockholders' Equity and Stock-based Compensation (Details Textual)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2409401 - Disclosure - Income Taxes (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/IncomeTaxesDetailsTextual</Role>
      <ShortName>Income Taxes (Details Textual)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Segment Information (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/SegmentInformationDetails1</Role>
      <ShortName>Segment Information (Details 1)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="gwre-20180430.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Segment Information (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.guidewire.com/role/SegmentInformationDetails2</Role>
      <ShortName>Segment Information (Details 2)</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>gwre-20180430.xml</File>
    <File>gwre-20180430.xsd</File>
    <File>gwre-20180430_cal.xml</File>
    <File>gwre-20180430_def.xml</File>
    <File>gwre-20180430_lab.xml</File>
    <File>gwre-20180430_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
