Pregnant women need to take the whooping cough vaccine during the third trimester of their pregnancy. This is to ensure the protection of their baby against whooping cough in the first few critical months after birth. However, in some rare cases, infant deaths from whooping cough have been reported in spite of vaccinating their mothers.