Wheel flats induce high-impact loads with relevance for the safety of the vehicle in operation as they can contribute to broken axles, hot axle boxes, and damaged rolling bearings and wheels. The high loads also induce damage in the track components such as rails and sleepers. Although this subject has been studied numerically and experimentally over the last few years, the wheel flat problem has focused on ballasted tracks, and there is a need to understand the phenomena also for slab tracks. In this research, a numerical approach was used to show the effects of the wheel flats with different geometric configurations on the dynamic behavior of a classical ballasted track and a continuous slab track. Several wheel flat geometries and different vehicle speeds were considered. The nonlinear Hertzian contact model was used because of the high dynamic variation of the interaction of the load between the vehicle and the rail. The results evidenced that, for the same traffic conditions, the dynamic force was higher on the slab track than on the ballasted one, contrary to the maximum vertical displacement, which was higher on the ballasted track due to the track differences regarding the stiffness and frequency response. The results are useful for railway managers who wish to monitor track deterioration under the regulatory limits.