<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  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="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001398659</identifier>
        </entity>
        <period>
            <startDate>2026-08-19</startDate>
            <endDate>2026-08-19</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001398659</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-19</startDate>
            <endDate>2026-08-19</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPershares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c0" id="ixv-249">S-4</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c0" id="ixv-250">S-4</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-23">Genpact Limited</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c1" id="ixv-251">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c1" id="ixv-252">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c1" id="ixv-253">Common Stock, par value $0.01 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c1" id="ixv-254">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c1"
      decimals="INF"
      id="ixv-255"
      unitRef="shares">180845599</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c1"
      decimals="INF"
      id="ixv-256"
      unitRef="usdPershares">33.56</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c1" decimals="INF" id="ixv-257" unitRef="usd">6069178302.44</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c1" decimals="INF" id="ixv-258" unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c1" decimals="2" id="ixv-259" unitRef="usd">838153.52</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c0" decimals="INF" id="ixv-260" unitRef="usd">6069178302.44</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c0" decimals="2" id="ixv-261" unitRef="usd">838153.52</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c0" decimals="0" id="ixv-262" unitRef="usd">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="0" id="ixv-263" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="2" id="ixv-264" unitRef="usd">838153.52</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-194">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(1)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;Following the effectiveness of this registration
statement, Genpact Limited, a Bermuda exempted company limited by shares (&#x201c;Genpact
Bermuda&#x201d;) intends, subject to approval by the Genpact&#x2019;s shareholders and final
approval by the Board of Directors of Genpact, to effect a domestication under
Section 388 of the General Corporation Law of the State of Delaware and a
discontinuance under Section 132G and 132H of the Companies Act 1981 of Bermuda,
pursuant to which the registrant&#x2019;s jurisdiction of incorporation will be
changed from Bermuda to the State of Delaware (the &#x201c;Domestication&#x201d;).&lt;span style="mso-spacerun:yes"&gt;&#160; &lt;/span&gt;After the Domestication, Genpact Bermuda will
continue as a Delaware corporation named &#x201c;Genpact Limited&#x201d; (&#x201c;Genpact Delaware&#x201d;).&lt;span style="mso-spacerun:yes"&gt;&#160; &lt;/span&gt;All securities being registered hereunder
will be issued by Genpact Delaware following the Domestication.&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;(2)&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;Pursuant to Rule 416(a) under the Securities Act
of 1933, as amended (the &#x201c;Securities Act&#x201d;), this registration statement also
covers any additional securities that may be offered or issued in connection
with any stock split, stock dividend or similar transaction of any securities.&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;(3)&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;Represents the maximum number of shares of common
stock, par value $0.01 per share, of Genpact Delaware (&#x201c;Common Stock&#x201d;)
estimated to be issued upon completion of the Domestication.&lt;span style="mso-spacerun:yes"&gt;&#160; &lt;/span&gt;In the Domestication, (i)&#160;common shares,
par value $0.01 per share, of Genpact Bermuda (&#x201c;Common Shares&#x201d;) that are issued
and outstanding immediately prior to the effective time of the Domestication
will automatically convert by operation of law into an equivalent number of
shares of Common Stock and (ii) stock options, restricted stock units,
performance-based restricted stock units and other equity-based awards
(collectively, &#x201c;Awards&#x201d;) in respect of Common Shares that are outstanding
immediately prior to the effective time of the Domestication will automatically
convert into the same type of Awards in respect of an equivalent number of
shares of Common Stock, generally subject to the same terms and conditions
including vesting terms.&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;(4)&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;Estimated at $33.56 per share solely for
purposes of calculating the registration fee required by Section 6(b) of the
Securities Act, which is the average of the high and low prices for Common
Shares, as reported by the New York Stock Exchange, on August 12, 2026 (such
date being within five business days prior to the date that this registration
statement was first filed with the Securities and Exchange Commission).&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;</ffd:OfferingNote>
    <ffd:CombinedProspectusTableNa contextRef="c0" id="ixv-267">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-268">0001398659</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-269">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-270">N/A</ffd:OffsetTableNa>
</xbrl>
