What is baloxavir (Xofluza)? Baloxavir (Xofluza) is an antiviral medication used for treatment and prophylaxis of influenza A and B. It’s used for patients who have tested positive for influenza and or have been exposed to influenza.