The disclosure relates to a tolerance-compensating element for compensating for a distance between a dashboard support and a body component of a vehicle, such as an A pillar or an end wall, wherein the dashboard support is connectable to the body component by means of a fastening screw, comprising: a frame structure with a first fastening portion and a second fastening portion, wherein the first fastening portion and the second fastening portion are arranged opposite each other and are connected by lateral webs, wherein the first fastening portion and the second fastening portion are spaced apart from each other, wherein a first aperture is formed in the first fastening portion, wherein the second fastening portion is configured for fastening the tolerance-compensating element to the dashboard support; and a threaded nut that is assigned to the first fastening portion and is provided for receiving the fastening screw.