The main purpose of this work is to study the response of an excavated road embankment resting on a soil substratum and imposed to earthquake loading. Different parameters which influence strain localization and lead to the collapse of the structure are examined through a dynamic analysis, with a FE software. On one hand, this study deals with the influence of the input seismic signal on various parameters, such as peak ground acceleration, displacement and strain localization of the road embankement. On the other hand, mesh dependency is investigated under dynamic loading. Thereafter, three different types of meshes are created for the numerical model so as to define the zone and the onset of localization. Through this work, a shear band in which deformations localize is detected close to the embankment's slope and mesh dependency is only observed in terms of intensity, as the coarser the mesh, the higher the strains in that zone.