<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:PRST="http://presto.com/20221115"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2022"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="prst-20221115.xsd" xlink:type="simple"/>
    <context id="From2022-11-15to2022-11-15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001822145</identifier>
        </entity>
        <period>
            <startDate>2022-11-15</startDate>
            <endDate>2022-11-15</endDate>
        </period>
    </context>
    <context id="From2022-11-152022-11-15_custom_ClassCommonStockParValue0.0001PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001822145</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">PRST:ClassCommonStockParValue0.0001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-11-15</startDate>
            <endDate>2022-11-15</endDate>
        </period>
    </context>
    <context id="From2022-11-152022-11-15_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>2022-11-15</startDate>
            <endDate>2022-11-15</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="From2022-11-15to2022-11-15">0001822145</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2022-11-15to2022-11-15">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="From2022-11-15to2022-11-15">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2022-11-15to2022-11-15">2022-11-15</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2022-11-15to2022-11-15">Presto Automation Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2022-11-15to2022-11-15">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2022-11-15to2022-11-15">001-39830</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2022-11-15to2022-11-15">84-2968594</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2022-11-15to2022-11-15">985 Industrial Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="From2022-11-15to2022-11-15">San Carlos</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2022-11-15to2022-11-15">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2022-11-15to2022-11-15">94070</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2022-11-15to2022-11-15">(650)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2022-11-15to2022-11-15">817-9012</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="From2022-11-152022-11-15_custom_ClassCommonStockParValue0.0001PerShareMember">Class A common stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2022-11-152022-11-15_custom_ClassCommonStockParValue0.0001PerShareMember">PRST</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2022-11-152022-11-15_custom_ClassCommonStockParValue0.0001PerShareMember">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="From2022-11-152022-11-15_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">Warrants, each whole warrant exercisable for one share of common stock</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2022-11-152022-11-15_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">PRSTW</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2022-11-152022-11-15_custom_WarrantsEachWholeWarrantExercisableForOneShareOfCommonStockMember">NASDAQ</dei:SecurityExchangeName>
    <dei:WrittenCommunications contextRef="From2022-11-15to2022-11-15">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2022-11-15to2022-11-15">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2022-11-15to2022-11-15">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2022-11-15to2022-11-15">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="From2022-11-15to2022-11-15">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="From2022-11-15to2022-11-15">false</dei:EntityExTransitionPeriod>
</xbrl>
