<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:exch="http://xbrl.sec.gov/exch/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gatx-20230511.xsd" xlink:type="simple"/>
    <context id="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000040211</identifier>
        </entity>
        <period>
            <startDate>2023-05-11</startDate>
            <endDate>2023-05-11</endDate>
        </period>
    </context>
    <context id="iffbc308b6ac34c1eba87d765f5ba7269_D20230511-20230511">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000040211</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityListingsExchangeAxis">exch:XCHI</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-11</startDate>
            <endDate>2023-05-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml80L2ZyYWc6MzE2ZWNiYTNiYWE0NGEzZDgyNzY5YWU3NzEwMzIzYTYvdGFibGU6YWE4ODAzMDJhN2E5NDY3ZDg4ZmU2NTZiODQwY2I1MTAvdGFibGVyYW5nZTphYTg4MDMwMmE3YTk0NjdkODhmZTY1NmI4NDBjYjUxMF8yLTEtMS0xLTEwOTY2Mg_1b7d18ae-1ed9-4d52-84be-3791fdfca92e">0000040211</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml80L2ZyYWc6MzE2ZWNiYTNiYWE0NGEzZDgyNzY5YWU3NzEwMzIzYTYvdGFibGU6YWE4ODAzMDJhN2E5NDY3ZDg4ZmU2NTZiODQwY2I1MTAvdGFibGVyYW5nZTphYTg4MDMwMmE3YTk0NjdkODhmZTY1NmI4NDBjYjUxMF8zLTEtMS0xLTEwOTY2Mg_de85a74a-6ac9-4b42-ace7-77a5efd50625">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzY0_88dd65ed-384e-4418-b977-4b60b86601af">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yNTQ_fc182677-ea7f-48e3-a1c1-62ee77ea8b27">2023-05-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzY4_5866543b-15be-4f24-9b35-02add9bbaf81">GATX Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZjEzODViMTdlODRkNDUzYjhhNWQ0ZTI3MzYwNTQyNjkvdGFibGVyYW5nZTpmMTM4NWIxN2U4NGQ0NTNiOGE1ZDRlMjczNjA1NDI2OV8xLTAtMS0xLTEwOTY2Mg_38092135-ea69-4614-8778-62939c376447">NY</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZjEzODViMTdlODRkNDUzYjhhNWQ0ZTI3MzYwNTQyNjkvdGFibGVyYW5nZTpmMTM4NWIxN2U4NGQ0NTNiOGE1ZDRlMjczNjA1NDI2OV8xLTItMS0xLTEwOTY2Mg_98f1ac10-6b85-4abd-99c2-b4261e8e5282">1-2328</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZjEzODViMTdlODRkNDUzYjhhNWQ0ZTI3MzYwNTQyNjkvdGFibGVyYW5nZTpmMTM4NWIxN2U4NGQ0NTNiOGE1ZDRlMjczNjA1NDI2OV8xLTQtMS0xLTEwOTY2Mg_52822dc1-a830-4394-a85d-f5220cf5b0b8">36-1124040</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzY2_cdfa0bfd-07b3-4713-b424-87dc017f82b9">233 South Wacker Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzY5_a66df974-cecd-4bca-a618-5a1281830741">Chicago</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzY3_ddd5af9e-7cb1-4702-997c-aa7de108431d">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzcw_2d7c5a05-6f9f-44c3-a5b7-4a642940003d">60606</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzcx_080e9746-be1f-4aa7-abd4-bbfe3b28b2a2">312</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzcy_c91d9ddd-6229-4b9d-b580-4868378b42de">621-6200</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6OTlmZDk2ZWEzYzM4NDhiOGFiZTc4MWJhNmEwMjQyZDMvdGFibGVyYW5nZTo5OWZkOTZlYTNjMzg0OGI4YWJlNzgxYmE2YTAyNDJkM18wLTAtMS0xLTEwOTY2Mg_07b12c8a-224f-4b32-b145-32f7087d35b7">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZWFjOGE0NjRjN2U5NDA3NGEzNDg0NjE4NzAxZmFlOTcvdGFibGVyYW5nZTplYWM4YTQ2NGM3ZTk0MDc0YTM0ODQ2MTg3MDFmYWU5N18wLTAtMS0xLTEwOTY2Mg_5bc674eb-3474-4d20-bdbb-174544ec49ae">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDg5ZGYzYjlmODZjNGQyMTg0MDFmMDI5MzNkZjYxYjgvdGFibGVyYW5nZTpkODlkZjNiOWY4NmM0ZDIxODQwMWYwMjkzM2RmNjFiOF8wLTAtMS0xLTEwOTY2Mg_7ea00d6c-3721-41c0-a63f-011c60d6ba4f">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDZiOTAxZGE2YjA1NDA1YWJmZjM5ODE3Y2JmNjI3YzAvdGFibGVyYW5nZTpkNmI5MDFkYTZiMDU0MDVhYmZmMzk4MTdjYmY2MjdjMF8wLTAtMS0xLTEwOTY2Mg_899e4fa2-801e-4cbe-a92a-238a46527556">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDMwODYxYzAyODk3NDM2NGI2ZmQ5NDE1ZjAzMmYyNzEvdGFibGVyYW5nZTpkMzA4NjFjMDI4OTc0MzY0YjZmZDk0MTVmMDMyZjI3MV8xLTAtMS0xLTEwOTY2Mg_3837cf2d-d030-4f79-89ed-bfe8e2530d2d">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDMwODYxYzAyODk3NDM2NGI2ZmQ5NDE1ZjAzMmYyNzEvdGFibGVyYW5nZTpkMzA4NjFjMDI4OTc0MzY0YjZmZDk0MTVmMDMyZjI3MV8xLTEtMS0xLTEwOTY2Mg_633485a0-fc5e-42fd-aa55-ccc908d12217">GATX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDMwODYxYzAyODk3NDM2NGI2ZmQ5NDE1ZjAzMmYyNzEvdGFibGVyYW5nZTpkMzA4NjFjMDI4OTc0MzY0YjZmZDk0MTVmMDMyZjI3MV8xLTItMS0xLTEwOTY2Mg_b604c83c-3e82-4542-b2b2-f5e723ca1d21">NYSE</dei:SecurityExchangeName>
    <dei:SecurityExchangeName
      contextRef="iffbc308b6ac34c1eba87d765f5ba7269_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGFibGU6ZDMwODYxYzAyODk3NDM2NGI2ZmQ5NDE1ZjAzMmYyNzEvdGFibGVyYW5nZTpkMzA4NjFjMDI4OTc0MzY0YjZmZDk0MTVmMDMyZjI3MV8yLTItMS0xLTEwOTY2Mg_38f3f7e6-77ca-4228-8076-824cce271a55">CHX</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="ifcd12e1e321b4974a1ba53e076aa5fe9_D20230511-20230511"
      id="id3VybDovL2RvY3MudjEvZG9jOmM3Y2U5MTkwZjk4ODRhNzdiY2JkNTIxMjI0ZTE2MzYyL3NlYzpjN2NlOTE5MGY5ODg0YTc3YmNiZDUyMTIyNGUxNjM2Ml8xL2ZyYWc6ZGU1YTVlNTMwNWRmNDQ1ZGIxMGQwYjRiMzY4ZWE0NTkvdGV4dHJlZ2lvbjpkZTVhNWU1MzA1ZGY0NDVkYjEwZDBiNGIzNjhlYTQ1OV8yMzcz_3bd64350-f0b0-4c68-9da4-0774d682ee9a">false</dei:EntityEmergingGrowthCompany>
</xbrl>
