<?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-20261009.xsd" xlink:type="simple"/>
    <context id="From2026-10-09to2026-10-09">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001034760</identifier>
        </entity>
        <period>
            <startDate>2026-10-09</startDate>
            <endDate>2026-10-09</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="From2026-10-09to2026-10-09" id="ixv-256">0001034760</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-10-09to2026-10-09" id="ixv-257">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="From2026-10-09to2026-10-09" id="ixv-277">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2026-10-09to2026-10-09" id="ixv-278">2026-10-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2026-10-09to2026-10-09" id="ixv-279">WIDEPOINT CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2026-10-09to2026-10-09" id="ixv-280">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2026-10-09to2026-10-09" id="ixv-281">001-33035</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2026-10-09to2026-10-09" id="ixv-282">52-2040275</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2026-10-09to2026-10-09" id="ixv-283">11250 Waples Mill Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="From2026-10-09to2026-10-09" id="ixv-284">South Tower 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="From2026-10-09to2026-10-09" id="ixv-285">Fairfax</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2026-10-09to2026-10-09" id="ixv-286">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2026-10-09to2026-10-09" id="ixv-287">22030</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2026-10-09to2026-10-09" id="ixv-288">703</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2026-10-09to2026-10-09" id="ixv-289">349-2577</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="From2026-10-09to2026-10-09" id="ixv-290">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2026-10-09to2026-10-09" id="ixv-291">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2026-10-09to2026-10-09" id="ixv-292">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2026-10-09to2026-10-09" id="ixv-293">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="From2026-10-09to2026-10-09" id="ixv-294">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2026-10-09to2026-10-09" id="ixv-295">WYY</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2026-10-09to2026-10-09" id="ixv-296">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="From2026-10-09to2026-10-09" id="ixv-297">false</dei:EntityEmergingGrowthCompany>
</xbrl>
