<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="lxrp-20260817.xsd" xlink:type="simple"/>
    <context id="From2026-08-17to2026-08-17">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001348362</identifier>
        </entity>
        <period>
            <startDate>2026-08-17</startDate>
            <endDate>2026-08-17</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="From2026-08-17to2026-08-17" id="ixv-260">0001348362</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="From2026-08-17to2026-08-17" id="ixv-261">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="From2026-08-17to2026-08-17" id="ixv-281">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="From2026-08-17to2026-08-17" id="ixv-282">2026-08-17</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="From2026-08-17to2026-08-17" id="ixv-283">LEXARIA BIOSCIENCE CORP.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2026-08-17to2026-08-17" id="ixv-284">NV</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="From2026-08-17to2026-08-17" id="ixv-285">000-39874</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="From2026-08-17to2026-08-17" id="ixv-286">20-2000871</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2026-08-17to2026-08-17" id="ixv-287">100 &#x2013; 740 McCurdy Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="From2026-08-17to2026-08-17" id="ixv-288">Kelowna</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2026-08-17to2026-08-17" id="ixv-289">BC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressCountry contextRef="From2026-08-17to2026-08-17" id="ixv-290">CA</dei:EntityAddressCountry>
    <dei:EntityAddressPostalZipCode contextRef="From2026-08-17to2026-08-17" id="ixv-291">V1X 2P7</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2026-08-17to2026-08-17" id="ixv-292">250</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2026-08-17to2026-08-17" id="ixv-293">765-6424</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="From2026-08-17to2026-08-17" id="ixv-294">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="From2026-08-17to2026-08-17" id="ixv-295">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="From2026-08-17to2026-08-17" id="ixv-296">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="From2026-08-17to2026-08-17" id="ixv-297">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="From2026-08-17to2026-08-17" id="ixv-298">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2026-08-17to2026-08-17" id="ixv-299">LEXX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2026-08-17to2026-08-17" id="ixv-300">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="From2026-08-17to2026-08-17" id="ixv-301">false</dei:EntityEmergingGrowthCompany>
</xbrl>
