<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:PRST="http://presto.com/20231120"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="prst-20231120.xsd" xlink:type="simple"/>
    <context id="AsOf2023-11-20">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001822145</identifier>
        </entity>
        <period>
            <startDate>2023-11-20</startDate>
            <endDate>2023-11-20</endDate>
        </period>
    </context>
    <context id="From2023-11-202023-11-20_custom_CommonStockParValue0.0001PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001822145</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">PRST:CommonStockParValue0.0001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-11-20</startDate>
            <endDate>2023-11-20</endDate>
        </period>
    </context>
    <context id="From2023-11-202023-11-20_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001822145</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">PRST:WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-11-20</startDate>
            <endDate>2023-11-20</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <unit id="USDPShares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:EntityCentralIndexKey contextRef="AsOf2023-11-20">0001822145</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="AsOf2023-11-20">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="AsOf2023-11-20">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2023-11-20">2023-11-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2023-11-20">Presto Automation Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2023-11-20">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2023-11-20">001-39830</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2023-11-20">84-2968594</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2023-11-20">985 Industrial Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="AsOf2023-11-20">San Carlos</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2023-11-20">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2023-11-20">94070</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2023-11-20">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2023-11-20">817-9012</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="AsOf2023-11-20">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2023-11-20">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2023-11-20">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2023-11-20">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="From2023-11-202023-11-20_custom_CommonStockParValue0.0001PerShareMember">Common Stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2023-11-202023-11-20_custom_CommonStockParValue0.0001PerShareMember">PRST</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2023-11-202023-11-20_custom_CommonStockParValue0.0001PerShareMember">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="From2023-11-202023-11-20_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">Warrants, each whole warrant exercisable for one share of common stock</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2023-11-202023-11-20_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">PRSTW</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2023-11-202023-11-20_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2023-11-20">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="AsOf2023-11-20">false</dei:EntityExTransitionPeriod>
</xbrl>
