For the case of urban overhead lines, the presence of nearby buildings is expected to affect the overvoltages induced by nearby lightning return strokes. This effect until now has been seldom taken into account in the literature on the subject. The paper presents a 3D FEM model that calculates the lightning electromagnetic pulse (LEMP) taking into account the presence of building placed in proximity of the LEMP-coupled overhead line. As a first approximation, the building surfaces are assumed as perfect conductors. Also the finite ground conductivity is neglected. The calculated fields are then introduced in the Agrawal et al. coupling model for the calculation of the induced voltages. The preliminary results of a sensitivity analysis carried by varying the dimensions of the building, its distance to the line and the position of the lightning stroke location are presented and discussed.