<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="offrl_8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>8</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001809616</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-26</startDate>
            <endDate>2026-09-26</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-502">F-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-503">F-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-504">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-505">0001809616</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-506">Universe Pharmaceuticals 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_6"
      decimals="7"
      id="ixv-510"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-511">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-512">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-618">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-619">Universe Pharmaceuticals INC</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-620">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-621">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-622">Class A Ordinary Shares</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-623">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-624"
      unitRef="Shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-625"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-626"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-627"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-628"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-629">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-630">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-631">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_2" id="ixv-632">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-633"
      unitRef="Shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="2"
      id="ixv-634"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-635"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-636"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-637"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-638">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-639">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-640">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_3" id="ixv-641">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-642"
      unitRef="Shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-643"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-644"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-645"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-646"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-647">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-648">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-649">Rights</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_4" id="ixv-650">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="0"
      id="ixv-651"
      unitRef="Shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_4"
      decimals="2"
      id="ixv-652"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-653"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-654"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-655"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-656">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-657">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-658">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_5" id="ixv-659">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_5"
      decimals="0"
      id="ixv-660"
      unitRef="Shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_5"
      decimals="2"
      id="ixv-661"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_5"
      decimals="2"
      id="ixv-662"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="7"
      id="ixv-663"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_5"
      decimals="2"
      id="ixv-664"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-665">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-666">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-667">Unallocated (Universal) Shelf</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-668">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-669"
      unitRef="USD">200000000.00</ffd:MaxAggtOfferingPric>
    <ffd:PrevslyPdFlg contextRef="offrl_7" id="ixv-670">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_7" id="ixv-671">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule457oFlg contextRef="offrl_7" id="ixv-672">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_7"
      decimals="2"
      id="ixv-673"
      unitRef="USD">200000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_7"
      decimals="7"
      id="ixv-674"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_7"
      decimals="2"
      id="ixv-675"
      unitRef="USD">27620.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_8" id="ixv-676">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_8" id="ixv-677">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_8" id="ixv-678">Class A Ordinary Shares</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_8" id="ixv-679">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_8"
      decimals="0"
      id="ixv-680"
      unitRef="Shares">4376552</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_8"
      decimals="2"
      id="ixv-681"
      unitRef="USD">4.71</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_8"
      decimals="2"
      id="ixv-682"
      unitRef="USD">20613559.92</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_8"
      decimals="7"
      id="ixv-683"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_8"
      decimals="2"
      id="ixv-684"
      unitRef="USD">2846.73</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-685" unitRef="USD">220613559.92</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-686" unitRef="USD">30466.73</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-687" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-688" unitRef="USD">21112.27</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-689" unitRef="USD">9354.46</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_7" id="ixv-690">There are being registered hereunder such indeterminate number of Class A ordinary shares, debt securities, warrants, rights, and units as shall have an aggregate initial offering price not to exceed $200,000,000. Any securities registered hereunder may be sold separately or in combination with other securities registered hereunder. In addition, pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), the shares being registered hereunder also include such indeterminate number of shares as may be issuable with respect to the shares being registered hereunder as a result of stock splits, stock dividends, or similar transactions. The proposed maximum per unit and aggregate offering prices per class of securities 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 pursuant to Instruction 2.A.ii.b. to the Calculation of Filing Fee Tables and Related Disclosure of Item 9(b) of Form F-3 under the Securities Act.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_8" id="ixv-691">Represents up to 4,376,552 Class A ordinary shares of the Registrant to be offered and sold by the selling shareholders identified in the prospectus.

This estimate is made pursuant to Rule 457(c) of the Securities Act, solely for purposes of calculating the registration fee. The proposed maximum offering price is calculated on the average of the high ($4.805) and low ($4.61) prices for the Registrant's ordinary shares as listed on the Nasdaq Capital Market on September 24, 2026.</ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-692">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-693">Universe Pharmaceuticals INC</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-694">F-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-695">333-268028</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-696">2022-10-27</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt contextRef="ofst_1" decimals="2" id="ixv-697" unitRef="USD">21112.27</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-698">Unallocated (Universal) Shelf</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-699">0</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties
      contextRef="ofst_1"
      decimals="0"
      id="ixv-700"
      unitRef="Shares">0</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt contextRef="ofst_1" decimals="2" id="ixv-701" unitRef="USD">191581386.00</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-702">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-703">Universe Pharmaceuticals INC</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-704">F-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-705">333-268028</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-706">2022-10-27</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt contextRef="ofst_2" decimals="2" id="ixv-707" unitRef="USD">21112.27</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-708">In accordance with Rule 457(p) under the Securities Act, the registrant is offsetting $21,112.27 of the fee associated with this registration statement from the fee previously paid by the registrant associated with the unsold securities registered under the registrant's prior unallocated (universal) shelf registration statement on Form F-3 originally filed on October 27, 2022 (File No. 333-268028) (the "Prior Registration Statement"), which has expired because more than three years have elapsed since the initial effective date of the Prior Registration Statement and all offerings thereunder have been completed or terminated. $191,581,386 of aggregate maximum amount remain unsold as of the time the Prior Registration Statement expired.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="ofst_2" id="ixv-709">In accordance with Rule 457(p) under the Securities Act, the registrant is offsetting $21,112.27 of the fee associated with this registration statement from the fee previously paid by the registrant associated with the unsold securities registered under the Prior Registration Statement, which has expired because more than three years have elapsed since the initial effective date of the Prior Registration Statement and all offerings thereunder have been completed or terminated. $191,581,386 of aggregate maximum amount remain unsold as of the time the Prior Registration Statement expired.</ffd:OffsetNote>
</xbrl>
