Here, we show that loss of the mechanosensitive channels TMEM63A and TMEM63B (TMEM63A/B) resulted in atelectasis and respiratory failure in mice due to a deficit of surfactant secretion. Here, TMEM63B is linked to respiratory failure.