<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>1520</ContextCount>
  <ElementCount>425</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>531</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>17</UnitCount>
  <MyReports>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statement of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity</Role>
      <ShortName>Consolidated Statement of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statement of Changes in Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquityParenthetical</Role>
      <ShortName>Consolidated Statement of Changes in Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Organization and Business Purpose</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOrganizationAndBusinessPurpose</Role>
      <ShortName>Organization and Business Purpose</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Intangibles</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureIntangibles</Role>
      <ShortName>Intangibles</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Investments in Real Estate Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebt</Role>
      <ShortName>Investments in Real Estate Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Mortgage Notes and Revolving Credit Facility</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacility</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Secured Financings On Investments In Real Estate Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSecuredFinancingsOnInvestmentsInRealEstateDebt</Role>
      <ShortName>Secured Financings On Investments In Real Estate Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Unsecured Line of Credit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureUnsecuredLineOfCredit</Role>
      <ShortName>Unsecured Line of Credit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Other Assets and Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilities</Role>
      <ShortName>Other Assets and Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Equity and Redeemable Non-controlling Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterest</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Schedule III Real Estate and Accumulated Depreciation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureScheduleIIIRealEstateAndAccumulatedDepreciation</Role>
      <ShortName>Schedule III Real Estate and Accumulated Depreciation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestments</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Intangibles (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureIntangiblesTables</Role>
      <ShortName>Intangibles (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureIntangibles</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Investments in Real Estate Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebtTables</Role>
      <ShortName>Investments in Real Estate Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebt</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Mortgage Notes and Revolving Credit Facility (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacilityTables</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacility</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Secured Financings On Investments In Real Estate Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSecuredFinancingsOnInvestmentsInRealEstateDebtTables</Role>
      <ShortName>Secured Financings On Investments In Real Estate Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSecuredFinancingsOnInvestmentsInRealEstateDebt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Other Assets and Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilitiesTables</Role>
      <ShortName>Other Assets and Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilities</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Equity and Redeemable Non-controlling Interest (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestTables</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterest</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeases</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReporting</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Organization and Business Purpose - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOrganizationAndBusinessPurposeAdditionalInformationDetails</Role>
      <ShortName>Organization and Business Purpose - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Summary of Significant Accounting Policies - Summary of Estimated Useful Life of Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfEstimatedUsefulLifeOfAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Estimated Useful Life of Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Summary of Significant Accounting Policies - Summary of Assets And Liabilities Measured At Fair Value On Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Assets And Liabilities Measured At Fair Value On Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Summary of Significant Accounting Policies - Summary of Assets Measured At Fair Value On Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfAssetsMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Assets Measured At Fair Value On Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Summary of Significant Accounting Policies - Summary of Quantitative Inputs and Assumptions Used for Items Categorized in Level 3 of Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfQuantitativeInputsAndAssumptionsUsedForItemsCategorizedInLevel3OfFairValueDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Quantitative Inputs and Assumptions Used for Items Categorized in Level 3 of Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Summary of Significant Accounting Policies - Schedule of Selling Commissions, Dealer Manager Fees And Stockholder Servicing (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfSellingCommissionsDealerManagerFeesAndStockholderServicingDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Selling Commissions, Dealer Manager Fees And Stockholder Servicing (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Investments - Schedule of Investments in Real Estate, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsScheduleOfInvestmentsInRealEstateNetDetails</Role>
      <ShortName>Investments - Schedule of Investments in Real Estate, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Investments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsAdditionalInformationDetails</Role>
      <ShortName>Investments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Investments - Schedule of Details of Properties Acquired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsScheduleOfDetailsOfPropertiesAcquiredDetails</Role>
      <ShortName>Investments - Schedule of Details of Properties Acquired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Investments - Schedule of Details of Properties Acquired (Details) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsScheduleOfDetailsOfPropertiesAcquiredDetailsParenthetical</Role>
      <ShortName>Investments - Schedule of Details of Properties Acquired (Details) (Parenthetical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Investments - Schedule of Purchase Price Allocation of Properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsScheduleOfPurchasePriceAllocationOfPropertiesDetails</Role>
      <ShortName>Investments - Schedule of Purchase Price Allocation of Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Investments - Schedule of Purchase Price Allocation of Properties (Details) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsScheduleOfPurchasePriceAllocationOfPropertiesDetailsParenthetical</Role>
      <ShortName>Investments - Schedule of Purchase Price Allocation of Properties (Details) (Parenthetical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Intangibles - Summary of Gross Carrying Amount and Accumulated Amortization of Intangible Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureIntangiblesSummaryOfGrossCarryingAmountAndAccumulatedAmortizationOfIntangibleAssetsAndLiabilitiesDetails</Role>
      <ShortName>Intangibles - Summary of Gross Carrying Amount and Accumulated Amortization of Intangible Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Intangibles - Summary of Estimated Future Amortization on Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureIntangiblesSummaryOfEstimatedFutureAmortizationOnIntangiblesDetails</Role>
      <ShortName>Intangibles - Summary of Estimated Future Amortization on Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Investments in Real Estate Debt - Summary of Investments in Real Estate Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebtSummaryOfInvestmentsInRealEstateDebtDetails</Role>
      <ShortName>Investments in Real Estate Debt - Summary of Investments in Real Estate Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Investments in Real Estate Debt - Summary of Investments in Real Estate Debt (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebtSummaryOfInvestmentsInRealEstateDebtParentheticalDetails</Role>
      <ShortName>Investments in Real Estate Debt - Summary of Investments in Real Estate Debt (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Investments in Real Estate Debt - Summary of Affiliate Investments in Real Estate Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebtSummaryOfAffiliateInvestmentsInRealEstateDebtDetails</Role>
      <ShortName>Investments in Real Estate Debt - Summary of Affiliate Investments in Real Estate Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Investments in Real Estate Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureInvestmentsInRealEstateDebtAdditionalInformationDetails</Role>
      <ShortName>Investments in Real Estate Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Mortgage Notes and Revolving Credit Facility - Summary of Mortgage Notes and Revolving Credit Facility Secured by Company's Properties (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacilitySummaryOfMortgageNotesAndRevolvingCreditFacilitySecuredByCompanySPropertiesDetails</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility - Summary of Mortgage Notes and Revolving Credit Facility Secured by Company's Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Mortgage Notes and Revolving Credit Facility - Summary of Mortgage Notes and Revolving Credit Facility Secured by Company's Properties (Parenthetical) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacilitySummaryOfMortgageNotesAndRevolvingCreditFacilitySecuredByCompanySPropertiesParentheticalDetails</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility - Summary of Mortgage Notes and Revolving Credit Facility Secured by Company's Properties (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Mortgage Notes and Revolving Credit Facility - Summary of Future Principal Payment Under Company's Mortgage Notes and Revolving Credit Facility (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacilitySummaryOfFuturePrincipalPaymentUnderCompanySMortgageNotesAndRevolvingCreditFacilityDetails</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility - Summary of Future Principal Payment Under Company's Mortgage Notes and Revolving Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Mortgage Notes and Revolving Credit Facility - Additional Information (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureMortgageNotesAndRevolvingCreditFacilityAdditionalInformationDetails</Role>
      <ShortName>Mortgage Notes and Revolving Credit Facility - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Secured Financings on Investments in Real Estate Debt - Schedule of Secured Financings on Investments in Real Estate Debt Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSecuredFinancingsOnInvestmentsInRealEstateDebtScheduleOfSecuredFinancingsOnInvestmentsInRealEstateDebtTransactionsDetails</Role>
      <ShortName>Secured Financings on Investments in Real Estate Debt - Schedule of Secured Financings on Investments in Real Estate Debt Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Unsecured Line of Credit - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureUnsecuredLineOfCreditAdditionalInformationDetails</Role>
      <ShortName>Unsecured Line of Credit - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Other Assets and Other Liabilities - Schedule of Components of Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilitiesScheduleOfComponentsOfOtherAssetsDetails</Role>
      <ShortName>Other Assets and Other Liabilities - Schedule of Components of Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Other Assets and Other Liabilities - Schedule of Components of Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureOtherAssetsAndOtherLiabilitiesScheduleOfComponentsOfOtherLiabilitiesDetails</Role>
      <ShortName>Other Assets and Other Liabilities - Schedule of Components of Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Equity and Redeemable Non-controlling Interest - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestAdditionalInformationDetails</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Equity and Redeemable Non-controlling Interest - Schedule of Company's Authorized Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestScheduleOfCompanySAuthorizedCapitalDetails</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Schedule of Company's Authorized Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Equity and Redeemable Non-controlling Interest - Schedule of Common Stock Outstanding shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestScheduleOfCommonStockOutstandingSharesDetails</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Schedule of Common Stock Outstanding shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Equity and Redeemable Non-controlling Interest - Schedule of Common Stock Outstanding shares (Details) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestScheduleOfCommonStockOutstandingSharesDetailsParenthetical</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Schedule of Common Stock Outstanding shares (Details) (Parenthetical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Equity and Redeemable Non-controlling Interest - Schedule of Aggregate Distributions Declared for Each Class of Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestScheduleOfAggregateDistributionsDeclaredForEachClassOfCommonStockDetails</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Schedule of Aggregate Distributions Declared for Each Class of Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Equity and Redeemable Non-controlling Interest - Schedule of Redeemable Noncontrolling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureEquityAndRedeemableNonControllingInterestScheduleOfRedeemableNoncontrollingInterestDetails</Role>
      <ShortName>Equity and Redeemable Non-controlling Interest - Schedule of Redeemable Noncontrolling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Related Party Transactions - Summary of Components of Due to Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureRelatedPartyTransactionsSummaryOfComponentsOfDueToAffiliatesDetails</Role>
      <ShortName>Related Party Transactions - Summary of Components of Due to Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Leases - Schedule of Future Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureLeasePaymentsDetails</Role>
      <ShortName>Leases - Schedule of Future Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Leases - Summary of Fixed and Variable Components of Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfFixedAndVariableComponentsOfOperatingLeasesDetails</Role>
      <ShortName>Leases - Summary of Fixed and Variable Components of Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Leases - Schedule of Undiscounted Future Minimum Rents Income Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfUndiscountedFutureMinimumRentsIncomeReceivablesDetails</Role>
      <ShortName>Leases - Schedule of Undiscounted Future Minimum Rents Income Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Segment Reporting - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReportingAdditionalInformationDetails</Role>
      <ShortName>Segment Reporting - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Segment Reporting - Summary of Total Assets by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfTotalAssetsBySegmentDetails</Role>
      <ShortName>Segment Reporting - Summary of Total Assets by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Segment Reporting - Summary of Financial Results by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSegmentReportingSummaryOfFinancialResultsBySegmentDetails</Role>
      <ShortName>Segment Reporting - Summary of Financial Results by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Subsequent Events - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Schedule III Real Estate and Accumulated Depreciation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureScheduleIIIRealEstateAndAccumulatedDepreciationDetails</Role>
      <ShortName>Schedule III Real Estate and Accumulated Depreciation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureScheduleIIIRealEstateAndAccumulatedDepreciation</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Schedule III Real Estate and Accumulated Depreciation (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureScheduleIIIRealEstateAndAccumulatedDepreciationParentheticalDetails</Role>
      <ShortName>Schedule III Real Estate and Accumulated Depreciation (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureScheduleIIIRealEstateAndAccumulatedDepreciation</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="ck1711929-10k_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Activity for real estate and accumulated depreciation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.starwoodpropertytrust.com/20211231/taxonomy/role/DisclosureActivityForRealEstateAndAccumulatedDepreciationDetails</Role>
      <ShortName>Activity for real estate and accumulated depreciation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</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="ck1711929-10k_20211231.htm">ck1711929-10k_20211231.htm</File>
    <File>ck1711929-20211231.xsd</File>
    <File>ck1711929-20211231_cal.xml</File>
    <File>ck1711929-20211231_def.xml</File>
    <File>ck1711929-20211231_lab.xml</File>
    <File>ck1711929-20211231_pre.xml</File>
    <File>ck1711929-ex104_905.htm</File>
    <File>ck1711929-ex211_8.htm</File>
    <File>ck1711929-ex311_9.htm</File>
    <File>ck1711929-ex312_6.htm</File>
    <File>ck1711929-ex321_7.htm</File>
    <File>ck1711929-ex322_10.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gjja3vugwxeb000001.jpg</File>
    <File>gjja3vugwxeb000002.jpg</File>
    <File>gjja3vugwxeb000003.jpg</File>
    <File>gjja3vugwxeb000004.jpg</File>
    <File>gjja3vugwxeb000005.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1091">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="3830">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="44">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
