<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>682</ContextCount>
  <ElementCount>578</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>215</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995301 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995302 - Statement - Condensed Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995303 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995304 - Statement - Condensed Consolidated Statements of Changes in Stockholders??? Equity (Deficit) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Stockholders??? Equity (Deficit) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995305 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995306 - Disclosure - Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DescriptionofBusiness</Role>
      <ShortName>Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Separation and Distribution</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SeparationandDistribution</Role>
      <ShortName>Separation and Distribution</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Liquidity and Going Concern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/LiquidityandGoingConcern</Role>
      <ShortName>Liquidity and Going Concern</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/AccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Contract Assets and Contract Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ContractAssetsandContractLiabilities</Role>
      <ShortName>Contract Assets and Contract Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Oil and Gas Properties and Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/OilandGasPropertiesandPropertyPlantandEquipment</Role>
      <ShortName>Oil and Gas Properties and Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/role/NotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/NetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Construction Backlog</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConstructionBacklog</Role>
      <ShortName>Construction Backlog</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Segments and Disaggregated Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SegmentsandDisaggregatedRevenue</Role>
      <ShortName>Segments and Disaggregated Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/Warrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995320 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995321 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995322 - Disclosure - Deconsolidation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/Deconsolidation</Role>
      <ShortName>Deconsolidation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995323 - Disclosure - Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DiscontinuedOperations</Role>
      <ShortName>Discontinued Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995324 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995325 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>996000 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>996001 - Disclosure - Liquidity and Going Concern (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/LiquidityandGoingConcernTables</Role>
      <ShortName>Liquidity and Going Concern (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/LiquidityandGoingConcern</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>996002 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996003 - Disclosure - Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/AccountsReceivableTables</Role>
      <ShortName>Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/AccountsReceivable</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996004 - Disclosure - Contract Assets and Contract Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ContractAssetsandContractLiabilitiesTables</Role>
      <ShortName>Contract Assets and Contract Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/ContractAssetsandContractLiabilities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Oil and Gas Properties and Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/OilandGasPropertiesandPropertyPlantandEquipmentTables</Role>
      <ShortName>Oil and Gas Properties and Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/OilandGasPropertiesandPropertyPlantandEquipment</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996006 - Disclosure - Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/role/NotesPayableTables</Role>
      <ShortName>Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/NotesPayable</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Construction Backlog (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ConstructionBacklogTables</Role>
      <ShortName>Construction Backlog (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/ConstructionBacklog</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996008 - Disclosure - Segments and Disaggregated Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SegmentsandDisaggregatedRevenueTables</Role>
      <ShortName>Segments and Disaggregated Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SegmentsandDisaggregatedRevenue</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996009 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/WarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/Warrants</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996010 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/ShareBasedCompensation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996011 - Disclosure - Deconsolidation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DeconsolidationTables</Role>
      <ShortName>Deconsolidation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/Deconsolidation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996012 - Disclosure - Discontinued Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DiscontinuedOperationsTables</Role>
      <ShortName>Discontinued Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/DiscontinuedOperations</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996013 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/BusinessCombinations</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996014 - Disclosure - Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DescriptionofBusinessDetails</Role>
      <ShortName>Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/DescriptionofBusiness</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Separation and Distribution (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SeparationandDistributionDetails</Role>
      <ShortName>Separation and Distribution (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SeparationandDistribution</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996016 - Disclosure - Liquidity and Going Concern (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/LiquidityandGoingConcernDetails</Role>
      <ShortName>Liquidity and Going Concern (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/LiquidityandGoingConcernTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Liquidity and Going Concern - Schedule of Backlog to Convert to Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofBacklogtoConverttoRevenueTable</Role>
      <ShortName>Liquidity and Going Concern - Schedule of Backlog to Convert to Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996018 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996019 - Disclosure - Summary of Significant Accounting Policies - Schedule of Disaggregation of the Company???s Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofDisaggregationoftheCompanysRevenuesTable</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Disaggregation of the Company???s Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996020 - Disclosure - Summary of Significant Accounting Policies - Schedule of Financial Instruments in the Level 2 or Level 3 Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofFinancialInstrumentsintheLevel2orLevel3CategoryTable</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Financial Instruments in the Level 2 or Level 3 Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996021 - Disclosure - Accounts Receivable - Schedule of Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofAccountsReceivableTable</Role>
      <ShortName>Accounts Receivable - Schedule of Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996022 - Disclosure - Contract Assets and Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ContractAssetsandContractLiabilitiesDetails</Role>
      <ShortName>Contract Assets and Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/ContractAssetsandContractLiabilitiesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996023 - Disclosure - Contract Assets and Contract Liabilities - Schedule of Contract Assets and Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofContractAssetsandContractLiabilitiesTable</Role>
      <ShortName>Contract Assets and Contract Liabilities - Schedule of Contract Assets and Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996024 - Disclosure - Contract Assets and Contract Liabilities - Schedule of Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofCondensedConsolidatedBalanceSheetsTable</Role>
      <ShortName>Contract Assets and Contract Liabilities - Schedule of Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Oil and Gas Properties and Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/OilandGasPropertiesandPropertyPlantandEquipmentDetails</Role>
      <ShortName>Oil and Gas Properties and Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/OilandGasPropertiesandPropertyPlantandEquipmentTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996026 - Disclosure - Oil and Gas Properties and Property, Plant and Equipment - Schedule of Oil and Gas Properties, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofOilandGasPropertiesNetTable</Role>
      <ShortName>Oil and Gas Properties and Property, Plant and Equipment - Schedule of Oil and Gas Properties, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Oil and Gas Properties and Property, Plant and Equipment - Schedule of Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofPropertyPlantandEquipmentNetTable</Role>
      <ShortName>Oil and Gas Properties and Property, Plant and Equipment - Schedule of Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996028 - Disclosure - Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/role/NotesPayableDetails</Role>
      <ShortName>Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/NotesPayableTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996029 - Disclosure - Notes Payable - Schedule of Long Term Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofLongTermNotesPayableTable</Role>
      <ShortName>Notes Payable - Schedule of Long Term Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996030 - Disclosure - Notes Payable - Schedule of Maturities of Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofMaturitiesofNotesPayableTable</Role>
      <ShortName>Notes Payable - Schedule of Maturities of Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996031 - Disclosure - Net Income (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/NetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/NetIncomeLossPerShare</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996032 - Disclosure - Construction Backlog - Schedule of Backlog of Signed Construction and Engineering Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofBacklogofSignedConstructionandEngineeringContractsTable</Role>
      <ShortName>Construction Backlog - Schedule of Backlog of Signed Construction and Engineering Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996033 - Disclosure - Construction Backlog - Schedule of Remaining Unsatisfied Performance Obligation on Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofRemainingUnsatisfiedPerformanceObligationonContractsTable</Role>
      <ShortName>Construction Backlog - Schedule of Remaining Unsatisfied Performance Obligation on Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996034 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/StockholdersEquity</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Segments and Disaggregated Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SegmentsandDisaggregatedRevenueDetails</Role>
      <ShortName>Segments and Disaggregated Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SegmentsandDisaggregatedRevenueTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996036 - Disclosure - Segments and Disaggregated Revenue - Schedule of Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofSegmentsTable</Role>
      <ShortName>Segments and Disaggregated Revenue - Schedule of Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/WarrantsDetails</Role>
      <ShortName>Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/WarrantsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996038 - Disclosure - Warrants - Schedule of Warrant Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofWarrantActivityTable</Role>
      <ShortName>Warrants - Schedule of Warrant Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996039 - Disclosure - Warrants - Schedule of Fair Value of Warrants Granted Using Black-Scholes Value Model (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofFairValueofWarrantsGrantedUsingBlackScholesValueModelTable</Role>
      <ShortName>Warrants - Schedule of Fair Value of Warrants Granted Using Black-Scholes Value Model (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996040 - Disclosure - Share-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ShareBasedCompensationDetails</Role>
      <ShortName>Share-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/ShareBasedCompensationTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996041 - Disclosure - Share-Based Compensation - Schedule of Share-based Compensation Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofSharebasedCompensationExpensesTable</Role>
      <ShortName>Share-Based Compensation - Schedule of Share-based Compensation Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996042 - Disclosure - Share-Based Compensation - Schedule of Stock-Based Option Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofStockBasedOptionActivitiesTable</Role>
      <ShortName>Share-Based Compensation - Schedule of Stock-Based Option Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996043 - Disclosure - Share-Based Compensation - Schedule of Restricted Stock Unit Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofRestrictedStockUnitActivitiesTable</Role>
      <ShortName>Share-Based Compensation - Schedule of Restricted Stock Unit Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996044 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/CommitmentsandContingencies</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/RelatedPartyTransactions</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996046 - Disclosure - Deconsolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/DeconsolidationDetails</Role>
      <ShortName>Deconsolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/DeconsolidationTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Deconsolidation - Schedule of Assets and Liabilities of SG DevCorp at the Time of Deconsolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofAssetsandLiabilitiesofSGDevCorpattheTimeofDeconsolidationTable</Role>
      <ShortName>Deconsolidation - Schedule of Assets and Liabilities of SG DevCorp at the Time of Deconsolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996048 - Disclosure - Discontinued Operations - Schedule of Income (Loss) from Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofIncomeLossfromDiscontinuedOperationsTable</Role>
      <ShortName>Discontinued Operations - Schedule of Income (Loss) from Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996049 - Disclosure - Business Combinations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/BusinessCombinationsDetails</Role>
      <ShortName>Business Combinations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/BusinessCombinationsTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996050 - Disclosure - Business Combinations - Schedule of Purchase Price to the Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofPurchasePricetotheAssetsAcquiredandLiabilitiesAssumedTable</Role>
      <ShortName>Business Combinations - Schedule of Purchase Price to the Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996051 - Disclosure - Business Combinations - Schedule of Assets Acquired and Liabilities Assumed in the Asset Purchase Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofAssetsAcquiredandLiabilitiesAssumedintheAssetPurchaseAgreementTable</Role>
      <ShortName>Business Combinations - Schedule of Assets Acquired and Liabilities Assumed in the Asset Purchase Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996052 - Disclosure - Business Combinations - Schedule of Assets Acquired and Liabilities Assumed in the Second Asset Purchase Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofAssetsAcquiredandLiabilitiesAssumedintheSecondAssetPurchaseAgreementTable</Role>
      <ShortName>Business Combinations - Schedule of Assets Acquired and Liabilities Assumed in the Second Asset Purchase Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996053 - Disclosure - Business Combinations - Schedule of Unaudited Pro Forma Consolidated Results of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/ScheduleofUnauditedProFormaConsolidatedResultsofOperationsTable</Role>
      <ShortName>Business Combinations - Schedule of Unaudited Pro Forma Consolidated Results of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="ea0264707-10q_safe.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996054 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://safeandgreenholdings.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://safeandgreenholdings.com/role/SubsequentEvents</ParentRole>
      <Position>83</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-Q" isDefinitelyFs="true" isUsgaap="true" original="ea0264707-10q_safe.htm">ea0264707-10q_safe.htm</File>
    <File>sgbx-20250930.xsd</File>
    <File>sgbx-20250930_cal.xml</File>
    <File>sgbx-20250930_def.xml</File>
    <File>sgbx-20250930_lab.xml</File>
    <File>sgbx-20250930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1575">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
