<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="sjw-20201203.xsd" xlink:type="simple"/>
    <context id="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000766829</identifier>
        </entity>
        <period>
            <startDate>2020-12-03</startDate>
            <endDate>2020-12-03</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV80L2ZyYWc6NWUxM2RjYTY5YTQ4NDY2MjlkNWU1MDc3NzQwNDI4MWUvdGFibGU6OGZhNmMzYmU0Yzg3NDI5Njk3MjRjMjIzNDE4N2ZmOWMvdGFibGVyYW5nZTo4ZmE2YzNiZTRjODc0Mjk2OTcyNGMyMjM0MTg3ZmY5Y18yLTEtMS0xLTA_21669599-0abd-4666-a728-d7233665aced">0000766829</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV80L2ZyYWc6NWUxM2RjYTY5YTQ4NDY2MjlkNWU1MDc3NzQwNDI4MWUvdGFibGU6OGZhNmMzYmU0Yzg3NDI5Njk3MjRjMjIzNDE4N2ZmOWMvdGFibGVyYW5nZTo4ZmE2YzNiZTRjODc0Mjk2OTcyNGMyMjM0MTg3ZmY5Y181LTEtMS0xLTA_332c7398-6cb4-4414-91f3-06af762a0a25">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzkx_ff1c7d2b-69d5-4878-880a-20a066c1e74c">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN18yMzE_106c7a1a-9547-4367-8a6c-9b420e767c35">2020-12-03</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzky_b518acaf-e087-4c70-8075-3dd106c3a2a5">SJW Group</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6YTk3NDRkYjBiMWU4NGJkMWFjZDA4YWIyNTA2ODkyNTIvdGFibGVyYW5nZTphOTc0NGRiMGIxZTg0YmQxYWNkMDhhYjI1MDY4OTI1Ml8wLTAtMS0xLTA_e630dbc9-26aa-4f9e-a393-5b787b56817c">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6YTk3NDRkYjBiMWU4NGJkMWFjZDA4YWIyNTA2ODkyNTIvdGFibGVyYW5nZTphOTc0NGRiMGIxZTg0YmQxYWNkMDhhYjI1MDY4OTI1Ml8wLTItMS0xLTA_1016b0be-9aa8-4cad-9f09-fbe24da178ef">001-8966</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6YTk3NDRkYjBiMWU4NGJkMWFjZDA4YWIyNTA2ODkyNTIvdGFibGVyYW5nZTphOTc0NGRiMGIxZTg0YmQxYWNkMDhhYjI1MDY4OTI1Ml8wLTYtMS0xLTA_795ffc13-dc80-46a5-8bed-9ff00d65e291">77-0066628</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6NzRkZjQ2ZTAwODlmNDZmNTk2Mjk1YTczNjM5ZjYzNDYvdGFibGVyYW5nZTo3NGRmNDZlMDA4OWY0NmY1OTYyOTVhNzM2MzlmNjM0Nl8wLTAtMS0xLTA_6cb38df9-c11f-4bda-8763-c5c4ea2714ff">110 West Taylor Street,</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6NzRkZjQ2ZTAwODlmNDZmNTk2Mjk1YTczNjM5ZjYzNDYvdGFibGVyYW5nZTo3NGRmNDZlMDA4OWY0NmY1OTYyOTVhNzM2MzlmNjM0Nl8wLTEtMS0xLTA_aff89f22-1c0c-4a7b-aefa-5673a041a417">San Jose,</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6NzRkZjQ2ZTAwODlmNDZmNTk2Mjk1YTczNjM5ZjYzNDYvdGFibGVyYW5nZTo3NGRmNDZlMDA4OWY0NmY1OTYyOTVhNzM2MzlmNjM0Nl8wLTItMS0xLTA_14698253-1de2-46f8-a849-1892152da9bd">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6NzRkZjQ2ZTAwODlmNDZmNTk2Mjk1YTczNjM5ZjYzNDYvdGFibGVyYW5nZTo3NGRmNDZlMDA4OWY0NmY1OTYyOTVhNzM2MzlmNjM0Nl8wLTQtMS0xLTA_58893791-a3f9-4e78-aed2-507981e34478">95110</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzkz_ec0771ca-35fd-48b1-ac9c-453a67241e0e">(408)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzg2_e3da2d84-14ec-45ca-9b83-6409e769a4cf">279-7800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzg3_a74c5a44-8373-4848-9562-667d27ccecdc">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzk0_9340f831-b08d-445c-899f-a038766adc89">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzg4_b7e9e77b-9efb-40d3-b13a-c31da60a3cb8">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzg5_fa686484-0f80-4236-8b74-dfb0b683e1f7">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6ZjdiOTRiOWVjOGJhNDU5ZGI3ZjIyN2JhZmRiNmE1YTkvdGFibGVyYW5nZTpmN2I5NGI5ZWM4YmE0NTlkYjdmMjI3YmFmZGI2YTVhOV8xLTAtMS0xLTA_c16423f1-549d-477a-9b25-b5b57b0c5b5c">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6ZjdiOTRiOWVjOGJhNDU5ZGI3ZjIyN2JhZmRiNmE1YTkvdGFibGVyYW5nZTpmN2I5NGI5ZWM4YmE0NTlkYjdmMjI3YmFmZGI2YTVhOV8xLTItMS0xLTA_b0475950-6020-4f15-a9a2-0bea016499ac">SJW</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGFibGU6ZjdiOTRiOWVjOGJhNDU5ZGI3ZjIyN2JhZmRiNmE1YTkvdGFibGVyYW5nZTpmN2I5NGI5ZWM4YmE0NTlkYjdmMjI3YmFmZGI2YTVhOV8xLTQtMS0xLTA_de872625-6b6d-492e-bf5b-08708a5b5000">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="i5231fdabd8f0413ea72961795745afd0_D20201203-20201203"
      id="id3VybDovL2RvY3MudjEvZG9jOmZkMTU0OGQ1NmM2NTRiMDQ5ZjI2NWM2ODZhMTczYmYxL3NlYzpmZDE1NDhkNTZjNjU0YjA0OWYyNjVjNjg2YTE3M2JmMV8xL2ZyYWc6ZGFhNTAxYmM5OGRkNDYzOGI2ODQxZGI3N2UwZWQ5MzcvdGV4dHJlZ2lvbjpkYWE1MDFiYzk4ZGQ0NjM4YjY4NDFkYjc3ZTBlZDkzN181Mzkw_eb28db1f-92f5-47a4-8679-a5959f8112b4">false</dei:EntityEmergingGrowthCompany>
</xbrl>
