<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="leds-20260715.xsd" xlink:type="simple"/>
    <context id="C_62d0fcd6-39f1-45ab-b727-80839f94fd28">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001333822</identifier>
        </entity>
        <period>
            <startDate>2026-07-15</startDate>
            <endDate>2026-07-15</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_3b275ca6-3665-4d43-8fd3-27cb87e1a8be">0001333822</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_d803111f-a9d8-4ba7-b309-bc985a17bf49">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_7d25c1c7-23e1-4f46-b9cf-28e3bdedefc9">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_e9bfa8c8-1a3e-4ce3-af92-c62c2819f087">2026-07-15</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_422ac19f-1922-4009-9460-3137afc90d4f">SEMILEDS CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_52c1aaaa-6400-4cfc-93ae-b009c72f5e29">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_1163e78a-4410-49ae-b6c7-976a3c8fd55b">001-34992</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_f876846f-e520-44c7-bd0b-a6cc04794b4f">20-2735523</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_f552ce64-ccb1-471c-a2e2-d284f74191f2">3F, No.11 Ke Jung Rd., Chu-Nan Site</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_f4460fd0-ced9-4856-bf4b-d2ec71d41422">Hsinchu Science Park, Chu-Nan 350</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_0c21c017-4620-4dec-9f94-09aad135b549">Miao-Li County</dei:EntityAddressCityOrTown>
    <dei:EntityAddressCountry
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_e40e9347-8de3-4c8c-8eec-edcc878bb076">TW</dei:EntityAddressCountry>
    <dei:EntityAddressPostalZipCode
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_8a056d2b-0424-4170-917c-e9bb43f75ea4">350</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_6f7068bd-79ab-435d-8113-87f3e7357a0f">886</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_3f87f755-575e-4fa9-a122-962b34377c7c">37-586788</dei:LocalPhoneNumber>
    <dei:Security12bTitle
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_e0e55d32-3a9e-4cbc-b864-3a845beda40b">Common Stock, par value $0.0000056</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_07a745ed-e2d4-4f21-a571-02d57a9d1485">LEDS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_f2e26898-6aea-44f1-a332-219735560494">NASDAQ</dei:SecurityExchangeName>
    <dei:WrittenCommunications
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_30bdaf2e-1ac5-49fb-88dd-ad22961eeb1e">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_6f436ef8-b4fd-432d-9670-412b82cabc23">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_cca1bdf9-55dc-4f60-8b5e-e37ebbe5b26e">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_b14015ca-2087-44b0-a322-886e960bda59">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_62d0fcd6-39f1-45ab-b727-80839f94fd28"
      id="F_f0969b8d-4aea-456a-ae4d-70126e46439d">false</dei:EntityEmergingGrowthCompany>
</xbrl>
