<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="offrl_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001278027</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-04</startDate>
            <endDate>2025-08-04</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-446">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-447">S-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-448">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-449">0001278027</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-450">B&amp;G Foods, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-454"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="INF"
      id="ixv-455"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="INF"
      id="ixv-456"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="INF"
      id="ixv-457"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="INF"
      id="ixv-458"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="INF"
      id="ixv-459"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-460">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-461">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-558">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-559">B&amp;G Foods, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-560">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-561">Common Stock, par value $0.01 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-562">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-563">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-564">Preferred Stock, par value $0.01 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_2" id="ixv-565">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-566">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-567">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_3" id="ixv-568">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-569">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-570">Subsidiary Guarantees of Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_4" id="ixv-571">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-572">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-573">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_5" id="ixv-574">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-575">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-576">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-577">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_7" id="ixv-578">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_7" id="ixv-579">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule457oFlg contextRef="offrl_7" id="ixv-580">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-581"
      unitRef="USD">800000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-582"
      unitRef="pure">0.0001531</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-583"
      unitRef="USD">122480.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="INF" id="ixv-584" unitRef="USD">800000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-585" unitRef="USD">122480.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-586" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-587" unitRef="USD">6263.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-588" unitRef="USD">116217.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_7" id="ixv-589">Includes an indeterminate amount of subsidiary guarantees of the debt securities by the additional registrants named herein. No additional consideration will be received for the subsidiary guarantees, if any, of the debt securities. Pursuant to Rule 457(n) under the Securities Act of 1933, as amended, no additional filing fee is required in connection with the subsidiary guarantees of the debt securities.

This registration statement includes $800,000,000 of securities that may be issued by the registrant from time to time in indeterminate amounts and at indeterminate times. Securities registered hereunder may be sold separately, together or as units with other securities registered hereunder. The securities registered hereunder also include such indeterminate number of shares of common stock and preferred stock, warrants or units of the registrant and such indeterminate amount of debt securities of the registrant as may be issued upon conversion or exchange of any debt securities or preferred stock that provide for conversion into or exchange for other securities.  No separate consideration will be received for the shares of common stock, preferred stock, warrants or units or amount of debt securities issuable upon such conversion or exchange.  If any debt securities are issued at an original issue discount, then such greater amount as may be sold for an aggregate initial offering price of up to the proposed maximum aggregate offering price. Pursuant to Rule 416 under the Securities Act of 1933, as amended, this registration statement also covers any additional securities that may be offered or issued in connection with any stock split, stock dividend or other similar transaction involving our common stock.

The proposed maximum offering price per security will be determined from time to time by the registrant in connection with the issuance by the registrant of the securities registered hereunder and is not specified as to each class of security pursuant to Instruction 2.A.iii.b. to the Calculation of filing Fee Tables and Related Disclosure on Item 16(b) of Form S-3 under the Securities Act of 1933, as amended.

The registration fee has been calculated in accordance with Rule 457(o) under the Securities Act of 1933, as amended, based on the proposed maximum aggregate offering price of all securities listed. </ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-590">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-591">B&amp;G Foods, Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-592">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-593">333-266708</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-594">2023-05-09</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-595"
      unitRef="USD">6263.00</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-596">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-597">Common Stock, par value $0.01 per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties
      contextRef="ofst_1"
      decimals="0"
      id="ixv-598"
      unitRef="Shares">3667154</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-599">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-600">B&amp;G Foods, Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-601">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-602">333-266708</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-603">2023-05-09</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="ofst_2"
      decimals="INF"
      id="ixv-604"
      unitRef="USD">17081.00</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-605">B&amp;amp;G Foods, Inc. previously filed a 424(b)(5) on May 9, 2023 (the "Prior Prospectus Supplement"), for the sale of up to 10,000,000 shares of common stock pursuant to B&amp;amp;G Foods' automatic shelf registration statement on Form S-3 (File No. 333-266708), filed with the Securities and Exchange Commission on August 9, 2022.  A registration fee in the amount of $17,081 was previously paid in connection with filing the Prior Prospectus Supplement.  3,667,154 shares of common stock remain unsold, of the 10,000,000 shares of common stock. B&amp;amp;G Foods terminated the offering of unsold securities under the prior Prospectus Supplement. As a result, B&amp;amp;G Foods has $6,263 in unused filing fees associated with the Prior Prospectus Supplement. In accordance with Rule 457(p) under the Securities Act of 1933, as amended, B&amp;amp;G Foods is using the unused filing fees to offset the filing fee payable in connection with this registration statement. </ffd:TermntnCmpltnWdrwl>
</xbrl>
