The invention relates to a device for compensating tolerances between a first component and a second component to be screwed to it by means of a connecting screw, comprising a base element and a compensation element that is in thread engagement with the base element, the thread engagement being non-self-locking in such a way that the compensation element moves out of the base element when the connecting screw exerts an axial force on the compensation element.