<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vtrs-20260617.xsd" xlink:type="simple"/>
    <context id="c20260617to20260617">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001792044</identifier>
        </entity>
        <period>
            <startDate>2026-06-17</startDate>
            <endDate>2026-06-17</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20260617to20260617"
      id="Fact_7fcb063097224b3f8dd19b98bb54af2b">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20260617to20260617"
      id="Fact_10ada30915064038a97f8e1dc4820837">0001792044</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20260617to20260617"
      id="Fact_38fde41c9d244c5682184d53da8e9914">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20260617to20260617"
      id="Fact_c83570358ea94caabfd5598eb0c784ba">2026-06-17</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20260617to20260617"
      id="Fact_35039cebd7294fa09194b4f66f1cb637">VIATRIS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20260617to20260617"
      id="Fact_35a4db9b56ad405fb429624be8dda2c6">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20260617to20260617"
      id="Fact_2be1304f8bd94f65a6f1920671adf83d">001-39695</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20260617to20260617"
      id="Fact_ecae2537673c4e51b008a9431f229cfc">83-4364296</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20260617to20260617"
      id="Fact_c19b749d17924d7783a41dfc9dfd793f">1000 Mylan Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20260617to20260617"
      id="Fact_043028f0b2e74ddc8d3a50531309e7f0">Canonsburg</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20260617to20260617"
      id="Fact_479a5108871a41eaa4d0a333be43dc69">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20260617to20260617"
      id="Fact_17f4c52029db469b827e3dfaceae011b">15317</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20260617to20260617"
      id="Fact_3131075340244bf0ba94272e802fa6ae">724</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20260617to20260617"
      id="Fact_2ed4cb5584e64c7394406ac66e2fa0fa">514-1800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20260617to20260617"
      id="Fact_95348cee886049b593daf56b7da76ba7">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20260617to20260617"
      id="Fact_3cf55674239a4ed1aa46b75f7d1e4c8d">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20260617to20260617"
      id="Fact_7cea96e13fa54a8e980cccabb82cc628">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20260617to20260617"
      id="Fact_9518def8084c477a9136fafd90f8e31b">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20260617to20260617"
      id="Fact_863b2922282443dbac1ac1249f57b948">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20260617to20260617"
      id="Fact_dcae6245e04d483490a8fa008361316b">VTRS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20260617to20260617"
      id="Fact_8bcf6a35f9dd40e98be0730f37595c57">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20260617to20260617"
      id="Fact_7a38feb03add4068a2b71775213ca297">false</dei:EntityEmergingGrowthCompany>
</xbrl>
