These results suggest that EGR1 gene expression during the early phase of infection with P. aeruginosa depends on bacterial viability and the T3SS. Here, EGR1 is linked to infection.