Methods: We used the information collected for a case–control study conducted in 14 districts in the City of São Paulo, Brazil, regarding risk factors for perinatal deaths. We geocoded the residential addresses of cases (fetal and early neonatal deaths) and controls (children who survived the 28th day of life) and calculated a distance-weighted traffic density (DWTD) measure considering all roads contained in a buffer surrounding these homes.