<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="fil-20241231.xsd" xlink:type="simple"/>
    <context id="d_2024-01-01_2024-12-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001654948</identifier>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="i_2024-12-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001654948</identifier>
        </entity>
        <period>
            <instant>2024-12-31</instant>
        </period>
    </context>
    <unit id="Share">
        <measure>shares</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentFiscalPeriodFocus contextRef="d_2024-01-01_2024-12-31" id="ixv-294">FY</dei:DocumentFiscalPeriodFocus>
    <dei:DocumentFiscalYearFocus contextRef="d_2024-01-01_2024-12-31" id="ixv-295">2024</dei:DocumentFiscalYearFocus>
    <dei:CurrentFiscalYearEndDate contextRef="d_2024-01-01_2024-12-31" id="ixv-296">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:AmendmentFlag contextRef="d_2024-01-01_2024-12-31" id="ixv-297">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="d_2024-01-01_2024-12-31" id="ixv-298">0001654948</dei:EntityCentralIndexKey>
    <dei:EntityPublicFloat
      contextRef="i_2024-12-31"
      decimals="-3"
      id="c27"
      unitRef="USD">0</dei:EntityPublicFloat>
    <dei:DocumentType contextRef="d_2024-01-01_2024-12-31" id="c3">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="d_2024-01-01_2024-12-31" id="c4">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="d_2024-01-01_2024-12-31" id="c5">2024-12-31</dei:DocumentPeriodEndDate>
    <dei:DocumentTransitionReport contextRef="d_2024-01-01_2024-12-31" id="c6">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="d_2024-01-01_2024-12-31" id="c7">333-207711</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="d_2024-01-01_2024-12-31" id="c8">Hartman vREIT XXI, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="d_2024-01-01_2024-12-31" id="c9">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="d_2024-01-01_2024-12-31" id="c10">38-3978914</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="d_2024-01-01_2024-12-31" id="c11">11211 Katy Freeway</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="d_2024-01-01_2024-12-31" id="c12">Houston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="d_2024-01-01_2024-12-31" id="c13">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="d_2024-01-01_2024-12-31" id="c14">77079</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="d_2024-01-01_2024-12-31" id="c15">713</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="d_2024-01-01_2024-12-31" id="c16">400-1000</dei:LocalPhoneNumber>
    <dei:EntityWellKnownSeasonedIssuer contextRef="d_2024-01-01_2024-12-31" id="c17">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="d_2024-01-01_2024-12-31" id="c18">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="d_2024-01-01_2024-12-31" id="c19">No</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="d_2024-01-01_2024-12-31" id="c20">No</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="d_2024-01-01_2024-12-31" id="c21">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="d_2024-01-01_2024-12-31" id="c22">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="d_2024-01-01_2024-12-31" id="c23">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="d_2024-01-01_2024-12-31" id="c24">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="d_2024-01-01_2024-12-31" id="c25">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:EntityShellCompany contextRef="d_2024-01-01_2024-12-31" id="c26">false</dei:EntityShellCompany>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="i_2024-12-31"
      decimals="INF"
      id="c28"
      unitRef="Share">9245987</dei:EntityCommonStockSharesOutstanding>
    <dei:AmendmentDescription contextRef="d_2024-01-01_2024-12-31" id="c29">This Amendment includes the amended portions of Item 8 and the signature section and provides an updated Item 15 and related certification exhibit. Except for the matters described above, no other changes are intended to be made to the Original Form 10-K. This Amendment does not otherwise update disclosures for events occurring after the original filing date.</dei:AmendmentDescription>
</xbrl>
