<?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="pmts-20260505.xsd" xlink:type="simple"/>
    <context id="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001641614</identifier>
        </entity>
        <period>
            <startDate>2026-03-05</startDate>
            <endDate>2026-03-05</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Tc_6RmJv3EDoUCa3O-aCGHDMw_2_1">0001641614</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Tc_zwxAq3gXM0CZGI_Q3xSUPg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_68VpVP7SGES1a1yN8wz7jA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr__QmkJoA900W5bk7Vc_Mw0A">2026-05-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_NoiGcMw1C0GBy1tUfCQvlw">CPI CARD GROUP&#160;INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_QONEehdWsU-Uyiju9zhZ8g">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_lmP8r2QmtEO_bYQw5PwcHQ">001-37584</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_sCXasnq3M0GJmZCgxUDASg">26-0344657</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_ByDA5Fge2EKCqtm-0jCANg">10368 W. Centennial Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_55EvJFEPPUaLp_9-NiDrgA">Littleton</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_JliB_p8TekmEc0xXqIsJhw">CO</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_LjRcL9ENa0eOloOrS48TCQ">80127</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_9vTem0Rqs0ePXIT98Akvfg">720</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_AOiNmKuttUSFwr7UWJI9fw">681-6304</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_BMYhhH7Fa0KgZv7OeNGkIg">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_jbNJw3IN-Ue1wflrBxuPcQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_2D0OtYzJqkK-f2i_GV9glA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_Tfc7VRqz4ECxj9hbgjMTDA">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Tc_1rEWH6aJVEKDJreEdWUOcg_2_0">Common Stock, $0.001 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Tc_tnoD2u8rxEKWtubkNps_Wg_2_1">PMTS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Tc_4SXVIXOn50mPv3lbYnmOQw_2_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_3_5_2026_To_3_5_2026_sGsMSJWOp0OzkoRCwtCpHQ"
      id="Narr_pNJjKCjGPUCr-UiKBBB8cA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
