<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="wyy-20260629.xsd" xlink:type="simple"/>
    <context id="From2026-06-29to2026-06-29">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001034760</identifier>
        </entity>
        <period>
            <startDate>2026-06-29</startDate>
            <endDate>2026-06-29</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="From2026-06-29to2026-06-29" id="ixv-227">0001034760</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-06-29to2026-06-29" id="ixv-228">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="From2026-06-29to2026-06-29" id="ixv-248">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2026-06-29to2026-06-29" id="ixv-249">2026-06-29</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2026-06-29to2026-06-29" id="ixv-250">WIDEPOINT CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2026-06-29to2026-06-29" id="ixv-251">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2026-06-29to2026-06-29" id="ixv-252">001-33035</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2026-06-29to2026-06-29" id="ixv-253">52-2040275</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2026-06-29to2026-06-29" id="ixv-254">11250 Waples Mill Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="From2026-06-29to2026-06-29" id="ixv-255">South Tower 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="From2026-06-29to2026-06-29" id="ixv-256">Fairfax</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2026-06-29to2026-06-29" id="ixv-257">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2026-06-29to2026-06-29" id="ixv-258">22030</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2026-06-29to2026-06-29" id="ixv-259">703</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2026-06-29to2026-06-29" id="ixv-260">349-2577</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="From2026-06-29to2026-06-29" id="ixv-261">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2026-06-29to2026-06-29" id="ixv-262">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2026-06-29to2026-06-29" id="ixv-263">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2026-06-29to2026-06-29" id="ixv-264">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="From2026-06-29to2026-06-29" id="ixv-265">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2026-06-29to2026-06-29" id="ixv-266">WYY</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2026-06-29to2026-06-29" id="ixv-267">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="From2026-06-29to2026-06-29" id="ixv-268">false</dei:EntityEmergingGrowthCompany>
</xbrl>
