<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>54</ContextCount>
  <ElementCount>26</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>11</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="ny20009821x500_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000100 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://lamresearch.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ny20009821x500_def14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>060100 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://lamresearch.com/role/PayVsPerformanceDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>lrcx-20231107.xsd</File>
    <File>lrcx-20231107_def.xml</File>
    <File>lrcx-20231107_lab.xml</File>
    <File>lrcx-20231107_pre.xml</File>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="ny20009821x500_def14a.htm">ny20009821x500_def14a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image00001.jpg</File>
    <File>image00002.jpg</File>
    <File>image00003.jpg</File>
    <File>ny20009821x500_image01.jpg</File>
    <File>ny20009821x500_image02.jpg</File>
    <File>ny20009821x500_image03.jpg</File>
    <File>ny20009821x500_image04.jpg</File>
    <File>ny20009821x500_image05.jpg</File>
    <File>ny20009821x500_image06.jpg</File>
    <File>ny20009821x500_image07.jpg</File>
    <File>ny20009821x500_image08.jpg</File>
    <File>ny20009821x500_image09.jpg</File>
    <File>ny20009821x500_image10.jpg</File>
    <File>ny20009821x500_image22.jpg</File>
    <File>ny20009821x500_image23.jpg</File>
    <File>ny20009821x500_image24.jpg</File>
    <File>ny20009821x500_image25.jpg</File>
    <File>ny20009821x500_image26.jpg</File>
    <File>ny20009821x500_image27.jpg</File>
    <File>ny20009821x500_image28.jpg</File>
    <File>ny20009821x500_image29.jpg</File>
    <File>ny20009821x500_image30.jpg</File>
    <File>ny20009821x500_image31.jpg</File>
    <File>ny20009821x500_image32.jpg</File>
    <File>ny20009821x500_image33.jpg</File>
    <File>ny20009821x500_image34.jpg</File>
    <File>ny20009821x500_image35.jpg</File>
    <File>ny20009821x500_image36.jpg</File>
    <File>ny20009821x500_image40.jpg</File>
    <File>ny20009821x500_image41.jpg</File>
    <File>ny20009821x500_image42.jpg</File>
    <File>ny20009821x500_image43.jpg</File>
    <File>ny20009821x500_image44.jpg</File>
    <File>ny20009821x500_image45.jpg</File>
    <File>ny20009821x500_image46.jpg</File>
    <File>ny20009821x500_image47.jpg</File>
    <File>ny20009821x500_image48.jpg</File>
    <File>ny20009821x500_image49.jpg</File>
    <File>ny20009821x500_image50.jpg</File>
    <File>ny20009821x500_image51.jpg</File>
    <File>ny20009821x500_image52.jpg</File>
    <File>ny20009821x500_image53.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2022q4</BaseTaxonomy>
    <BaseTaxonomy items="98">http://xbrl.sec.gov/ecd/2022q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
