| **Cover** | Jun. 17, 2026 |
| --- | --- |
| **Cover [Abstract]** |  |
| Document Type | 8-K |
| Document Period End Date | Jun. 17, 2026 |
| Entity Registrant Name | SERVE ROBOTICS INC. |
| Entity Incorporation, State or Country Code | DE |
| Entity File Number | 001-42023 |
| Entity Tax Identification Number | 85-3844872 |
| Entity Address, Address Line One | 1360 Bayport Avenue |
| Entity Address, City or Town | San Carlos |
| Entity Address, State or Province | CA |
| Entity Address, Postal Zip Code | 94070 |
| City Area Code | 818 |
| Local Phone Number | 860-1352 |
| Written Communications | false |
| Soliciting Material | false |
| Pre-commencement Tender Offer | false |
| Pre-commencement Issuer Tender Offer | false |
| Title of 12(b) Security | Common Stock, par value $0.0001 per share |
| Trading Symbol | SERV |
| Security Exchange Name | NASDAQ |
| Entity Emerging Growth Company | true |
| Entity Ex Transition Period | false |
| Amendment Flag | false |
| Entity Central Index Key | 0001832483 |

| Name: | dei_AmendmentFlag |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_CityAreaCode |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_CoverAbstract |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:stringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_DocumentPeriodEndDate |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:dateItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_DocumentType |
| Namespace Prefix: | dei_ |
| Data Type: | dei:submissionTypeItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityAddressAddressLine1 |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityAddressCityOrTown |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityAddressPostalZipCode |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityAddressStateOrProvince |
| Namespace Prefix: | dei_ |
| Data Type: | dei:stateOrProvinceItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityCentralIndexKey |
| Namespace Prefix: | dei_ |
| Data Type: | dei:centralIndexKeyItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityEmergingGrowthCompany |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityExTransitionPeriod |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityFileNumber |
| Namespace Prefix: | dei_ |
| Data Type: | dei:fileNumberItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityIncorporationStateCountryCode |
| Namespace Prefix: | dei_ |
| Data Type: | dei:edgarStateCountryItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityRegistrantName |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_EntityTaxIdentificationNumber |
| Namespace Prefix: | dei_ |
| Data Type: | dei:employerIdItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_LocalPhoneNumber |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:normalizedStringItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_PreCommencementIssuerTenderOffer |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_PreCommencementTenderOffer |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_Security12bTitle |
| Namespace Prefix: | dei_ |
| Data Type: | dei:securityTitleItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_SecurityExchangeName |
| Namespace Prefix: | dei_ |
| Data Type: | dei:edgarExchangeCodeItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_SolicitingMaterial |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_TradingSymbol |
| Namespace Prefix: | dei_ |
| Data Type: | dei:tradingSymbolItemType |
| Balance Type: | na |
| Period Type: | duration |

| Name: | dei_WrittenCommunications |
| Namespace Prefix: | dei_ |
| Data Type: | xbrli:booleanItemType |
| Balance Type: | na |
| Period Type: | duration |
