Walking pneumonia is infectious. If you are in constant contact with the infected person you are likely to get it since it can pass through the airborne particles when the infected person coughs or sneezes. Incubation period is approximately 1-4 weeks while the cough may prolong for even 2 months time