<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bgsf-20210311.xsd" xlink:type="simple"/>
    <context id="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001474903</identifier>
        </entity>
        <period>
            <startDate>2020-08-05</startDate>
            <endDate>2020-08-05</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl80L2ZyYWc6NjMxNTYyYzk4M2VmNGM2YmIxZmNkYTY4NTg2MTA5OGUvdGFibGU6NDliY2Y4M2JlNGFmNDFlZmFiNmQ2ODYxZTA0MjkzMTYvdGFibGVyYW5nZTo0OWJjZjgzYmU0YWY0MWVmYWI2ZDY4NjFlMDQyOTMxNl8zLTItMS0xLTA_4a6d4d86-f70d-4635-ad70-e18317140f22">0001474903</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl80L2ZyYWc6NjMxNTYyYzk4M2VmNGM2YmIxZmNkYTY4NTg2MTA5OGUvdGFibGU6NDliY2Y4M2JlNGFmNDFlZmFiNmQ2ODYxZTA0MjkzMTYvdGFibGVyYW5nZTo0OWJjZjgzYmU0YWY0MWVmYWI2ZDY4NjFlMDQyOTMxNl80LTItMS0xLTA_835d48bd-ba69-44f2-ba67-fadc8467f911">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF84NA_05dc8a63-2803-4c73-b776-627635d3da37">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yMzA_72cb02df-bd33-4f2b-b303-109f165368fa">2021-03-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDM4_d50d6e05-2021-40a3-b892-38e7ea9b915a">BGSF, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MzQwN2NlZjgxZTAyNDYwMjkxZDZiODhmY2ZkYmVkZjYvdGFibGVyYW5nZTozNDA3Y2VmODFlMDI0NjAyOTFkNmI4OGZjZmRiZWRmNl8wLTAtMS0xLTA_d184b4dc-d004-45af-8955-a186380b3453">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MzQwN2NlZjgxZTAyNDYwMjkxZDZiODhmY2ZkYmVkZjYvdGFibGVyYW5nZTozNDA3Y2VmODFlMDI0NjAyOTFkNmI4OGZjZmRiZWRmNl8wLTEtMS0xLTA_b6bb540a-d4f0-4e19-8a34-7113da281db9">001-36704</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MzQwN2NlZjgxZTAyNDYwMjkxZDZiODhmY2ZkYmVkZjYvdGFibGVyYW5nZTozNDA3Y2VmODFlMDI0NjAyOTFkNmI4OGZjZmRiZWRmNl8wLTItMS0xLTA_ddb73fab-7eee-4b48-a5bc-25383a102352">26-0656684</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDM2_b5394a79-ea2f-44f1-9ff6-e6f755374769">5850 Granite Parkway, Suite 730</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDM5_058f5596-417f-4ed7-b78d-b67f0119d788">Plano</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDM3_ca8e6a61-df22-4f63-b35e-51b23fc63fbc">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDQw_9af143d8-3311-4b54-a944-95f2d0ad67c0">75024</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDQx_c2c0e635-370b-4878-9e11-16fbc259b012">972</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDQy_212c7b5d-57f6-4756-baf2-06af05a44a0d">692-2400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6YTM5MWFhOTcxMWI4NGJiMGE0ODdlOGUxNmZlZDYxNmYvdGFibGVyYW5nZTphMzkxYWE5NzExYjg0YmIwYTQ4N2U4ZTE2ZmVkNjE2Zl8wLTEtMS0xLTA_b1d423de-b032-4069-86c4-d473152d6bfd">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MWQ0OTYyYjI5NmFiNDQ4Y2JjZjM1NGM5ZmQ0Y2ZiNWYvdGFibGVyYW5nZToxZDQ5NjJiMjk2YWI0NDhjYmNmMzU0YzlmZDRjZmI1Zl8wLTEtMS0xLTA_a2f65aaf-14ad-49e7-8bfa-18f3b2d25085">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MWQ5NTRjODdiMjI3NDdjNmI4Nzk4N2RjYTdlNDI2MDQvdGFibGVyYW5nZToxZDk1NGM4N2IyMjc0N2M2Yjg3OTg3ZGNhN2U0MjYwNF8wLTEtMS0xLTA_7a5eab17-565d-4c3a-b6c0-c0c8c77f06ea">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6MDA5Y2E2NzgyYzJjNDM2YmE1MWVjOGFlZDZiY2NjMTYvdGFibGVyYW5nZTowMDljYTY3ODJjMmM0MzZiYTUxZWM4YWVkNmJjY2MxNl8wLTEtMS0xLTA_a1a9a5f0-e8d8-4425-b3c1-cccabeac86c6">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGV4dHJlZ2lvbjphMjUwNGNlMmQ5Zjc0ZjA0ODNiNzkzYzE3OTE5ODUwMF8yNDQ0_1727d25a-0b45-426c-bf6f-2a7ce3acd5a1">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6NTI3N2FlYzQ1NGE1NGI2MGE2ZmJjMmQ0MmE4ZTY5OWYvdGFibGVyYW5nZTo1Mjc3YWVjNDU0YTU0YjYwYTZmYmMyZDQyYThlNjk5Zl8xLTAtMS0xLTA_171a118a-ad3c-4413-9e9a-40561bcbde84">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6NTI3N2FlYzQ1NGE1NGI2MGE2ZmJjMmQ0MmE4ZTY5OWYvdGFibGVyYW5nZTo1Mjc3YWVjNDU0YTU0YjYwYTZmYmMyZDQyYThlNjk5Zl8xLTEtMS0xLTA_f6cce5d3-058b-4aa5-a320-a5490ec92b1c">BGSF</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6NTI3N2FlYzQ1NGE1NGI2MGE2ZmJjMmQ0MmE4ZTY5OWYvdGFibGVyYW5nZTo1Mjc3YWVjNDU0YTU0YjYwYTZmYmMyZDQyYThlNjk5Zl8xLTItMS0xLTA_5a697111-39b2-423d-ac8d-f3fa20975909">NYSE</dei:SecurityExchangeName>
    <dei:DocumentPeriodEndDate
      contextRef="ib273bf11e8de458b9851c2da2b074da0_D20200805-20200805"
      id="id3VybDovL2RvY3MudjEvZG9jOmU5OTczYWNlOTFmNjRkOTRhMzAzNGQ2OGVkOWU4MzViL3NlYzplOTk3M2FjZTkxZjY0ZDk0YTMwMzRkNjhlZDllODM1Yl8xL2ZyYWc6YTI1MDRjZTJkOWY3NGYwNDgzYjc5M2MxNzkxOTg1MDAvdGFibGU6YWI3MmM3NGEzOTRkNGZhZDg2MzMxNGUyZmE2MTcxYzIvdGFibGVyYW5nZTphYjcyYzc0YTM5NGQ0ZmFkODYzMzE0ZTJmYTYxNzFjMl80LTEtMS0xLTA_72cb02df-bd33-4f2b-b303-109f165368fa">2021-03-11</dei:DocumentPeriodEndDate>
</xbrl>
