<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vtrs-20231231.xsd" xlink:type="simple"/>
    <context id="P01_01_2023To12_31_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="PAsOn12_31_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2023-12-31</instant>
        </period>
    </context>
    <context id="PAsOn06_30_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2023-06-30</instant>
        </period>
    </context>
    <context id="PAsOn04_24_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <instant>2024-04-24</instant>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <unit id="Unit_USD_per_Share">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:SecurityExchangeName contextRef="P01_01_2023To12_31_2023" id="hidden112582357">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityShellCompany contextRef="P01_01_2023To12_31_2023" id="hidden112582359">false</dei:EntityShellCompany>
    <dei:EntityCentralIndexKey contextRef="P01_01_2023To12_31_2023" id="ixv-13843">0001792044</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P01_01_2023To12_31_2023" id="ixv-13844">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="P01_01_2023To12_31_2023" id="ixv-13845">FY</dei:DocumentFiscalPeriodFocus>
    <dei:DocumentType contextRef="P01_01_2023To12_31_2023" id="ixv-13880">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="P01_01_2023To12_31_2023" id="ixv-13881">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="P01_01_2023To12_31_2023" id="ixv-13882">2023-12-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="P01_01_2023To12_31_2023" id="ixv-13883">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="P01_01_2023To12_31_2023" id="ixv-13884">2023</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="P01_01_2023To12_31_2023" id="ixv-13885">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="P01_01_2023To12_31_2023" id="ixv-13886">001-39695</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="P01_01_2023To12_31_2023" id="ixv-13887">VIATRIS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P01_01_2023To12_31_2023" id="ixv-13888">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="P01_01_2023To12_31_2023" id="ixv-13889">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P01_01_2023To12_31_2023" id="ixv-13890">1000 Mylan Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P01_01_2023To12_31_2023" id="ixv-13891">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P01_01_2023To12_31_2023" id="ixv-13892">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P01_01_2023To12_31_2023" id="ixv-13893">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P01_01_2023To12_31_2023" id="ixv-13894">(724)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P01_01_2023To12_31_2023" id="ixv-13895">514-1800</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="P01_01_2023To12_31_2023" id="ixv-13896">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P01_01_2023To12_31_2023" id="ixv-13897">VTRS</dei:TradingSymbol>
    <dei:EntityWellKnownSeasonedIssuer contextRef="P01_01_2023To12_31_2023" id="ixv-13898">Yes</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="P01_01_2023To12_31_2023" id="ixv-13899">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="P01_01_2023To12_31_2023" id="ixv-13900">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="P01_01_2023To12_31_2023" id="ixv-13901">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="P01_01_2023To12_31_2023" id="ixv-13902">Large Accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="P01_01_2023To12_31_2023" id="ixv-13903">false</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="P01_01_2023To12_31_2023" id="ixv-13904">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="P01_01_2023To12_31_2023" id="ixv-13905">true</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="P01_01_2023To12_31_2023" id="ixv-13906">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:EntityPublicFloat
      contextRef="PAsOn06_30_2023"
      decimals="0"
      id="ixv-13907"
      unitRef="Unit_USD">11936712582</dei:EntityPublicFloat>
    <us-gaap:CommonStockParOrStatedValuePerShare
      contextRef="PAsOn12_31_2023"
      decimals="2"
      id="ixv-13908"
      unitRef="Unit_USD_per_Share">0.01</us-gaap:CommonStockParOrStatedValuePerShare>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="PAsOn04_24_2024"
      decimals="INF"
      id="ixv-13909"
      unitRef="Unit_shares">1190662399</dei:EntityCommonStockSharesOutstanding>
    <dei:DocumentsIncorporatedByReferenceTextBlock contextRef="P01_01_2023To12_31_2023" id="ixv-238">&lt;div style="margin-top: 2pt; margin-bottom: 0pt; font-size: 10pt; font-family: ARIAL; text-align: center;"&gt;&lt;div style="font-weight:bold;display:inline;"&gt;DOCUMENTS INCORPORATED BY REFERENCE &lt;/div&gt;&lt;/div&gt;&lt;div style="margin-top:2pt; margin-bottom:0pt; font-size:9pt; font-family:arial;text-align:justify"&gt;None. &lt;/div&gt;</dei:DocumentsIncorporatedByReferenceTextBlock>
    <dei:AuditorName contextRef="P01_01_2023To12_31_2023" id="ixv-13910">Deloitte &amp; Touche LLP</dei:AuditorName>
    <dei:AuditorLocation contextRef="P01_01_2023To12_31_2023" id="ixv-13911">Pittsburgh, Pennsylvania</dei:AuditorLocation>
    <dei:AuditorFirmId contextRef="P01_01_2023To12_31_2023" id="ixv-13912">34</dei:AuditorFirmId>
    <dei:AmendmentDescription contextRef="P01_01_2023To12_31_2023" id="ixv-265">This Amendment No.&#160;1 on Form 10-K/A (this &#x201c;Amendment&#x201d;) amends our Annual Report on Form 10-K for the fiscal year ended December&#160;31, 2023, originally filed on February&#160;28, 2024 (the &#x201c;Original Filing&#x201d;). We are filing this Amendment to include the information required by Part III and not included in the Original Filing, as we do not intend to file a definitive proxy statement for an annual meeting of shareholders within 120 days of the end of our fiscal year ended December&#160;31, 2023. In addition, in connection with the filing of this Amendment and pursuant to the rules of the Securities and Exchange Commission (the &#x201c;SEC&#x201d;), we are including with this Amendment new certifications of our principal executive officer and principal financial officer pursuant to Section&#160;302 of the Sarbanes-Oxley Act of 2002. Item 15 of Part IV has also been amended to reflect the filing of these new certifications. Except as described above, no other changes have been made to the Original Filing. The Original Filing continues to speak as of the date of the Original Filing, and we have not updated the disclosures contained therein to reflect any events which occurred at a date subsequent to the filing of the Original Filing. As used in this Amendment, unless the context requires otherwise, the &#x201c;Company&#x201d;, &#x201c;Viatris&#x201d;, &#x201c;our&#x201d;, and &#x201c;we&#x201d; mean Viatris Inc. and its subsidiaries, &#x201c;NASDAQ&#x201d; means The NASDAQ Stock Market, and &#x201c;U.S. GAAP&#x201d; means accounting principles generally accepted in the United States (&#x201c;U.S.&#x201d;). </dei:AmendmentDescription>
</xbrl>
