<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>12</ContextCount>
  <ElementCount>29</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>4</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="d377851ddef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="d377851ddef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</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 doctype="DEF 14A" original="d377851ddef14a.htm">d377851ddef14a.htm</File>
    <File>kex-20221231.xsd</File>
    <File>kex-20221231_def.xml</File>
    <File>kex-20221231_lab.xml</File>
    <File>kex-20221231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g377851dsp003.jpg</File>
    <File>g377851dsp003a.jpg</File>
    <File>g377851dsp003b.jpg</File>
    <File>g377851dsp003c.jpg</File>
    <File>g377851dsp003d.jpg</File>
    <File>g377851dsp004.jpg</File>
    <File>g377851dsp004a.jpg</File>
    <File>g377851dsp004b.jpg</File>
    <File>g377851g02m00.jpg</File>
    <File>g377851g03t27.jpg</File>
    <File>g377851g04v63.jpg</File>
    <File>g377851g04w44.jpg</File>
    <File>g377851g06a10.jpg</File>
    <File>g377851g06b20.jpg</File>
    <File>g377851g06c30.jpg</File>
    <File>g377851g06d40.jpg</File>
    <File>g377851g06u11.jpg</File>
    <File>g377851g14m01.jpg</File>
    <File>g377851g14m02.jpg</File>
    <File>g377851g15s15.jpg</File>
    <File>g377851g16m01.jpg</File>
    <File>g377851g16m02.jpg</File>
    <File>g377851g16m03.jpg</File>
    <File>g377851g16m04.jpg</File>
    <File>g377851g22a22.jpg</File>
    <File>g377851g22y45.jpg</File>
    <File>g377851g23a23.jpg</File>
    <File>g377851g24a24.jpg</File>
    <File>g377851g25a25.jpg</File>
    <File>g377851g27a27.jpg</File>
    <File>g377851g28a28.jpg</File>
    <File>g377851g29a29.jpg</File>
    <File>g377851g30a30.jpg</File>
    <File>g377851g31a31.jpg</File>
    <File>g377851g54o69.jpg</File>
    <File>g377851g65f55.jpg</File>
    <File>g377851g78s40.jpg</File>
    <File>g377851g98o89.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="44">http://xbrl.sec.gov/ecd/2022q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
