<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="jbgs-20260505.xsd" xlink:type="simple"/>
    <context id="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001689796</identifier>
        </entity>
        <period>
            <startDate>2026-05-05</startDate>
            <endDate>2026-05-05</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_b5kWaYQVLUeeVZOriKA8rw_2_1">0001689796</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_Yw8vrAhQ-0-_4Vp8UbBlPA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr__dsnIcmV40qHfb3Cy-CI7A">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_lo1BVDhrZEqA72BcgI0WjQ">2026-05-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_uqsuZL-x2kuaBFEAHj__aw">JBG SMITH PROPERTIES</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_DrAG83DMJEOBiaG3L5fSAQ_1_0">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_oNk5_3Yv1keHXZIy7te7Bg_1_2">001-37994</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_G4mOAYB01U2CPRpEZGREcw_1_4">81-4307010</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_oKhzMBRJ9kieKI0uZV2JlA">4747 Bethesda Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_rtBNa6SxbUCq86ODlPBopA">Bethesda</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_Tg10QdrYtUux278weSjfZw">MD</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_7Q443zo9g0OlyHXpFmbG-g">Suite 200</dei:EntityAddressAddressLine2>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_AEss5E6OPkmZY8tTQfMGow_4_4">20814</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_ePNpviljOEurqMX788dMBg">240</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_n5pnKBiTk0C5zG-c2BxKyA">333-3600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_1Dfbdg2lV0-cTGodh7_a2g">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_pm42HZckzEKT9yc_W5LwdQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr__A-YTVPM7EihNzmEMAVoag">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_TvT51S3Rt0OHxDQIMjMluw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_9o76qyCalEmz4Wy0MCllYg_2_0">Common Shares, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_2kFL0o7fT0KSH_uQvVf-ig_2_1">JBGS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Tc_ML-roNniiEenQqFFWyiZgw_2_2">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_5_5_2026_To_5_5_2026_x76FVKUBcEyj3Qsljt2kaQ"
      id="Narr_T6lvwBtfv0WzCU7ujOkhQA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
