<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vtrs-20231215.xsd" xlink:type="simple"/>
    <context id="duration_2023-12-15_to_2023-12-15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2023-12-15</startDate>
            <endDate>2023-12-15</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2023-12-15_to_2023-12-15"
      id="Hidden_dei_EntityRegistrantName">Viatris Inc</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2023-12-15_to_2023-12-15">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2023-12-15_to_2023-12-15"
      id="Hidden_dei_EntityCentralIndexKey">0001792044</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2023-12-15_to_2023-12-15">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2023-12-15_to_2023-12-15">2023-12-15</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2023-12-15_to_2023-12-15">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2023-12-15_to_2023-12-15">001-39695</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2023-12-15_to_2023-12-15">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2023-12-15_to_2023-12-15">1000 Mylan Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2023-12-15_to_2023-12-15">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2023-12-15_to_2023-12-15">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2023-12-15_to_2023-12-15">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2023-12-15_to_2023-12-15">(724)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2023-12-15_to_2023-12-15">514-1800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2023-12-15_to_2023-12-15">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2023-12-15_to_2023-12-15">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2023-12-15_to_2023-12-15">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2023-12-15_to_2023-12-15">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2023-12-15_to_2023-12-15">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2023-12-15_to_2023-12-15">VTRS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-12-15_to_2023-12-15">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2023-12-15_to_2023-12-15">false</dei:EntityEmergingGrowthCompany>
</xbrl>
