<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.3.a.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>344</ContextCount>
  <ElementCount>509</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>104</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>13</UnitCount>
  <MyReports>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedStatementsofOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedStatementsofComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2108102 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/FairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2113103 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2118104 - Disclosure - Major Customers, Partnerships and Strategic Alliances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliances</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2124105 - Disclosure - Acquisition of Sangamo France</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/AcquisitionofSangamoFrance</Role>
      <ShortName>Acquisition of Sangamo France</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2129106 - Disclosure - Other Balance Sheet Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OtherBalanceSheetDetails</Role>
      <ShortName>Other Balance Sheet Details</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2134107 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2138108 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2143109 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2149110 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/EmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2151111 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2160112 - Disclosure - Related Party Disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/RelatedPartyDisclosures</Role>
      <ShortName>Related Party Disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2162113 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2165114 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2309302 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/FairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/FairValueMeasurement</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2314303 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/MarketableSecurities</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2319304 - Disclosure - Major Customers, Partnerships and Strategic Alliances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliancesTables</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliances</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2325305 - Disclosure - Acquisition of Acquisition of Sangamo France (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/AcquisitionofAcquisitionofSangamoFranceTables</Role>
      <ShortName>Acquisition of Acquisition of Sangamo France (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2330306 - Disclosure - Other Balance Sheet Details (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OtherBalanceSheetDetailsTables</Role>
      <ShortName>Other Balance Sheet Details (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/OtherBalanceSheetDetails</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2335307 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/CommitmentsandContingencies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2339308 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/StockholdersEquity</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2344309 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/StockBasedCompensation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2352310 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/IncomeTaxes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2363311 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2404401 - Disclosure - Organization and Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Organization and Summary of Significant Accounting Policies - Revenues from Strategic Partnering Collaboration Agreements and Research Activity Grants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesRevenuesfromStrategicPartneringCollaborationAgreementsandResearchActivityGrantsDetail</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Revenues from Strategic Partnering Collaboration Agreements and Research Activity Grants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Organization and Summary of Significant Accounting Policies - Reconciliation of Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesReconciliationofCashandCashEquivalentsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Reconciliation of Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Organization and Summary of Significant Accounting Policies - Impact of Adoption of ASC on Condensed Consolidated Balance Sheet (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OrganizationandSummaryofSignificantAccountingPoliciesImpactofAdoptionofASConCondensedConsolidatedBalanceSheetDetail</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Impact of Adoption of ASC on Condensed Consolidated Balance Sheet (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Fair Value Measurement - Summary of Fair Value Measurements of Cash Equivalents, Available-for-Sale Securities and Free Share Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/FairValueMeasurementSummaryofFairValueMeasurementsofCashEquivalentsAvailableforSaleSecuritiesandFreeShareLiabilityDetail</Role>
      <ShortName>Fair Value Measurement - Summary of Fair Value Measurements of Cash Equivalents, Available-for-Sale Securities and Free Share Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Fair Value Measurement - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/FairValueMeasurementAdditionalInformationDetail</Role>
      <ShortName>Fair Value Measurement - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2412407 - Disclosure - Fair Value Measurement - Summary of Estimated Fair Value of Free Share Liability Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/FairValueMeasurementSummaryofEstimatedFairValueofFreeShareLiabilityAssumptionsDetail</Role>
      <ShortName>Fair Value Measurement - Summary of Estimated Fair Value of Free Share Liability Assumptions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2415408 - Disclosure - Marketable Securities - Summary of Cash Equivalents and Available-for-Sale Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MarketableSecuritiesSummaryofCashEquivalentsandAvailableforSaleSecuritiesDetail</Role>
      <ShortName>Marketable Securities - Summary of Cash Equivalents and Available-for-Sale Securities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2416409 - Disclosure - Marketable Securities - Summary of Available-for-Sale Securities by Contractual Maturity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MarketableSecuritiesSummaryofAvailableforSaleSecuritiesbyContractualMaturityDetail</Role>
      <ShortName>Marketable Securities - Summary of Available-for-Sale Securities by Contractual Maturity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2417410 - Disclosure - Marketable Securities - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MarketableSecuritiesAdditionalInformationDetail</Role>
      <ShortName>Marketable Securities - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2420411 - Disclosure - Major Customers, Partnerships and Strategic Alliances - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliancesAdditionalInformationDetail</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2421412 - Disclosure - Major Customers, Partnerships and Strategic Alliances - Revenues Recognized under Agreement (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliancesRevenuesRecognizedunderAgreementDetail</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances - Revenues Recognized under Agreement (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2422413 - Disclosure - Major Customers, Partnerships and Strategic Alliances - Agreement with Sigma-Aldrich Corporation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliancesAgreementwithSigmaAldrichCorporationAdditionalInformationDetail</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances - Agreement with Sigma-Aldrich Corporation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2423414 - Disclosure - Major Customers, Partnerships and Strategic Alliances - Agreement with Dow AgroSciences in Plant Agriculture - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/MajorCustomersPartnershipsandStrategicAlliancesAgreementwithDowAgroSciencesinPlantAgricultureAdditionalInformationDetail</Role>
      <ShortName>Major Customers, Partnerships and Strategic Alliances - Agreement with Dow AgroSciences in Plant Agriculture - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2426415 - Disclosure - Acquisition of Sangamo France - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/AcquisitionofSangamoFranceAdditionalInformationDetail</Role>
      <ShortName>Acquisition of Sangamo France - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2427416 - Disclosure - Acquisition of Sangamo France - Summary of Estimated Fair Value of Net Assets Acquired (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/AcquisitionofSangamoFranceSummaryofEstimatedFairValueofNetAssetsAcquiredDetail</Role>
      <ShortName>Acquisition of Sangamo France - Summary of Estimated Fair Value of Net Assets Acquired (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2428417 - Disclosure - Acquisition of Sangamo France - Summary of Non-controlling Interest (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/AcquisitionofSangamoFranceSummaryofNoncontrollingInterestDetail</Role>
      <ShortName>Acquisition of Sangamo France - Summary of Non-controlling Interest (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2431418 - Disclosure - Other Balance Sheet Details (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OtherBalanceSheetDetailsDetail</Role>
      <ShortName>Other Balance Sheet Details (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/OtherBalanceSheetDetailsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2432419 - Disclosure - Other Balance Sheet Details - Schedule of Intangible Assets and Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OtherBalanceSheetDetailsScheduleofIntangibleAssetsandGoodwillDetail</Role>
      <ShortName>Other Balance Sheet Details - Schedule of Intangible Assets and Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2433420 - Disclosure - Other Balance Sheet Details - Summary of Accounts Payable and Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/OtherBalanceSheetDetailsSummaryofAccountsPayableandAccruedLiabilitiesDetail</Role>
      <ShortName>Other Balance Sheet Details - Summary of Accounts Payable and Accrued Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2436421 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/CommitmentsandContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2437422 - Disclosure - Commitments and Contingencies - Summary of Future Minimum Payments under Contractual Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/CommitmentsandContingenciesSummaryofFutureMinimumPaymentsunderContractualObligationsDetail</Role>
      <ShortName>Commitments and Contingencies - Summary of Future Minimum Payments under Contractual Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2440423 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2441424 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockholdersEquitySummaryofStockOptionActivityDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2442425 - Disclosure - Stockholders' Equity - Summary of Restricted Stock Unit Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockholdersEquitySummaryofRestrictedStockUnitActivityDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Restricted Stock Unit Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2445426 - Disclosure - Stock-Based Compensation - Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensationStockBasedCompensationExpenseDetail</Role>
      <ShortName>Stock-Based Compensation - Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2446427 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2447428 - Disclosure - Stock-Based Compensation - Assumptions Used for Estimating Fair Value of Employee Stock Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensationAssumptionsUsedforEstimatingFairValueofEmployeeStockOptionsDetail</Role>
      <ShortName>Stock-Based Compensation - Assumptions Used for Estimating Fair Value of Employee Stock Options (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2448429 - Disclosure - Stock-Based Compensation - Weighted-Average Assumptions Used for Estimating Fair Value of ESPP Purchased Rights (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/StockBasedCompensationWeightedAverageAssumptionsUsedforEstimatingFairValueofESPPPurchasedRightsDetail</Role>
      <ShortName>Stock-Based Compensation - Weighted-Average Assumptions Used for Estimating Fair Value of ESPP Purchased Rights (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2450430 - Disclosure - Employee Benefit Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/EmployeeBenefitPlanAdditionalInformationDetail</Role>
      <ShortName>Employee Benefit Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2453431 - Disclosure - Income Taxes - Summary of Domestic and Foreign Components of Loss Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesSummaryofDomesticandForeignComponentsofLossBeforeIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Summary of Domestic and Foreign Components of Loss Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2454432 - Disclosure - Income Taxes - Summary of Benefit for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesSummaryofBenefitforIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Summary of Benefit for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2455433 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2456434 - Disclosure - Income Taxes - Schedule of Difference Between Benefit for Income Taxes and Federal Statutory Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesScheduleofDifferenceBetweenBenefitforIncomeTaxesandFederalStatutoryIncomeTaxRateDetail</Role>
      <ShortName>Income Taxes - Schedule of Difference Between Benefit for Income Taxes and Federal Statutory Income Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2457435 - Disclosure - Income Taxes - Schedule of Difference Between Benefit for Income Taxes and Federal Statutory Income Tax Rate, Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesScheduleofDifferenceBetweenBenefitforIncomeTaxesandFederalStatutoryIncomeTaxRateAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Schedule of Difference Between Benefit for Income Taxes and Federal Statutory Income Tax Rate, Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2458436 - Disclosure - Income Taxes - Schedule of Company's Deferred Tax Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesScheduleofCompanysDeferredTaxAssetsDetail</Role>
      <ShortName>Income Taxes - Schedule of Company's Deferred Tax Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2459437 - Disclosure - Income Taxes - Summary of Activity Related to Company's Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/IncomeTaxesSummaryofActivityRelatedtoCompanysUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Income Taxes - Summary of Activity Related to Company's Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2461438 - Disclosure - Related Party Disclosures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/RelatedPartyDisclosuresDetails</Role>
      <ShortName>Related Party Disclosures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/RelatedPartyDisclosures</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2464439 - Disclosure - Quarterly Financial Data (Unaudited) - Summary of Quarterly Financial Data (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/QuarterlyFinancialDataUnauditedSummaryofQuarterlyFinancialDataDetail</Role>
      <ShortName>Quarterly Financial Data (Unaudited) - Summary of Quarterly Financial Data (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="sgmo-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2466440 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sangamo.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sangamo.com/role/SubsequentEvents</ParentRole>
      <Position>73</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" original="sgmo-20191231.htm">sgmo-20191231.htm</File>
    <File>sgmo-20191231.xsd</File>
    <File>sgmo-20191231_cal.xml</File>
    <File>sgmo-20191231_def.xml</File>
    <File>sgmo-20191231_lab.xml</File>
    <File>sgmo-20191231_pre.xml</File>
    <File>sgmo-20191231xex311.htm</File>
    <File>sgmo-20191231xex312.htm</File>
    <File>sgmo-20191231xex321.htm</File>
    <File>sgmo-20191231xexx1024.htm</File>
    <File>sgmo-20191231xexx1025.htm</File>
    <File>sgmo-20191231xexx1026.htm</File>
    <File>sgmo-20191231xexx1045.htm</File>
    <File>sgmo-20191231xexx211.htm</File>
    <File>sgmo-20191231xexx231.htm</File>
    <File>sgmo-20191231xexx41.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>sgmo-20191231_g1.jpg</File>
    <File>sgmo-20191231_g2.jpg</File>
    <File>sgmo-20191231_g3.jpg</File>
    <File>sgmo-20191231_g4.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
