Shared genetic signals between IPF and severe COVID-19 were identified near MUC5B, DPP9 and ATP11A, although the signals at MUC5B and ATP11A had opposite effects on the risk for the two diseases. Here, MUC5B is linked to COVID-19.